From d017bd37253ae35b29d82e3277b9adcbb4517dd0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 16 Jul 2022 15:18:45 +0900 Subject: [PATCH] Convert files to unix format. Convert C++ header names to C header names. Signed-off-by: Michele Calgaro --- CHANGELOG.txt | 596 +-- INSTALL.txt | 22 +- config/UiGuiSyntaxHighlightConfig.ini | 6814 ++++++++++++------------- indenters/example.cbl | 116 +- indenters/example.cpp | 698 +-- indenters/example.css | 544 +- indenters/example.f90 | 64 +- indenters/example.php | 6 +- indenters/example.pl | 108 +- indenters/example.py | 46 +- indenters/example.sql | 74 +- indenters/example.vb | 98 +- indenters/phpStylist.php | 2802 +++++----- indenters/phpStylist.txt | 322 +- indenters/pindent.txt | 150 +- indenters/uigui_CblBeau.ini | 1086 ++-- indenters/uigui_jsppp.ini | 162 +- indenters/uigui_phpStylist.ini | 516 +- indenters/uigui_php_Beautifier.ini | 216 +- indenters/uigui_pindent.ini | 108 +- indenters/uigui_psti.ini | 392 +- indenters/uigui_rubyformatter.ini | 52 +- indenters/uigui_shellindent.ini | 34 +- indenters/uigui_tidy.ini | 1224 ++--- indenters/uigui_vbsbeaut.ini | 90 +- indenters/uigui_xmlindent.ini | 122 +- src/AboutDialog.cpp | 10 +- src/AboutDialog.h | 2 +- src/AboutDialogGraphicsView.cpp | 10 +- src/AboutDialogGraphicsView.h | 2 +- src/FindDialog.ui | 242 +- src/IndentHandler.cpp | 52 +- src/IndentHandler.h | 2 +- src/MainWindow.cpp | 40 +- src/MainWindow.h | 2 +- src/SettingsPaths.cpp | 550 +- src/SettingsPaths.h | 100 +- src/TemplateBatchScript.cpp | 2 +- src/TemplateBatchScript.h | 62 +- src/UiGuiErrorMessage.cpp | 2 +- src/UiGuiErrorMessage.h | 86 +- src/UiGuiHighlighter.cpp | 8 +- src/UiGuiHighlighter.h | 8 +- src/UiGuiIndentServer.cpp | 8 +- src/UiGuiIndentServer.h | 110 +- src/UiGuiIniFileParser.cpp | 8 +- src/UiGuiIniFileParser.h | 104 +- src/UiGuiSettings.cpp | 1376 ++--- src/UiGuiSettings.h | 166 +- src/UiGuiSettingsDialog.h | 2 +- src/UiGuiSystemInfo.cpp | 454 +- src/UiGuiSystemInfo.h | 70 +- src/UiGuiVersion.cpp | 122 +- src/UiGuiVersion.h | 78 +- src/UpdateCheckDialog.cpp | 20 +- src/UpdateCheckDialog.h | 146 +- src/debugging/TSLogger.cpp | 502 +- src/debugging/TSLogger.h | 4 +- src/main.cpp | 6 +- 59 files changed, 10409 insertions(+), 10409 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 64512a8..2e49704 100755 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,298 +1,298 @@ -2012-01-01 Version 1.2.0 -[add] The Linux version has a menu entry in the application development menu now. -[add] The Linux version has a mime type association to some code files now, so that UiGUI is available as "open with". -[add] Added support for the Visual Basic beautifier VBSBeautifier. -[add] Added support for the SQL beautifier Pl/Sql tidy. -[add] Updated the Artistic Style configuration to support Artistic Style version 2.02.1. -[add] Updated the Uncrustify configuration to support Uncrustify version 0.59. -[add] Updated the PerlTidy configuration to support PerlTidy version 1.74. -[add] Updated the Ruby Script Beautifier to version 2.9. -[fix] Bug ID 3021933: Updated the Artistic Style configuration to support Artistic Style version 2.01. -[fix] Bug ID 3021931: Fixed calling of Artistic Style version 1.22 and later. -[fix] Bug ID 3006513: Fixed compiling UiGUI using GCC 4.5 and later. -[fix] Bug ID 2942381: When loading an indenter configuration file, the settings displayed in the docking widget were correctly updated, but the code wasn't. -[fix] Bug ID 2135872: A zombie process kept on running if UiGUI was quit during the update check in background if no internet connection is available. -[fix] Bug ID 3175027: Uncrustify had wrong pop-up comments for two check-boxes. -[fix] Bug ID 2916163: The proxy settings are properly used and applied now. -[fix] Made the JsDecoder integration be compatible with recent Qt versions. -[change] Changed the created shell scripts indenter config file reference. Now each created shell script has a corresponding config file being created in the same dir as the shell script, with the same name but different suffix. But since the config file is referenced by "./", when calling the script the working directory must be the same as the directory containing the config file. -[change] Using TCLAP as command line parser instead of own command line parsing. -[change] Setting a file name as parameter on the command line without any prefix will load this file instead of the last opened one. -[change] Rewritten and improved the internal way how settings are connected to the UI. -[change] Refactored and cleaned up the code. -[change] Will no longer deliver binary bundles linked against Qt statically. Instead delivering all dependent DLLs and libs. - -2009-07-16 Version 1.1.0 -[add] Added a logging class, that can catch debug output and make trace backs if any problems occur possible. -[add] Added an application icon for Mac OS X. -[change] Feature Request ID 2596302 : Updated the greatcode.ini. Thanks to adxadx who has done this work! -[change] Feature Request ID 2793216: Updated to Uncrustify 0.53. -[change] Updated to JsDecoder version 1.1.0 -[fix] Bug ID 2791229: If UiGUI was located in a path containing Unicode characters or such a path needed to be handed over to a called indenter, the indenter could get confused on Windows. So using the Windows 8.3 short path notation. -[fix] On Mac OS X the used default font wasn't monospaced. Switched back to use Courier on Mac. - -2009-02-12 Version 1.0.2 -[add] Feature Request ID 2498654 : Added support for the Fortran indenter F90ppr. http://universalindent.sf.net/issue/feature/2498654 -[add] Made it possible to define "stdin" to be used for an indenter calling. -[change] Made the source code be compilable with the slightly older QScintilla version 2.2. -[change] When starting the very first time without any existing application settings, do not show the mainwindow at position 0,0. On Mac the window couldn't be moved because the window title bar was hidden under the Mac menu bar. -[change] When using a non Windows system the default editor font type is now Monospace instead of Courier. The latter was not found properly. -[change] For security reason using a randomly generated temporary directory name on Unix based systems. -[change] Improved the GUI updates for the Notepad++ plugin a bit. Not what I would call "good" yet. -[fix] Bug ID 2284777 : The Notepad++ plugin was falsely linked against Qt debug dlls, which were not included. http://universalindent.sf.net/issue/bug/2284777 -[fix] Bug ID 2594251 : The new version available check didn't work anymore since version 1.0.1. http://universalindent.sf.net/issue/bug/2594251 -[fix] Avoid a crash if an uigui ini file with faulty header info is read, where the indenter executable was empty. -[fix] Some application settings were tried to be read from a wrong directory when running in multi user mode. - -2008-10-14 Version 1.0.1 -[add] Feature Request ID 2161471 : Added support for the Python indenter pindent. -[add] Feature Request ID 1883444 : Added support for the JSP indenter JSPPP. -[add] Feature Request ID 1867563 : Added support for the XML indenter XML Indent. -[add] Support for French language. Thanks to Erwan "leg". -[change] Some small translation corrections. -[change] Improved the "new version available" check. -[change] On Mac and Linux a one pixel frame was shown around the whole screen when about dialog is visible. Removed that. -[change] Updated to Uncrustify version 0.49 from SVN repository. -[change] Using a new logo icon for UniversalIndentGUI. The logo was created by Erwan "leg". Thanks! -[fix] Bug ID 2173527 : Could not load Artistic Style config file properly if both parameters "--brackets=linux" and "--brackets=break-closing" were set. http://universalindent.sf.net/issue/2173527 -[fix] The distributed version of GNU Indent was using a misspelled configuration file, thus lieve preview didn't correctly work. Using original GNU Win32 version now. -[fix] In version 1.0.0 the creation of batch files for indenters undet Windows always created a bash/shell script instead of batch. -[fix] Keyboard shortcuts for enabling/disabling "Live Preview" and syntax highlighting didn't work. - -2008-09-30 Version 1.0.0 non public release. Only presented for Qt Centre programming contest. -[add] Made it possible to start UiGUI in different modes via parameters: Normal (full UI), plugin (only indenter menu, server active), server only. -[add] Added a server functionality. Future plan is to let UiGUI run also as server so plugins from other editors can send indent requests over TCP/IP to it. Very early state right now. -[add] Created a plugin for Notepad++. This plugin shows the indenter parameter menu and lets the user indent the selected or whole text. Live preview works also. Still has some eventloop graphic update problems. -[add] Added support for two (rather simple) Ruby beautifiers, ruby_formatter and rbeautify. -[add] Feature Request ID 1985475 : Added the possibility to reset all indenter parameters to default values. http://universalindent.sf.net/issue/1985475 -[add] Feature Request ID 1989585 : Added a context menu in indenter parameters widget and moved all functions handling these actions from the main window to the indent handler. http://universalindent.sf.net/issue/1989585 -[add] Feature Request ID 1977033 : Now supporting the Cobol intender Cobol Beautifier. http://universalindent.sf.net/issue/1977033 -[add] Feature Request ID 2080832 : Now showing the cursors current line and column number in the statusbars down right corner. http://universalindent.sf.net/issue/2080832 -[change] Using Qt >= 4.4.x now and thereby implemented an animated 3D about dialog. -[change] Using QScintilla >= 2.3 now and thereby added support for Cmake, Fortran[77], Pascal, PostScript, TCL, VHDL, XML and YAML. -[change] Reformatted the about dialog to only contain one QTextEdit. Also added some more links to that text. -[change] Limited the size of the combobox showing the indenters because with the supported programming languages in the name, the comobox was to large in width. -[change] Prevent php file from being tried to be executed directly. That could happen if the file has the execution flag set. However that should never be the case, so this is a workaround. -[change] Added a new class UiguiIniFileParser which will replace the currently used QSettings for reading the indenter parameters. Thus parameters appear in the menu in the same order as in the ini file and are no longer alphabetically sorted. -[change] Redesigned the user interface and code a bit. The indenter selection combo box along with the manual button are now placed in docking widget where all indenter parameters are placed. This is done in preparation to pull out the complete indent handler, so it can be used as plugin for Notepad++ or Eclipse etc.] -[change] Made reading the indenter config files more tolerant. If the user disobeys case sensitivity when editing the config file by hand, the values are correctly parsed anyway. -[change] Feature Request ID 1989587 : There is no longer any need to have a current value setting in the ini files. A default value is enough. http://universalindent.sf.net/issue/1989587 -[change] Completely removed QT3Support functions. -[change] Removed all compiler warnings. -[change] Changed the way internal settings are handled. Using QObject propertys for connected setting name now. -[fix] The by each indenter supported programming languages, written in braces, are removed from the created shell scripts name. -[fix] Corrected the move/mv commands parameter in the created shell and batch script when calling recursive. -[fix] Bug ID 1986471 : The file modification flag did not work properly. Reason was that QScintilla can not set its textedit component modified flag to true by a function call. http://universalindent.sf.net/issue/1986471 - -2008-05-26 Version 0.8.2 -[add] Feature Request ID 1971206 : Now showing by the indenter supported programming languages next to indenter name. -[add] Feature Request ID 1971181 : Added support for the HTML indenter HTB. -[add] Feature Request ID 1867562 : Added support for the HTML indenter hindent. -[add] Added support for the php indenter phpStylist version 1.0. -[add] Added the possibility to directly setting php files as indenter. The suffix .php is recognized and php used as default interpreter. -[add] Extended the created batch/shell script so it is able to indent only one file given as parameter or a whole directory recursively with a defined file suffix. -[add] Feature Request ID 1885911 : Added the possibility to open a file on applications start, that is handed over as parameter on the command line. -[add] Feature Request ID 1729429 : Added the possibility to drag'n drop in any source code file for opening it. -[change] Created indenter shell scripts now automatically have the executable flag set to true. -[change] Completed the support for all perl tidy parameters. -[change] Updated to uncrustify version 0.46. -[fix] Bug ID 1933074 : On Unix systems the user config files were stored in his home dir in the subfolder ".config". Now they are directly stored in ".universalindentgui". -[fix] Fixed a bug where the string "" was prepended to the output code. Occurred for example when using the shell indenter. - -2008-03-27 Version 0.8.1 -[add] Feature Request ID 1909450 : Added support for the PEAR PHP beautifier. Thus PHP beautifying is also possible on Linux and Mac OS X. (Needs the PEAR package "PHP_Beautifier" to be installed and a path entry pointing to the PHP dir.) -[add] Added support and translations for Russian and Ukrainian language. Thanks to Oleksandr (http://korytskyy.lviv.ua). -[add] Feature Request ID 1901935 : From now on files are saved with the same encoding as they were opened and no longer always UTF-8. Also it is possible to save the file with any other encoding. -[change] The detection whether to run in portable mode now depends on where the "config" folder resides and no longer the "indenters" folder. This is needed to be able to correctly run on Windows multiuser systems. -[change] Removed the word "beta" whereever it occurred, since UiGUI isn't that beta anymore. -[fix] Bug ID 1910773 : On Unix systems the globally available files, like indenters, translations etc are not longer installed to /etc/universalindentgui but to /usr/share/universalindentgui. - -2008-01-17 Version 0.8.0 Beta -[add] Feature Request ID 1849297 : Added support for indenters written in JavaScript using an internal interpreter. Have a look into the README.txt to get to know, what steps are needed for that. -[add] Added support for a simple JavaScript indenter written in JavaScript itself. -[add] Added support for a simple shell code indenter written in awk. -[add] Feature Request ID 1736946 : It is now possible to run any indenter that is available in the global environment via a path entry. -[add] Feature Request ID 1852483 : Indenters written in script languages, like perl, are now also supported, if they have a correct shebang. -[add] Added support for the well known perltidy. The uigui ini file is completed up to the category and including "Line Break Control". Rest needs to be done. -[add] Feature Request ID 1866599 : Adapted the used paths for settings, temporary files and the one containing indenter ini files to be conform with systems that use strict user rights management. Most this concerns Linux, where the binary resides inside a bin dir and user specific settings are stored in his home dir. Short: now supporting multiuser systems and also have a portable mode, where modifications are only on local media. -[add] Feature Request ID 1730360 : Along with real support for multiuser systems, each user can have his own indenter settings. These won't be overwritten by an update, what was the case before. -[add] Feature Request ID 1867628 : Added a button to the toolbar near the indenter selection that opens the indenters online manual. -[add] Feature Request ID 1867660 : Created a simple man page for unix based systems. -[add] The by the qmake projekt file resulting makefile has a directive for install on unix based systems now. -[add] Added example files for most supported programming languages, so each indenter can be tested. -[change] The source code archive is now in a Unix conform format and naming convention. -[change] The used paths have changed. The "data" directory has been renamed to indenters and includes only the uigui ini files and maybe some indenter binaries. Futher a config and a temp directory are used. -[change] In case of an error during calling the indenter, its standard output is appended to the error dialog. -[change] Corrected some misspelling. -[change] Renamed htmltidy to tidy because that is its official name and also the name of the binary in all Linux packages. -[fix] Bug ID 1855460 : The parameter settings of the indenter were only saved, if preview is turned on. Now the settings are always remembered. -[fix] Bug ID 1854156 : The syntax highlighter did not switch to perl if a file with suffix .pl or .pm was loaded. - -2007-11-22 Version 0.7.1 Beta -[add] Feature Request ID 1833814 : Added support for building on MacOSX. -[change] Feature Request ID 1836486 : Update to latest version of Uncrustify. -[change] Update to latest version of Artistic Styler. - -2007-11-11 Version 0.7.0 Beta -[add] Feature Request ID 1826733 : If the called indenter returns an error message, you can chose to not show the same error again. Helpful for HTMLtidy since it often shows a long, repeating error list. -[add] Feature Request ID 1805974 : Added an option to clear the list of recently opened files. -[add] Feature Request ID 1760997 : Added some code lines to example.cpp to test whether an indenter correctly handles preprocessor defines. -[add] Feature Request ID 1752551 : If the user manually checks for updates a progress/busy dialog will be shown. -[add] Feature Request ID 1736932 : The user gets shown a dialog if he has manually checked for an update and no new one is available. -[change] The update check is now enabled by default. -[change] Slighty changes made to the settings dialog; put texts in front of the changed value. -[fix] Bug ID 1807179 : GNU Indent didn't work properly on Windows system, after the dlls libiconv-2.dll and libintl-2.dll were removed. Readded them. -[fix] Bug ID 1805976 : The HTML export didn't produce any output. Fixed that, but still has not syntax formatting. -[fix] Bug ID 1815023 : Mixed traditional with simplified chinese translation. Now preferring to use english text instead of mixing if no traditional translation is available. -[fix] Bug ID 1815120 : The font of the editor component was wrong (not monospaced), if syntax highlighting was turned off. - -2007-06-13 Version 0.6.1 Beta -[add] Feature Request ID 1729433 : Added a recently opened file menu. -[add] Feature Request ID 1704290 : Added possibiltiy to integrate into an IDE, editor or other as external tool. This is donw by creating a batch/shell script which accepts a file as parameter and calls the indenter with the in UniversalIndentGUI made settings. -[add] Feature Request ID 1673659 : The string parameter in the uigui ini files for each indenter can now also be a list of strings divided by "|" sign. As result the parameter name with value will be written to the indenter config file for each of the values. -[add] Feature Request ID 1730180 : UniversalIndentGUI can automatically check on start, whether a new version is available. This setting is disabled by default and can be enabled in the settings. -[add] Added support for HTML Tidy. The executable is contained in the release package. -[add] Feature Request ID 1736432 : The width of the dock widget containing the indenter parameters is now restored on program start. -[change] The about dialog shows now a credits scroller to say thanks to all people, who have helped me somehow. -[fix] Bug ID 1733499 : UniversalIndentGui crashed if inside of an indenter ini file the category number of one parameter was higher than the available categories. -[fix] Bug ID 1735586 : Some dialogs had untranslated buttons. For example yes, no, cancel were not translated. - -2007-06-03 Version 0.6.0 Beta -[add] Feature Request ID 1700557 : Added a settings dialog for handling more possible settings with better usabiltiy. -[add] Feature Request ID 1700556 : Added option to load last file or not on startup. -[add] Feature Request ID 1684011 : Added option to set the width used to display tabs (default is four spaces). -[add] Feature Request ID 1651718 : Added multiple choices, for the indenter configuration, with for the user readable text. Before the text inside of the combo boxes for the indenter parameters was exactly the same text as the command line parameter of the indenter. Now with "ChoicesReadable" a list with the same length as "Choices" can be used to insert readable text into the combo box. If this list is not set, the content of "Choices" will be used. -[add] Partly Japanese translation. Thanks to Nirvash. -[add] The language selection show the countries flag in front of its name to identify the language faster. -[add] Feature Request ID 1657253 : If now configuration ini file for any indenter can be found, a warning will be displayed. -[change] Feature Request ID 1723228 : The default font for all syntax highlighters is now mono spaced, Courier. -[change] Along with the settings dialog cleaned up the user interface. Moved some not that often needed settings away to the settings dialog. -[change] The full text of the GPL in the about dialog did slow down the program startup and translation. Now only a hint and link to the GPL is given in the about dialog. -[fix] Bug ID 1692511 : UniversalIndentGui crashed, if a by the syntax highlighter unsupported file extension was opened. -[fix] Bug ID 1727538 : The setting for syntax highlighting was allways enabled on startup, even if disabled on closing. -[fix] Bug ID 1729026 : The highlighting style was not correct when changed to another highlighter than the current. Only after toggling preview for example the style was correct. -[fix] The editors column showing the line numbers did not adapt its width to the maximum line number. - -2007-03-19 Version 0.5.1 Beta -[add] Supporting syntax highlightning for the programming language D. -[change] The live typing and indenting feature was not adapted to QScintilla. Now works again (depending on the used indenter). -[fix] Bug ID 1678783 : Files other encoded than ascii were not displayed correctly. Now allways displaying files using UTF-8 encoding. -[fix] Bug ID 1678783 : The new syntax highlighter selection menu was not translated. -[fix] When file was reloaded with other encoding the file was allways set to be modified even if it wasn't. - -2007-03-14 Version 0.5.0 Beta -[add/change] Using QScintilla as editing component, which is by far more mighty than the before uses QTextEdit. Have a look inside the development area for details. -[add] Because of QScintilla, added syntax highlightning for bash, batch, cpp, csharp, css, diff, html, idl, java, javascript, lua, makefile, perl, pov, ini, python, ruby, sql and tex. -[add] Also added code folding for previously mentioned languages. -[add] Added support for the indenter "phpCB" phpCodeBeatufier. (Thanks to Nelson Tai) The executable is not included in the UiGui release, because I am not sure about the license of phpCB right now. -[add] The output of an indenter can now be read from stdout, by setting "stdout" for "outputFileParameter". -[add] Feature Request ID 1673549 : The order of the indenter call parameters for input file, output file and options[file] is now selectable in three states: pio, ipo, iop. -[add] Feature Request ID 1675503 : The last set encoding is being remembered and used on loading last file. -[add] Feature Request ID 1669822 : The last window position, size and maximized state is stored in the settings and restored. -[add] Feature Request ID 1673670 : Made it possible to switch between visible and invisible white space characters, like spaces and tabs. -[change] The "personal" configuration files of each indenter (like gc.cfg) are no longer included in a release, so these settings can be loaded into UiGui after updating. -[fix] Bug ID 1678783: If the current opened file had no save name yet, only the path was written to the settings file, causing an error on next start. - -2007-02-25 Version 0.4.2 Beta -[add] Support for the indenter CSSTidy has been added. -[add] Support for new language: Taiwan (Chinese). -[change] For easier translation the about dialog has been redesigned a bit. -2007-02-11 Version 0.4.1 Beta -[add] Support for the indenter Uncrustify has been added. -[add] Feature Request ID 1651719: A binary release for Linux AMD64 is now available. -[add] Feature Request ID 1657251: If only a win32 executable exists under Linux, wine will be used to call it. Now a test will be mad if wine is installed and an error message will show up if not installed. -[change] Some changes mad to the Artistic Styler ini file as suggested by its author Jim Pattee. -[change] Put the file open button at first position in the toolbar, because normally this is the first step one would do, if he tries to find the optimal indenter and settings for himself. -[change] The background in the about dialog has been changed to look equal on all systems. -[change] The error message dialogs had small optical enhancements to be more readable. -[fix] Bug ID 1657255: If an error occurred during the try to call the indenter, a message box is being shown, but the mouse cursor still indicated that the application is being busy. -[fix] Bug ID 1651071: Changing the file encoding did not affect the code sent to the indenter, so the code while preview turned on, had wrong encoding (still seems to have some encoding problems under Linux). -[fix] Bug ID 1650222: On Windows systems there were two DLLs missing to run GNU Indent ("libiconv-2.dll" and "libintl-2.dll") -[fix] Bug ID 1649918: The indenter was not called after first program start, so preview updated first after changing a setting or the code. - -2007-02-01 Version 0.4 Beta -[add] All parameters of GNU Indent have been added. -[add] From now on the indenter BCPP is included. -[add] The loaded source file encoding is now convertable by the menu entry "Reopen File with other Encoding". This way chinese encoding etc. is possible to load. (Suggest for this submitted by Nelson, Bug ID 1643541) -[add] A subdirectory "doc" has been added, containing the file "iniFileFormat.html" with info how to write ini files for new indenters. -[change] Updated the astyle executable and the ini file to version 1.20.1 -[change] Restructured the gui design a little bit. Using a moveable dock widget for the indenter settings now. Using a toolbar that can also be placed at the bottom. -[change] Made it possible to change the language without the need to restart the application. -[change] Line numbers are now geyed out, because this is more decent and selecting the numbers is no longer possible. -[change] The link to the homepage in the about dialog now really opens the website. -[change] The linux version is now statically linked against Qt so there should be no problems with wrong Qt versions installed or even no Qt libraries installed. -[fix] Bug ID 1553601: If no uigui ini file was found the application stopped with an exception. - -2006-09-04 Version 0.3.1 Beta -[add] Language selector and german translation added. - -2006-08-25 Version 0.3 Beta -[add] A message box will show up at opening a source file or program exit, if the source code has been changed, and ask whether to save the file or not. -[add] The symbol "*" will be shown in the window title in front of the source file name if the source code has been changed. -[add] By a settings menu entry the tool tips for the indenter parameter settings can be en/disabled because they can be annoying. -[add] A settings file is from now on used to remember the last selected indenter and last opened source code file. -[add] The source code can now be exported as a PDF or HTML document. -[add] Some commands are now faster available by keyboard shortcuts. -[fix] The calling name in the indenter ini file for GreatCode was written lower case while the real file name was upper case, which resulted in a program calling error. -[fix] Corrected the tab order for the gui elements. -[change] Optimized speed when switching between the available indenters. If the indenters ini file is large, this still takes some time. - -2006-08-11 Version 0.2.5 Alpha -[add] when loading or saving either a source code or config file the load/save dialog will open in the files directory and not allways in the UniversalIndentGUI dir -[add] currently made settings for the indenter can be saved to any file -[add] the menue entries for loading and saving the indenter config file have now icons -[add] the currently opened source code file name and path will be shown in the window title bar -[add] a error dialog that will be shown once if the indenter executable for the selected indenter does not exist -[fix] turning syntax highlight on/off did first take effect after toggle of preview -[fix] the image in the about dialog box was not allways visible - -2006-08-03 Version 0.2.4 Alpha -[change] the windows version does no longer need any dlls due to static linking and removing bind to mingwm10.dll -[change] the windows version of the GNU Indent is replaced by a DJGPP compiled GNU Indent version, that needs no further DLLs -[add] possibility to save the shown/indented source code -[fix] the file extension used to call the selected indenter. It is now equal to the loaded source file extension so the indenter recognizes the source code language -[fix] unnecessary calls of the indenter removed -[fix] indenter was not called if preview was activated and indenter changed -[fix] under linux the file mask for the open source file dialog did not work correctly - -2006-07-16 Version 0.2.3 Alpha -[add] possibility to edit the source code while preview is active and see how it is formatted. So that is real live ;-) - -2006-07-14 Version 0.2.2 Alpha -[add] ini file for GNU Indent with some first settings (if any one wants to write more in it let me know) -[add] a menu bar for more pleasent and common use of the program (some not yet used menu items are disabled) -[add] an about dialog -[add] some icons for better look and feel (can you feel it ;-) ) -[fix] a bug under linux which caused an endless loop if text was edited - -2006-07-07 Version 0.2.1.1 Alpha (win32 only) -- previously compiled using Visual Studio 2005 Express, whereby an additional installation of a redistributable package was needed to run UniversalIndentGUI. To avoid this and not force the user to install anything, now using mingw to compile. - -2006-07-04 Version 0.2.1 Alpha -[add] function to load config file (not the uigui ini file) of every indenter (and reenabled load config file button) -[add] use of a default value when loading a indenter config file and not all parameters are set. -[add] all documented default parameters of GreatCode and Astyle to their ini files. -[fix] loading of file mask for source code file after changing indenter -[fix] call of indenter failed under win32 if a linux binary exists. - -2006-06-30 Version 0.2.0 Alpha -[add] missing parameters for flexible indenter ini file format -[add] complete Astyle ini file -[add] multiple choice combobox for parameters -[add] checkbox in front of numeric and string parameters to enable/disable them. If disabled indenters default value is used - -2006-06-28 -[add] working ini file for Astyle (right now only few boolean parameters) -[change] ini file format for booleans to reach the planned flexibility - -2006-06-23 -[add] combobox in the upper left showing available indenters (found by searching for uigui_*.ini file). at the moment only GreatCode and testwise Astyle -[add] more detailed info if the indenter call results in an error -[add] icon for executable -[change] style/format of the ini file. Still not all planned features implemented -- some bugfixes, as you can say this in a preAlpha - -2006-06-07 -[change] unnecessary gui menu removed -[fix] corrected ini file for great code (only in executable release) -[add] made call of windows version of GreatCode under Linux possible by using wine +2012-01-01 Version 1.2.0 +[add] The Linux version has a menu entry in the application development menu now. +[add] The Linux version has a mime type association to some code files now, so that UiGUI is available as "open with". +[add] Added support for the Visual Basic beautifier VBSBeautifier. +[add] Added support for the SQL beautifier Pl/Sql tidy. +[add] Updated the Artistic Style configuration to support Artistic Style version 2.02.1. +[add] Updated the Uncrustify configuration to support Uncrustify version 0.59. +[add] Updated the PerlTidy configuration to support PerlTidy version 1.74. +[add] Updated the Ruby Script Beautifier to version 2.9. +[fix] Bug ID 3021933: Updated the Artistic Style configuration to support Artistic Style version 2.01. +[fix] Bug ID 3021931: Fixed calling of Artistic Style version 1.22 and later. +[fix] Bug ID 3006513: Fixed compiling UiGUI using GCC 4.5 and later. +[fix] Bug ID 2942381: When loading an indenter configuration file, the settings displayed in the docking widget were correctly updated, but the code wasn't. +[fix] Bug ID 2135872: A zombie process kept on running if UiGUI was quit during the update check in background if no internet connection is available. +[fix] Bug ID 3175027: Uncrustify had wrong pop-up comments for two check-boxes. +[fix] Bug ID 2916163: The proxy settings are properly used and applied now. +[fix] Made the JsDecoder integration be compatible with recent Qt versions. +[change] Changed the created shell scripts indenter config file reference. Now each created shell script has a corresponding config file being created in the same dir as the shell script, with the same name but different suffix. But since the config file is referenced by "./", when calling the script the working directory must be the same as the directory containing the config file. +[change] Using TCLAP as command line parser instead of own command line parsing. +[change] Setting a file name as parameter on the command line without any prefix will load this file instead of the last opened one. +[change] Rewritten and improved the internal way how settings are connected to the UI. +[change] Refactored and cleaned up the code. +[change] Will no longer deliver binary bundles linked against Qt statically. Instead delivering all dependent DLLs and libs. + +2009-07-16 Version 1.1.0 +[add] Added a logging class, that can catch debug output and make trace backs if any problems occur possible. +[add] Added an application icon for Mac OS X. +[change] Feature Request ID 2596302 : Updated the greatcode.ini. Thanks to adxadx who has done this work! +[change] Feature Request ID 2793216: Updated to Uncrustify 0.53. +[change] Updated to JsDecoder version 1.1.0 +[fix] Bug ID 2791229: If UiGUI was located in a path containing Unicode characters or such a path needed to be handed over to a called indenter, the indenter could get confused on Windows. So using the Windows 8.3 short path notation. +[fix] On Mac OS X the used default font wasn't monospaced. Switched back to use Courier on Mac. + +2009-02-12 Version 1.0.2 +[add] Feature Request ID 2498654 : Added support for the Fortran indenter F90ppr. http://universalindent.sf.net/issue/feature/2498654 +[add] Made it possible to define "stdin" to be used for an indenter calling. +[change] Made the source code be compilable with the slightly older QScintilla version 2.2. +[change] When starting the very first time without any existing application settings, do not show the mainwindow at position 0,0. On Mac the window couldn't be moved because the window title bar was hidden under the Mac menu bar. +[change] When using a non Windows system the default editor font type is now Monospace instead of Courier. The latter was not found properly. +[change] For security reason using a randomly generated temporary directory name on Unix based systems. +[change] Improved the GUI updates for the Notepad++ plugin a bit. Not what I would call "good" yet. +[fix] Bug ID 2284777 : The Notepad++ plugin was falsely linked against Qt debug dlls, which were not included. http://universalindent.sf.net/issue/bug/2284777 +[fix] Bug ID 2594251 : The new version available check didn't work anymore since version 1.0.1. http://universalindent.sf.net/issue/bug/2594251 +[fix] Avoid a crash if an uigui ini file with faulty header info is read, where the indenter executable was empty. +[fix] Some application settings were tried to be read from a wrong directory when running in multi user mode. + +2008-10-14 Version 1.0.1 +[add] Feature Request ID 2161471 : Added support for the Python indenter pindent. +[add] Feature Request ID 1883444 : Added support for the JSP indenter JSPPP. +[add] Feature Request ID 1867563 : Added support for the XML indenter XML Indent. +[add] Support for French language. Thanks to Erwan "leg". +[change] Some small translation corrections. +[change] Improved the "new version available" check. +[change] On Mac and Linux a one pixel frame was shown around the whole screen when about dialog is visible. Removed that. +[change] Updated to Uncrustify version 0.49 from SVN repository. +[change] Using a new logo icon for UniversalIndentGUI. The logo was created by Erwan "leg". Thanks! +[fix] Bug ID 2173527 : Could not load Artistic Style config file properly if both parameters "--brackets=linux" and "--brackets=break-closing" were set. http://universalindent.sf.net/issue/2173527 +[fix] The distributed version of GNU Indent was using a misspelled configuration file, thus lieve preview didn't correctly work. Using original GNU Win32 version now. +[fix] In version 1.0.0 the creation of batch files for indenters undet Windows always created a bash/shell script instead of batch. +[fix] Keyboard shortcuts for enabling/disabling "Live Preview" and syntax highlighting didn't work. + +2008-09-30 Version 1.0.0 non public release. Only presented for Qt Centre programming contest. +[add] Made it possible to start UiGUI in different modes via parameters: Normal (full UI), plugin (only indenter menu, server active), server only. +[add] Added a server functionality. Future plan is to let UiGUI run also as server so plugins from other editors can send indent requests over TCP/IP to it. Very early state right now. +[add] Created a plugin for Notepad++. This plugin shows the indenter parameter menu and lets the user indent the selected or whole text. Live preview works also. Still has some eventloop graphic update problems. +[add] Added support for two (rather simple) Ruby beautifiers, ruby_formatter and rbeautify. +[add] Feature Request ID 1985475 : Added the possibility to reset all indenter parameters to default values. http://universalindent.sf.net/issue/1985475 +[add] Feature Request ID 1989585 : Added a context menu in indenter parameters widget and moved all functions handling these actions from the main window to the indent handler. http://universalindent.sf.net/issue/1989585 +[add] Feature Request ID 1977033 : Now supporting the Cobol intender Cobol Beautifier. http://universalindent.sf.net/issue/1977033 +[add] Feature Request ID 2080832 : Now showing the cursors current line and column number in the statusbars down right corner. http://universalindent.sf.net/issue/2080832 +[change] Using Qt >= 4.4.x now and thereby implemented an animated 3D about dialog. +[change] Using QScintilla >= 2.3 now and thereby added support for Cmake, Fortran[77], Pascal, PostScript, TCL, VHDL, XML and YAML. +[change] Reformatted the about dialog to only contain one QTextEdit. Also added some more links to that text. +[change] Limited the size of the combobox showing the indenters because with the supported programming languages in the name, the comobox was to large in width. +[change] Prevent php file from being tried to be executed directly. That could happen if the file has the execution flag set. However that should never be the case, so this is a workaround. +[change] Added a new class UiguiIniFileParser which will replace the currently used QSettings for reading the indenter parameters. Thus parameters appear in the menu in the same order as in the ini file and are no longer alphabetically sorted. +[change] Redesigned the user interface and code a bit. The indenter selection combo box along with the manual button are now placed in docking widget where all indenter parameters are placed. This is done in preparation to pull out the complete indent handler, so it can be used as plugin for Notepad++ or Eclipse etc.] +[change] Made reading the indenter config files more tolerant. If the user disobeys case sensitivity when editing the config file by hand, the values are correctly parsed anyway. +[change] Feature Request ID 1989587 : There is no longer any need to have a current value setting in the ini files. A default value is enough. http://universalindent.sf.net/issue/1989587 +[change] Completely removed QT3Support functions. +[change] Removed all compiler warnings. +[change] Changed the way internal settings are handled. Using QObject propertys for connected setting name now. +[fix] The by each indenter supported programming languages, written in braces, are removed from the created shell scripts name. +[fix] Corrected the move/mv commands parameter in the created shell and batch script when calling recursive. +[fix] Bug ID 1986471 : The file modification flag did not work properly. Reason was that QScintilla can not set its textedit component modified flag to true by a function call. http://universalindent.sf.net/issue/1986471 + +2008-05-26 Version 0.8.2 +[add] Feature Request ID 1971206 : Now showing by the indenter supported programming languages next to indenter name. +[add] Feature Request ID 1971181 : Added support for the HTML indenter HTB. +[add] Feature Request ID 1867562 : Added support for the HTML indenter hindent. +[add] Added support for the php indenter phpStylist version 1.0. +[add] Added the possibility to directly setting php files as indenter. The suffix .php is recognized and php used as default interpreter. +[add] Extended the created batch/shell script so it is able to indent only one file given as parameter or a whole directory recursively with a defined file suffix. +[add] Feature Request ID 1885911 : Added the possibility to open a file on applications start, that is handed over as parameter on the command line. +[add] Feature Request ID 1729429 : Added the possibility to drag'n drop in any source code file for opening it. +[change] Created indenter shell scripts now automatically have the executable flag set to true. +[change] Completed the support for all perl tidy parameters. +[change] Updated to uncrustify version 0.46. +[fix] Bug ID 1933074 : On Unix systems the user config files were stored in his home dir in the subfolder ".config". Now they are directly stored in ".universalindentgui". +[fix] Fixed a bug where the string "" was prepended to the output code. Occurred for example when using the shell indenter. + +2008-03-27 Version 0.8.1 +[add] Feature Request ID 1909450 : Added support for the PEAR PHP beautifier. Thus PHP beautifying is also possible on Linux and Mac OS X. (Needs the PEAR package "PHP_Beautifier" to be installed and a path entry pointing to the PHP dir.) +[add] Added support and translations for Russian and Ukrainian language. Thanks to Oleksandr (http://korytskyy.lviv.ua). +[add] Feature Request ID 1901935 : From now on files are saved with the same encoding as they were opened and no longer always UTF-8. Also it is possible to save the file with any other encoding. +[change] The detection whether to run in portable mode now depends on where the "config" folder resides and no longer the "indenters" folder. This is needed to be able to correctly run on Windows multiuser systems. +[change] Removed the word "beta" whereever it occurred, since UiGUI isn't that beta anymore. +[fix] Bug ID 1910773 : On Unix systems the globally available files, like indenters, translations etc are not longer installed to /etc/universalindentgui but to /usr/share/universalindentgui. + +2008-01-17 Version 0.8.0 Beta +[add] Feature Request ID 1849297 : Added support for indenters written in JavaScript using an internal interpreter. Have a look into the README.txt to get to know, what steps are needed for that. +[add] Added support for a simple JavaScript indenter written in JavaScript itself. +[add] Added support for a simple shell code indenter written in awk. +[add] Feature Request ID 1736946 : It is now possible to run any indenter that is available in the global environment via a path entry. +[add] Feature Request ID 1852483 : Indenters written in script languages, like perl, are now also supported, if they have a correct shebang. +[add] Added support for the well known perltidy. The uigui ini file is completed up to the category and including "Line Break Control". Rest needs to be done. +[add] Feature Request ID 1866599 : Adapted the used paths for settings, temporary files and the one containing indenter ini files to be conform with systems that use strict user rights management. Most this concerns Linux, where the binary resides inside a bin dir and user specific settings are stored in his home dir. Short: now supporting multiuser systems and also have a portable mode, where modifications are only on local media. +[add] Feature Request ID 1730360 : Along with real support for multiuser systems, each user can have his own indenter settings. These won't be overwritten by an update, what was the case before. +[add] Feature Request ID 1867628 : Added a button to the toolbar near the indenter selection that opens the indenters online manual. +[add] Feature Request ID 1867660 : Created a simple man page for unix based systems. +[add] The by the qmake projekt file resulting makefile has a directive for install on unix based systems now. +[add] Added example files for most supported programming languages, so each indenter can be tested. +[change] The source code archive is now in a Unix conform format and naming convention. +[change] The used paths have changed. The "data" directory has been renamed to indenters and includes only the uigui ini files and maybe some indenter binaries. Futher a config and a temp directory are used. +[change] In case of an error during calling the indenter, its standard output is appended to the error dialog. +[change] Corrected some misspelling. +[change] Renamed htmltidy to tidy because that is its official name and also the name of the binary in all Linux packages. +[fix] Bug ID 1855460 : The parameter settings of the indenter were only saved, if preview is turned on. Now the settings are always remembered. +[fix] Bug ID 1854156 : The syntax highlighter did not switch to perl if a file with suffix .pl or .pm was loaded. + +2007-11-22 Version 0.7.1 Beta +[add] Feature Request ID 1833814 : Added support for building on MacOSX. +[change] Feature Request ID 1836486 : Update to latest version of Uncrustify. +[change] Update to latest version of Artistic Styler. + +2007-11-11 Version 0.7.0 Beta +[add] Feature Request ID 1826733 : If the called indenter returns an error message, you can chose to not show the same error again. Helpful for HTMLtidy since it often shows a long, repeating error list. +[add] Feature Request ID 1805974 : Added an option to clear the list of recently opened files. +[add] Feature Request ID 1760997 : Added some code lines to example.cpp to test whether an indenter correctly handles preprocessor defines. +[add] Feature Request ID 1752551 : If the user manually checks for updates a progress/busy dialog will be shown. +[add] Feature Request ID 1736932 : The user gets shown a dialog if he has manually checked for an update and no new one is available. +[change] The update check is now enabled by default. +[change] Slighty changes made to the settings dialog; put texts in front of the changed value. +[fix] Bug ID 1807179 : GNU Indent didn't work properly on Windows system, after the dlls libiconv-2.dll and libintl-2.dll were removed. Readded them. +[fix] Bug ID 1805976 : The HTML export didn't produce any output. Fixed that, but still has not syntax formatting. +[fix] Bug ID 1815023 : Mixed traditional with simplified chinese translation. Now preferring to use english text instead of mixing if no traditional translation is available. +[fix] Bug ID 1815120 : The font of the editor component was wrong (not monospaced), if syntax highlighting was turned off. + +2007-06-13 Version 0.6.1 Beta +[add] Feature Request ID 1729433 : Added a recently opened file menu. +[add] Feature Request ID 1704290 : Added possibiltiy to integrate into an IDE, editor or other as external tool. This is donw by creating a batch/shell script which accepts a file as parameter and calls the indenter with the in UniversalIndentGUI made settings. +[add] Feature Request ID 1673659 : The string parameter in the uigui ini files for each indenter can now also be a list of strings divided by "|" sign. As result the parameter name with value will be written to the indenter config file for each of the values. +[add] Feature Request ID 1730180 : UniversalIndentGUI can automatically check on start, whether a new version is available. This setting is disabled by default and can be enabled in the settings. +[add] Added support for HTML Tidy. The executable is contained in the release package. +[add] Feature Request ID 1736432 : The width of the dock widget containing the indenter parameters is now restored on program start. +[change] The about dialog shows now a credits scroller to say thanks to all people, who have helped me somehow. +[fix] Bug ID 1733499 : UniversalIndentGui crashed if inside of an indenter ini file the category number of one parameter was higher than the available categories. +[fix] Bug ID 1735586 : Some dialogs had untranslated buttons. For example yes, no, cancel were not translated. + +2007-06-03 Version 0.6.0 Beta +[add] Feature Request ID 1700557 : Added a settings dialog for handling more possible settings with better usabiltiy. +[add] Feature Request ID 1700556 : Added option to load last file or not on startup. +[add] Feature Request ID 1684011 : Added option to set the width used to display tabs (default is four spaces). +[add] Feature Request ID 1651718 : Added multiple choices, for the indenter configuration, with for the user readable text. Before the text inside of the combo boxes for the indenter parameters was exactly the same text as the command line parameter of the indenter. Now with "ChoicesReadable" a list with the same length as "Choices" can be used to insert readable text into the combo box. If this list is not set, the content of "Choices" will be used. +[add] Partly Japanese translation. Thanks to Nirvash. +[add] The language selection show the countries flag in front of its name to identify the language faster. +[add] Feature Request ID 1657253 : If now configuration ini file for any indenter can be found, a warning will be displayed. +[change] Feature Request ID 1723228 : The default font for all syntax highlighters is now mono spaced, Courier. +[change] Along with the settings dialog cleaned up the user interface. Moved some not that often needed settings away to the settings dialog. +[change] The full text of the GPL in the about dialog did slow down the program startup and translation. Now only a hint and link to the GPL is given in the about dialog. +[fix] Bug ID 1692511 : UniversalIndentGui crashed, if a by the syntax highlighter unsupported file extension was opened. +[fix] Bug ID 1727538 : The setting for syntax highlighting was allways enabled on startup, even if disabled on closing. +[fix] Bug ID 1729026 : The highlighting style was not correct when changed to another highlighter than the current. Only after toggling preview for example the style was correct. +[fix] The editors column showing the line numbers did not adapt its width to the maximum line number. + +2007-03-19 Version 0.5.1 Beta +[add] Supporting syntax highlightning for the programming language D. +[change] The live typing and indenting feature was not adapted to QScintilla. Now works again (depending on the used indenter). +[fix] Bug ID 1678783 : Files other encoded than ascii were not displayed correctly. Now allways displaying files using UTF-8 encoding. +[fix] Bug ID 1678783 : The new syntax highlighter selection menu was not translated. +[fix] When file was reloaded with other encoding the file was allways set to be modified even if it wasn't. + +2007-03-14 Version 0.5.0 Beta +[add/change] Using QScintilla as editing component, which is by far more mighty than the before uses QTextEdit. Have a look inside the development area for details. +[add] Because of QScintilla, added syntax highlightning for bash, batch, cpp, csharp, css, diff, html, idl, java, javascript, lua, makefile, perl, pov, ini, python, ruby, sql and tex. +[add] Also added code folding for previously mentioned languages. +[add] Added support for the indenter "phpCB" phpCodeBeatufier. (Thanks to Nelson Tai) The executable is not included in the UiGui release, because I am not sure about the license of phpCB right now. +[add] The output of an indenter can now be read from stdout, by setting "stdout" for "outputFileParameter". +[add] Feature Request ID 1673549 : The order of the indenter call parameters for input file, output file and options[file] is now selectable in three states: pio, ipo, iop. +[add] Feature Request ID 1675503 : The last set encoding is being remembered and used on loading last file. +[add] Feature Request ID 1669822 : The last window position, size and maximized state is stored in the settings and restored. +[add] Feature Request ID 1673670 : Made it possible to switch between visible and invisible white space characters, like spaces and tabs. +[change] The "personal" configuration files of each indenter (like gc.cfg) are no longer included in a release, so these settings can be loaded into UiGui after updating. +[fix] Bug ID 1678783: If the current opened file had no save name yet, only the path was written to the settings file, causing an error on next start. + +2007-02-25 Version 0.4.2 Beta +[add] Support for the indenter CSSTidy has been added. +[add] Support for new language: Taiwan (Chinese). +[change] For easier translation the about dialog has been redesigned a bit. +2007-02-11 Version 0.4.1 Beta +[add] Support for the indenter Uncrustify has been added. +[add] Feature Request ID 1651719: A binary release for Linux AMD64 is now available. +[add] Feature Request ID 1657251: If only a win32 executable exists under Linux, wine will be used to call it. Now a test will be mad if wine is installed and an error message will show up if not installed. +[change] Some changes mad to the Artistic Styler ini file as suggested by its author Jim Pattee. +[change] Put the file open button at first position in the toolbar, because normally this is the first step one would do, if he tries to find the optimal indenter and settings for himself. +[change] The background in the about dialog has been changed to look equal on all systems. +[change] The error message dialogs had small optical enhancements to be more readable. +[fix] Bug ID 1657255: If an error occurred during the try to call the indenter, a message box is being shown, but the mouse cursor still indicated that the application is being busy. +[fix] Bug ID 1651071: Changing the file encoding did not affect the code sent to the indenter, so the code while preview turned on, had wrong encoding (still seems to have some encoding problems under Linux). +[fix] Bug ID 1650222: On Windows systems there were two DLLs missing to run GNU Indent ("libiconv-2.dll" and "libintl-2.dll") +[fix] Bug ID 1649918: The indenter was not called after first program start, so preview updated first after changing a setting or the code. + +2007-02-01 Version 0.4 Beta +[add] All parameters of GNU Indent have been added. +[add] From now on the indenter BCPP is included. +[add] The loaded source file encoding is now convertable by the menu entry "Reopen File with other Encoding". This way chinese encoding etc. is possible to load. (Suggest for this submitted by Nelson, Bug ID 1643541) +[add] A subdirectory "doc" has been added, containing the file "iniFileFormat.html" with info how to write ini files for new indenters. +[change] Updated the astyle executable and the ini file to version 1.20.1 +[change] Restructured the gui design a little bit. Using a moveable dock widget for the indenter settings now. Using a toolbar that can also be placed at the bottom. +[change] Made it possible to change the language without the need to restart the application. +[change] Line numbers are now geyed out, because this is more decent and selecting the numbers is no longer possible. +[change] The link to the homepage in the about dialog now really opens the website. +[change] The linux version is now statically linked against Qt so there should be no problems with wrong Qt versions installed or even no Qt libraries installed. +[fix] Bug ID 1553601: If no uigui ini file was found the application stopped with an exception. + +2006-09-04 Version 0.3.1 Beta +[add] Language selector and german translation added. + +2006-08-25 Version 0.3 Beta +[add] A message box will show up at opening a source file or program exit, if the source code has been changed, and ask whether to save the file or not. +[add] The symbol "*" will be shown in the window title in front of the source file name if the source code has been changed. +[add] By a settings menu entry the tool tips for the indenter parameter settings can be en/disabled because they can be annoying. +[add] A settings file is from now on used to remember the last selected indenter and last opened source code file. +[add] The source code can now be exported as a PDF or HTML document. +[add] Some commands are now faster available by keyboard shortcuts. +[fix] The calling name in the indenter ini file for GreatCode was written lower case while the real file name was upper case, which resulted in a program calling error. +[fix] Corrected the tab order for the gui elements. +[change] Optimized speed when switching between the available indenters. If the indenters ini file is large, this still takes some time. + +2006-08-11 Version 0.2.5 Alpha +[add] when loading or saving either a source code or config file the load/save dialog will open in the files directory and not allways in the UniversalIndentGUI dir +[add] currently made settings for the indenter can be saved to any file +[add] the menue entries for loading and saving the indenter config file have now icons +[add] the currently opened source code file name and path will be shown in the window title bar +[add] a error dialog that will be shown once if the indenter executable for the selected indenter does not exist +[fix] turning syntax highlight on/off did first take effect after toggle of preview +[fix] the image in the about dialog box was not allways visible + +2006-08-03 Version 0.2.4 Alpha +[change] the windows version does no longer need any dlls due to static linking and removing bind to mingwm10.dll +[change] the windows version of the GNU Indent is replaced by a DJGPP compiled GNU Indent version, that needs no further DLLs +[add] possibility to save the shown/indented source code +[fix] the file extension used to call the selected indenter. It is now equal to the loaded source file extension so the indenter recognizes the source code language +[fix] unnecessary calls of the indenter removed +[fix] indenter was not called if preview was activated and indenter changed +[fix] under linux the file mask for the open source file dialog did not work correctly + +2006-07-16 Version 0.2.3 Alpha +[add] possibility to edit the source code while preview is active and see how it is formatted. So that is real live ;-) + +2006-07-14 Version 0.2.2 Alpha +[add] ini file for GNU Indent with some first settings (if any one wants to write more in it let me know) +[add] a menu bar for more pleasent and common use of the program (some not yet used menu items are disabled) +[add] an about dialog +[add] some icons for better look and feel (can you feel it ;-) ) +[fix] a bug under linux which caused an endless loop if text was edited + +2006-07-07 Version 0.2.1.1 Alpha (win32 only) +- previously compiled using Visual Studio 2005 Express, whereby an additional installation of a redistributable package was needed to run UniversalIndentGUI. To avoid this and not force the user to install anything, now using mingw to compile. + +2006-07-04 Version 0.2.1 Alpha +[add] function to load config file (not the uigui ini file) of every indenter (and reenabled load config file button) +[add] use of a default value when loading a indenter config file and not all parameters are set. +[add] all documented default parameters of GreatCode and Astyle to their ini files. +[fix] loading of file mask for source code file after changing indenter +[fix] call of indenter failed under win32 if a linux binary exists. + +2006-06-30 Version 0.2.0 Alpha +[add] missing parameters for flexible indenter ini file format +[add] complete Astyle ini file +[add] multiple choice combobox for parameters +[add] checkbox in front of numeric and string parameters to enable/disable them. If disabled indenters default value is used + +2006-06-28 +[add] working ini file for Astyle (right now only few boolean parameters) +[change] ini file format for booleans to reach the planned flexibility + +2006-06-23 +[add] combobox in the upper left showing available indenters (found by searching for uigui_*.ini file). at the moment only GreatCode and testwise Astyle +[add] more detailed info if the indenter call results in an error +[add] icon for executable +[change] style/format of the ini file. Still not all planned features implemented +- some bugfixes, as you can say this in a preAlpha + +2006-06-07 +[change] unnecessary gui menu removed +[fix] corrected ini file for great code (only in executable release) +[add] made call of windows version of GreatCode under Linux possible by using wine diff --git a/INSTALL.txt b/INSTALL.txt index fa264cd..39f339d 100755 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,12 +1,12 @@ -How to install UniversalIndentGUI ---------------------------------- - -Well, there is no need to install this application at all. While you are reading this file, -you obviously already have unpacked the archive and thats all you need to do. You can start -the program by calling its executable. On Windows thats "UniversalIndentGUI.exe" and on any -other system it is "UniversalIndentGUI". - -No additional libraries are needed. - -For information about how to build UniversalIndentGUI from source, have a look into the +How to install UniversalIndentGUI +--------------------------------- + +Well, there is no need to install this application at all. While you are reading this file, +you obviously already have unpacked the archive and thats all you need to do. You can start +the program by calling its executable. On Windows thats "UniversalIndentGUI.exe" and on any +other system it is "UniversalIndentGUI". + +No additional libraries are needed. + +For information about how to build UniversalIndentGUI from source, have a look into the file readme.html. \ No newline at end of file diff --git a/config/UiGuiSyntaxHighlightConfig.ini b/config/UiGuiSyntaxHighlightConfig.ini index c7e346f..3db2503 100755 --- a/config/UiGuiSyntaxHighlightConfig.ini +++ b/config/UiGuiSyntaxHighlightConfig.ini @@ -1,3407 +1,3407 @@ -[Bash] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Error -style1\color=16776960 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16711680 -style10=Parameter expansion -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777184 -style11=Backticks -style11\color=16776960 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=10518656 -style12=Here document delimiter -style12\color=0 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=14536925 -style13=Single-quoted here document -style13\color=8323199 -style13\eolfill=true -style13\font=Courier, 10, 0, 0, 0 -style13\paper=14536925 -style2=Comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Number -style3\color=32639 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Keyword -style4\color=127 -style4\eolfill=false -style4\font=Courier, 10, 1, 0, 0 -style4\paper=16777215 -style5=Double-quoted string -style5\color=8323199 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=Single-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Operator -style7\color=0 -style7\eolfill=false -style7\font=Courier, 10, 1, 0, 0 -style7\paper=16777215 -style8=Identifier -style8\color=0 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Scalar -style9\color=0 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16769248 - -[Batch] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Keyword -style2\color=127 -style2\eolfill=false -style2\font=Courier, 10, 1, 0, 0 -style2\paper=16777215 -style3=Label -style3\color=8323199 -style3\eolfill=true -style3\font=Courier, 10, 0, 0, 0 -style3\paper=6316128 -style4=Hide command character -style4\color=8355584 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=External command -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Variable -style6\color=8388736 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Operator -style7\color=0 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 - -[C%23] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=C comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Unclosed string -style12\color=0 -style12\eolfill=true -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style13=Verbatim string -style13\color=32512 -style13\eolfill=true -style13\font=Courier, 10, 0, 0, 0 -style13\paper=14745568 -style15=JavaDoc style C++ comment -style15\color=4157503 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Secondary keywords and identifiers -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=JavaDoc keyword -style17\color=3170464 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=JavaDoc keyword error -style18\color=8405024 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Global classes and typedefs -style19\color=0 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style2=C++ comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=JavaDoc style C comment -style3\color=4157503 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style9=Pre-processor block -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style8=IDL UUID -style8\color=0 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 - -[CSS] -style0=Default -style0\color=16711808 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Tag -style1\color=127 -style1\eolfill=false -style1\font=Courier, 10, 1, 0, 0 -style1\paper=16777215 -style10=ID selector -style10\color=32639 -style10\eolfill=false -style10\font=Courier, 10, 0, 1, 0 -style10\paper=16777215 -style11=Important -style11\color=16744448 -style11\eolfill=false -style11\font=Courier, 10, 1, 0, 0 -style11\paper=16777215 -style12=@@-rule -style12\color=8355584 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=Double-quoted string -style13\color=8323199 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=Single-quoted string -style14\color=8323199 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=CSS2 property -style15\color=41184 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Attribute -style16\color=8388608 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style2=Class selector -style2\color=0 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Pseudo-class -style3\color=8388608 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Unknown pseudo-class -style4\color=16711680 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Operator -style5\color=0 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=CSS1 property -style6\color=16608 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Unknown property -style7\color=16711680 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Value -style8\color=8323199 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style17=CSS3 property -style17\color=0 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=Pseudo-element -style18\color=0 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Extended CSS property -style19\color=0 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style20=Extended pseudo-class -style20\color=0 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=16777215 -style21=Extended pseudo-element -style21\color=0 -style21\eolfill=false -style21\font=Courier, 10, 0, 0, 0 -style21\paper=16777215 - -[Cpp] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=C comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Unclosed string -style12\color=0 -style12\eolfill=true -style12\font=Courier, 10, 0, 0, 0 -style12\paper=14729440 -style15=JavaDoc style C++ comment -style15\color=4157503 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Secondary keywords and identifiers -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=JavaDoc keyword -style17\color=3170464 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=JavaDoc keyword error -style18\color=8405024 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Global classes and typedefs -style19\color=0 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style2=C++ comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=JavaDoc style C comment -style3\color=4157503 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style9=Pre-processor block -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style8=IDL UUID -style8\color=0 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style20=C++ raw string -style20\color=8323199 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=16774143 -style40=Inactive C++ raw string -style40\color=11571376 -style40\eolfill=false -style40\font=Courier, 10, 0, 0, 0 -style40\paper=16774143 -style64=Inactive default -style64\color=12632256 -style64\eolfill=false -style64\font=Courier, 10, 0, 0, 0 -style64\paper=16777215 -style65=Inactive C comment -style65\color=9482384 -style65\eolfill=false -style65\font=Courier, 10, 0, 0, 0 -style65\paper=16777215 -style66=Inactive C++ comment -style66\color=9482384 -style66\eolfill=false -style66\font=Courier, 10, 0, 0, 0 -style66\paper=16777215 -style67=Inactive JavaDoc style C comment -style67\color=13684944 -style67\eolfill=false -style67\font=Courier, 10, 0, 0, 0 -style67\paper=16777215 -style68=Inactive number -style68\color=9482384 -style68\eolfill=false -style68\font=Courier, 10, 0, 0, 0 -style68\paper=16777215 -style69=Inactive keyword -style69\color=9474224 -style69\eolfill=false -style69\font=Courier, 10, 1, 0, 0 -style69\paper=16777215 -style70=Inactive double-quoted string -style70\color=11571376 -style70\eolfill=false -style70\font=Courier New, 10, 0, 0, 0 -style70\paper=16777215 -style71=Inactive single-quoted string -style71\color=11571376 -style71\eolfill=false -style71\font=Courier New, 10, 0, 0, 0 -style71\paper=16777215 -style72=Inactive IDL UUID -style72\color=12632256 -style72\eolfill=false -style72\font=Courier, 10, 0, 0, 0 -style72\paper=16777215 -style73=Inactive pre-processor block -style73\color=11579536 -style73\eolfill=false -style73\font=Courier, 10, 0, 0, 0 -style73\paper=16777215 -style74=Inactive operator -style74\color=11579568 -style74\eolfill=false -style74\font=Courier, 10, 1, 0, 0 -style74\paper=16777215 -style75=Inactive identifier -style75\color=11579568 -style75\eolfill=false -style75\font=Courier, 10, 0, 0, 0 -style75\paper=16777215 -style76=Inactive unclosed string -style76\color=0 -style76\eolfill=true -style76\font=Courier New, 10, 0, 0, 0 -style76\paper=14729440 -style79=Inactive JavaDoc style C++ comment -style79\color=12632256 -style79\eolfill=false -style79\font=Courier, 10, 0, 0, 0 -style79\paper=16777215 -style80=Inactive secondary keywords and identifiers -style80\color=12632256 -style80\eolfill=false -style80\font=Courier, 10, 0, 0, 0 -style80\paper=16777215 -style81=Inactive JavaDoc keyword -style81\color=12632256 -style81\eolfill=false -style81\font=Courier, 10, 0, 0, 0 -style81\paper=16777215 -style82=Inactive JavaDoc keyword error -style82\color=12632256 -style82\eolfill=false -style82\font=Courier, 10, 0, 0, 0 -style82\paper=16777215 -style83=Inactive global classes and typedefs -style83\color=11579568 -style83\eolfill=false -style83\font=Courier, 10, 0, 0, 0 -style83\paper=16777215 - -[D] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Block comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=String -style10\color=8323199 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Unclosed string -style11\color=0 -style11\eolfill=true -style11\font=Courier, 10, 0, 0, 0 -style11\paper=14729440 -style12=Character -style12\color=8323199 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style13=Operator -style13\color=0 -style13\eolfill=false -style13\font=Courier, 10, 1, 0, 0 -style13\paper=16777215 -style14=Identifier -style14\color=0 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=DDoc style line comment -style15\color=4157503 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=DDoc keyword -style16\color=3170464 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=DDoc keyword error -style17\color=8405024 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style2=Line comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=DDoc style block comment -style3\color=4157503 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Nesting comment -style4\color=10535072 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Number -style5\color=32639 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=Keyword -style6\color=127 -style6\eolfill=false -style6\font=Courier, 10, 1, 0, 0 -style6\paper=16777215 -style7=Secondary keyword -style7\color=127 -style7\eolfill=false -style7\font=Courier, 10, 1, 0, 0 -style7\paper=16777215 -style8=Documentation keyword -style8\color=127 -style8\eolfill=false -style8\font=Courier, 10, 1, 0, 0 -style8\paper=16777215 -style9=Type definition -style9\color=127 -style9\eolfill=false -style9\font=Courier, 10, 1, 0, 0 -style9\paper=16777215 - -[Diff] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Command -style2\color=8355584 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Header -style3\color=8323072 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Position -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Removed line -style5\color=32639 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=Added line -style6\color=127 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Changed line -style7\color=8355711 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 - -[HTML] -style0=HTML default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Tag -style1\color=128 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Entity -style10\color=8388736 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style100=Python function or method name -style100\color=32639 -style100\eolfill=true -style100\font=Courier, 10, 1, 0, 0 -style100\paper=15728623 -style101=Python operator -style101\color=0 -style101\eolfill=true -style101\font=Courier, 10, 1, 0, 0 -style101\paper=15728623 -style102=Python identifier -style102\color=0 -style102\eolfill=true -style102\font=Courier, 10, 0, 0, 0 -style102\paper=15728623 -style105=Start of an ASP Python fragment -style105\color=8421504 -style105\eolfill=false -style105\font=Courier, 10, 0, 0, 0 -style105\paper=16777215 -style106=ASP Python default -style106\color=8421504 -style106\eolfill=true -style106\font=Courier, 10, 0, 0, 0 -style106\paper=13627343 -style107=ASP Python comment -style107\color=32512 -style107\eolfill=true -style107\font=Courier, 10, 0, 0, 0 -style107\paper=13627343 -style108=ASP Python number -style108\color=32639 -style108\eolfill=true -style108\font=Courier, 10, 0, 0, 0 -style108\paper=13627343 -style109=ASP Python double-quoted string -style109\color=8323199 -style109\eolfill=true -style109\font=Courier, 10, 0, 0, 0 -style109\paper=13627343 -style11=End of a tag -style11\color=128 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style110=ASP Python single-quoted string -style110\color=8323199 -style110\eolfill=true -style110\font=Courier, 10, 0, 0, 0 -style110\paper=13627343 -style111=ASP Python keyword -style111\color=127 -style111\eolfill=true -style111\font=Courier, 10, 1, 0, 0 -style111\paper=13627343 -style112=ASP Python triple single-quoted string -style112\color=8323072 -style112\eolfill=true -style112\font=Courier, 10, 0, 0, 0 -style112\paper=13627343 -style113=ASP Python triple double-quoted string -style113\color=8323072 -style113\eolfill=true -style113\font=Courier, 10, 0, 0, 0 -style113\paper=13627343 -style114=ASP Python class name -style114\color=255 -style114\eolfill=true -style114\font=Courier, 10, 1, 0, 0 -style114\paper=13627343 -style115=ASP Python function or method name -style115\color=32639 -style115\eolfill=true -style115\font=Courier, 10, 1, 0, 0 -style115\paper=13627343 -style116=ASP Python operator -style116\color=0 -style116\eolfill=true -style116\font=Courier, 10, 1, 0, 0 -style116\paper=13627343 -style117=ASP Python identifier -style117\color=0 -style117\eolfill=true -style117\font=Courier, 10, 0, 0, 0 -style117\paper=13627343 -style118=PHP default -style118\color=51 -style118\eolfill=true -style118\font=Courier, 10, 0, 0, 0 -style118\paper=16775416 -style119=PHP double-quoted string -style119\color=32512 -style119\eolfill=false -style119\font=Courier, 10, 0, 0, 0 -style119\paper=16775416 -style12=Start of an XML fragment -style12\color=255 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style120=PHP single-quoted string -style120\color=40704 -style120\eolfill=false -style120\font=Courier, 10, 0, 0, 0 -style120\paper=16775416 -style121=PHP keyword -style121\color=8323199 -style121\eolfill=false -style121\font=Courier, 10, 0, 1, 0 -style121\paper=16775416 -style122=PHP number -style122\color=13408512 -style122\eolfill=false -style122\font=Courier, 10, 0, 0, 0 -style122\paper=16775416 -style123=PHP variable -style123\color=127 -style123\eolfill=false -style123\font=Courier, 10, 0, 1, 0 -style123\paper=16775416 -style124=PHP comment -style124\color=10066329 -style124\eolfill=false -style124\font=Courier, 10, 0, 0, 0 -style124\paper=16775416 -style125=PHP line comment -style125\color=6710886 -style125\eolfill=false -style125\font=Courier, 10, 0, 1, 0 -style125\paper=16775416 -style126=PHP double-quoted variable -style126\color=127 -style126\eolfill=false -style126\font=Courier, 10, 0, 1, 0 -style126\paper=16775416 -style127=PHP operator -style127\color=0 -style127\eolfill=false -style127\font=Courier, 10, 0, 0, 0 -style127\paper=16775416 -style13=End of an XML fragment -style13\color=255 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=Script tag -style14\color=128 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=Start of an ASP fragment with @ -style15\color=0 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16776960 -style16=Start of an ASP fragment -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16768768 -style17=CDATA -style17\color=0 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16768768 -style18=Start of a PHP fragment -style18\color=255 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16773055 -style19=Unquoted HTML value -style19\color=16711935 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16773119 -style2=Unknown tag -style2\color=16711680 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style20=ASP X-Code comment -style20\color=0 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=16777215 -style21=SGML default -style21\color=128 -style21\eolfill=false -style21\font=Courier, 10, 0, 0, 0 -style21\paper=15724543 -style22=SGML command -style22\color=128 -style22\eolfill=false -style22\font=Courier, 10, 1, 0, 0 -style22\paper=15724543 -style23=First parameter of an SGML command -style23\color=26112 -style23\eolfill=false -style23\font=Courier, 10, 0, 0, 0 -style23\paper=15724543 -style24=SGML double-quoted string -style24\color=8388608 -style24\eolfill=false -style24\font=Courier, 10, 0, 0, 0 -style24\paper=15724543 -style25=SGML single-quoted string -style25\color=10040064 -style25\eolfill=false -style25\font=Courier, 10, 0, 0, 0 -style25\paper=15724543 -style26=SGML error -style26\color=8388608 -style26\eolfill=false -style26\font=Courier, 10, 0, 0, 0 -style26\paper=16737894 -style27=SGML special entity -style27\color=3368703 -style27\eolfill=false -style27\font=Courier, 10, 0, 0, 0 -style27\paper=15724543 -style29=SGML comment -style29\color=8421376 -style29\eolfill=false -style29\font=Courier, 10, 0, 0, 0 -style29\paper=15724543 -style3=Attribute -style3\color=32896 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style30=First parameter comment of an SGML command -style30\color=0 -style30\eolfill=false -style30\font=Courier, 10, 0, 0, 0 -style30\paper=16777215 -style31=SGML block default -style31\color=102 -style31\eolfill=false -style31\font=Courier, 10, 0, 0, 0 -style31\paper=13421792 -style4=Unknown attribute -style4\color=16711680 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style40=Start of a JavaScript fragment -style40\color=8355584 -style40\eolfill=false -style40\font=Courier, 10, 0, 0, 0 -style40\paper=16777215 -style41=JavaScript default -style41\color=0 -style41\eolfill=true -style41\font=Courier, 10, 1, 0, 0 -style41\paper=15790335 -style42=JavaScript comment -style42\color=32512 -style42\eolfill=true -style42\font=Courier, 10, 0, 0, 0 -style42\paper=15790335 -style43=JavaScript line comment -style43\color=32512 -style43\eolfill=false -style43\font=Courier, 10, 0, 0, 0 -style43\paper=15790335 -style44=JavaDoc style JavaScript comment -style44\color=4157503 -style44\eolfill=true -style44\font=Courier, 10, 1, 0, 0 -style44\paper=15790335 -style45=JavaScript number -style45\color=32639 -style45\eolfill=false -style45\font=Courier, 10, 0, 0, 0 -style45\paper=15790335 -style46=JavaScript word -style46\color=0 -style46\eolfill=false -style46\font=Courier, 10, 0, 0, 0 -style46\paper=15790335 -style47=JavaScript keyword -style47\color=127 -style47\eolfill=false -style47\font=Courier, 10, 1, 0, 0 -style47\paper=15790335 -style48=JavaScript double-quoted string -style48\color=8323199 -style48\eolfill=false -style48\font=Courier, 10, 0, 0, 0 -style48\paper=15790335 -style49=JavaScript single-quoted string -style49\color=8323199 -style49\eolfill=false -style49\font=Courier, 10, 0, 0, 0 -style49\paper=15790335 -style5=HTML number -style5\color=32639 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style50=JavaScript symbol -style50\color=0 -style50\eolfill=false -style50\font=Courier, 10, 1, 0, 0 -style50\paper=15790335 -style51=JavaScript unclosed string -style51\color=0 -style51\eolfill=true -style51\font=Courier, 10, 0, 0, 0 -style51\paper=12565424 -style52=JavaScript regular expression -style52\color=0 -style52\eolfill=false -style52\font=Courier, 10, 0, 0, 0 -style52\paper=16759728 -style55=Start of an ASP JavaScript fragment -style55\color=8355584 -style55\eolfill=false -style55\font=Courier, 10, 0, 0, 0 -style55\paper=16777215 -style56=ASP JavaScript default -style56\color=0 -style56\eolfill=true -style56\font=Courier, 10, 1, 0, 0 -style56\paper=14671743 -style57=ASP JavaScript comment -style57\color=32512 -style57\eolfill=true -style57\font=Courier, 10, 0, 0, 0 -style57\paper=14671743 -style58=ASP JavaScript line comment -style58\color=32512 -style58\eolfill=false -style58\font=Courier, 10, 0, 0, 0 -style58\paper=14671743 -style59=JavaDoc style ASP JavaScript comment -style59\color=8355711 -style59\eolfill=true -style59\font=Courier, 10, 1, 0, 0 -style59\paper=14671743 -style6=HTML double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style60=ASP JavaScript number -style60\color=32639 -style60\eolfill=false -style60\font=Courier, 10, 0, 0, 0 -style60\paper=14671743 -style61=ASP JavaScript word -style61\color=0 -style61\eolfill=false -style61\font=Courier, 10, 0, 0, 0 -style61\paper=14671743 -style62=ASP JavaScript keyword -style62\color=127 -style62\eolfill=false -style62\font=Courier, 10, 1, 0, 0 -style62\paper=14671743 -style63=ASP JavaScript double-quoted string -style63\color=8323199 -style63\eolfill=false -style63\font=Courier, 10, 0, 0, 0 -style63\paper=14671743 -style64=ASP JavaScript single-quoted string -style64\color=8323199 -style64\eolfill=false -style64\font=Courier, 10, 0, 0, 0 -style64\paper=14671743 -style65=ASP JavaScript symbol -style65\color=0 -style65\eolfill=false -style65\font=Courier, 10, 1, 0, 0 -style65\paper=14671743 -style66=ASP JavaScript unclosed string -style66\color=0 -style66\eolfill=true -style66\font=Courier, 10, 0, 0, 0 -style66\paper=12565424 -style67=ASP JavaScript regular expression -style67\color=0 -style67\eolfill=false -style67\font=Courier, 10, 0, 0, 0 -style67\paper=16759728 -style7=HTML single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style70=Start of a VBScript fragment -style70\color=0 -style70\eolfill=false -style70\font=Courier, 10, 0, 0, 0 -style70\paper=16777215 -style71=VBScript default -style71\color=0 -style71\eolfill=true -style71\font=Courier, 10, 0, 0, 0 -style71\paper=15724543 -style72=VBScript comment -style72\color=32768 -style72\eolfill=true -style72\font=Courier, 10, 0, 0, 0 -style72\paper=15724543 -style73=VBScript number -style73\color=32896 -style73\eolfill=true -style73\font=Courier, 10, 0, 0, 0 -style73\paper=15724543 -style74=VBScript keyword -style74\color=128 -style74\eolfill=true -style74\font=Courier, 10, 1, 0, 0 -style74\paper=15724543 -style75=VBScript string -style75\color=8388736 -style75\eolfill=true -style75\font=Courier, 10, 0, 0, 0 -style75\paper=15724543 -style76=VBScript identifier -style76\color=128 -style76\eolfill=true -style76\font=Courier, 10, 0, 0, 0 -style76\paper=15724543 -style77=VBScript unclosed string -style77\color=128 -style77\eolfill=true -style77\font=Courier, 10, 0, 0, 0 -style77\paper=8355839 -style8=Other text in a tag -style8\color=8388736 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style80=Start of an ASP VBScript fragment -style80\color=0 -style80\eolfill=false -style80\font=Courier, 10, 0, 0, 0 -style80\paper=16777215 -style81=ASP VBScript default -style81\color=0 -style81\eolfill=true -style81\font=Courier, 10, 0, 0, 0 -style81\paper=13619183 -style82=ASP VBScript comment -style82\color=32768 -style82\eolfill=true -style82\font=Courier, 10, 0, 0, 0 -style82\paper=13619183 -style83=ASP VBScript number -style83\color=32896 -style83\eolfill=true -style83\font=Courier, 10, 0, 0, 0 -style83\paper=13619183 -style84=ASP VBScript keyword -style84\color=128 -style84\eolfill=true -style84\font=Courier, 10, 1, 0, 0 -style84\paper=13619183 -style85=ASP VBScript string -style85\color=8388736 -style85\eolfill=true -style85\font=Courier, 10, 0, 0, 0 -style85\paper=13619183 -style86=ASP VBScript identifier -style86\color=128 -style86\eolfill=true -style86\font=Courier, 10, 0, 0, 0 -style86\paper=13619183 -style87=ASP VBScript unclosed string -style87\color=128 -style87\eolfill=true -style87\font=Courier, 10, 0, 0, 0 -style87\paper=8355839 -style9=HTML comment -style9\color=8421376 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style90=Start of a Python fragment -style90\color=8421504 -style90\eolfill=false -style90\font=Courier, 10, 0, 0, 0 -style90\paper=16777215 -style91=Python default -style91\color=8421504 -style91\eolfill=true -style91\font=Courier, 10, 0, 0, 0 -style91\paper=15728623 -style92=Python comment -style92\color=32512 -style92\eolfill=true -style92\font=Courier, 10, 0, 0, 0 -style92\paper=15728623 -style93=Python number -style93\color=32639 -style93\eolfill=true -style93\font=Courier, 10, 0, 0, 0 -style93\paper=15728623 -style94=Python double-quoted string -style94\color=8323199 -style94\eolfill=true -style94\font=Courier, 10, 0, 0, 0 -style94\paper=15728623 -style95=Python single-quoted string -style95\color=8323199 -style95\eolfill=true -style95\font=Courier, 10, 0, 0, 0 -style95\paper=15728623 -style96=Python keyword -style96\color=127 -style96\eolfill=true -style96\font=Courier, 10, 1, 0, 0 -style96\paper=15728623 -style97=Python triple single-quoted string -style97\color=8323072 -style97\eolfill=true -style97\font=Courier, 10, 0, 0, 0 -style97\paper=15728623 -style98=Python triple double-quoted string -style98\color=8323072 -style98\eolfill=true -style98\font=Courier, 10, 0, 0, 0 -style98\paper=15728623 -style99=Python class name -style99\color=255 -style99\eolfill=true -style99\font=Courier, 10, 1, 0, 0 -style99\paper=15728623 - -[IDL] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=C comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Unclosed string -style12\color=0 -style12\eolfill=true -style12\font=Courier, 10, 0, 0, 0 -style12\paper=14729440 -style15=JavaDoc style C++ comment -style15\color=4157503 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Secondary keywords and identifiers -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=JavaDoc keyword -style17\color=3170464 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=JavaDoc keyword error -style18\color=8405024 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Global classes and typedefs -style19\color=0 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style2=C++ comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=JavaDoc style C comment -style3\color=4157503 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=UUID -style8\color=8405120 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Pre-processor block -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 - -[Java] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=C comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Unclosed string -style12\color=0 -style12\eolfill=true -style12\font=Courier, 10, 0, 0, 0 -style12\paper=14729440 -style15=JavaDoc style C++ comment -style15\color=4157503 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Secondary keywords and identifiers -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=JavaDoc keyword -style17\color=3170464 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=JavaDoc keyword error -style18\color=8405024 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Global classes and typedefs -style19\color=0 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style2=C++ comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=JavaDoc style C comment -style3\color=4157503 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style9=Pre-processor block -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style8=IDL UUID -style8\color=0 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 - -[JavaScript] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=C comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Unclosed string -style12\color=0 -style12\eolfill=true -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style14=Regular expression -style14\color=4161343 -style14\eolfill=true -style14\font=Courier, 10, 0, 0, 0 -style14\paper=14741759 -style15=JavaDoc style C++ comment -style15\color=4157503 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Secondary keywords and identifiers -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=JavaDoc keyword -style17\color=3170464 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=JavaDoc keyword error -style18\color=8405024 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Global classes and typedefs -style19\color=0 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style2=C++ comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=JavaDoc style C comment -style3\color=4157503 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style9=Pre-processor block -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style8=IDL UUID -style8\color=0 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 - -[Lua] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=true -style1\font=Courier, 10, 0, 0, 0 -style1\paper=13693168 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Unclosed string -style12\color=0 -style12\eolfill=true -style12\font=Courier, 10, 0, 0, 0 -style12\paper=14729440 -style13=Basic functions -style13\color=127 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=13696976 -style14="String, table and maths functions" -style14\color=127 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=13684991 -style15="Coroutines, i/o and system facilities" -style15\color=127 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16765136 -style2=Line comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=String -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Character -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Literal string -style8\color=8323199 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=14745599 -style9=Preprocessor -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 - -[Makefile] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Preprocessor -style2\color=8355584 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Variable -style3\color=128 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Operator -style4\color=0 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Target -style5\color=10485760 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style9=Error -style9\color=16776960 -style9\eolfill=true -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16711680 - -[POV] -style0=Default -style0\color=16711808 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10="Objects, CSG and appearance" -style10\color=127 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16765136 -style11="Types, modifiers and items" -style11\color=127 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777168 -style12=Predefined identifiers -style12\color=127 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=Predefined functions -style13\color=127 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=13684991 -style14=User defined 1 -style14\color=127 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=13696976 -style15=User defined 2 -style15\color=127 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=13684944 -style16=User defined 3 -style16\color=127 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=14737632 -style2=Comment line -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Number -style3\color=32639 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Operator -style4\color=0 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Identifier -style5\color=0 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=String -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Unclosed string -style7\color=0 -style7\eolfill=true -style7\font=Courier, 10, 1, 0, 0 -style7\paper=14729440 -style8=Directive -style8\color=8355584 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Bad directive -style9\color=8405024 -style9\eolfill=false -style9\font=Courier, 10, 0, 1, 0 -style9\paper=16777215 - -[Perl] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Error -style1\color=16776960 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16711680 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Scalar -style12\color=0 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16769248 -style13=Array -style13\color=0 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777184 -style14=Hash -style14\color=0 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16769279 -style15=Symbol table -style15\color=0 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=14737632 -style17=Regular expression -style17\color=0 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=10551200 -style18=Substitution -style18\color=0 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=15786112 -style2=Comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style20=Backticks -style20\color=16776960 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=10518656 -style21=Data section -style21\color=6291456 -style21\eolfill=true -style21\font=Courier, 10, 0, 0, 0 -style21\paper=16773336 -style22=Here document delimiter -style22\color=0 -style22\eolfill=false -style22\font=Courier, 10, 0, 0, 0 -style22\paper=14536925 -style23=Single-quoted here document -style23\color=8323199 -style23\eolfill=true -style23\font=Courier, 10, 0, 0, 0 -style23\paper=14536925 -style24=Double-quoted here document -style24\color=8323199 -style24\eolfill=true -style24\font=Courier, 10, 1, 0, 0 -style24\paper=14536925 -style25=Backtick here document -style25\color=8323199 -style25\eolfill=true -style25\font=Courier, 10, 0, 1, 0 -style25\paper=14536925 -style26=Quoted string (q) -style26\color=8323199 -style26\eolfill=false -style26\font=Courier, 10, 0, 0, 0 -style26\paper=16777215 -style27=Quoted string (qq) -style27\color=8323199 -style27\eolfill=false -style27\font=Courier, 10, 0, 0, 0 -style27\paper=16777215 -style28=Quoted string (qx) -style28\color=16776960 -style28\eolfill=false -style28\font=Courier, 10, 0, 0, 0 -style28\paper=16777215 -style29=Quoted string (qr) -style29\color=0 -style29\eolfill=false -style29\font=Courier, 10, 0, 0, 0 -style29\paper=16777215 -style3=POD -style3\color=16384 -style3\eolfill=true -style3\font=Courier, 10, 0, 0, 0 -style3\paper=14745568 -style30=Quoted string (qw) -style30\color=0 -style30\eolfill=false -style30\font=Courier, 10, 0, 0, 0 -style30\paper=16777215 -style31=POD verbatim -style31\color=16384 -style31\eolfill=true -style31\font=Courier, 10, 0, 0, 0 -style31\paper=12648384 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style40=Subroutine prototype -style40\color=0 -style40\eolfill=false -style40\font=Courier, 10, 0, 1, 0 -style40\paper=16777215 -style41=Format identifier -style41\color=12583104 -style41\eolfill=false -style41\font=Courier, 10, 1, 0, 0 -style41\paper=16777215 -style42=Format body -style42\color=12583104 -style42\eolfill=true -style42\font=Courier, 10, 0, 0, 0 -style42\paper=16773375 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 - -[Properties] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32639 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Section -style2\color=8323199 -style2\eolfill=true -style2\font=Courier, 10, 0, 0, 0 -style2\paper=14741744 -style3=Assignment -style3\color=11558912 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Default value -style4\color=8355584 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 - -[Python] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Comment block -style12\color=8355711 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style13=Unclosed string -style13\color=0 -style13\eolfill=true -style13\font=Courier, 10, 0, 0, 0 -style13\paper=14729440 -style14=Highlighted identifier -style14\color=4223120 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=Decorator -style15\color=8409088 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style2=Number -style2\color=32639 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Double-quoted string -style3\color=8323199 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Single-quoted string -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Triple single-quoted string -style6\color=8323072 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Triple double-quoted string -style7\color=8323072 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Class name -style8\color=255 -style8\eolfill=false -style8\font=Courier, 10, 1, 0, 0 -style8\paper=16777215 -style9=Function or method name -style9\color=32639 -style9\eolfill=false -style9\font=Courier, 10, 1, 0, 0 -style9\paper=16777215 - -[Ruby] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Error -style1\color=0 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16711680 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Regular expression -style12\color=0 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=10551200 -style13=Global -style13\color=8388736 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=Symbol -style14\color=12623920 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=Module name -style15\color=10485920 -style15\eolfill=false -style15\font=Courier, 10, 1, 0, 0 -style15\paper=16777215 -style16=Instance variable -style16\color=11534464 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=Class variable -style17\color=8388784 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=Backticks -style18\color=16776960 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=10518656 -style19=Data section -style19\color=6291456 -style19\eolfill=true -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16773336 -style2=Comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style20=Here document delimiter -style20\color=0 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=14536925 -style21=Here document -style21\color=8323199 -style21\eolfill=true -style21\font=Courier, 10, 0, 0, 0 -style21\paper=14536925 -style24=%q string -style24\color=8323199 -style24\eolfill=false -style24\font=Courier, 10, 0, 0, 0 -style24\paper=16777215 -style25=%Q string -style25\color=8323199 -style25\eolfill=false -style25\font=Courier, 10, 0, 0, 0 -style25\paper=16777215 -style26=%x string -style26\color=16776960 -style26\eolfill=false -style26\font=Courier, 10, 0, 0, 0 -style26\paper=10518656 -style27=%r string -style27\color=0 -style27\eolfill=false -style27\font=Courier, 10, 0, 0, 0 -style27\paper=10551200 -style28=%w string -style28\color=0 -style28\eolfill=false -style28\font=Courier, 10, 0, 0, 0 -style28\paper=16777184 -style29=Demoted keyword -style29\color=127 -style29\eolfill=false -style29\font=Courier, 10, 1, 0, 0 -style29\paper=16777215 -style3=POD -style3\color=16384 -style3\eolfill=true -style3\font=Courier, 10, 0, 0, 0 -style3\paper=12648384 -style30=stdin -style30\color=0 -style30\eolfill=false -style30\font=Courier, 10, 0, 0, 0 -style30\paper=16744576 -style31=stdout -style31\color=0 -style31\eolfill=false -style31\font=Courier, 10, 0, 0, 0 -style31\paper=16744576 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style40=stderr -style40\color=0 -style40\eolfill=false -style40\font=Courier, 10, 0, 0, 0 -style40\paper=16744576 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Class name -style8\color=255 -style8\eolfill=false -style8\font=Courier, 10, 1, 0, 0 -style8\paper=16777215 -style9=Function or method name -style9\color=32639 -style9\eolfill=false -style9\font=Courier, 10, 1, 0, 0 -style9\paper=16777215 - -[SQL] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style10=Operator -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=Identifier -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style13=SQL*Plus comment -style13\color=32512 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style15=# comment line -style15\color=32512 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style17=JavaDoc keyword -style17\color=3170464 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=JavaDoc keyword error -style18\color=8405024 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=User defined 1 -style19\color=4915330 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style2=Comment line -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style20=User defined 2 -style20\color=11534400 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=16777215 -style21=User defined 3 -style21\color=9109504 -style21\eolfill=false -style21\font=Courier, 10, 0, 0, 0 -style21\paper=16777215 -style22=User defined 4 -style22\color=8388736 -style22\eolfill=false -style22\font=Courier, 10, 0, 0, 0 -style22\paper=16777215 -style3=JavaDoc style comment -style3\color=8355711 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Keyword -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=SQL*Plus keyword -style8\color=8355584 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=SQL*Plus prompt -style9\color=32512 -style9\eolfill=true -style9\font=Courier, 10, 0, 0, 0 -style9\paper=14745568 - -[TeX] -style0=Default -style0\color=4144959 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Special -style1\color=32639 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Group -style2\color=8323072 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Symbol -style3\color=8355584 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Command -style4\color=32512 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Text -style5\color=0 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 - -[XML] -style0=HTML default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Tag -style1\color=128 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Unknown tag -style2\color=128 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Attribute -style3\color=32896 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Unknown attribute -style4\color=32896 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=HTML number -style5\color=32639 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=HTML double-quoted string -style6\color=8323199 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=HTML single-quoted string -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Other text in a tag -style8\color=8388736 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=HTML comment -style9\color=8421376 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Entity -style10\color=8388736 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=End of a tag -style11\color=128 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Start of an XML fragment -style12\color=8388736 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=End of an XML fragment -style13\color=8388736 -style13\eolfill=false -style13\font=Courier, 10, 1, 0, 0 -style13\paper=16777215 -style14=Script tag -style14\color=0 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=Start of an ASP fragment with @ -style15\color=0 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16777215 -style16=Start of an ASP fragment -style16\color=0 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=CDATA -style17\color=8388608 -style17\eolfill=true -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16773360 -style18=Start of a PHP fragment -style18\color=8388608 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=Unquoted HTML value -style19\color=6324320 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style20=ASP X-Code comment -style20\color=0 -style20\eolfill=false -style20\font=Courier, 10, 0, 0, 0 -style20\paper=16777215 -style21=SGML default -style21\color=128 -style21\eolfill=false -style21\font=Courier, 10, 0, 0, 0 -style21\paper=15724543 -style22=SGML command -style22\color=128 -style22\eolfill=false -style22\font=Courier, 10, 1, 0, 0 -style22\paper=15724543 -style23=First parameter of an SGML command -style23\color=26112 -style23\eolfill=false -style23\font=Courier, 10, 0, 0, 0 -style23\paper=15724543 -style24=SGML double-quoted string -style24\color=8388608 -style24\eolfill=false -style24\font=Courier, 10, 0, 0, 0 -style24\paper=15724543 -style25=SGML single-quoted string -style25\color=10040064 -style25\eolfill=false -style25\font=Courier, 10, 0, 0, 0 -style25\paper=15724543 -style26=SGML error -style26\color=8388608 -style26\eolfill=false -style26\font=Courier, 10, 0, 0, 0 -style26\paper=16737894 -style27=SGML special entity -style27\color=3368703 -style27\eolfill=false -style27\font=Courier, 10, 0, 0, 0 -style27\paper=15724543 -style29=SGML comment -style29\color=8421376 -style29\eolfill=false -style29\font=Courier, 10, 0, 0, 0 -style29\paper=15724543 -style30=First parameter comment of an SGML command -style30\color=0 -style30\eolfill=false -style30\font=Courier, 10, 0, 0, 0 -style30\paper=16777215 -style31=SGML block default -style31\color=102 -style31\eolfill=false -style31\font=Courier, 10, 0, 0, 0 -style31\paper=13421792 -style40=Start of a JavaScript fragment -style40\color=0 -style40\eolfill=false -style40\font=Courier, 10, 0, 0, 0 -style40\paper=16777215 -style41=JavaScript default -style41\color=0 -style41\eolfill=false -style41\font=Courier, 10, 0, 0, 0 -style41\paper=16777215 -style42=JavaScript comment -style42\color=0 -style42\eolfill=false -style42\font=Courier, 10, 0, 0, 0 -style42\paper=16777215 -style43=JavaScript line comment -style43\color=0 -style43\eolfill=false -style43\font=Courier, 10, 0, 0, 0 -style43\paper=16777215 -style44=JavaDoc style JavaScript comment -style44\color=0 -style44\eolfill=false -style44\font=Courier, 10, 0, 0, 0 -style44\paper=16777215 -style45=JavaScript number -style45\color=0 -style45\eolfill=false -style45\font=Courier, 10, 0, 0, 0 -style45\paper=16777215 -style46=JavaScript word -style46\color=0 -style46\eolfill=false -style46\font=Courier, 10, 0, 0, 0 -style46\paper=16777215 -style47=JavaScript keyword -style47\color=0 -style47\eolfill=false -style47\font=Courier, 10, 0, 0, 0 -style47\paper=16777215 -style48=JavaScript double-quoted string -style48\color=0 -style48\eolfill=false -style48\font=Courier, 10, 0, 0, 0 -style48\paper=16777215 -style49=JavaScript single-quoted string -style49\color=0 -style49\eolfill=false -style49\font=Courier, 10, 0, 0, 0 -style49\paper=16777215 -style50=JavaScript symbol -style50\color=0 -style50\eolfill=false -style50\font=Courier, 10, 0, 0, 0 -style50\paper=16777215 -style51=JavaScript unclosed string -style51\color=0 -style51\eolfill=false -style51\font=Courier, 10, 0, 0, 0 -style51\paper=16777215 -style52=JavaScript regular expression -style52\color=0 -style52\eolfill=false -style52\font=Courier, 10, 0, 0, 0 -style52\paper=16777215 -style55=Start of an ASP JavaScript fragment -style55\color=0 -style55\eolfill=false -style55\font=Courier, 10, 0, 0, 0 -style55\paper=16777215 -style56=ASP JavaScript default -style56\color=0 -style56\eolfill=false -style56\font=Courier, 10, 0, 0, 0 -style56\paper=16777215 -style57=ASP JavaScript comment -style57\color=0 -style57\eolfill=false -style57\font=Courier, 10, 0, 0, 0 -style57\paper=16777215 -style58=ASP JavaScript line comment -style58\color=0 -style58\eolfill=false -style58\font=Courier, 10, 0, 0, 0 -style58\paper=16777215 -style59=JavaDoc style ASP JavaScript comment -style59\color=0 -style59\eolfill=false -style59\font=Courier, 10, 0, 0, 0 -style59\paper=16777215 -style60=ASP JavaScript number -style60\color=0 -style60\eolfill=false -style60\font=Courier, 10, 0, 0, 0 -style60\paper=16777215 -style61=ASP JavaScript word -style61\color=0 -style61\eolfill=false -style61\font=Courier, 10, 0, 0, 0 -style61\paper=16777215 -style62=ASP JavaScript keyword -style62\color=0 -style62\eolfill=false -style62\font=Courier, 10, 0, 0, 0 -style62\paper=16777215 -style63=ASP JavaScript double-quoted string -style63\color=0 -style63\eolfill=false -style63\font=Courier, 10, 0, 0, 0 -style63\paper=16777215 -style64=ASP JavaScript single-quoted string -style64\color=0 -style64\eolfill=false -style64\font=Courier, 10, 0, 0, 0 -style64\paper=16777215 -style65=ASP JavaScript symbol -style65\color=0 -style65\eolfill=false -style65\font=Courier, 10, 0, 0, 0 -style65\paper=16777215 -style66=ASP JavaScript unclosed string -style66\color=0 -style66\eolfill=false -style66\font=Courier, 10, 0, 0, 0 -style66\paper=16777215 -style67=ASP JavaScript regular expression -style67\color=0 -style67\eolfill=false -style67\font=Courier, 10, 0, 0, 0 -style67\paper=16777215 -style70=Start of a VBScript fragment -style70\color=0 -style70\eolfill=false -style70\font=Courier, 10, 0, 0, 0 -style70\paper=16777215 -style71=VBScript default -style71\color=0 -style71\eolfill=false -style71\font=Courier, 10, 0, 0, 0 -style71\paper=16777215 -style72=VBScript comment -style72\color=0 -style72\eolfill=false -style72\font=Courier, 10, 0, 0, 0 -style72\paper=16777215 -style73=VBScript number -style73\color=0 -style73\eolfill=false -style73\font=Courier, 10, 0, 0, 0 -style73\paper=16777215 -style74=VBScript keyword -style74\color=0 -style74\eolfill=false -style74\font=Courier, 10, 0, 0, 0 -style74\paper=16777215 -style75=VBScript string -style75\color=0 -style75\eolfill=false -style75\font=Courier, 10, 0, 0, 0 -style75\paper=16777215 -style76=VBScript identifier -style76\color=0 -style76\eolfill=false -style76\font=Courier, 10, 0, 0, 0 -style76\paper=16777215 -style77=VBScript unclosed string -style77\color=0 -style77\eolfill=false -style77\font=Courier, 10, 0, 0, 0 -style77\paper=16777215 -style80=Start of an ASP VBScript fragment -style80\color=0 -style80\eolfill=false -style80\font=Courier, 10, 0, 0, 0 -style80\paper=16777215 -style81=ASP VBScript default -style81\color=0 -style81\eolfill=false -style81\font=Courier, 10, 0, 0, 0 -style81\paper=16777215 -style82=ASP VBScript comment -style82\color=0 -style82\eolfill=false -style82\font=Courier, 10, 0, 0, 0 -style82\paper=16777215 -style83=ASP VBScript number -style83\color=0 -style83\eolfill=false -style83\font=Courier, 10, 0, 0, 0 -style83\paper=16777215 -style84=ASP VBScript keyword -style84\color=0 -style84\eolfill=false -style84\font=Courier, 10, 0, 0, 0 -style84\paper=16777215 -style85=ASP VBScript string -style85\color=0 -style85\eolfill=false -style85\font=Courier, 10, 0, 0, 0 -style85\paper=16777215 -style86=ASP VBScript identifier -style86\color=0 -style86\eolfill=false -style86\font=Courier, 10, 0, 0, 0 -style86\paper=16777215 -style87=ASP VBScript unclosed string -style87\color=0 -style87\eolfill=false -style87\font=Courier, 10, 0, 0, 0 -style87\paper=16777215 -style90=Start of a Python fragment -style90\color=0 -style90\eolfill=false -style90\font=Courier, 10, 0, 0, 0 -style90\paper=16777215 -style91=Python default -style91\color=0 -style91\eolfill=false -style91\font=Courier, 10, 0, 0, 0 -style91\paper=16777215 -style92=Python comment -style92\color=0 -style92\eolfill=false -style92\font=Courier, 10, 0, 0, 0 -style92\paper=16777215 -style93=Python number -style93\color=0 -style93\eolfill=false -style93\font=Courier, 10, 0, 0, 0 -style93\paper=16777215 -style94=Python double-quoted string -style94\color=0 -style94\eolfill=false -style94\font=Courier, 10, 0, 0, 0 -style94\paper=16777215 -style95=Python single-quoted string -style95\color=0 -style95\eolfill=false -style95\font=Courier, 10, 0, 0, 0 -style95\paper=16777215 -style96=Python keyword -style96\color=0 -style96\eolfill=false -style96\font=Courier, 10, 0, 0, 0 -style96\paper=16777215 -style97=Python triple single-quoted string -style97\color=0 -style97\eolfill=false -style97\font=Courier, 10, 0, 0, 0 -style97\paper=16777215 -style98=Python triple double-quoted string -style98\color=0 -style98\eolfill=false -style98\font=Courier, 10, 0, 0, 0 -style98\paper=16777215 -style99=Python class name -style99\color=0 -style99\eolfill=false -style99\font=Courier, 10, 0, 0, 0 -style99\paper=16777215 -style100=Python function or method name -style100\color=0 -style100\eolfill=false -style100\font=Courier, 10, 0, 0, 0 -style100\paper=16777215 -style101=Python operator -style101\color=0 -style101\eolfill=false -style101\font=Courier, 10, 0, 0, 0 -style101\paper=16777215 -style102=Python identifier -style102\color=0 -style102\eolfill=false -style102\font=Courier, 10, 0, 0, 0 -style102\paper=16777215 -style105=Start of an ASP Python fragment -style105\color=0 -style105\eolfill=false -style105\font=Courier, 10, 0, 0, 0 -style105\paper=16777215 -style106=ASP Python default -style106\color=0 -style106\eolfill=false -style106\font=Courier, 10, 0, 0, 0 -style106\paper=16777215 -style107=ASP Python comment -style107\color=0 -style107\eolfill=false -style107\font=Courier, 10, 0, 0, 0 -style107\paper=16777215 -style108=ASP Python number -style108\color=0 -style108\eolfill=false -style108\font=Courier, 10, 0, 0, 0 -style108\paper=16777215 -style109=ASP Python double-quoted string -style109\color=0 -style109\eolfill=false -style109\font=Courier, 10, 0, 0, 0 -style109\paper=16777215 -style110=ASP Python single-quoted string -style110\color=0 -style110\eolfill=false -style110\font=Courier, 10, 0, 0, 0 -style110\paper=16777215 -style111=ASP Python keyword -style111\color=0 -style111\eolfill=false -style111\font=Courier, 10, 0, 0, 0 -style111\paper=16777215 -style112=ASP Python triple single-quoted string -style112\color=0 -style112\eolfill=false -style112\font=Courier, 10, 0, 0, 0 -style112\paper=16777215 -style113=ASP Python triple double-quoted string -style113\color=0 -style113\eolfill=false -style113\font=Courier, 10, 0, 0, 0 -style113\paper=16777215 -style114=ASP Python class name -style114\color=0 -style114\eolfill=false -style114\font=Courier, 10, 0, 0, 0 -style114\paper=16777215 -style115=ASP Python function or method name -style115\color=0 -style115\eolfill=false -style115\font=Courier, 10, 0, 0, 0 -style115\paper=16777215 -style116=ASP Python operator -style116\color=0 -style116\eolfill=false -style116\font=Courier, 10, 0, 0, 0 -style116\paper=16777215 -style117=ASP Python identifier -style117\color=0 -style117\eolfill=false -style117\font=Courier, 10, 0, 0, 0 -style117\paper=16777215 -style118=PHP default -style118\color=0 -style118\eolfill=false -style118\font=Courier, 10, 0, 0, 0 -style118\paper=16777215 -style119=PHP double-quoted string -style119\color=0 -style119\eolfill=false -style119\font=Courier, 10, 0, 0, 0 -style119\paper=16777215 -style120=PHP single-quoted string -style120\color=0 -style120\eolfill=false -style120\font=Courier, 10, 0, 0, 0 -style120\paper=16777215 -style121=PHP keyword -style121\color=0 -style121\eolfill=false -style121\font=Courier, 10, 0, 0, 0 -style121\paper=16777215 -style122=PHP number -style122\color=0 -style122\eolfill=false -style122\font=Courier, 10, 0, 0, 0 -style122\paper=16777215 -style123=PHP variable -style123\color=0 -style123\eolfill=false -style123\font=Courier, 10, 0, 0, 0 -style123\paper=16777215 -style124=PHP comment -style124\color=0 -style124\eolfill=false -style124\font=Courier, 10, 0, 0, 0 -style124\paper=16777215 -style125=PHP line comment -style125\color=0 -style125\eolfill=false -style125\font=Courier, 10, 0, 0, 0 -style125\paper=16777215 -style126=PHP double-quoted variable -style126\color=0 -style126\eolfill=false -style126\font=Courier, 10, 0, 0, 0 -style126\paper=16777215 -style127=PHP operator -style127\color=0 -style127\eolfill=false -style127\font=Courier, 10, 0, 0, 0 -style127\paper=16777215 - -[CMake] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=String -style2\color=8323199 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=15658734 -style3=Left quoted string -style3\color=8323199 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=15658734 -style4=Right quoted string -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=15658734 -style5=Function -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style6=Variable -style6\color=8388608 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Label -style7\color=13382400 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=User defined -style8\color=0 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=WHILE block -style9\color=127 -style9\eolfill=false -style9\font=Courier, 10, 1, 0, 0 -style9\paper=16777215 -style10=FOREACH block -style10\color=127 -style10\eolfill=false -style10\font=Courier, 10, 1, 0, 0 -style10\paper=16777215 -style11=IF block -style11\color=127 -style11\eolfill=false -style11\font=Courier, 10, 1, 0, 0 -style11\paper=16777215 -style12=MACRO block -style12\color=127 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=Variable within a string -style13\color=13382400 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=15658734 -style14=Number -style14\color=32639 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 - -[Fortran] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Number -style2\color=32639 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Single-quoted string -style3\color=8323199 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Double-quoted string -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Unclosed string -style5\color=0 -style5\eolfill=true -style5\font=Courier, 10, 0, 0, 0 -style5\paper=14729440 -style6=Operator -style6\color=0 -style6\eolfill=false -style6\font=Courier, 10, 1, 0, 0 -style6\paper=16777215 -style7=Identifier -style7\color=0 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Keyword -style8\color=127 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Intrinsic function -style9\color=11534400 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Extended function -style10\color=11550848 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Pre-processor block -style11\color=8355584 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Dotted operator -style12\color=0 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=Label -style13\color=14729440 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=Continuation -style14\color=0 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=15786112 - -[Fortran77] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Number -style2\color=32639 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Single-quoted string -style3\color=8323199 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Double-quoted string -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Unclosed string -style5\color=0 -style5\eolfill=true -style5\font=Courier, 10, 0, 0, 0 -style5\paper=14729440 -style6=Operator -style6\color=0 -style6\eolfill=false -style6\font=Courier, 10, 1, 0, 0 -style6\paper=16777215 -style7=Identifier -style7\color=0 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Keyword -style8\color=127 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Intrinsic function -style9\color=11534400 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Extended function -style10\color=11550848 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Pre-processor block -style11\color=8355584 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Dotted operator -style12\color=0 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=Label -style13\color=14729440 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=Continuation -style14\color=0 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=15786112 - -[Pascal] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Identifier -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2='{ ... }' style comment -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3='(* ... *)' style comment -style3\color=8355711 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Line comment -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5='{$ ... }' style pre-processor block -style5\color=127 -style5\eolfill=false -style5\font=Courier, 10, 1, 0, 0 -style5\paper=16777215 -style7=Number -style7\color=8323199 -style7\eolfill=false -style7\font=Courier, 10, 0, 1, 0 -style7\paper=16777215 -style9=Keyword -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Single-quoted string -style10\color=0 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Unclosed string -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style14=Inline asm -style14\color=32896 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style6='(*$ ... *)' style pre-processor block -style6\color=8355584 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style8=Hexadecimal number -style8\color=32639 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style12=Character -style12\color=8323199 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style13=Operator -style13\color=0 -style13\eolfill=false -style13\font=Courier, 10, 1, 0, 0 -style13\paper=16777215 - -[PostScript] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=DSC comment -style2\color=4157503 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=DSC comment value -style3\color=3170464 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=32639 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Name -style5\color=0 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=Keyword -style6\color=127 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Literal -style7\color=8355584 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Immediately evaluated literal -style8\color=8355584 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Array parenthesis -style9\color=127 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Dictionary parenthesis -style10\color=3170464 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Procedure parenthesis -style11\color=0 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Text -style12\color=8323199 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style13=Hexadecimal string -style13\color=4161343 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=Base85 string -style14\color=8323199 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 -style15=Bad string character -style15\color=16776960 -style15\eolfill=false -style15\font=Courier, 10, 0, 0, 0 -style15\paper=16711680 - -[VHDL] -style0=Default -style0\color=8388736 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Comment line -style2\color=4161343 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Number -style3\color=32639 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=String -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Operator -style5\color=0 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=Identifier -style6\color=0 -style6\eolfill=false -style6\font=Courier, 10, 0, 0, 0 -style6\paper=16777215 -style7=Unclosed string -style7\color=0 -style7\eolfill=true -style7\font=Courier, 10, 0, 0, 0 -style7\paper=14729440 -style8=Keyword -style8\color=127 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=16777215 -style9=Standard operator -style9\color=32639 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Attribute -style10\color=8405024 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Standard function -style11\color=8421408 -style11\eolfill=false -style11\font=Courier, 10, 0, 0, 0 -style11\paper=16777215 -style12=Standard package -style12\color=2129952 -style12\eolfill=false -style12\font=Courier, 10, 0, 0, 0 -style12\paper=16777215 -style13=Standard type -style13\color=2130048 -style13\eolfill=false -style13\font=Courier, 10, 0, 0, 0 -style13\paper=16777215 -style14=User defined -style14\color=8405024 -style14\eolfill=false -style14\font=Courier, 10, 0, 0, 0 -style14\paper=16777215 - -[YAML] -style0=Default -style0\color=0 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=34816 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=16777215 -style2=Identifier -style2\color=136 -style2\eolfill=false -style2\font=Courier, 10, 1, 0, 0 -style2\paper=16777215 -style3=Keyword -style3\color=8913032 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Number -style4\color=8912896 -style4\eolfill=false -style4\font=Courier, 10, 0, 0, 0 -style4\paper=16777215 -style5=Reference -style5\color=34952 -style5\eolfill=false -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16777215 -style6=Document delimiter -style6\color=16777215 -style6\eolfill=true -style6\font=Courier, 10, 1, 0, 0 -style6\paper=136 -style7=Text block marker -style7\color=3355494 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Syntax error marker -style8\color=16777215 -style8\eolfill=true -style8\font=Courier, 10, 1, 1, 0 -style8\paper=16711680 -style9=Operator -style9\color=0 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 - -[TCL] -style0=Default -style0\color=8421504 -style0\eolfill=false -style0\font=Courier, 10, 0, 0, 0 -style0\paper=16777215 -style1=Comment -style1\color=32512 -style1\eolfill=false -style1\font=Courier, 10, 0, 0, 0 -style1\paper=15794144 -style2=Comment line -style2\color=32512 -style2\eolfill=false -style2\font=Courier, 10, 0, 0, 0 -style2\paper=16777215 -style3=Number -style3\color=32639 -style3\eolfill=false -style3\font=Courier, 10, 0, 0, 0 -style3\paper=16777215 -style4=Quoted keyword -style4\color=8323199 -style4\eolfill=false -style4\font=Courier, 10, 1, 0, 0 -style4\paper=16773360 -style5=Quoted string -style5\color=8323199 -style5\eolfill=true -style5\font=Courier, 10, 0, 0, 0 -style5\paper=16773360 -style6=Operator -style6\color=0 -style6\eolfill=false -style6\font=Courier, 10, 1, 0, 0 -style6\paper=16777215 -style7=Identifier -style7\color=127 -style7\eolfill=false -style7\font=Courier, 10, 0, 0, 0 -style7\paper=16777215 -style8=Substitution -style8\color=8355584 -style8\eolfill=false -style8\font=Courier, 10, 0, 0, 0 -style8\paper=15728624 -style9=Brace substitution -style9\color=8355584 -style9\eolfill=false -style9\font=Courier, 10, 0, 0, 0 -style9\paper=16777215 -style10=Modifier -style10\color=8323199 -style10\eolfill=false -style10\font=Courier, 10, 0, 0, 0 -style10\paper=16777215 -style11=Expand keyword -style11\color=127 -style11\eolfill=false -style11\font=Courier, 10, 1, 0, 0 -style11\paper=16777088 -style12=TCL keyword -style12\color=127 -style12\eolfill=false -style12\font=Courier, 10, 1, 0, 0 -style12\paper=16777215 -style13=Tk keyword -style13\color=127 -style13\eolfill=false -style13\font=Courier, 10, 1, 0, 0 -style13\paper=14745584 -style14=iTCL keyword -style14\color=127 -style14\eolfill=false -style14\font=Courier, 10, 1, 0, 0 -style14\paper=16773360 -style15=Tk command -style15\color=127 -style15\eolfill=false -style15\font=Courier, 10, 1, 0, 0 -style15\paper=16765136 -style16=User defined 1 -style16\color=127 -style16\eolfill=false -style16\font=Courier, 10, 0, 0, 0 -style16\paper=16777215 -style17=User defined 2 -style17\color=127 -style17\eolfill=false -style17\font=Courier, 10, 0, 0, 0 -style17\paper=16777215 -style18=User defined 3 -style18\color=127 -style18\eolfill=false -style18\font=Courier, 10, 0, 0, 0 -style18\paper=16777215 -style19=User defined 4 -style19\color=127 -style19\eolfill=false -style19\font=Courier, 10, 0, 0, 0 -style19\paper=16777215 -style20=Comment box -style20\color=32512 -style20\eolfill=true -style20\font=Courier, 10, 0, 0, 0 -style20\paper=15794160 -style21=Comment block -style21\color=0 -style21\eolfill=false -style21\font=Courier, 10, 0, 0, 0 -style21\paper=15794160 +[Bash] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Error +style1\color=16776960 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16711680 +style10=Parameter expansion +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777184 +style11=Backticks +style11\color=16776960 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=10518656 +style12=Here document delimiter +style12\color=0 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=14536925 +style13=Single-quoted here document +style13\color=8323199 +style13\eolfill=true +style13\font=Courier, 10, 0, 0, 0 +style13\paper=14536925 +style2=Comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Number +style3\color=32639 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Keyword +style4\color=127 +style4\eolfill=false +style4\font=Courier, 10, 1, 0, 0 +style4\paper=16777215 +style5=Double-quoted string +style5\color=8323199 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=Single-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Operator +style7\color=0 +style7\eolfill=false +style7\font=Courier, 10, 1, 0, 0 +style7\paper=16777215 +style8=Identifier +style8\color=0 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Scalar +style9\color=0 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16769248 + +[Batch] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Keyword +style2\color=127 +style2\eolfill=false +style2\font=Courier, 10, 1, 0, 0 +style2\paper=16777215 +style3=Label +style3\color=8323199 +style3\eolfill=true +style3\font=Courier, 10, 0, 0, 0 +style3\paper=6316128 +style4=Hide command character +style4\color=8355584 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=External command +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Variable +style6\color=8388736 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Operator +style7\color=0 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 + +[C%23] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=C comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Unclosed string +style12\color=0 +style12\eolfill=true +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style13=Verbatim string +style13\color=32512 +style13\eolfill=true +style13\font=Courier, 10, 0, 0, 0 +style13\paper=14745568 +style15=JavaDoc style C++ comment +style15\color=4157503 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Secondary keywords and identifiers +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=JavaDoc keyword +style17\color=3170464 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=JavaDoc keyword error +style18\color=8405024 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Global classes and typedefs +style19\color=0 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style2=C++ comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=JavaDoc style C comment +style3\color=4157503 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style9=Pre-processor block +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style8=IDL UUID +style8\color=0 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 + +[CSS] +style0=Default +style0\color=16711808 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Tag +style1\color=127 +style1\eolfill=false +style1\font=Courier, 10, 1, 0, 0 +style1\paper=16777215 +style10=ID selector +style10\color=32639 +style10\eolfill=false +style10\font=Courier, 10, 0, 1, 0 +style10\paper=16777215 +style11=Important +style11\color=16744448 +style11\eolfill=false +style11\font=Courier, 10, 1, 0, 0 +style11\paper=16777215 +style12=@@-rule +style12\color=8355584 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=Double-quoted string +style13\color=8323199 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=Single-quoted string +style14\color=8323199 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=CSS2 property +style15\color=41184 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Attribute +style16\color=8388608 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style2=Class selector +style2\color=0 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Pseudo-class +style3\color=8388608 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Unknown pseudo-class +style4\color=16711680 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Operator +style5\color=0 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=CSS1 property +style6\color=16608 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Unknown property +style7\color=16711680 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Value +style8\color=8323199 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style17=CSS3 property +style17\color=0 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=Pseudo-element +style18\color=0 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Extended CSS property +style19\color=0 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style20=Extended pseudo-class +style20\color=0 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=16777215 +style21=Extended pseudo-element +style21\color=0 +style21\eolfill=false +style21\font=Courier, 10, 0, 0, 0 +style21\paper=16777215 + +[Cpp] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=C comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Unclosed string +style12\color=0 +style12\eolfill=true +style12\font=Courier, 10, 0, 0, 0 +style12\paper=14729440 +style15=JavaDoc style C++ comment +style15\color=4157503 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Secondary keywords and identifiers +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=JavaDoc keyword +style17\color=3170464 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=JavaDoc keyword error +style18\color=8405024 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Global classes and typedefs +style19\color=0 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style2=C++ comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=JavaDoc style C comment +style3\color=4157503 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style9=Pre-processor block +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style8=IDL UUID +style8\color=0 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style20=C++ raw string +style20\color=8323199 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=16774143 +style40=Inactive C++ raw string +style40\color=11571376 +style40\eolfill=false +style40\font=Courier, 10, 0, 0, 0 +style40\paper=16774143 +style64=Inactive default +style64\color=12632256 +style64\eolfill=false +style64\font=Courier, 10, 0, 0, 0 +style64\paper=16777215 +style65=Inactive C comment +style65\color=9482384 +style65\eolfill=false +style65\font=Courier, 10, 0, 0, 0 +style65\paper=16777215 +style66=Inactive C++ comment +style66\color=9482384 +style66\eolfill=false +style66\font=Courier, 10, 0, 0, 0 +style66\paper=16777215 +style67=Inactive JavaDoc style C comment +style67\color=13684944 +style67\eolfill=false +style67\font=Courier, 10, 0, 0, 0 +style67\paper=16777215 +style68=Inactive number +style68\color=9482384 +style68\eolfill=false +style68\font=Courier, 10, 0, 0, 0 +style68\paper=16777215 +style69=Inactive keyword +style69\color=9474224 +style69\eolfill=false +style69\font=Courier, 10, 1, 0, 0 +style69\paper=16777215 +style70=Inactive double-quoted string +style70\color=11571376 +style70\eolfill=false +style70\font=Courier New, 10, 0, 0, 0 +style70\paper=16777215 +style71=Inactive single-quoted string +style71\color=11571376 +style71\eolfill=false +style71\font=Courier New, 10, 0, 0, 0 +style71\paper=16777215 +style72=Inactive IDL UUID +style72\color=12632256 +style72\eolfill=false +style72\font=Courier, 10, 0, 0, 0 +style72\paper=16777215 +style73=Inactive pre-processor block +style73\color=11579536 +style73\eolfill=false +style73\font=Courier, 10, 0, 0, 0 +style73\paper=16777215 +style74=Inactive operator +style74\color=11579568 +style74\eolfill=false +style74\font=Courier, 10, 1, 0, 0 +style74\paper=16777215 +style75=Inactive identifier +style75\color=11579568 +style75\eolfill=false +style75\font=Courier, 10, 0, 0, 0 +style75\paper=16777215 +style76=Inactive unclosed string +style76\color=0 +style76\eolfill=true +style76\font=Courier New, 10, 0, 0, 0 +style76\paper=14729440 +style79=Inactive JavaDoc style C++ comment +style79\color=12632256 +style79\eolfill=false +style79\font=Courier, 10, 0, 0, 0 +style79\paper=16777215 +style80=Inactive secondary keywords and identifiers +style80\color=12632256 +style80\eolfill=false +style80\font=Courier, 10, 0, 0, 0 +style80\paper=16777215 +style81=Inactive JavaDoc keyword +style81\color=12632256 +style81\eolfill=false +style81\font=Courier, 10, 0, 0, 0 +style81\paper=16777215 +style82=Inactive JavaDoc keyword error +style82\color=12632256 +style82\eolfill=false +style82\font=Courier, 10, 0, 0, 0 +style82\paper=16777215 +style83=Inactive global classes and typedefs +style83\color=11579568 +style83\eolfill=false +style83\font=Courier, 10, 0, 0, 0 +style83\paper=16777215 + +[D] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Block comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=String +style10\color=8323199 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Unclosed string +style11\color=0 +style11\eolfill=true +style11\font=Courier, 10, 0, 0, 0 +style11\paper=14729440 +style12=Character +style12\color=8323199 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style13=Operator +style13\color=0 +style13\eolfill=false +style13\font=Courier, 10, 1, 0, 0 +style13\paper=16777215 +style14=Identifier +style14\color=0 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=DDoc style line comment +style15\color=4157503 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=DDoc keyword +style16\color=3170464 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=DDoc keyword error +style17\color=8405024 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style2=Line comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=DDoc style block comment +style3\color=4157503 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Nesting comment +style4\color=10535072 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Number +style5\color=32639 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=Keyword +style6\color=127 +style6\eolfill=false +style6\font=Courier, 10, 1, 0, 0 +style6\paper=16777215 +style7=Secondary keyword +style7\color=127 +style7\eolfill=false +style7\font=Courier, 10, 1, 0, 0 +style7\paper=16777215 +style8=Documentation keyword +style8\color=127 +style8\eolfill=false +style8\font=Courier, 10, 1, 0, 0 +style8\paper=16777215 +style9=Type definition +style9\color=127 +style9\eolfill=false +style9\font=Courier, 10, 1, 0, 0 +style9\paper=16777215 + +[Diff] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Command +style2\color=8355584 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Header +style3\color=8323072 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Position +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Removed line +style5\color=32639 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=Added line +style6\color=127 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Changed line +style7\color=8355711 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 + +[HTML] +style0=HTML default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Tag +style1\color=128 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Entity +style10\color=8388736 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style100=Python function or method name +style100\color=32639 +style100\eolfill=true +style100\font=Courier, 10, 1, 0, 0 +style100\paper=15728623 +style101=Python operator +style101\color=0 +style101\eolfill=true +style101\font=Courier, 10, 1, 0, 0 +style101\paper=15728623 +style102=Python identifier +style102\color=0 +style102\eolfill=true +style102\font=Courier, 10, 0, 0, 0 +style102\paper=15728623 +style105=Start of an ASP Python fragment +style105\color=8421504 +style105\eolfill=false +style105\font=Courier, 10, 0, 0, 0 +style105\paper=16777215 +style106=ASP Python default +style106\color=8421504 +style106\eolfill=true +style106\font=Courier, 10, 0, 0, 0 +style106\paper=13627343 +style107=ASP Python comment +style107\color=32512 +style107\eolfill=true +style107\font=Courier, 10, 0, 0, 0 +style107\paper=13627343 +style108=ASP Python number +style108\color=32639 +style108\eolfill=true +style108\font=Courier, 10, 0, 0, 0 +style108\paper=13627343 +style109=ASP Python double-quoted string +style109\color=8323199 +style109\eolfill=true +style109\font=Courier, 10, 0, 0, 0 +style109\paper=13627343 +style11=End of a tag +style11\color=128 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style110=ASP Python single-quoted string +style110\color=8323199 +style110\eolfill=true +style110\font=Courier, 10, 0, 0, 0 +style110\paper=13627343 +style111=ASP Python keyword +style111\color=127 +style111\eolfill=true +style111\font=Courier, 10, 1, 0, 0 +style111\paper=13627343 +style112=ASP Python triple single-quoted string +style112\color=8323072 +style112\eolfill=true +style112\font=Courier, 10, 0, 0, 0 +style112\paper=13627343 +style113=ASP Python triple double-quoted string +style113\color=8323072 +style113\eolfill=true +style113\font=Courier, 10, 0, 0, 0 +style113\paper=13627343 +style114=ASP Python class name +style114\color=255 +style114\eolfill=true +style114\font=Courier, 10, 1, 0, 0 +style114\paper=13627343 +style115=ASP Python function or method name +style115\color=32639 +style115\eolfill=true +style115\font=Courier, 10, 1, 0, 0 +style115\paper=13627343 +style116=ASP Python operator +style116\color=0 +style116\eolfill=true +style116\font=Courier, 10, 1, 0, 0 +style116\paper=13627343 +style117=ASP Python identifier +style117\color=0 +style117\eolfill=true +style117\font=Courier, 10, 0, 0, 0 +style117\paper=13627343 +style118=PHP default +style118\color=51 +style118\eolfill=true +style118\font=Courier, 10, 0, 0, 0 +style118\paper=16775416 +style119=PHP double-quoted string +style119\color=32512 +style119\eolfill=false +style119\font=Courier, 10, 0, 0, 0 +style119\paper=16775416 +style12=Start of an XML fragment +style12\color=255 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style120=PHP single-quoted string +style120\color=40704 +style120\eolfill=false +style120\font=Courier, 10, 0, 0, 0 +style120\paper=16775416 +style121=PHP keyword +style121\color=8323199 +style121\eolfill=false +style121\font=Courier, 10, 0, 1, 0 +style121\paper=16775416 +style122=PHP number +style122\color=13408512 +style122\eolfill=false +style122\font=Courier, 10, 0, 0, 0 +style122\paper=16775416 +style123=PHP variable +style123\color=127 +style123\eolfill=false +style123\font=Courier, 10, 0, 1, 0 +style123\paper=16775416 +style124=PHP comment +style124\color=10066329 +style124\eolfill=false +style124\font=Courier, 10, 0, 0, 0 +style124\paper=16775416 +style125=PHP line comment +style125\color=6710886 +style125\eolfill=false +style125\font=Courier, 10, 0, 1, 0 +style125\paper=16775416 +style126=PHP double-quoted variable +style126\color=127 +style126\eolfill=false +style126\font=Courier, 10, 0, 1, 0 +style126\paper=16775416 +style127=PHP operator +style127\color=0 +style127\eolfill=false +style127\font=Courier, 10, 0, 0, 0 +style127\paper=16775416 +style13=End of an XML fragment +style13\color=255 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=Script tag +style14\color=128 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=Start of an ASP fragment with @ +style15\color=0 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16776960 +style16=Start of an ASP fragment +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16768768 +style17=CDATA +style17\color=0 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16768768 +style18=Start of a PHP fragment +style18\color=255 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16773055 +style19=Unquoted HTML value +style19\color=16711935 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16773119 +style2=Unknown tag +style2\color=16711680 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style20=ASP X-Code comment +style20\color=0 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=16777215 +style21=SGML default +style21\color=128 +style21\eolfill=false +style21\font=Courier, 10, 0, 0, 0 +style21\paper=15724543 +style22=SGML command +style22\color=128 +style22\eolfill=false +style22\font=Courier, 10, 1, 0, 0 +style22\paper=15724543 +style23=First parameter of an SGML command +style23\color=26112 +style23\eolfill=false +style23\font=Courier, 10, 0, 0, 0 +style23\paper=15724543 +style24=SGML double-quoted string +style24\color=8388608 +style24\eolfill=false +style24\font=Courier, 10, 0, 0, 0 +style24\paper=15724543 +style25=SGML single-quoted string +style25\color=10040064 +style25\eolfill=false +style25\font=Courier, 10, 0, 0, 0 +style25\paper=15724543 +style26=SGML error +style26\color=8388608 +style26\eolfill=false +style26\font=Courier, 10, 0, 0, 0 +style26\paper=16737894 +style27=SGML special entity +style27\color=3368703 +style27\eolfill=false +style27\font=Courier, 10, 0, 0, 0 +style27\paper=15724543 +style29=SGML comment +style29\color=8421376 +style29\eolfill=false +style29\font=Courier, 10, 0, 0, 0 +style29\paper=15724543 +style3=Attribute +style3\color=32896 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style30=First parameter comment of an SGML command +style30\color=0 +style30\eolfill=false +style30\font=Courier, 10, 0, 0, 0 +style30\paper=16777215 +style31=SGML block default +style31\color=102 +style31\eolfill=false +style31\font=Courier, 10, 0, 0, 0 +style31\paper=13421792 +style4=Unknown attribute +style4\color=16711680 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style40=Start of a JavaScript fragment +style40\color=8355584 +style40\eolfill=false +style40\font=Courier, 10, 0, 0, 0 +style40\paper=16777215 +style41=JavaScript default +style41\color=0 +style41\eolfill=true +style41\font=Courier, 10, 1, 0, 0 +style41\paper=15790335 +style42=JavaScript comment +style42\color=32512 +style42\eolfill=true +style42\font=Courier, 10, 0, 0, 0 +style42\paper=15790335 +style43=JavaScript line comment +style43\color=32512 +style43\eolfill=false +style43\font=Courier, 10, 0, 0, 0 +style43\paper=15790335 +style44=JavaDoc style JavaScript comment +style44\color=4157503 +style44\eolfill=true +style44\font=Courier, 10, 1, 0, 0 +style44\paper=15790335 +style45=JavaScript number +style45\color=32639 +style45\eolfill=false +style45\font=Courier, 10, 0, 0, 0 +style45\paper=15790335 +style46=JavaScript word +style46\color=0 +style46\eolfill=false +style46\font=Courier, 10, 0, 0, 0 +style46\paper=15790335 +style47=JavaScript keyword +style47\color=127 +style47\eolfill=false +style47\font=Courier, 10, 1, 0, 0 +style47\paper=15790335 +style48=JavaScript double-quoted string +style48\color=8323199 +style48\eolfill=false +style48\font=Courier, 10, 0, 0, 0 +style48\paper=15790335 +style49=JavaScript single-quoted string +style49\color=8323199 +style49\eolfill=false +style49\font=Courier, 10, 0, 0, 0 +style49\paper=15790335 +style5=HTML number +style5\color=32639 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style50=JavaScript symbol +style50\color=0 +style50\eolfill=false +style50\font=Courier, 10, 1, 0, 0 +style50\paper=15790335 +style51=JavaScript unclosed string +style51\color=0 +style51\eolfill=true +style51\font=Courier, 10, 0, 0, 0 +style51\paper=12565424 +style52=JavaScript regular expression +style52\color=0 +style52\eolfill=false +style52\font=Courier, 10, 0, 0, 0 +style52\paper=16759728 +style55=Start of an ASP JavaScript fragment +style55\color=8355584 +style55\eolfill=false +style55\font=Courier, 10, 0, 0, 0 +style55\paper=16777215 +style56=ASP JavaScript default +style56\color=0 +style56\eolfill=true +style56\font=Courier, 10, 1, 0, 0 +style56\paper=14671743 +style57=ASP JavaScript comment +style57\color=32512 +style57\eolfill=true +style57\font=Courier, 10, 0, 0, 0 +style57\paper=14671743 +style58=ASP JavaScript line comment +style58\color=32512 +style58\eolfill=false +style58\font=Courier, 10, 0, 0, 0 +style58\paper=14671743 +style59=JavaDoc style ASP JavaScript comment +style59\color=8355711 +style59\eolfill=true +style59\font=Courier, 10, 1, 0, 0 +style59\paper=14671743 +style6=HTML double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style60=ASP JavaScript number +style60\color=32639 +style60\eolfill=false +style60\font=Courier, 10, 0, 0, 0 +style60\paper=14671743 +style61=ASP JavaScript word +style61\color=0 +style61\eolfill=false +style61\font=Courier, 10, 0, 0, 0 +style61\paper=14671743 +style62=ASP JavaScript keyword +style62\color=127 +style62\eolfill=false +style62\font=Courier, 10, 1, 0, 0 +style62\paper=14671743 +style63=ASP JavaScript double-quoted string +style63\color=8323199 +style63\eolfill=false +style63\font=Courier, 10, 0, 0, 0 +style63\paper=14671743 +style64=ASP JavaScript single-quoted string +style64\color=8323199 +style64\eolfill=false +style64\font=Courier, 10, 0, 0, 0 +style64\paper=14671743 +style65=ASP JavaScript symbol +style65\color=0 +style65\eolfill=false +style65\font=Courier, 10, 1, 0, 0 +style65\paper=14671743 +style66=ASP JavaScript unclosed string +style66\color=0 +style66\eolfill=true +style66\font=Courier, 10, 0, 0, 0 +style66\paper=12565424 +style67=ASP JavaScript regular expression +style67\color=0 +style67\eolfill=false +style67\font=Courier, 10, 0, 0, 0 +style67\paper=16759728 +style7=HTML single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style70=Start of a VBScript fragment +style70\color=0 +style70\eolfill=false +style70\font=Courier, 10, 0, 0, 0 +style70\paper=16777215 +style71=VBScript default +style71\color=0 +style71\eolfill=true +style71\font=Courier, 10, 0, 0, 0 +style71\paper=15724543 +style72=VBScript comment +style72\color=32768 +style72\eolfill=true +style72\font=Courier, 10, 0, 0, 0 +style72\paper=15724543 +style73=VBScript number +style73\color=32896 +style73\eolfill=true +style73\font=Courier, 10, 0, 0, 0 +style73\paper=15724543 +style74=VBScript keyword +style74\color=128 +style74\eolfill=true +style74\font=Courier, 10, 1, 0, 0 +style74\paper=15724543 +style75=VBScript string +style75\color=8388736 +style75\eolfill=true +style75\font=Courier, 10, 0, 0, 0 +style75\paper=15724543 +style76=VBScript identifier +style76\color=128 +style76\eolfill=true +style76\font=Courier, 10, 0, 0, 0 +style76\paper=15724543 +style77=VBScript unclosed string +style77\color=128 +style77\eolfill=true +style77\font=Courier, 10, 0, 0, 0 +style77\paper=8355839 +style8=Other text in a tag +style8\color=8388736 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style80=Start of an ASP VBScript fragment +style80\color=0 +style80\eolfill=false +style80\font=Courier, 10, 0, 0, 0 +style80\paper=16777215 +style81=ASP VBScript default +style81\color=0 +style81\eolfill=true +style81\font=Courier, 10, 0, 0, 0 +style81\paper=13619183 +style82=ASP VBScript comment +style82\color=32768 +style82\eolfill=true +style82\font=Courier, 10, 0, 0, 0 +style82\paper=13619183 +style83=ASP VBScript number +style83\color=32896 +style83\eolfill=true +style83\font=Courier, 10, 0, 0, 0 +style83\paper=13619183 +style84=ASP VBScript keyword +style84\color=128 +style84\eolfill=true +style84\font=Courier, 10, 1, 0, 0 +style84\paper=13619183 +style85=ASP VBScript string +style85\color=8388736 +style85\eolfill=true +style85\font=Courier, 10, 0, 0, 0 +style85\paper=13619183 +style86=ASP VBScript identifier +style86\color=128 +style86\eolfill=true +style86\font=Courier, 10, 0, 0, 0 +style86\paper=13619183 +style87=ASP VBScript unclosed string +style87\color=128 +style87\eolfill=true +style87\font=Courier, 10, 0, 0, 0 +style87\paper=8355839 +style9=HTML comment +style9\color=8421376 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style90=Start of a Python fragment +style90\color=8421504 +style90\eolfill=false +style90\font=Courier, 10, 0, 0, 0 +style90\paper=16777215 +style91=Python default +style91\color=8421504 +style91\eolfill=true +style91\font=Courier, 10, 0, 0, 0 +style91\paper=15728623 +style92=Python comment +style92\color=32512 +style92\eolfill=true +style92\font=Courier, 10, 0, 0, 0 +style92\paper=15728623 +style93=Python number +style93\color=32639 +style93\eolfill=true +style93\font=Courier, 10, 0, 0, 0 +style93\paper=15728623 +style94=Python double-quoted string +style94\color=8323199 +style94\eolfill=true +style94\font=Courier, 10, 0, 0, 0 +style94\paper=15728623 +style95=Python single-quoted string +style95\color=8323199 +style95\eolfill=true +style95\font=Courier, 10, 0, 0, 0 +style95\paper=15728623 +style96=Python keyword +style96\color=127 +style96\eolfill=true +style96\font=Courier, 10, 1, 0, 0 +style96\paper=15728623 +style97=Python triple single-quoted string +style97\color=8323072 +style97\eolfill=true +style97\font=Courier, 10, 0, 0, 0 +style97\paper=15728623 +style98=Python triple double-quoted string +style98\color=8323072 +style98\eolfill=true +style98\font=Courier, 10, 0, 0, 0 +style98\paper=15728623 +style99=Python class name +style99\color=255 +style99\eolfill=true +style99\font=Courier, 10, 1, 0, 0 +style99\paper=15728623 + +[IDL] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=C comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Unclosed string +style12\color=0 +style12\eolfill=true +style12\font=Courier, 10, 0, 0, 0 +style12\paper=14729440 +style15=JavaDoc style C++ comment +style15\color=4157503 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Secondary keywords and identifiers +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=JavaDoc keyword +style17\color=3170464 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=JavaDoc keyword error +style18\color=8405024 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Global classes and typedefs +style19\color=0 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style2=C++ comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=JavaDoc style C comment +style3\color=4157503 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=UUID +style8\color=8405120 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Pre-processor block +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 + +[Java] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=C comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Unclosed string +style12\color=0 +style12\eolfill=true +style12\font=Courier, 10, 0, 0, 0 +style12\paper=14729440 +style15=JavaDoc style C++ comment +style15\color=4157503 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Secondary keywords and identifiers +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=JavaDoc keyword +style17\color=3170464 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=JavaDoc keyword error +style18\color=8405024 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Global classes and typedefs +style19\color=0 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style2=C++ comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=JavaDoc style C comment +style3\color=4157503 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style9=Pre-processor block +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style8=IDL UUID +style8\color=0 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 + +[JavaScript] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=C comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Unclosed string +style12\color=0 +style12\eolfill=true +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style14=Regular expression +style14\color=4161343 +style14\eolfill=true +style14\font=Courier, 10, 0, 0, 0 +style14\paper=14741759 +style15=JavaDoc style C++ comment +style15\color=4157503 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Secondary keywords and identifiers +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=JavaDoc keyword +style17\color=3170464 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=JavaDoc keyword error +style18\color=8405024 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Global classes and typedefs +style19\color=0 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style2=C++ comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=JavaDoc style C comment +style3\color=4157503 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style9=Pre-processor block +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style8=IDL UUID +style8\color=0 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 + +[Lua] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=true +style1\font=Courier, 10, 0, 0, 0 +style1\paper=13693168 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Unclosed string +style12\color=0 +style12\eolfill=true +style12\font=Courier, 10, 0, 0, 0 +style12\paper=14729440 +style13=Basic functions +style13\color=127 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=13696976 +style14="String, table and maths functions" +style14\color=127 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=13684991 +style15="Coroutines, i/o and system facilities" +style15\color=127 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16765136 +style2=Line comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=String +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Character +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Literal string +style8\color=8323199 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=14745599 +style9=Preprocessor +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 + +[Makefile] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Preprocessor +style2\color=8355584 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Variable +style3\color=128 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Operator +style4\color=0 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Target +style5\color=10485760 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style9=Error +style9\color=16776960 +style9\eolfill=true +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16711680 + +[POV] +style0=Default +style0\color=16711808 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10="Objects, CSG and appearance" +style10\color=127 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16765136 +style11="Types, modifiers and items" +style11\color=127 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777168 +style12=Predefined identifiers +style12\color=127 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=Predefined functions +style13\color=127 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=13684991 +style14=User defined 1 +style14\color=127 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=13696976 +style15=User defined 2 +style15\color=127 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=13684944 +style16=User defined 3 +style16\color=127 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=14737632 +style2=Comment line +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Number +style3\color=32639 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Operator +style4\color=0 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Identifier +style5\color=0 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=String +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Unclosed string +style7\color=0 +style7\eolfill=true +style7\font=Courier, 10, 1, 0, 0 +style7\paper=14729440 +style8=Directive +style8\color=8355584 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Bad directive +style9\color=8405024 +style9\eolfill=false +style9\font=Courier, 10, 0, 1, 0 +style9\paper=16777215 + +[Perl] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Error +style1\color=16776960 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16711680 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Scalar +style12\color=0 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16769248 +style13=Array +style13\color=0 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777184 +style14=Hash +style14\color=0 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16769279 +style15=Symbol table +style15\color=0 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=14737632 +style17=Regular expression +style17\color=0 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=10551200 +style18=Substitution +style18\color=0 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=15786112 +style2=Comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style20=Backticks +style20\color=16776960 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=10518656 +style21=Data section +style21\color=6291456 +style21\eolfill=true +style21\font=Courier, 10, 0, 0, 0 +style21\paper=16773336 +style22=Here document delimiter +style22\color=0 +style22\eolfill=false +style22\font=Courier, 10, 0, 0, 0 +style22\paper=14536925 +style23=Single-quoted here document +style23\color=8323199 +style23\eolfill=true +style23\font=Courier, 10, 0, 0, 0 +style23\paper=14536925 +style24=Double-quoted here document +style24\color=8323199 +style24\eolfill=true +style24\font=Courier, 10, 1, 0, 0 +style24\paper=14536925 +style25=Backtick here document +style25\color=8323199 +style25\eolfill=true +style25\font=Courier, 10, 0, 1, 0 +style25\paper=14536925 +style26=Quoted string (q) +style26\color=8323199 +style26\eolfill=false +style26\font=Courier, 10, 0, 0, 0 +style26\paper=16777215 +style27=Quoted string (qq) +style27\color=8323199 +style27\eolfill=false +style27\font=Courier, 10, 0, 0, 0 +style27\paper=16777215 +style28=Quoted string (qx) +style28\color=16776960 +style28\eolfill=false +style28\font=Courier, 10, 0, 0, 0 +style28\paper=16777215 +style29=Quoted string (qr) +style29\color=0 +style29\eolfill=false +style29\font=Courier, 10, 0, 0, 0 +style29\paper=16777215 +style3=POD +style3\color=16384 +style3\eolfill=true +style3\font=Courier, 10, 0, 0, 0 +style3\paper=14745568 +style30=Quoted string (qw) +style30\color=0 +style30\eolfill=false +style30\font=Courier, 10, 0, 0, 0 +style30\paper=16777215 +style31=POD verbatim +style31\color=16384 +style31\eolfill=true +style31\font=Courier, 10, 0, 0, 0 +style31\paper=12648384 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style40=Subroutine prototype +style40\color=0 +style40\eolfill=false +style40\font=Courier, 10, 0, 1, 0 +style40\paper=16777215 +style41=Format identifier +style41\color=12583104 +style41\eolfill=false +style41\font=Courier, 10, 1, 0, 0 +style41\paper=16777215 +style42=Format body +style42\color=12583104 +style42\eolfill=true +style42\font=Courier, 10, 0, 0, 0 +style42\paper=16773375 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 + +[Properties] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32639 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Section +style2\color=8323199 +style2\eolfill=true +style2\font=Courier, 10, 0, 0, 0 +style2\paper=14741744 +style3=Assignment +style3\color=11558912 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Default value +style4\color=8355584 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 + +[Python] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Comment block +style12\color=8355711 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style13=Unclosed string +style13\color=0 +style13\eolfill=true +style13\font=Courier, 10, 0, 0, 0 +style13\paper=14729440 +style14=Highlighted identifier +style14\color=4223120 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=Decorator +style15\color=8409088 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style2=Number +style2\color=32639 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Double-quoted string +style3\color=8323199 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Single-quoted string +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Triple single-quoted string +style6\color=8323072 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Triple double-quoted string +style7\color=8323072 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Class name +style8\color=255 +style8\eolfill=false +style8\font=Courier, 10, 1, 0, 0 +style8\paper=16777215 +style9=Function or method name +style9\color=32639 +style9\eolfill=false +style9\font=Courier, 10, 1, 0, 0 +style9\paper=16777215 + +[Ruby] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Error +style1\color=0 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16711680 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Regular expression +style12\color=0 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=10551200 +style13=Global +style13\color=8388736 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=Symbol +style14\color=12623920 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=Module name +style15\color=10485920 +style15\eolfill=false +style15\font=Courier, 10, 1, 0, 0 +style15\paper=16777215 +style16=Instance variable +style16\color=11534464 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=Class variable +style17\color=8388784 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=Backticks +style18\color=16776960 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=10518656 +style19=Data section +style19\color=6291456 +style19\eolfill=true +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16773336 +style2=Comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style20=Here document delimiter +style20\color=0 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=14536925 +style21=Here document +style21\color=8323199 +style21\eolfill=true +style21\font=Courier, 10, 0, 0, 0 +style21\paper=14536925 +style24=%q string +style24\color=8323199 +style24\eolfill=false +style24\font=Courier, 10, 0, 0, 0 +style24\paper=16777215 +style25=%Q string +style25\color=8323199 +style25\eolfill=false +style25\font=Courier, 10, 0, 0, 0 +style25\paper=16777215 +style26=%x string +style26\color=16776960 +style26\eolfill=false +style26\font=Courier, 10, 0, 0, 0 +style26\paper=10518656 +style27=%r string +style27\color=0 +style27\eolfill=false +style27\font=Courier, 10, 0, 0, 0 +style27\paper=10551200 +style28=%w string +style28\color=0 +style28\eolfill=false +style28\font=Courier, 10, 0, 0, 0 +style28\paper=16777184 +style29=Demoted keyword +style29\color=127 +style29\eolfill=false +style29\font=Courier, 10, 1, 0, 0 +style29\paper=16777215 +style3=POD +style3\color=16384 +style3\eolfill=true +style3\font=Courier, 10, 0, 0, 0 +style3\paper=12648384 +style30=stdin +style30\color=0 +style30\eolfill=false +style30\font=Courier, 10, 0, 0, 0 +style30\paper=16744576 +style31=stdout +style31\color=0 +style31\eolfill=false +style31\font=Courier, 10, 0, 0, 0 +style31\paper=16744576 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style40=stderr +style40\color=0 +style40\eolfill=false +style40\font=Courier, 10, 0, 0, 0 +style40\paper=16744576 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Class name +style8\color=255 +style8\eolfill=false +style8\font=Courier, 10, 1, 0, 0 +style8\paper=16777215 +style9=Function or method name +style9\color=32639 +style9\eolfill=false +style9\font=Courier, 10, 1, 0, 0 +style9\paper=16777215 + +[SQL] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style10=Operator +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=Identifier +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style13=SQL*Plus comment +style13\color=32512 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style15=# comment line +style15\color=32512 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style17=JavaDoc keyword +style17\color=3170464 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=JavaDoc keyword error +style18\color=8405024 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=User defined 1 +style19\color=4915330 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style2=Comment line +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style20=User defined 2 +style20\color=11534400 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=16777215 +style21=User defined 3 +style21\color=9109504 +style21\eolfill=false +style21\font=Courier, 10, 0, 0, 0 +style21\paper=16777215 +style22=User defined 4 +style22\color=8388736 +style22\eolfill=false +style22\font=Courier, 10, 0, 0, 0 +style22\paper=16777215 +style3=JavaDoc style comment +style3\color=8355711 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Keyword +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=SQL*Plus keyword +style8\color=8355584 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=SQL*Plus prompt +style9\color=32512 +style9\eolfill=true +style9\font=Courier, 10, 0, 0, 0 +style9\paper=14745568 + +[TeX] +style0=Default +style0\color=4144959 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Special +style1\color=32639 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Group +style2\color=8323072 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Symbol +style3\color=8355584 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Command +style4\color=32512 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Text +style5\color=0 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 + +[XML] +style0=HTML default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Tag +style1\color=128 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Unknown tag +style2\color=128 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Attribute +style3\color=32896 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Unknown attribute +style4\color=32896 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=HTML number +style5\color=32639 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=HTML double-quoted string +style6\color=8323199 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=HTML single-quoted string +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Other text in a tag +style8\color=8388736 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=HTML comment +style9\color=8421376 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Entity +style10\color=8388736 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=End of a tag +style11\color=128 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Start of an XML fragment +style12\color=8388736 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=End of an XML fragment +style13\color=8388736 +style13\eolfill=false +style13\font=Courier, 10, 1, 0, 0 +style13\paper=16777215 +style14=Script tag +style14\color=0 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=Start of an ASP fragment with @ +style15\color=0 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16777215 +style16=Start of an ASP fragment +style16\color=0 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=CDATA +style17\color=8388608 +style17\eolfill=true +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16773360 +style18=Start of a PHP fragment +style18\color=8388608 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=Unquoted HTML value +style19\color=6324320 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style20=ASP X-Code comment +style20\color=0 +style20\eolfill=false +style20\font=Courier, 10, 0, 0, 0 +style20\paper=16777215 +style21=SGML default +style21\color=128 +style21\eolfill=false +style21\font=Courier, 10, 0, 0, 0 +style21\paper=15724543 +style22=SGML command +style22\color=128 +style22\eolfill=false +style22\font=Courier, 10, 1, 0, 0 +style22\paper=15724543 +style23=First parameter of an SGML command +style23\color=26112 +style23\eolfill=false +style23\font=Courier, 10, 0, 0, 0 +style23\paper=15724543 +style24=SGML double-quoted string +style24\color=8388608 +style24\eolfill=false +style24\font=Courier, 10, 0, 0, 0 +style24\paper=15724543 +style25=SGML single-quoted string +style25\color=10040064 +style25\eolfill=false +style25\font=Courier, 10, 0, 0, 0 +style25\paper=15724543 +style26=SGML error +style26\color=8388608 +style26\eolfill=false +style26\font=Courier, 10, 0, 0, 0 +style26\paper=16737894 +style27=SGML special entity +style27\color=3368703 +style27\eolfill=false +style27\font=Courier, 10, 0, 0, 0 +style27\paper=15724543 +style29=SGML comment +style29\color=8421376 +style29\eolfill=false +style29\font=Courier, 10, 0, 0, 0 +style29\paper=15724543 +style30=First parameter comment of an SGML command +style30\color=0 +style30\eolfill=false +style30\font=Courier, 10, 0, 0, 0 +style30\paper=16777215 +style31=SGML block default +style31\color=102 +style31\eolfill=false +style31\font=Courier, 10, 0, 0, 0 +style31\paper=13421792 +style40=Start of a JavaScript fragment +style40\color=0 +style40\eolfill=false +style40\font=Courier, 10, 0, 0, 0 +style40\paper=16777215 +style41=JavaScript default +style41\color=0 +style41\eolfill=false +style41\font=Courier, 10, 0, 0, 0 +style41\paper=16777215 +style42=JavaScript comment +style42\color=0 +style42\eolfill=false +style42\font=Courier, 10, 0, 0, 0 +style42\paper=16777215 +style43=JavaScript line comment +style43\color=0 +style43\eolfill=false +style43\font=Courier, 10, 0, 0, 0 +style43\paper=16777215 +style44=JavaDoc style JavaScript comment +style44\color=0 +style44\eolfill=false +style44\font=Courier, 10, 0, 0, 0 +style44\paper=16777215 +style45=JavaScript number +style45\color=0 +style45\eolfill=false +style45\font=Courier, 10, 0, 0, 0 +style45\paper=16777215 +style46=JavaScript word +style46\color=0 +style46\eolfill=false +style46\font=Courier, 10, 0, 0, 0 +style46\paper=16777215 +style47=JavaScript keyword +style47\color=0 +style47\eolfill=false +style47\font=Courier, 10, 0, 0, 0 +style47\paper=16777215 +style48=JavaScript double-quoted string +style48\color=0 +style48\eolfill=false +style48\font=Courier, 10, 0, 0, 0 +style48\paper=16777215 +style49=JavaScript single-quoted string +style49\color=0 +style49\eolfill=false +style49\font=Courier, 10, 0, 0, 0 +style49\paper=16777215 +style50=JavaScript symbol +style50\color=0 +style50\eolfill=false +style50\font=Courier, 10, 0, 0, 0 +style50\paper=16777215 +style51=JavaScript unclosed string +style51\color=0 +style51\eolfill=false +style51\font=Courier, 10, 0, 0, 0 +style51\paper=16777215 +style52=JavaScript regular expression +style52\color=0 +style52\eolfill=false +style52\font=Courier, 10, 0, 0, 0 +style52\paper=16777215 +style55=Start of an ASP JavaScript fragment +style55\color=0 +style55\eolfill=false +style55\font=Courier, 10, 0, 0, 0 +style55\paper=16777215 +style56=ASP JavaScript default +style56\color=0 +style56\eolfill=false +style56\font=Courier, 10, 0, 0, 0 +style56\paper=16777215 +style57=ASP JavaScript comment +style57\color=0 +style57\eolfill=false +style57\font=Courier, 10, 0, 0, 0 +style57\paper=16777215 +style58=ASP JavaScript line comment +style58\color=0 +style58\eolfill=false +style58\font=Courier, 10, 0, 0, 0 +style58\paper=16777215 +style59=JavaDoc style ASP JavaScript comment +style59\color=0 +style59\eolfill=false +style59\font=Courier, 10, 0, 0, 0 +style59\paper=16777215 +style60=ASP JavaScript number +style60\color=0 +style60\eolfill=false +style60\font=Courier, 10, 0, 0, 0 +style60\paper=16777215 +style61=ASP JavaScript word +style61\color=0 +style61\eolfill=false +style61\font=Courier, 10, 0, 0, 0 +style61\paper=16777215 +style62=ASP JavaScript keyword +style62\color=0 +style62\eolfill=false +style62\font=Courier, 10, 0, 0, 0 +style62\paper=16777215 +style63=ASP JavaScript double-quoted string +style63\color=0 +style63\eolfill=false +style63\font=Courier, 10, 0, 0, 0 +style63\paper=16777215 +style64=ASP JavaScript single-quoted string +style64\color=0 +style64\eolfill=false +style64\font=Courier, 10, 0, 0, 0 +style64\paper=16777215 +style65=ASP JavaScript symbol +style65\color=0 +style65\eolfill=false +style65\font=Courier, 10, 0, 0, 0 +style65\paper=16777215 +style66=ASP JavaScript unclosed string +style66\color=0 +style66\eolfill=false +style66\font=Courier, 10, 0, 0, 0 +style66\paper=16777215 +style67=ASP JavaScript regular expression +style67\color=0 +style67\eolfill=false +style67\font=Courier, 10, 0, 0, 0 +style67\paper=16777215 +style70=Start of a VBScript fragment +style70\color=0 +style70\eolfill=false +style70\font=Courier, 10, 0, 0, 0 +style70\paper=16777215 +style71=VBScript default +style71\color=0 +style71\eolfill=false +style71\font=Courier, 10, 0, 0, 0 +style71\paper=16777215 +style72=VBScript comment +style72\color=0 +style72\eolfill=false +style72\font=Courier, 10, 0, 0, 0 +style72\paper=16777215 +style73=VBScript number +style73\color=0 +style73\eolfill=false +style73\font=Courier, 10, 0, 0, 0 +style73\paper=16777215 +style74=VBScript keyword +style74\color=0 +style74\eolfill=false +style74\font=Courier, 10, 0, 0, 0 +style74\paper=16777215 +style75=VBScript string +style75\color=0 +style75\eolfill=false +style75\font=Courier, 10, 0, 0, 0 +style75\paper=16777215 +style76=VBScript identifier +style76\color=0 +style76\eolfill=false +style76\font=Courier, 10, 0, 0, 0 +style76\paper=16777215 +style77=VBScript unclosed string +style77\color=0 +style77\eolfill=false +style77\font=Courier, 10, 0, 0, 0 +style77\paper=16777215 +style80=Start of an ASP VBScript fragment +style80\color=0 +style80\eolfill=false +style80\font=Courier, 10, 0, 0, 0 +style80\paper=16777215 +style81=ASP VBScript default +style81\color=0 +style81\eolfill=false +style81\font=Courier, 10, 0, 0, 0 +style81\paper=16777215 +style82=ASP VBScript comment +style82\color=0 +style82\eolfill=false +style82\font=Courier, 10, 0, 0, 0 +style82\paper=16777215 +style83=ASP VBScript number +style83\color=0 +style83\eolfill=false +style83\font=Courier, 10, 0, 0, 0 +style83\paper=16777215 +style84=ASP VBScript keyword +style84\color=0 +style84\eolfill=false +style84\font=Courier, 10, 0, 0, 0 +style84\paper=16777215 +style85=ASP VBScript string +style85\color=0 +style85\eolfill=false +style85\font=Courier, 10, 0, 0, 0 +style85\paper=16777215 +style86=ASP VBScript identifier +style86\color=0 +style86\eolfill=false +style86\font=Courier, 10, 0, 0, 0 +style86\paper=16777215 +style87=ASP VBScript unclosed string +style87\color=0 +style87\eolfill=false +style87\font=Courier, 10, 0, 0, 0 +style87\paper=16777215 +style90=Start of a Python fragment +style90\color=0 +style90\eolfill=false +style90\font=Courier, 10, 0, 0, 0 +style90\paper=16777215 +style91=Python default +style91\color=0 +style91\eolfill=false +style91\font=Courier, 10, 0, 0, 0 +style91\paper=16777215 +style92=Python comment +style92\color=0 +style92\eolfill=false +style92\font=Courier, 10, 0, 0, 0 +style92\paper=16777215 +style93=Python number +style93\color=0 +style93\eolfill=false +style93\font=Courier, 10, 0, 0, 0 +style93\paper=16777215 +style94=Python double-quoted string +style94\color=0 +style94\eolfill=false +style94\font=Courier, 10, 0, 0, 0 +style94\paper=16777215 +style95=Python single-quoted string +style95\color=0 +style95\eolfill=false +style95\font=Courier, 10, 0, 0, 0 +style95\paper=16777215 +style96=Python keyword +style96\color=0 +style96\eolfill=false +style96\font=Courier, 10, 0, 0, 0 +style96\paper=16777215 +style97=Python triple single-quoted string +style97\color=0 +style97\eolfill=false +style97\font=Courier, 10, 0, 0, 0 +style97\paper=16777215 +style98=Python triple double-quoted string +style98\color=0 +style98\eolfill=false +style98\font=Courier, 10, 0, 0, 0 +style98\paper=16777215 +style99=Python class name +style99\color=0 +style99\eolfill=false +style99\font=Courier, 10, 0, 0, 0 +style99\paper=16777215 +style100=Python function or method name +style100\color=0 +style100\eolfill=false +style100\font=Courier, 10, 0, 0, 0 +style100\paper=16777215 +style101=Python operator +style101\color=0 +style101\eolfill=false +style101\font=Courier, 10, 0, 0, 0 +style101\paper=16777215 +style102=Python identifier +style102\color=0 +style102\eolfill=false +style102\font=Courier, 10, 0, 0, 0 +style102\paper=16777215 +style105=Start of an ASP Python fragment +style105\color=0 +style105\eolfill=false +style105\font=Courier, 10, 0, 0, 0 +style105\paper=16777215 +style106=ASP Python default +style106\color=0 +style106\eolfill=false +style106\font=Courier, 10, 0, 0, 0 +style106\paper=16777215 +style107=ASP Python comment +style107\color=0 +style107\eolfill=false +style107\font=Courier, 10, 0, 0, 0 +style107\paper=16777215 +style108=ASP Python number +style108\color=0 +style108\eolfill=false +style108\font=Courier, 10, 0, 0, 0 +style108\paper=16777215 +style109=ASP Python double-quoted string +style109\color=0 +style109\eolfill=false +style109\font=Courier, 10, 0, 0, 0 +style109\paper=16777215 +style110=ASP Python single-quoted string +style110\color=0 +style110\eolfill=false +style110\font=Courier, 10, 0, 0, 0 +style110\paper=16777215 +style111=ASP Python keyword +style111\color=0 +style111\eolfill=false +style111\font=Courier, 10, 0, 0, 0 +style111\paper=16777215 +style112=ASP Python triple single-quoted string +style112\color=0 +style112\eolfill=false +style112\font=Courier, 10, 0, 0, 0 +style112\paper=16777215 +style113=ASP Python triple double-quoted string +style113\color=0 +style113\eolfill=false +style113\font=Courier, 10, 0, 0, 0 +style113\paper=16777215 +style114=ASP Python class name +style114\color=0 +style114\eolfill=false +style114\font=Courier, 10, 0, 0, 0 +style114\paper=16777215 +style115=ASP Python function or method name +style115\color=0 +style115\eolfill=false +style115\font=Courier, 10, 0, 0, 0 +style115\paper=16777215 +style116=ASP Python operator +style116\color=0 +style116\eolfill=false +style116\font=Courier, 10, 0, 0, 0 +style116\paper=16777215 +style117=ASP Python identifier +style117\color=0 +style117\eolfill=false +style117\font=Courier, 10, 0, 0, 0 +style117\paper=16777215 +style118=PHP default +style118\color=0 +style118\eolfill=false +style118\font=Courier, 10, 0, 0, 0 +style118\paper=16777215 +style119=PHP double-quoted string +style119\color=0 +style119\eolfill=false +style119\font=Courier, 10, 0, 0, 0 +style119\paper=16777215 +style120=PHP single-quoted string +style120\color=0 +style120\eolfill=false +style120\font=Courier, 10, 0, 0, 0 +style120\paper=16777215 +style121=PHP keyword +style121\color=0 +style121\eolfill=false +style121\font=Courier, 10, 0, 0, 0 +style121\paper=16777215 +style122=PHP number +style122\color=0 +style122\eolfill=false +style122\font=Courier, 10, 0, 0, 0 +style122\paper=16777215 +style123=PHP variable +style123\color=0 +style123\eolfill=false +style123\font=Courier, 10, 0, 0, 0 +style123\paper=16777215 +style124=PHP comment +style124\color=0 +style124\eolfill=false +style124\font=Courier, 10, 0, 0, 0 +style124\paper=16777215 +style125=PHP line comment +style125\color=0 +style125\eolfill=false +style125\font=Courier, 10, 0, 0, 0 +style125\paper=16777215 +style126=PHP double-quoted variable +style126\color=0 +style126\eolfill=false +style126\font=Courier, 10, 0, 0, 0 +style126\paper=16777215 +style127=PHP operator +style127\color=0 +style127\eolfill=false +style127\font=Courier, 10, 0, 0, 0 +style127\paper=16777215 + +[CMake] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=String +style2\color=8323199 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=15658734 +style3=Left quoted string +style3\color=8323199 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=15658734 +style4=Right quoted string +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=15658734 +style5=Function +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style6=Variable +style6\color=8388608 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Label +style7\color=13382400 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=User defined +style8\color=0 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=WHILE block +style9\color=127 +style9\eolfill=false +style9\font=Courier, 10, 1, 0, 0 +style9\paper=16777215 +style10=FOREACH block +style10\color=127 +style10\eolfill=false +style10\font=Courier, 10, 1, 0, 0 +style10\paper=16777215 +style11=IF block +style11\color=127 +style11\eolfill=false +style11\font=Courier, 10, 1, 0, 0 +style11\paper=16777215 +style12=MACRO block +style12\color=127 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=Variable within a string +style13\color=13382400 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=15658734 +style14=Number +style14\color=32639 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 + +[Fortran] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Number +style2\color=32639 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Single-quoted string +style3\color=8323199 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Double-quoted string +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Unclosed string +style5\color=0 +style5\eolfill=true +style5\font=Courier, 10, 0, 0, 0 +style5\paper=14729440 +style6=Operator +style6\color=0 +style6\eolfill=false +style6\font=Courier, 10, 1, 0, 0 +style6\paper=16777215 +style7=Identifier +style7\color=0 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Keyword +style8\color=127 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Intrinsic function +style9\color=11534400 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Extended function +style10\color=11550848 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Pre-processor block +style11\color=8355584 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Dotted operator +style12\color=0 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=Label +style13\color=14729440 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=Continuation +style14\color=0 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=15786112 + +[Fortran77] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Number +style2\color=32639 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Single-quoted string +style3\color=8323199 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Double-quoted string +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Unclosed string +style5\color=0 +style5\eolfill=true +style5\font=Courier, 10, 0, 0, 0 +style5\paper=14729440 +style6=Operator +style6\color=0 +style6\eolfill=false +style6\font=Courier, 10, 1, 0, 0 +style6\paper=16777215 +style7=Identifier +style7\color=0 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Keyword +style8\color=127 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Intrinsic function +style9\color=11534400 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Extended function +style10\color=11550848 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Pre-processor block +style11\color=8355584 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Dotted operator +style12\color=0 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=Label +style13\color=14729440 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=Continuation +style14\color=0 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=15786112 + +[Pascal] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Identifier +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2='{ ... }' style comment +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3='(* ... *)' style comment +style3\color=8355711 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Line comment +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5='{$ ... }' style pre-processor block +style5\color=127 +style5\eolfill=false +style5\font=Courier, 10, 1, 0, 0 +style5\paper=16777215 +style7=Number +style7\color=8323199 +style7\eolfill=false +style7\font=Courier, 10, 0, 1, 0 +style7\paper=16777215 +style9=Keyword +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Single-quoted string +style10\color=0 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Unclosed string +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style14=Inline asm +style14\color=32896 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style6='(*$ ... *)' style pre-processor block +style6\color=8355584 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style8=Hexadecimal number +style8\color=32639 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style12=Character +style12\color=8323199 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style13=Operator +style13\color=0 +style13\eolfill=false +style13\font=Courier, 10, 1, 0, 0 +style13\paper=16777215 + +[PostScript] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=DSC comment +style2\color=4157503 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=DSC comment value +style3\color=3170464 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=32639 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Name +style5\color=0 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=Keyword +style6\color=127 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Literal +style7\color=8355584 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Immediately evaluated literal +style8\color=8355584 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Array parenthesis +style9\color=127 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Dictionary parenthesis +style10\color=3170464 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Procedure parenthesis +style11\color=0 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Text +style12\color=8323199 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style13=Hexadecimal string +style13\color=4161343 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=Base85 string +style14\color=8323199 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 +style15=Bad string character +style15\color=16776960 +style15\eolfill=false +style15\font=Courier, 10, 0, 0, 0 +style15\paper=16711680 + +[VHDL] +style0=Default +style0\color=8388736 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Comment line +style2\color=4161343 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Number +style3\color=32639 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=String +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Operator +style5\color=0 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=Identifier +style6\color=0 +style6\eolfill=false +style6\font=Courier, 10, 0, 0, 0 +style6\paper=16777215 +style7=Unclosed string +style7\color=0 +style7\eolfill=true +style7\font=Courier, 10, 0, 0, 0 +style7\paper=14729440 +style8=Keyword +style8\color=127 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=16777215 +style9=Standard operator +style9\color=32639 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Attribute +style10\color=8405024 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Standard function +style11\color=8421408 +style11\eolfill=false +style11\font=Courier, 10, 0, 0, 0 +style11\paper=16777215 +style12=Standard package +style12\color=2129952 +style12\eolfill=false +style12\font=Courier, 10, 0, 0, 0 +style12\paper=16777215 +style13=Standard type +style13\color=2130048 +style13\eolfill=false +style13\font=Courier, 10, 0, 0, 0 +style13\paper=16777215 +style14=User defined +style14\color=8405024 +style14\eolfill=false +style14\font=Courier, 10, 0, 0, 0 +style14\paper=16777215 + +[YAML] +style0=Default +style0\color=0 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=34816 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=16777215 +style2=Identifier +style2\color=136 +style2\eolfill=false +style2\font=Courier, 10, 1, 0, 0 +style2\paper=16777215 +style3=Keyword +style3\color=8913032 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Number +style4\color=8912896 +style4\eolfill=false +style4\font=Courier, 10, 0, 0, 0 +style4\paper=16777215 +style5=Reference +style5\color=34952 +style5\eolfill=false +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16777215 +style6=Document delimiter +style6\color=16777215 +style6\eolfill=true +style6\font=Courier, 10, 1, 0, 0 +style6\paper=136 +style7=Text block marker +style7\color=3355494 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Syntax error marker +style8\color=16777215 +style8\eolfill=true +style8\font=Courier, 10, 1, 1, 0 +style8\paper=16711680 +style9=Operator +style9\color=0 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 + +[TCL] +style0=Default +style0\color=8421504 +style0\eolfill=false +style0\font=Courier, 10, 0, 0, 0 +style0\paper=16777215 +style1=Comment +style1\color=32512 +style1\eolfill=false +style1\font=Courier, 10, 0, 0, 0 +style1\paper=15794144 +style2=Comment line +style2\color=32512 +style2\eolfill=false +style2\font=Courier, 10, 0, 0, 0 +style2\paper=16777215 +style3=Number +style3\color=32639 +style3\eolfill=false +style3\font=Courier, 10, 0, 0, 0 +style3\paper=16777215 +style4=Quoted keyword +style4\color=8323199 +style4\eolfill=false +style4\font=Courier, 10, 1, 0, 0 +style4\paper=16773360 +style5=Quoted string +style5\color=8323199 +style5\eolfill=true +style5\font=Courier, 10, 0, 0, 0 +style5\paper=16773360 +style6=Operator +style6\color=0 +style6\eolfill=false +style6\font=Courier, 10, 1, 0, 0 +style6\paper=16777215 +style7=Identifier +style7\color=127 +style7\eolfill=false +style7\font=Courier, 10, 0, 0, 0 +style7\paper=16777215 +style8=Substitution +style8\color=8355584 +style8\eolfill=false +style8\font=Courier, 10, 0, 0, 0 +style8\paper=15728624 +style9=Brace substitution +style9\color=8355584 +style9\eolfill=false +style9\font=Courier, 10, 0, 0, 0 +style9\paper=16777215 +style10=Modifier +style10\color=8323199 +style10\eolfill=false +style10\font=Courier, 10, 0, 0, 0 +style10\paper=16777215 +style11=Expand keyword +style11\color=127 +style11\eolfill=false +style11\font=Courier, 10, 1, 0, 0 +style11\paper=16777088 +style12=TCL keyword +style12\color=127 +style12\eolfill=false +style12\font=Courier, 10, 1, 0, 0 +style12\paper=16777215 +style13=Tk keyword +style13\color=127 +style13\eolfill=false +style13\font=Courier, 10, 1, 0, 0 +style13\paper=14745584 +style14=iTCL keyword +style14\color=127 +style14\eolfill=false +style14\font=Courier, 10, 1, 0, 0 +style14\paper=16773360 +style15=Tk command +style15\color=127 +style15\eolfill=false +style15\font=Courier, 10, 1, 0, 0 +style15\paper=16765136 +style16=User defined 1 +style16\color=127 +style16\eolfill=false +style16\font=Courier, 10, 0, 0, 0 +style16\paper=16777215 +style17=User defined 2 +style17\color=127 +style17\eolfill=false +style17\font=Courier, 10, 0, 0, 0 +style17\paper=16777215 +style18=User defined 3 +style18\color=127 +style18\eolfill=false +style18\font=Courier, 10, 0, 0, 0 +style18\paper=16777215 +style19=User defined 4 +style19\color=127 +style19\eolfill=false +style19\font=Courier, 10, 0, 0, 0 +style19\paper=16777215 +style20=Comment box +style20\color=32512 +style20\eolfill=true +style20\font=Courier, 10, 0, 0, 0 +style20\paper=15794160 +style21=Comment block +style21\color=0 +style21\eolfill=false +style21\font=Courier, 10, 0, 0, 0 +style21\paper=15794160 diff --git a/indenters/example.cbl b/indenters/example.cbl index eb5b1aa..8b12b04 100755 --- a/indenters/example.cbl +++ b/indenters/example.cbl @@ -1,59 +1,59 @@ -000000* An example illustrating the use of a programmer defined paragraphs - * and perform-thru - identification division. - program-id. level88. - author. kik. - environment division. - configuration section. - special-names. - console is crt - decimal-point is comma. - data division. - working-storage section. - 77 transaction-kode pic 99. - 88 valid-kode value 4, 8 thru 15. - 88 create value 10. - 88 destroy value 15. - - procedure division. - main section. - * - * Some code leading to "transacion-kode" getting a value - * - - move 10 to transaction-kode. - - - * - * Testing the conditions - * - - if valid-kode then - if create then - perform p-create thru p-create-end - else - if destroy then - perform p-destroy thru p-destroy-end - else - perform ordinary-transaction - thru ordinary-transaction-end. - - * - p-create. - * some creation code - p-create-end. - exit. - - p-destroy. - * some destruction code - p-destroy-end. - exit. - - ordinary-transaction. - * some ordinary data processing code - ord-trns-1. - - ord-trns-2. - - ordinary-transaction-end. +000000* An example illustrating the use of a programmer defined paragraphs + * and perform-thru + identification division. + program-id. level88. + author. kik. + environment division. + configuration section. + special-names. + console is crt + decimal-point is comma. + data division. + working-storage section. + 77 transaction-kode pic 99. + 88 valid-kode value 4, 8 thru 15. + 88 create value 10. + 88 destroy value 15. + + procedure division. + main section. + * + * Some code leading to "transacion-kode" getting a value + * + + move 10 to transaction-kode. + + + * + * Testing the conditions + * + + if valid-kode then + if create then + perform p-create thru p-create-end + else + if destroy then + perform p-destroy thru p-destroy-end + else + perform ordinary-transaction + thru ordinary-transaction-end. + + * + p-create. + * some creation code + p-create-end. + exit. + + p-destroy. + * some destruction code + p-destroy-end. + exit. + + ordinary-transaction. + * some ordinary data processing code + ord-trns-1. + + ord-trns-2. + + ordinary-transaction-end. exit. \ No newline at end of file diff --git a/indenters/example.cpp b/indenters/example.cpp index f9b099c..44e6a80 100755 --- a/indenters/example.cpp +++ b/indenters/example.cpp @@ -1,349 +1,349 @@ -#include -#include -#include - -using namespace a.b.c a; - -PREPROCESSOR() - -BEGIN_MESSAGE_MAP() - ON_COMMAND() -END_MESSAGE_MAP() - -extern struct x y; - -static const class Example : - Int1, Int2, Int3 -{ -public: - Example::~Example() : - S1(), - S2(), - S3() { - // if statements with empty braces - if( x ) { } - else if( x ) { } - else { } - - // if statements with exactly one braced statement - if( x ) { - statement; - } - else if( x ) { - statement; - } - else { - statement; - } - - // special 'if' cases - if( x ) { - statement; - } - else { - statement; - } - - if( x ) { - statement; - - statement; - } - else { - statement; - - statement; - } - - // if statements with a single implicit substatement - if( x ) - statement; - - else if( x ) - statement; - - else - statement; - - // if statements with multiple statements - if( x ) { - statement; - - statement; - } - else if( x ) { - statement; - - statement; - } - else { - statement; - - statement; - } - - // while statements with a single implicit substatement - while( x ) - statement; - - // while statements with a single implicit 'if' substatement - while( x ) - if( x ) - statement; - - // while with multiple statements - while( x ) { - statement; - - statement; - } - - // labeled statement - label: - statement; - - // for statements with a single braced statement - for ( x; x; x ) { - statement; - } - - // do statements with a single braced substatement - do { - statement; - } while ( false ); - - // do statement with an empty block - do { } while ( x ); - - // local blocks - { - statement; - } - - /* Switch blocks: - * - * You can have case substatements be aligned by giving an example like: - * - * case 1: statement; - * - * statement; - * - * statement; - * - * etc... - */ - switch( c ) { - case 1: - case 2: - case 3: - statement; - - statement; - - statement; - - case 4: - break; // case with exactly one substatement - - default: - break; - } - } - - void method( const myClass &x, int [][][] c, ... ) { - // try-catch-finally with empty bodies - try { } - catch(Throwable e) { } - finally { } - - // try-catch-finally with exactly one statement - try { - statement; - } - catch( Throwable t ) { - statement; - } - finally { - statement; - } - - // try-catch-finally with multiple statements - try { - statement; - - statement; - } - catch( Throwable e ) { - statement; - - statement; - } - finally { - statement; - - statement; - - statement; - } - } -}; - -// enum statement -static typedef enum x -{ -x, -y, -z, -}; - -// simple typedef -typedef interface static short int x; - -namespace x -{ -// template header -template -x y z v() const; - -// pure virtual function, using c-style formal parameters with double parens -void v(()) = 0; - -// function with one single line statement and c-style formal parameters -void v(( int i )) { - statement; -}; - -// function with no statements -myClass::method() { } -}; - -template class x -{ -public: - - // operator declarations - int operator +(); - - int operator [](); - - // template method - static void A::method() [][][] { - asm - { - - Assembler statements - - - The outside braces are formatted but the asm code is passed through - unchanged. - } - - asm Single line assembler statements are also just passed through - } - - extern void oldStyleFunction() - int a; - int b; - int c; { - // various simple statements - long int a, b, c; - - long double [] i; - - goto x; - - delete [] x; - - delete [][][] x; - - return x; - - continue label; - - throw e; - - // c-style function calls with double parens - b((a, b, c)); - - a(()); - - // expressions - new Object()->field.method(); - - s = "string" - "split across lines"; - - method(a, B::C, 'd'); - - z = j[0][0][0] || k * 3 >> ++i + "0" > i++ & (i) == !j; - - int *v; - - int &v; - - x = x * *x; - - (int *)x; - - int (*functionPointer)( x, y, z ); - - h[0] += a ? b : ((int)c).d; - - new Handler(); - } -} a, b, c; // struct instances - -class Class2 -{ -/* Array creation with multiple non-array elements. - * - * If you give this example with the elements on the same line, then - * Polystyle will automatically vertically align them into a grid when it - * fits your code to the page. An alternate style is to have each - * element on its own line, like this: - * { - * x, - * y - * z - * } - */ -boolean *bools1 = - { - x, y, z - }; - -// array creation with a single element -boolean bools2 = { x }; - -// array creation with no elements -boolean bools3 = { }; - -// multidimensional array creation -const int *** array = - { - { 1, 2, 3 }, - { 1, 2, 3 }, - { 1, 2, 3 }, - }; -}; - -#if x - -#define x - -#elif a - -#define x - -#else - -#define x - -#define x - -#define x - -#endif - -// see if multi line macros are safely handled: -#define multilinemacro do { x= x+5; } while (0); \ -printf("a multilinemacro"); \ -printf("a multilinemacro2"); +#include +#include +#include + +using namespace a.b.c a; + +PREPROCESSOR() + +BEGIN_MESSAGE_MAP() + ON_COMMAND() +END_MESSAGE_MAP() + +extern struct x y; + +static const class Example : + Int1, Int2, Int3 +{ +public: + Example::~Example() : + S1(), + S2(), + S3() { + // if statements with empty braces + if( x ) { } + else if( x ) { } + else { } + + // if statements with exactly one braced statement + if( x ) { + statement; + } + else if( x ) { + statement; + } + else { + statement; + } + + // special 'if' cases + if( x ) { + statement; + } + else { + statement; + } + + if( x ) { + statement; + + statement; + } + else { + statement; + + statement; + } + + // if statements with a single implicit substatement + if( x ) + statement; + + else if( x ) + statement; + + else + statement; + + // if statements with multiple statements + if( x ) { + statement; + + statement; + } + else if( x ) { + statement; + + statement; + } + else { + statement; + + statement; + } + + // while statements with a single implicit substatement + while( x ) + statement; + + // while statements with a single implicit 'if' substatement + while( x ) + if( x ) + statement; + + // while with multiple statements + while( x ) { + statement; + + statement; + } + + // labeled statement + label: + statement; + + // for statements with a single braced statement + for ( x; x; x ) { + statement; + } + + // do statements with a single braced substatement + do { + statement; + } while ( false ); + + // do statement with an empty block + do { } while ( x ); + + // local blocks + { + statement; + } + + /* Switch blocks: + * + * You can have case substatements be aligned by giving an example like: + * + * case 1: statement; + * + * statement; + * + * statement; + * + * etc... + */ + switch( c ) { + case 1: + case 2: + case 3: + statement; + + statement; + + statement; + + case 4: + break; // case with exactly one substatement + + default: + break; + } + } + + void method( const myClass &x, int [][][] c, ... ) { + // try-catch-finally with empty bodies + try { } + catch(Throwable e) { } + finally { } + + // try-catch-finally with exactly one statement + try { + statement; + } + catch( Throwable t ) { + statement; + } + finally { + statement; + } + + // try-catch-finally with multiple statements + try { + statement; + + statement; + } + catch( Throwable e ) { + statement; + + statement; + } + finally { + statement; + + statement; + + statement; + } + } +}; + +// enum statement +static typedef enum x +{ +x, +y, +z, +}; + +// simple typedef +typedef interface static short int x; + +namespace x +{ +// template header +template +x y z v() const; + +// pure virtual function, using c-style formal parameters with double parens +void v(()) = 0; + +// function with one single line statement and c-style formal parameters +void v(( int i )) { + statement; +}; + +// function with no statements +myClass::method() { } +}; + +template class x +{ +public: + + // operator declarations + int operator +(); + + int operator [](); + + // template method + static void A::method() [][][] { + asm + { + - Assembler statements - + + The outside braces are formatted but the asm code is passed through + unchanged. + } + + asm Single line assembler statements are also just passed through + } + + extern void oldStyleFunction() + int a; + int b; + int c; { + // various simple statements + long int a, b, c; + + long double [] i; + + goto x; + + delete [] x; + + delete [][][] x; + + return x; + + continue label; + + throw e; + + // c-style function calls with double parens + b((a, b, c)); + + a(()); + + // expressions + new Object()->field.method(); + + s = "string" + "split across lines"; + + method(a, B::C, 'd'); + + z = j[0][0][0] || k * 3 >> ++i + "0" > i++ & (i) == !j; + + int *v; + + int &v; + + x = x * *x; + + (int *)x; + + int (*functionPointer)( x, y, z ); + + h[0] += a ? b : ((int)c).d; + + new Handler(); + } +} a, b, c; // struct instances + +class Class2 +{ +/* Array creation with multiple non-array elements. + * + * If you give this example with the elements on the same line, then + * Polystyle will automatically vertically align them into a grid when it + * fits your code to the page. An alternate style is to have each + * element on its own line, like this: + * { + * x, + * y + * z + * } + */ +boolean *bools1 = + { + x, y, z + }; + +// array creation with a single element +boolean bools2 = { x }; + +// array creation with no elements +boolean bools3 = { }; + +// multidimensional array creation +const int *** array = + { + { 1, 2, 3 }, + { 1, 2, 3 }, + { 1, 2, 3 }, + }; +}; + +#if x + +#define x + +#elif a + +#define x + +#else + +#define x + +#define x + +#define x + +#endif + +// see if multi line macros are safely handled: +#define multilinemacro do { x= x+5; } while (0); \ +printf("a multilinemacro"); \ +printf("a multilinemacro2"); diff --git a/indenters/example.css b/indenters/example.css index 09b5ecf..438f8ab 100755 --- a/indenters/example.css +++ b/indenters/example.css @@ -1,272 +1,272 @@ -/* General -/*******************************/ -body -{ - font-size: Small; - margin: 30px 0 20px 0; - background: url(images/background.jpg); -} - -span -{ - font-family: Tahoma,serif; -} - -/* Page -/*******************************/ -#page -{ - width: 808px; - margin: 0 auto; - position: relative; - -} - -/* Links general -/*******************************/ -a -{ - color: #36b; -} - -a:link { text-decoration:none; } -a:visited { text-decoration:none; } -a:active { text-decoration:none; } -a:focus { text-decoration:none; } -a:hover { text-decoration:underline; } - -/* Links external -/*******************************/ -a.external -{ - background: url("images/externallinks.png") center right no-repeat; - padding-right: 13px; -} - -/* Header -/*******************************/ -#header -{ - float: left; - width: 800px; - height: 171px; - background-image: url(images/banner.jpg); - background-repeat: no-repeat; - background-position: left bottom; - padding-left: 20px; -} - -/* Tabs -/*******************************/ -#tabs -{ -} - -#tabs ul -{ - list-style: none; - display: inline; -} - -#tabs li -{ - width: 125px; - float: left; - background-image: url(images/tab3.jpg); - background-repeat: no-repeat; - background-position: center top; - text-align: center; -} - -#tabs li a -{ - font-family: sans-serif; - font-size: 100%; - font-weight: normal; - color: black; - height: 28px; - padding: 21px 0 0 0; - display: block; -} - -#tabs li a:link { text-decoration:none; } -#tabs li a:visited { text-decoration:none; } -#tabs li a:active { text-decoration:none; } -#tabs li a:focus { text-decoration:none; } -#tabs li a:hover -{ - width: 125px; - float: left; - background-image: url(images/tab3hover.jpg); - background-repeat: no-repeat; - background-position: center top; - text-align: center; -} - -#tabs #current -{ - background-image: url(images/tab3_selected.jpg); - background-repeat: no-repeat; - background-position: center top; - margin-top: -5px; -} - -#tabs #current a -{ - background-image: url(images/tab3_selected.jpg); - background-repeat: no-repeat; - background-position: center top; - padding: 27px 0; - height: 17px; - font-weight: bold; -} - -/* Main -*******************************/ -#main -{ - background-image: url(images/page_middle.png); - background-repeat: repeat-y; - float: left; -} - -/* Content -/*******************************/ -#content -{ - padding: 22px; - margin: 0; - width: 541px; - float: left; -} - -#content h1, h2, h3, h4, h5, h6, h7, #content h2 a -{ - font-family: Tahoma,serif; - margin-bottom: 10px; - margin-top: 10px; -} - -#content h1 -{ - font-size: x-large; -} - -#content h2 -{ - font-size: large; -} - -#content p, #content ul, #content a, #content ol -{ - margin-top: 10px; - font-family: verdana, sans-serif; -} - -/* Progress -/*******************************/ -.progressframe -{ - border: 1px black solid; - width: 100%; -} - -.progress -{ - font-family: Tahoma,serif; - font-weight: bold; - /*padding-left: 10px;*/ - background-color: red; - color: white; -} - -.p0 { width: 0%; color: black; background-color: white; } -.p5 { width: 5%; background-color: rgb(240,16,0); } -.p10 { width: 10%; background-color: rgb(240,32,0); } -.p15 { width: 15%; background-color: rgb(240,48,0); } -.p20 { width: 20%; background-color: rgb(240,64,0); } -.p25 { width: 25%; background-color: rgb(240,80,0); } -.p30 { width: 30%; background-color: rgb(240,80,0); } -.p35 { width: 35%; background-color: rgb(240,96,0); } -.p40 { width: 40%; background-color: rgb(240,96,0); } -.p45 { width: 45%; background-color: rgb(240,112,0); } -.p50 { width: 50%; background-color: rgb(240,112,0); } -.p55 { width: 55%; background-color: rgb(224,128,0); } -.p60 { width: 60%; background-color: rgb(208,144,0); } -.p65 { width: 65%; background-color: rgb(192,160,0); } -.p70 { width: 70%; background-color: rgb(176,176,0); } -.p75 { width: 75%; background-color: rgb(176,176,0); } -.p80 { width: 80%; background-color: rgb(160,192,0); } -.p85 { width: 85%; background-color: rgb(160,192,0); } -.p90 { width: 90%; background-color: rgb(144,208,0); } -.p95 { width: 95%; background-color: rgb(144,208,0); } -.p100 { width: 100%; background-color: green; } - -/* Sidebar -/*******************************/ -#sidebar -{ - margin: 0; - padding: 10px; - width: 195px; - font-family: verdana, sans-serif; - float: right; -} - -#sidebar a -{ - border : none; -} - -#sidebar a:link { text-decoration:none; } -#sidebar a:visited { text-decoration:none; } -#sidebar a:active { text-decoration:none; } -#sidebar a:focus { text-decoration:none; } -#sidebar a:hover { text-decoration:underline; } - -#sidebar a img -{ - border : none; -} - -#sidebar h1 -{ - font-size: 10pt; - font-weight: bold; - margin-bottom: 0; -} - -#sidebar ul -{ - vertical-align: middle; -} - -#sidebar li -{ - list-style-image: url(images/icon_page.gif); -} - - -/* Footer -/*******************************/ -#footer -{ - font-family: verdana, sans-serif; - background: url(images/page_bottom.png); - font-size: x-small; - font-weight: bold; - color: #CCCCCC; - height: 44px; - width: 800px; - clear: both; -} - -#footer p -{ - padding: 0px 0 0 20px; -} - -#footer a -{ - color: #CCE0F5; -} +/* General +/*******************************/ +body +{ + font-size: Small; + margin: 30px 0 20px 0; + background: url(images/background.jpg); +} + +span +{ + font-family: Tahoma,serif; +} + +/* Page +/*******************************/ +#page +{ + width: 808px; + margin: 0 auto; + position: relative; + +} + +/* Links general +/*******************************/ +a +{ + color: #36b; +} + +a:link { text-decoration:none; } +a:visited { text-decoration:none; } +a:active { text-decoration:none; } +a:focus { text-decoration:none; } +a:hover { text-decoration:underline; } + +/* Links external +/*******************************/ +a.external +{ + background: url("images/externallinks.png") center right no-repeat; + padding-right: 13px; +} + +/* Header +/*******************************/ +#header +{ + float: left; + width: 800px; + height: 171px; + background-image: url(images/banner.jpg); + background-repeat: no-repeat; + background-position: left bottom; + padding-left: 20px; +} + +/* Tabs +/*******************************/ +#tabs +{ +} + +#tabs ul +{ + list-style: none; + display: inline; +} + +#tabs li +{ + width: 125px; + float: left; + background-image: url(images/tab3.jpg); + background-repeat: no-repeat; + background-position: center top; + text-align: center; +} + +#tabs li a +{ + font-family: sans-serif; + font-size: 100%; + font-weight: normal; + color: black; + height: 28px; + padding: 21px 0 0 0; + display: block; +} + +#tabs li a:link { text-decoration:none; } +#tabs li a:visited { text-decoration:none; } +#tabs li a:active { text-decoration:none; } +#tabs li a:focus { text-decoration:none; } +#tabs li a:hover +{ + width: 125px; + float: left; + background-image: url(images/tab3hover.jpg); + background-repeat: no-repeat; + background-position: center top; + text-align: center; +} + +#tabs #current +{ + background-image: url(images/tab3_selected.jpg); + background-repeat: no-repeat; + background-position: center top; + margin-top: -5px; +} + +#tabs #current a +{ + background-image: url(images/tab3_selected.jpg); + background-repeat: no-repeat; + background-position: center top; + padding: 27px 0; + height: 17px; + font-weight: bold; +} + +/* Main +*******************************/ +#main +{ + background-image: url(images/page_middle.png); + background-repeat: repeat-y; + float: left; +} + +/* Content +/*******************************/ +#content +{ + padding: 22px; + margin: 0; + width: 541px; + float: left; +} + +#content h1, h2, h3, h4, h5, h6, h7, #content h2 a +{ + font-family: Tahoma,serif; + margin-bottom: 10px; + margin-top: 10px; +} + +#content h1 +{ + font-size: x-large; +} + +#content h2 +{ + font-size: large; +} + +#content p, #content ul, #content a, #content ol +{ + margin-top: 10px; + font-family: verdana, sans-serif; +} + +/* Progress +/*******************************/ +.progressframe +{ + border: 1px black solid; + width: 100%; +} + +.progress +{ + font-family: Tahoma,serif; + font-weight: bold; + /*padding-left: 10px;*/ + background-color: red; + color: white; +} + +.p0 { width: 0%; color: black; background-color: white; } +.p5 { width: 5%; background-color: rgb(240,16,0); } +.p10 { width: 10%; background-color: rgb(240,32,0); } +.p15 { width: 15%; background-color: rgb(240,48,0); } +.p20 { width: 20%; background-color: rgb(240,64,0); } +.p25 { width: 25%; background-color: rgb(240,80,0); } +.p30 { width: 30%; background-color: rgb(240,80,0); } +.p35 { width: 35%; background-color: rgb(240,96,0); } +.p40 { width: 40%; background-color: rgb(240,96,0); } +.p45 { width: 45%; background-color: rgb(240,112,0); } +.p50 { width: 50%; background-color: rgb(240,112,0); } +.p55 { width: 55%; background-color: rgb(224,128,0); } +.p60 { width: 60%; background-color: rgb(208,144,0); } +.p65 { width: 65%; background-color: rgb(192,160,0); } +.p70 { width: 70%; background-color: rgb(176,176,0); } +.p75 { width: 75%; background-color: rgb(176,176,0); } +.p80 { width: 80%; background-color: rgb(160,192,0); } +.p85 { width: 85%; background-color: rgb(160,192,0); } +.p90 { width: 90%; background-color: rgb(144,208,0); } +.p95 { width: 95%; background-color: rgb(144,208,0); } +.p100 { width: 100%; background-color: green; } + +/* Sidebar +/*******************************/ +#sidebar +{ + margin: 0; + padding: 10px; + width: 195px; + font-family: verdana, sans-serif; + float: right; +} + +#sidebar a +{ + border : none; +} + +#sidebar a:link { text-decoration:none; } +#sidebar a:visited { text-decoration:none; } +#sidebar a:active { text-decoration:none; } +#sidebar a:focus { text-decoration:none; } +#sidebar a:hover { text-decoration:underline; } + +#sidebar a img +{ + border : none; +} + +#sidebar h1 +{ + font-size: 10pt; + font-weight: bold; + margin-bottom: 0; +} + +#sidebar ul +{ + vertical-align: middle; +} + +#sidebar li +{ + list-style-image: url(images/icon_page.gif); +} + + +/* Footer +/*******************************/ +#footer +{ + font-family: verdana, sans-serif; + background: url(images/page_bottom.png); + font-size: x-small; + font-weight: bold; + color: #CCCCCC; + height: 44px; + width: 800px; + clear: both; +} + +#footer p +{ + padding: 0px 0 0 20px; +} + +#footer a +{ + color: #CCE0F5; +} diff --git a/indenters/example.f90 b/indenters/example.f90 index f2aae7d..8131b8b 100755 --- a/indenters/example.f90 +++ b/indenters/example.f90 @@ -1,33 +1,33 @@ -module module1 -! Identity of a utility -! ____________________________________________________________________ - character (len=*), parameter :: xyz = & -"I am just a more or less long string." - character (len=*), parameter :: zhlp = '( & -&"This program is free software; you can redistribute it and/or modify"/& -&"____________________________________________________________________")' -integer:: n -contains - -recursive subroutine sub1(x) -integer,intent(inout):: x -integer:: y -y=0 -if (x0){$j++;doCall($i+$j);if($k){$k/=10;}}} +0){$j++;doCall($i+$j);if($k){$k/=10;}}} ?> \ No newline at end of file diff --git a/indenters/example.pl b/indenters/example.pl index 5266ab3..1323bfc 100755 --- a/indenters/example.pl +++ b/indenters/example.pl @@ -1,55 +1,55 @@ -print "Help Desk -- What Editor do you use?"; -chomp($editor = ); -if ($editor =~ /emacs/i) { - print "Why aren't you using vi?\n"; -} elsif ($editor =~ /vi/i) { - print "Why aren't you using emacs?\n"; -} else { - print "I think that's the problem\n"; -} - -{ - L9140: - if ($msccom::obj==$msccom::food) { - goto L8142; - } - if ($msccom::obj==$msccom::bird||$msccom::obj==$msccom::snake||$msccom::obj==$msccom::clam||$msccom::obj==$msccom::oyster||$msccom::obj==$msccom::dwarf||$msccom::obj==$msccom::dragon||$msccom::obj==$msccom::troll||$msccom::obj==$msccom::bear) { - $msccom::spk=71; - } - goto L2011; - # - # DRINK. IF NO OBJECT, ASSUME WATER AND LOOK FOR IT HERE. IF WATER IS - # THE BOTTLE, DRINK THAT, ELSE MUST BE AT A WATER LOC, SO DRINK STREAM. - # - L9150: - if ($msccom::obj==0&&$liqloc->($placom::loc)!=$msccom::water&&($liq->(0)!=$msccom::water||!$here->($msccom::bottle))) { - goto L8000; - } - if ($msccom::obj!=0&&$msccom::obj!=$msccom::water) { - $msccom::spk=110; - } - if ($msccom::spk==110||$liq->(0)!=$msccom::water||!$here->($msccom::bottle)) { - goto L2011; - } - $placom::prop->($msccom::bottle)=1; - $placom::place->($msccom::water)=0; - $msccom::spk=74; - goto L2011; - # - # RUB. YIELDS VARIOUS SNIDE REMARKS. - # - L9160: - if ($msccom::obj!=$placom::lamp) { - $msccom::spk=76; - } - goto L2011; - # - # THROW. SAME AS DISCARD UNLESS AXE. THEN SAME AS ATTACK EXCEPT IGNOR - # AND IF DWARF IS PRESENT THEN ONE MIGHT BE KILLED. (ONLY WAY TO DO SO - # AXE ALSO SPECIAL FOR DRAGON, BEAR, AND TROLL. TREASURES SPECIAL FOR - # - L9170: - if ($toting->($msccom::rod2)&&$msccom::obj==$msccom::rod&&!$toting->($msccom::rod)) { - $msccom::obj=$msccom::rod2; - } +print "Help Desk -- What Editor do you use?"; +chomp($editor = ); +if ($editor =~ /emacs/i) { + print "Why aren't you using vi?\n"; +} elsif ($editor =~ /vi/i) { + print "Why aren't you using emacs?\n"; +} else { + print "I think that's the problem\n"; +} + +{ + L9140: + if ($msccom::obj==$msccom::food) { + goto L8142; + } + if ($msccom::obj==$msccom::bird||$msccom::obj==$msccom::snake||$msccom::obj==$msccom::clam||$msccom::obj==$msccom::oyster||$msccom::obj==$msccom::dwarf||$msccom::obj==$msccom::dragon||$msccom::obj==$msccom::troll||$msccom::obj==$msccom::bear) { + $msccom::spk=71; + } + goto L2011; + # + # DRINK. IF NO OBJECT, ASSUME WATER AND LOOK FOR IT HERE. IF WATER IS + # THE BOTTLE, DRINK THAT, ELSE MUST BE AT A WATER LOC, SO DRINK STREAM. + # + L9150: + if ($msccom::obj==0&&$liqloc->($placom::loc)!=$msccom::water&&($liq->(0)!=$msccom::water||!$here->($msccom::bottle))) { + goto L8000; + } + if ($msccom::obj!=0&&$msccom::obj!=$msccom::water) { + $msccom::spk=110; + } + if ($msccom::spk==110||$liq->(0)!=$msccom::water||!$here->($msccom::bottle)) { + goto L2011; + } + $placom::prop->($msccom::bottle)=1; + $placom::place->($msccom::water)=0; + $msccom::spk=74; + goto L2011; + # + # RUB. YIELDS VARIOUS SNIDE REMARKS. + # + L9160: + if ($msccom::obj!=$placom::lamp) { + $msccom::spk=76; + } + goto L2011; + # + # THROW. SAME AS DISCARD UNLESS AXE. THEN SAME AS ATTACK EXCEPT IGNOR + # AND IF DWARF IS PRESENT THEN ONE MIGHT BE KILLED. (ONLY WAY TO DO SO + # AXE ALSO SPECIAL FOR DRAGON, BEAR, AND TROLL. TREASURES SPECIAL FOR + # + L9170: + if ($toting->($msccom::rod2)&&$msccom::obj==$msccom::rod&&!$toting->($msccom::rod)) { + $msccom::obj=$msccom::rod2; + } } \ No newline at end of file diff --git a/indenters/example.py b/indenters/example.py index d6525aa..a975cb2 100755 --- a/indenters/example.py +++ b/indenters/example.py @@ -1,23 +1,23 @@ -#! /usr/bin/env python -"Replace CRLF with LF in argument files. Print names of changed files." - -import sys, os - -def main(): - for filename in sys.argv[1:]: - if os.path.isdir(filename): - print filename, "Directory!" - continue - data = open(filename, "rb").read() - if '\0' in data: - print filename, "Binary!" - continue - newdata = data.replace("\r\n", "\n") - if newdata != data: - print filename - f = open(filename, "wb") - f.write(newdata) - f.close() - -if __name__ == '__main__': - main() +#! /usr/bin/env python +"Replace CRLF with LF in argument files. Print names of changed files." + +import sys, os + +def main(): + for filename in sys.argv[1:]: + if os.path.isdir(filename): + print filename, "Directory!" + continue + data = open(filename, "rb").read() + if '\0' in data: + print filename, "Binary!" + continue + newdata = data.replace("\r\n", "\n") + if newdata != data: + print filename + f = open(filename, "wb") + f.write(newdata) + f.close() + +if __name__ == '__main__': + main() diff --git a/indenters/example.sql b/indenters/example.sql index b7736b5..077eeb8 100755 --- a/indenters/example.sql +++ b/indenters/example.sql @@ -1,37 +1,37 @@ -CREATE PACKAGE BODY b IS - -PROCEDURE proc1 IS -BEGIN -IF 7 <> 5 THEN -FOR rec IN (SELECT * FROM dual - WHERE g = 5) LOOP -NULL; -END LOOP; - END IF; -END; - -PROCEDURE recurse IS - b number:=5; - d456 number:=456; -BEGIN - recurse; - proc1; - a := (a + 1 - +4 - + 5 - + 8); - c := f + 4 + 34; - total := earth +sky; - - --this is comment - - uk:=h; - g:=l; - exception - when no_data then - hello; - END; - - BEGIN - NULL; -END; +CREATE PACKAGE BODY b IS + +PROCEDURE proc1 IS +BEGIN +IF 7 <> 5 THEN +FOR rec IN (SELECT * FROM dual + WHERE g = 5) LOOP +NULL; +END LOOP; + END IF; +END; + +PROCEDURE recurse IS + b number:=5; + d456 number:=456; +BEGIN + recurse; + proc1; + a := (a + 1 + +4 + + 5 + + 8); + c := f + 4 + 34; + total := earth +sky; + + --this is comment + + uk:=h; + g:=l; + exception + when no_data then + hello; + END; + + BEGIN + NULL; +END; diff --git a/indenters/example.vb b/indenters/example.vb index 2ecbdc0..94adf39 100755 --- a/indenters/example.vb +++ b/indenters/example.vb @@ -1,50 +1,50 @@ -Dim docRoot As New ChilkatXml - -Dim success As Long - -docRoot.Tag = "myDoc" - -' To zip compress the content, set this flag to 1 -Dim zipContent As Long -zipContent = 0 -' To 128-bit AES encrypt the content, set this flag to 1 -Dim encryptContent As Long -encryptContent = 0 -Dim encryptPassword As String -encryptPassword = "" - -Dim pdfNode As ChilkatXml - -Set pdfNode = docRoot.NewChild("pdf","") - -' Embed a PDF into XML -success = pdfNode.SetBinaryContentFromFile("sample.pdf",zipContent,encryptContent,encryptPassword) -If (success <> 1) Then - MsgBox pdfNode.LastErrorText - - Exit Sub -End If - -MsgBox pdfNode.LastErrorText - -' Display the entire XML document: -Text1.Text = Text1.Text & docRoot.GetXml() & vbCrLf - -' Get the Base64-encoded content and display it: -Text1.Text = Text1.Text & pdfNode.Content & vbCrLf - -' Extract the binary content from XML: -Dim unzipContent As Long -unzipContent = 0 -Dim decryptContent As Long -decryptContent = 0 -Dim decryptPassword As String -decryptPassword = "" -success = pdfNode.SaveBinaryContent("out.pdf",unzipContent,decryptContent,decryptPassword) -If (success <> 1) Then - MsgBox pdfNode.LastErrorText - - Exit Sub -End If - +Dim docRoot As New ChilkatXml + +Dim success As Long + +docRoot.Tag = "myDoc" + +' To zip compress the content, set this flag to 1 +Dim zipContent As Long +zipContent = 0 +' To 128-bit AES encrypt the content, set this flag to 1 +Dim encryptContent As Long +encryptContent = 0 +Dim encryptPassword As String +encryptPassword = "" + +Dim pdfNode As ChilkatXml + +Set pdfNode = docRoot.NewChild("pdf","") + +' Embed a PDF into XML +success = pdfNode.SetBinaryContentFromFile("sample.pdf",zipContent,encryptContent,encryptPassword) +If (success <> 1) Then + MsgBox pdfNode.LastErrorText + + Exit Sub +End If + +MsgBox pdfNode.LastErrorText + +' Display the entire XML document: +Text1.Text = Text1.Text & docRoot.GetXml() & vbCrLf + +' Get the Base64-encoded content and display it: +Text1.Text = Text1.Text & pdfNode.Content & vbCrLf + +' Extract the binary content from XML: +Dim unzipContent As Long +unzipContent = 0 +Dim decryptContent As Long +decryptContent = 0 +Dim decryptPassword As String +decryptPassword = "" +success = pdfNode.SaveBinaryContent("out.pdf",unzipContent,decryptContent,decryptPassword) +If (success <> 1) Then + MsgBox pdfNode.LastErrorText + + Exit Sub +End If + MsgBox "Success!" \ No newline at end of file diff --git a/indenters/phpStylist.php b/indenters/phpStylist.php index 59099cd..4c8cbaf 100755 --- a/indenters/phpStylist.php +++ b/indenters/phpStylist.php @@ -1,1401 +1,1401 @@ - - - - - - - - - - - - - - - - - - -
- - - - - -

phpStylist by Mr. Milk

“because your code may not work, but it must look professional!!!”
-
-
- - - - - -
- - - - - - - - -
•••
- - - - - - - - - - - - - - - - - - -
- - - - - -
- -
-
-
- - - - - $v) { - if (isset($stylist->options[strtoupper($k)])) { - $stylist->options[strtoupper($k)] = $v != "off"; - } - } - if (isset($_REQUEST["indent_with_tabs"]) && $_REQUEST["indent_with_tabs"] != "off") { - $stylist->indent_char = "\t"; - } - if (isset($_REQUEST["indent_size"]) && $_REQUEST["indent_size"] != "" && $_REQUEST["indent_size"] != "null") { - $stylist->indent_size = $_REQUEST["indent_size"]; - } - if (strpos($code, ''; - } - $formatted = $stylist->formatCode($code); - $highlight = highlight_string($formatted, true); - if (isset($HTTP_POST_FILES['file']['tmp_name']) && file_exists($HTTP_POST_FILES['file']['tmp_name'])) { - unlink($HTTP_POST_FILES['file']['tmp_name']); - } - $nowrap = isset($_REQUEST["nowrap"]) && $_REQUEST["nowrap"] == 'on' ? "nowrap" : ""; - $tawrap = $nowrap == "" ? "" : "wrap='off' "; - $display = isset($_REQUEST["textarea"]) && $_REQUEST["textarea"] == 'on' ? "" : "style='display: none;'"; - $textarea = ""; - $display = isset($_REQUEST["textarea"]) && $_REQUEST["textarea"] == 'on' ? "style='display: none;'" : ""; - $frame = "$highlight"; - } - else { - $nowrap = isset($_REQUEST["nowrap"]) && $_REQUEST["nowrap"] == 'on' ? "nowrap" : ""; - $tawrap = $nowrap == "" ? "" : "wrap='off' "; - $textarea = ""; - $frame = ""; - } - if ($download) { - return isset($formatted) ? $formatted : ""; - } - else { - return $textarea . $frame; - } -} - -function isCommandLine() { - global $argv; - return ((is_array($argv) && count($argv)>0) || (is_array($_SERVER['argv']) && count($_SERVER['argv'])>0) || (is_array($GLOBALS['HTTP_SERVER_VARS']['argv']) && count($GLOBALS['HTTP_SERVER_VARS']['argv'])>0)); -} - -function processBatch() { - - global $argv; - if (is_array($argv)) { - $options = $argv; - } - elseif (is_array($_SERVER['argv'])) { - $options = $_SERVER['argv']; - } - elseif (is_array($GLOBALS['HTTP_SERVER_VARS']['argv'])) { - $options = $GLOBALS['HTTP_SERVER_VARS']['argv']; - } - foreach($options as $index=>$option) { - if($option=="--help") { - echo "phpStylist v0.8 by Mr. Milk\n"; - echo "usage: phpStylist source_file options\n\n"; - echo "Indentation and General Formatting:\n"; - echo "--indent_size n\n"; - echo "--indent_with_tabs\n"; - echo "--keep_redundant_lines\n"; - echo "--space_inside_parentheses\n"; - echo "--space_outside_parentheses\n"; - echo "--space_after_comma\n\n"; - echo "Operators:\n"; - echo "--space_around_assignment\n"; - echo "--align_var_assignment\n"; - echo "--space_around_comparison\n"; - echo "--space_around_arithmetic\n"; - echo "--space_around_logical\n"; - echo "--space_around_colon_question\n\n"; - echo "Functions, Classes and Objects:\n"; - echo "--line_before_function\n"; - echo "--line_before_curly_function\n"; - echo "--line_after_curly_function\n"; - echo "--space_around_obj_operator\n"; - echo "--space_around_double_colon\n\n"; - echo "Control Structures:\n"; - echo "--space_after_if\n"; - echo "--else_along_curly\n"; - echo "--line_before_curly\n"; - echo "--add_missing_braces\n"; - echo "--line_after_break\n"; - echo "--space_inside_for\n"; - echo "--indent_case\n\n"; - echo "Arrays and Concatenation:\n"; - echo "--line_before_array\n"; - echo "--vertical_array\n"; - echo "--align_array_assignment\n"; - echo "--space_around_double_arrow\n"; - echo "--vertical_concat\n"; - echo "--space_around_concat\n\n"; - echo "Comments:\n"; - echo "--line_before_comment_multi\n"; - echo "--line_after_comment_multi\n"; - echo "--line_before_comment\n"; - echo "--line_after_comment\n"; - exit; - } - if($index==1) { - $_REQUEST["file"] = $option; - } - elseif($option=="--indent_size") { - $_REQUEST["indent_size"] = $options[$index+1]; - } - elseif($index>0 && $options[$index-1]!="indent_size") { - $_REQUEST[substr($option, 2)] = "on"; - } - } - $_REQUEST["download"] = 2; - $str = parseFile(true); - echo $str; - exit; - -} - -function isDownload() -{ - return isset($_REQUEST["download"]) && $_REQUEST["download"] == '1'; -} - -function downloadFile() -{ - global $HTTP_POST_FILES; - $charset = isset($_REQUEST["iso8859"]) && $_REQUEST["iso8859"]!="off" ? "ISO-8859-1" : "UTF-8"; - $str = parseFile(true); - if ($str != "") { - $fn = isset($HTTP_POST_FILES['file']) && $HTTP_POST_FILES['file']['name'] != '' ? $HTTP_POST_FILES['file']['name'] : "phpStylist.php"; - header("Expires: Wed, 20 Jun 2007 00:00:00 GMT"); - header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); - header("Cache-Control: no-store, no-cache, must-revalidate"); - header("Cache-Control: post-check=0, pre-check=0", false); - header("Pragma: no-cache"); - header("Content-Type: text/plain; charset=".$charset); - header('Content-Disposition: attachment; filename="' . $fn . '";'); - header("Pragma: public"); - header("Expires: 0"); - header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); - header("Content-Transfer-Encoding: binary"); - } - echo $str; - exit; -} - -function loadFile($filename) -{ - $code = ""; - if(filesize($filename)>0) { - $f = fopen("$filename", "rb"); - $code = fread($f, filesize($filename)); - fclose($f); - } - return $code; -} - -function getSampleCode() -{ - $sample = 'PD9waHANCi8qKioNCiAqIHBocFN0eWxpc3QgZGVtb25zdHJhdGlvbiBjb2RlDQogKiBieSBNci4gTWlsayAoYWthIE1hcmNlbG8gTGVpdGUpDQogKiBtcm1pbGtAYW55c29mdC5jb20uYnINCiAqLw0KDQokd29ya19ob3VycyA9IDEyOw0KJHRpbWUgPSAkd29ya19ob3VycyoyOw0KJGRldmVsb3BlciA9ICRwb29yZ3V5Ow0KJGdvZCA9ICQkbXJnYXRlczsNCiR3YWdlID0gJHdvcmtfaG91cnMvMjsNCiRib251cyA9ICR3YWdlICogMC4wMDAwMTsNCiR3YXJuZWQgPSBmYWxzZTsNCiRwcm9wZXJ0aWVzID0gYXJyYXkoImdhdGVzIj0+YXJyYXkoImV2ZXJ5dGhpbmciPT4ieWVzIiwgImFueXRoaW5nIj0+InllcyIsICJhbnl0aGluZyBlbHNlIj0+InllcyIsICJ5b3UiPT4iY29tcGxldGVseSIpLCAiZGV2ZWxvcGVyIj0+YXJyYXkoImFuIG9sZCBjYXIiPT4iMiBpbnN0YWxsbWVudHMiLCAibW9kZGVkIGNvbXB1dGVyIj0+ImFsbW9zdCIsICJiZWVyIG11ZyI9PiJzdXJlISIpKTsNCiR3YXJuaW5nID0gIk1yLiAiLiRkZXZlbG9wZXIuIiwgeW91IG1hZGUgIi4gJGdvZC4gIiB1bmhhcHB5IHRvZGF5LiI7DQovLyBkZXZlbG9wZXIncyBtaXNlcmFibGUgbGlmZQ0KZm9yKCR5b3U9JGRldmVsb3BlcjskeW91PCRnb2Q7JHlvdSsrKSB7DQogIC8vIGxldCdzIHVzZSBoaXMgcG90ZW50aWFsDQogIGlmKCR3b3JrPD0kdGltZSo0KSB7DQogICAgJHdvcmsrKzsNCiAgICAkc2xlZXAtLTsNCiAgICAkZW5yaWNoR2F0ZXMoKTsNCiAgfQ0KICAvLyBjaGlja2VuaW5nIG91dCBodWg/DQogIGVsc2UgaWYoJHRpcmVkKSB7DQogICAgaWYoISR3YXJuZWQpIHsNCiAgICAgICRzY2FyZVRvRGVhdGgoJGRldmVsb3Blciwkd2FybmluZyk7DQogICAgICAkYm9udXMvPTI7DQogICAgfQ0KICAgIGVsc2UgaWYoJGJvbnVzID4gMCkNCiAgICAgICRib251cz0wOw0KICAgIGVsc2Ugew0KICAgICAgZmlyZSgkZGV2ZWxvcGVyKTsNCiAgICAgICRyZXBsYWNlbWVudCA9IGZpbmRJZGlvdCgpOw0KICAgICAgaGlyZSgkcmVwbGFjZW1lbnQsICR3YWdlLzIpOw0KICAgIH0NCiAgfQ0KICAvLyB0aGlzIGd1eSBjYW4gdGFrZSBpdA0KICBlbHNlaWYoJHdhZ2U+MCkNCiAgICAkd2FnZS0tOw0KICAvLyBoYXZlIHdlIHJlYWxseSBmb3VuZCB3aG8gd2UndmUgYmVlbiBsb29raW5nIGZvcj8NCiAgZWxzZSB7DQogICAgJGVucmljaEdhdGVzKCk7DQogICAgJGhlYWx0aF9sZXZlbCA9IGVtZXJnZW5jeVJvb20oJGRldmVsb3Blcik7DQogICAgLyogc2FuaXR5IGNoZWNrISAqLw0KICAgIHN3aXRjaCgkaGVhbHRoX2xldmVsKSB7DQogICAgICBjYXNlICJncmVhdCI6DQogICAgICAgIGZpcmUoJGRvY3Rvcik7DQogICAgICAgIHVuc2V0KCRwcm9wZXJ0aWVzWyJkZXZlbG9wZXIiXSk7DQogICAgICAgIHVuc2V0KCRwcm9wZXJ0aWVzWyJnYXRlcyJdWyJ5b3UiXSk7DQogICAgICAgIGN1Y2tvb3NOZXN0KCRkZXZlbG9wZXIpOw0KICAgICAgICAkcmVwbGFjZW1lbnQgPSBmaW5kSWRpb3QoKTsNCiAgICAgICAgaGlyZSgkcmVwbGFjZW1lbnQsICRtaW5fd2FnZSk7DQogICAgICAgIGJyZWFrOw0KICAgICAgY2FzZSAiZ29vZCI6DQogICAgICBjYXNlICJiYWQiOg0KICAgICAgICBiYWNrVG9Xb3JrKCk7DQogICAgICBicmVhazsNCiAgICAgIGNhc2UgInRlcm1pbmFsIjoNCiAgICAgICAgZmlyZSgkZGV2ZWxvcGVyKTsNCiAgICAgICAgJHJlcGxhY2VtZW50ID0gJGhhc19icm90aGVyID8gImJyb3RoZXIiIDogImZyaWVuZCI7DQogICAgICAgIGhpcmUoJHJlcGxhY2VtZW50LCAkbWluX3dhZ2UvMik7DQogICAgICBicmVhazsNCiAgICAgIGRlZmF1bHQ6DQogICAgfQ0KICB9DQp9DQovKioqDQogKiBGdW5jdGlvbnMNCiAqLw0KDQpmdW5jdGlvbiBlbWVyZ2VuY3lSb29tKCR3aG8pIHsNCiAgJGhlYWx0aHkgPWZhbHNlOw0KICAkaW50ZXJuID0gMDsNCiAgd2hpbGUoISRoZWFsdGh5ICYmICRoZWFsdGh5IT0iZW5kIikNCiAgICAkaGVhbHRoeSA9IHNjcnVic0ludGVybk9waW5pb25zKCR3aG8sICsrJGludGVybik7DQogICRpbnRlcm4gPSAwOw0KICB3aGlsZSghJGhlYWx0aHkgJiYgJGhlYWx0aHkhPSJlbmQiKQ0KICAgICRoZWFsdGh5ID0gZXJJbnRlcm5PcGluaW9ucygkd2hvLCAkaW50ZXJuKyspOw0KICByZXR1cm4gJGhlYWx0aHk7DQp9DQoNCmZ1bmN0aW9uIGhpcmUoJHdobywgJHdhZ2UpIHsNCiAgJGRldmVsb3BlciA9IG5ldyBTbGF2ZSgpOw0KICAkZGV2ZWxvcGVyLT5wZXJzb24gPSAkd2hvOw0KICAkZGV2ZWxvcGVyLT5zZXRTYWxhcnkoJHdhZ2UpOw0KICAkY29zdCA9IGhyUm91dGluZXM6OmdldEhpcmluZ0Nvc3QoKTsNCiAgJGRldmVsb3Blci0+c2V0RGVidCgkY29zdCk7DQp9DQoNCmZ1bmN0aW9uIGZpcmUoJHdobykgew0KICBjYWxsU2VjdXJpdHkoKTsNCiAgZ2V0SGltT3V0KCR3aG8pOw0KfQ0KDQo/Pg0K'; - return base64_decode($sample); -} - -class phpStylist -{ - var $indent_size = 2; - var $indent_char = " "; - var $block_size = 3; - var $options = array( - "SPACE_INSIDE_PARENTHESES" => false, - "SPACE_OUTSIDE_PARENTHESES" => false, - "SPACE_INSIDE_FOR" => false, - "SPACE_AFTER_IF" => false, - "SPACE_AFTER_COMMA" => false, - "SPACE_AROUND_OBJ_OPERATOR" => false, - "SPACE_AROUND_DOUBLE_COLON" => false, - "SPACE_AROUND_DOUBLE_ARROW" => false, - "SPACE_AROUND_ASSIGNMENT" => false, - "SPACE_AROUND_COMPARISON" => false, - "SPACE_AROUND_COLON_QUESTION" => false, - "SPACE_AROUND_LOGICAL" => false, - "SPACE_AROUND_ARITHMETIC" => false, - "SPACE_AROUND_CONCAT" => false, - "LINE_BEFORE_FUNCTION" => false, - "LINE_BEFORE_CURLY" => false, - "LINE_BEFORE_CURLY_FUNCTION" => false, - "LINE_AFTER_CURLY_FUNCTION" => false, - "LINE_BEFORE_ARRAY" => false, - "LINE_BEFORE_COMMENT" => false, - "LINE_AFTER_COMMENT" => false, - "LINE_BEFORE_COMMENT_MULTI" => false, - "LINE_AFTER_COMMENT_MULTI" => false, - "LINE_AFTER_BREAK" => false, - "VERTICAL_CONCAT" => false, - "VERTICAL_ARRAY" => false, - "INDENT_CASE" => false, - "KEEP_REDUNDANT_LINES" => false, - "ADD_MISSING_BRACES" => false, - "ALIGN_ARRAY_ASSIGNMENT" => false, - "ALIGN_VAR_ASSIGNMENT" => false, - "ELSE_ALONG_CURLY" => false, - ); - var $_new_line = "\n"; - var $_indent = 0; - var $_for_idx = 0; - var $_code = ""; - var $_log = false; - var $_pointer = 0; - var $_tokens = 0; - - function phpStylist() - { - define("S_OPEN_CURLY", "{"); - define("S_CLOSE_CURLY", "}"); - define("S_OPEN_BRACKET", "["); - define("S_CLOSE_BRACKET", "]"); - define("S_OPEN_PARENTH", "("); - define("S_CLOSE_PARENTH", ")"); - define("S_SEMI_COLON", ";"); - define("S_COMMA", ","); - define("S_CONCAT", "."); - define("S_COLON", ":"); - define("S_QUESTION", "?"); - define("S_EQUAL", "="); - define("S_EXCLAMATION", "!"); - define("S_IS_GREATER", ">"); - define("S_IS_SMALLER", "<"); - define("S_MINUS", "-"); - define("S_PLUS", "+"); - define("S_TIMES", "*"); - define("S_DIVIDE", "/"); - define("S_MODULUS", "%"); - define("S_REFERENCE", "&"); - define("S_QUOTE", '"'); - define("S_AT", "@"); - define("S_DOLLAR", "$"); - define("S_ABSTRACT", "abstract"); - define("S_INTERFACE", "interface"); - define("S_FINAL", "final"); - define("S_PUBLIC", "public"); - define("S_PRIVATE", "private"); - define("S_PROTECTED", "protected"); - if (defined("T_ML_COMMENT")) { - define("T_DOC_COMMENT", T_ML_COMMENT); - } - elseif (defined("T_DOC_COMMENT")) { - define("T_ML_COMMENT", T_DOC_COMMENT); - } - } - - function formatCode($source = '') - { - $in_for = false; - $in_break = false; - $in_function = false; - $in_concat = false; - $space_after = false; - $curly_open = false; - $array_level = 0; - $arr_parenth = array(); - $switch_level = 0; - $if_level = 0; - $if_pending = 0; - $else_pending = false; - $if_parenth = array(); - $switch_arr = array(); - $halt_parser = false; - $after = false; - $this->_tokens = token_get_all($source); - foreach ($this->_tokens as $index => $token) { - list($id, $text) = $this->_get_token($token); - $this->_pointer = $index; - if ($halt_parser && $id != S_QUOTE) { - $this->_append_code($text, false); - continue; - } - if (substr(phpversion(), 0, 1) == "4" && $id == T_STRING) { - switch (strtolower(trim($text))) { - case S_ABSTRACT: - case S_INTERFACE: - case S_FINAL: - case S_PUBLIC: - case S_PRIVATE: - case S_PROTECTED: - $id = T_PUBLIC; - default: - } - } - switch ($id) { - case S_OPEN_CURLY: - $condition = $in_function ? $this->options["LINE_BEFORE_CURLY_FUNCTION"] : $this->options["LINE_BEFORE_CURLY"]; - $this->_set_indent( + 1); - $this->_append_code((!$condition ? ' ' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf($this->options["LINE_AFTER_CURLY_FUNCTION"] && $in_function && !$this->_is_token_lf()) . $this->_get_crlf_indent()); - $in_function = false; - break; - - case S_CLOSE_CURLY: - if ($curly_open) { - $curly_open = false; - $this->_append_code(trim($text)); - } - else { - if (($in_break || $this->_is_token(S_CLOSE_CURLY)) && $switch_level > 0 && $switch_arr["l" . $switch_level] > 0 && $switch_arr["s" . $switch_level] == $this->_indent - 2) { - if ($this->options["INDENT_CASE"]) { - $this->_set_indent( - 1); - } - $switch_arr["l" . $switch_level]--; - $switch_arr["c" . $switch_level]--; - } - while ($switch_level > 0 && $switch_arr["l" . $switch_level] == 0 && $this->options["INDENT_CASE"]) { - unset($switch_arr["s" . $switch_level]); - unset($switch_arr["c" . $switch_level]); - unset($switch_arr["l" . $switch_level]); - $switch_level--; - if ($switch_level > 0) { - $switch_arr["l" . $switch_level]--; - } - $this->_set_indent( - 1); - $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); - $text = ''; - } - if ($text != '') { - $this->_set_indent( - 1); - $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); - } - } - break; - - case S_SEMI_COLON: - if (($in_break || $this->_is_token(S_CLOSE_CURLY)) && $switch_level > 0 && $switch_arr["l" . $switch_level] > 0 && $switch_arr["s" . $switch_level] == $this->_indent - 2) { - if ($this->options["INDENT_CASE"]) { - $this->_set_indent( - 1); - } - $switch_arr["l" . $switch_level]--; - $switch_arr["c" . $switch_level]--; - } - if ($in_concat) { - $this->_set_indent( - 1); - $in_concat = false; - } - $this->_append_code($text . $this->_get_crlf($this->options["LINE_AFTER_BREAK"] && $in_break) . $this->_get_crlf_indent($in_for)); - while ($if_pending > 0) { - $text = $this->options["ADD_MISSING_BRACES"] ? "}" : ""; - $this->_set_indent( - 1); - if ($text != "") { - $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); - } - else { - $this->_append_code($this->_get_crlf_indent()); - } - $if_pending--; - if ($this->_is_token(array(T_ELSE, T_ELSEIF))) { - break; - } - } - if ($this->_for_idx == 0) { - $in_for = false; - } - $in_break = false; - $in_function = false; - break; - - case S_OPEN_BRACKET: - case S_CLOSE_BRACKET: - $this->_append_code($text); - break; - - case S_OPEN_PARENTH: - if ($if_level > 0) { - $if_parenth["i" . $if_level]++; - } - if ($array_level > 0) { - $arr_parenth["i" . $array_level]++; - if ($this->_is_token(array(T_ARRAY), true) && !$this->_is_token(S_CLOSE_PARENTH)) { - $this->_set_indent( + 1); - $this->_append_code((!$this->options["LINE_BEFORE_ARRAY"] ? '' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf_indent()); - break; - } - } - $this->_append_code($this->_get_space($this->options["SPACE_OUTSIDE_PARENTHESES"] || $space_after) . $text . $this->_get_space($this->options["SPACE_INSIDE_PARENTHESES"])); - $space_after = false; - break; - - case S_CLOSE_PARENTH: - if ($array_level > 0) { - $arr_parenth["i" . $array_level]--; - if ($arr_parenth["i" . $array_level] == 0) { - $comma = substr(trim($this->_code), - 1) != "," && $this->options['VERTICAL_ARRAY'] ? "," : ""; - $this->_set_indent( - 1); - $this->_append_code($comma . $this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); - unset($arr_parenth["i" . $array_level]); - $array_level--; - break; - } - } - $this->_append_code($this->_get_space($this->options["SPACE_INSIDE_PARENTHESES"]) . $text . $this->_get_space($this->options["SPACE_OUTSIDE_PARENTHESES"])); - if ($if_level > 0) { - $if_parenth["i" . $if_level]--; - if ($if_parenth["i" . $if_level] == 0) { - if (!$this->_is_token(S_OPEN_CURLY) && !$this->_is_token(S_SEMI_COLON)) { - $text = $this->options["ADD_MISSING_BRACES"] ? "{" : ""; - $this->_set_indent( + 1); - $this->_append_code((!$this->options["LINE_BEFORE_CURLY"] || $text == "" ? ' ' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf_indent()); - $if_pending++; - } - unset($if_parenth["i" . $if_level]); - $if_level--; - } - } - break; - - case S_COMMA: - if ($array_level > 0) { - $this->_append_code($text . $this->_get_crlf_indent($in_for)); - } - else { - $this->_append_code($text . $this->_get_space($this->options["SPACE_AFTER_COMMA"])); - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $this->options["SPACE_AFTER_COMMA"]; - } - } - break; - - case S_CONCAT: - $condition = $this->options["SPACE_AROUND_CONCAT"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - if ($this->options["VERTICAL_CONCAT"]) { - if (!$in_concat) { - $in_concat = true; - $this->_set_indent( + 1); - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_crlf_indent()); - } - else { - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - } - break; - - case T_CONCAT_EQUAL: - case T_DIV_EQUAL: - case T_MINUS_EQUAL: - case T_PLUS_EQUAL: - case T_MOD_EQUAL: - case T_MUL_EQUAL: - case T_AND_EQUAL: - case T_OR_EQUAL: - case T_XOR_EQUAL: - case T_SL_EQUAL: - case T_SR_EQUAL: - case S_EQUAL: - $condition = $this->options["SPACE_AROUND_ASSIGNMENT"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case T_IS_EQUAL: - case S_IS_GREATER: - case T_IS_GREATER_OR_EQUAL: - case T_IS_SMALLER_OR_EQUAL: - case S_IS_SMALLER: - case T_IS_IDENTICAL: - case T_IS_NOT_EQUAL: - case T_IS_NOT_IDENTICAL: - $condition = $this->options["SPACE_AROUND_COMPARISON"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case T_BOOLEAN_AND: - case T_BOOLEAN_OR: - case T_LOGICAL_AND: - case T_LOGICAL_OR: - case T_LOGICAL_XOR: - case T_SL: - case T_SR: - $condition = $this->options["SPACE_AROUND_LOGICAL"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case T_DOUBLE_COLON: - $condition = $this->options["SPACE_AROUND_DOUBLE_COLON"]; - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case S_COLON: - if ($switch_level > 0 && $switch_arr["l" . $switch_level] > 0 && $switch_arr["c" . $switch_level] < $switch_arr["l" . $switch_level]) { - $switch_arr["c" . $switch_level]++; - if ($this->options["INDENT_CASE"]) { - $this->_set_indent( + 1); - } - $this->_append_code($text . $this->_get_crlf_indent()); - } - else { - $condition = $this->options["SPACE_AROUND_COLON_QUESTION"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - } - if (($in_break || $this->_is_token(S_CLOSE_CURLY)) && $switch_level > 0 && $switch_arr["l" . $switch_level] > 0) { - if ($this->options["INDENT_CASE"]) { - $this->_set_indent( - 1); - } - $switch_arr["l" . $switch_level]--; - $switch_arr["c" . $switch_level]--; - } - break; - - case S_QUESTION: - $condition = $this->options["SPACE_AROUND_COLON_QUESTION"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case T_DOUBLE_ARROW: - $condition = $this->options["SPACE_AROUND_DOUBLE_ARROW"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case S_MINUS: - case S_PLUS: - case S_TIMES: - case S_DIVIDE: - case S_MODULUS: - $condition = $this->options["SPACE_AROUND_ARITHMETIC"]; - if ($this->_is_token(S_OPEN_PARENTH)) { - $space_after = $condition; - } - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case T_OBJECT_OPERATOR: - $condition = $this->options["SPACE_AROUND_OBJ_OPERATOR"]; - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); - break; - - case T_FOR: - $in_for = true; - case T_FOREACH: - case T_WHILE: - case T_DO: - case T_IF: - case T_SWITCH: - $space_after = $this->options["SPACE_AFTER_IF"]; - $this->_append_code($text . $this->_get_space($space_after), false); - if ($id == T_SWITCH) { - $switch_level++; - $switch_arr["s" . $switch_level] = $this->_indent; - $switch_arr["l" . $switch_level] = 0; - $switch_arr["c" . $switch_level] = 0; - } - $if_level++; - $if_parenth["i" . $if_level] = 0; - break; - - case T_FUNCTION: - case T_CLASS: - case T_INTERFACE: - case T_FINAL: - case T_ABSTRACT: - case T_PUBLIC: - case T_PROTECTED: - case T_PRIVATE: - if (!$in_function) { - if ($this->options["LINE_BEFORE_FUNCTION"]) { - $this->_append_code($this->_get_crlf($after || !$this->_is_token(array(T_COMMENT, T_ML_COMMENT, T_DOC_COMMENT), true)) . $this->_get_crlf_indent() . $text . $this->_get_space()); - $after = false; - } - else { - $this->_append_code($text . $this->_get_space(), false); - } - $in_function = true; - } - else { - $this->_append_code($this->_get_space() . $text . $this->_get_space()); - } - break; - - case T_START_HEREDOC: - $this->_append_code($this->_get_space($this->options["SPACE_AROUND_ASSIGNMENT"]) . $text); - break; - - case T_END_HEREDOC: - $this->_append_code($this->_get_crlf() . $text . $this->_get_crlf_indent()); - break; - - case T_COMMENT: - case T_ML_COMMENT: - case T_DOC_COMMENT: - if (is_array($this->_tokens[$index - 1])) { - $pad = $this->_tokens[$index - 1][1]; - $i = strlen($pad) - 1; - $k = ""; - while (substr($pad, $i, 1) != "\n" && substr($pad, $i, 1) != "\r" && $i >= 0) { - $k .= substr($pad, $i--, 1); - } - $text = preg_replace("/\r?\n$k/", $this->_get_crlf_indent(), $text); - } - $after = $id == (T_COMMENT && preg_match("/^\/\//", $text)) ? $this->options["LINE_AFTER_COMMENT"] : $this->options["LINE_AFTER_COMMENT_MULTI"]; - $before = $id == (T_COMMENT && preg_match("/^\/\//", $text)) ? $this->options["LINE_BEFORE_COMMENT"] : $this->options["LINE_BEFORE_COMMENT_MULTI"]; - if ($prev = $this->_is_token(S_OPEN_CURLY, true, $index, true)) { - $before = $before && !$this->_is_token_lf(true, $prev); - } - $after = $after && (!$this->_is_token_lf() || !$this->options["KEEP_REDUNDANT_LINES"]); - if ($before) { - $this->_append_code($this->_get_crlf(!$this->_is_token(array(T_COMMENT), true)) . $this->_get_crlf_indent() . trim($text) . $this->_get_crlf($after) . $this->_get_crlf_indent()); - } - else { - $this->_append_code(trim($text) . $this->_get_crlf($after) . $this->_get_crlf_indent(), false); - } - break; - - case T_DOLLAR_OPEN_CURLY_BRACES: - case T_CURLY_OPEN: - $curly_open = true; - case T_NUM_STRING: - case T_BAD_CHARACTER: - $this->_append_code(trim($text)); - break; - - case T_EXTENDS: - case T_IMPLEMENTS: - case T_INSTANCEOF: - case T_AS: - $this->_append_code($this->_get_space() . $text . $this->_get_space()); - break; - - case S_DOLLAR: - case S_REFERENCE: - case T_INC: - case T_DEC: - $this->_append_code(trim($text), false); - break; - - case T_WHITESPACE: - $redundant = ""; - if ($this->options["KEEP_REDUNDANT_LINES"]) { - $lines = preg_match_all("/\r?\n/", $text, $matches); - $lines = $lines > 0 ? $lines - 1 : 0; - $redundant = $lines > 0 ? str_repeat($this->_new_line, $lines) : ""; - $current_indent = $this->_get_indent(); - if (substr($this->_code, strlen($current_indent) * - 1) == $current_indent && $lines > 0) { - $redundant .= $current_indent; - } - } - if($this->_is_token(array(T_OPEN_TAG), true)) { - $this->_append_code($text, false); - } - else { - $this->_append_code($redundant . trim($text), false); - } - break; - - case S_QUOTE: - $this->_append_code($text, false); - $halt_parser = !$halt_parser; - break; - - case T_ARRAY: - if ($this->options["VERTICAL_ARRAY"]) { - $next = $this->_is_token(array(T_DOUBLE_ARROW), true); - $next |= $this->_is_token(S_EQUAL, true); - $next |= $array_level>0; - if ($next) { - $next = $this->_is_token(S_OPEN_PARENTH, false, $index, true); - if ($next) { - $next = !$this->_is_token(S_CLOSE_PARENTH, false, $next); - } - } - if ($next) { - $array_level++; - $arr_parenth["i" . $array_level] = 0; - } - } - case T_STRING: - case T_CONSTANT_ENCAPSED_STRING: - case T_ENCAPSED_AND_WHITESPACE: - case T_VARIABLE: - case T_CHARACTER: - case T_STRING_VARNAME: - case S_AT: - case S_EXCLAMATION: - case T_OPEN_TAG: - case T_OPEN_TAG_WITH_ECHO: - $this->_append_code($text, false); - break; - - case T_CLOSE_TAG: - $this->_append_code($text, !$this->_is_token_lf(true)); - break; - - case T_CASE: - case T_DEFAULT: - if ($switch_arr["l" . $switch_level] > 0 && $this->options["INDENT_CASE"]) { - $switch_arr["c" . $switch_level]--; - $this->_set_indent( - 1); - $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_space()); - } - else { - $switch_arr["l" . $switch_level]++; - $this->_append_code($text . $this->_get_space(), false); - } - break; - - case T_INLINE_HTML: - $this->_append_code($text, false); - break; - - case T_BREAK: - case T_CONTINUE: - $in_break = true; - case T_VAR: - case T_GLOBAL: - case T_STATIC: - case T_CONST: - case T_ECHO: - case T_PRINT: - case T_INCLUDE: - case T_INCLUDE_ONCE: - case T_REQUIRE: - case T_REQUIRE_ONCE: - case T_DECLARE: - case T_EMPTY: - case T_ISSET: - case T_UNSET: - case T_DNUMBER: - case T_LNUMBER: - case T_RETURN: - case T_EVAL: - case T_EXIT: - case T_LIST: - case T_CLONE: - case T_NEW: - case T_FUNC_C: - case T_CLASS_C: - case T_FILE: - case T_LINE: - $this->_append_code($text . $this->_get_space(), false); - break; - - case T_ELSEIF: - $space_after = $this->options["SPACE_AFTER_IF"]; - $added_braces = $this->_is_token(S_SEMI_COLON, true) && $this->options["ADD_MISSING_BRACES"]; - $condition = $this->options['ELSE_ALONG_CURLY'] && ($this->_is_token(S_CLOSE_CURLY, true) || $added_braces); - $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($space_after), $condition); - $if_level++; - $if_parenth["i" . $if_level] = 0; - break; - - case T_ELSE: - $added_braces = $this->_is_token(S_SEMI_COLON, true) && $this->options["ADD_MISSING_BRACES"]; - $condition = $this->options['ELSE_ALONG_CURLY'] && ($this->_is_token(S_CLOSE_CURLY, true) || $added_braces); - $this->_append_code($this->_get_space($condition) . $text, $condition); - if (!$this->_is_token(S_OPEN_CURLY) && !$this->_is_token(array(T_IF))) { - $text = $this->options["ADD_MISSING_BRACES"] ? "{" : ""; - $this->_set_indent( + 1); - $this->_append_code((!$this->options["LINE_BEFORE_CURLY"] || $text == "" ? ' ' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf_indent()); - $if_pending++; - } - break; - - default: - $this->_append_code($text . ' ', false); - break; - } - } - return $this->_align_operators(); - } - - function _get_token($token) - { - if (is_string($token)) { - return array($token, $token); - } - else { - return $token; - } - } - - function _append_code($code = "", $trim = true) - { - if ($trim) { - $this->_code = rtrim($this->_code) . $code; - } - else { - $this->_code .= $code; - } - } - - function _get_crlf_indent($in_for = false, $increment = 0) - { - if ($in_for) { - $this->_for_idx++; - if ($this->_for_idx > 2) { - $this->_for_idx = 0; - } - } - if ($this->_for_idx == 0 || !$in_for) { - return $this->_get_crlf() . $this->_get_indent($increment); - } - else { - return $this->_get_space($this->options["SPACE_INSIDE_FOR"]); - } - } - - function _get_crlf($true = true) - { - return $true ? $this->_new_line : ""; - } - - function _get_space($true = true) - { - return $true ? " " : ""; - } - - function _get_indent($increment = 0) - { - return str_repeat($this->indent_char, ($this->_indent + $increment) * $this->indent_size); - } - - function _set_indent($increment) - { - $this->_indent += $increment; - if ($this->_indent < 0) { - $this->_indent = 0; - } - } - - function _is_token($token, $prev = false, $i = 99999, $idx = false) - { - if ($i == 99999) { - $i = $this->_pointer; - } - if ($prev) { - while (--$i >= 0 && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE); - } - else { - while (++$i < count($this->_tokens)-1 && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE); - } - if (is_string($this->_tokens[$i]) && $this->_tokens[$i] == $token) { - return $idx ? $i : true; - } - elseif (is_array($token) && is_array($this->_tokens[$i])) { - if (in_array($this->_tokens[$i][0], $token)) { - return $idx ? $i : true; - } - elseif ($prev && $this->_tokens[$i][0] == T_OPEN_TAG) { - return $idx ? $i : true; - } - } - return false; - } - - function _is_token_lf($prev = false, $i = 99999) - { - if ($i == 99999) { - $i = $this->_pointer; - } - if ($prev) { - $count = 0; - while (--$i >= 0 && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE && strpos($this->_tokens[$i][1], "\n") === false); - } - else { - $count = 1; - while (++$i < count($this->_tokens) && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE && strpos($this->_tokens[$i][1], "\n") === false); - } - if (is_array($this->_tokens[$i]) && preg_match_all("/\r?\n/", $this->_tokens[$i][1], $matches) > $count) { - return true; - } - return false; - } - - function _pad_operators($found) - { - global $quotes; - $pad_size = 0; - $result = ""; - $source = explode($this->_new_line, $found[0]); - $position = array(); - array_pop($source); - foreach ($source as $k => $line) { - if (preg_match("/'quote[0-9]+'/", $line)) { - preg_match_all("/'quote([0-9]+)'/", $line, $holders); - for ($i = 0; $i < count($holders[1]); $i++) { - $line = preg_replace("/" . $holders[0][$i] . "/", str_repeat(" ", strlen($quotes[0][$holders[1][$i]])), $line); - } - } - if (strpos($line, "=") > $pad_size) { - $pad_size = strpos($line, "="); - } - $position[$k] = strpos($line, "="); - } - foreach ($source as $k => $line) { - $padding = str_repeat(" ", $pad_size - $position[$k]); - $padded = preg_replace("/^([^=]+?)([\.\+\*\/\-\%]?=)(.*)$/", "\\1{$padding}\\2\\3" . $this->_new_line, $line); - $result .= $padded; - } - return $result; - } - - function _parse_block($blocks) - { - global $quotes; - $pad_chars = ""; - $holders = array(); - if ($this->options['ALIGN_ARRAY_ASSIGNMENT']) { - $pad_chars .= ","; - } - if ($this->options['ALIGN_VAR_ASSIGNMENT']) { - $pad_chars .= ";"; - } - $php_code = $blocks[0]; - preg_match_all("/\/\*.*?\*\/|\/\/[^\n]*|#[^\n]|([\"'])[^\\\\]*?(?:\\\\.[^\\\\]*?)*?\\1/s", $php_code, $quotes); - $quotes[0] = array_values(array_unique($quotes[0])); - for ($i = 0; $i < count($quotes[0]); $i++) { - $patterns[] = "/" . preg_quote($quotes[0][$i], '/') . "/"; - $holders[] = "'quote$i'"; - $quotes[0][$i] = str_replace('\\\\', '\\\\\\\\', $quotes[0][$i]); - } - if (count($holders) > 0) { - $php_code = preg_replace($patterns, $holders, $php_code); - } - $php_code = preg_replace_callback("/(?:.+=.+[" . $pad_chars . "]\r?\n){" . $this->block_size . ",}/", array($this, "_pad_operators"), $php_code); - for ($i = count($holders) - 1; $i >= 0; $i--) { - $holders[$i] = "/" . $holders[$i] . "/"; - } - if (count($holders) > 0) { - $php_code = preg_replace($holders, $quotes[0], $php_code); - } - return $php_code; - } - - function _align_operators() - { - if ($this->options['ALIGN_ARRAY_ASSIGNMENT'] || $this->options['ALIGN_VAR_ASSIGNMENT']) { - return preg_replace_callback("/<\?.*?\?" . ">/s", array($this, "_parse_block"), $this->_code); - } - else { - return $this->_code; - } - } -} -?> + + + + + + + + + + + + + + + + + + +
+ + + + + +

phpStylist by Mr. Milk

“because your code may not work, but it must look professional!!!”
+
+
+ + + + + +
+ + + + + + + + +
•••
+ + + + + + + + + + + + + + + + + + +
+ + + + + +
+ +
+
+
+ + + + + $v) { + if (isset($stylist->options[strtoupper($k)])) { + $stylist->options[strtoupper($k)] = $v != "off"; + } + } + if (isset($_REQUEST["indent_with_tabs"]) && $_REQUEST["indent_with_tabs"] != "off") { + $stylist->indent_char = "\t"; + } + if (isset($_REQUEST["indent_size"]) && $_REQUEST["indent_size"] != "" && $_REQUEST["indent_size"] != "null") { + $stylist->indent_size = $_REQUEST["indent_size"]; + } + if (strpos($code, ''; + } + $formatted = $stylist->formatCode($code); + $highlight = highlight_string($formatted, true); + if (isset($HTTP_POST_FILES['file']['tmp_name']) && file_exists($HTTP_POST_FILES['file']['tmp_name'])) { + unlink($HTTP_POST_FILES['file']['tmp_name']); + } + $nowrap = isset($_REQUEST["nowrap"]) && $_REQUEST["nowrap"] == 'on' ? "nowrap" : ""; + $tawrap = $nowrap == "" ? "" : "wrap='off' "; + $display = isset($_REQUEST["textarea"]) && $_REQUEST["textarea"] == 'on' ? "" : "style='display: none;'"; + $textarea = ""; + $display = isset($_REQUEST["textarea"]) && $_REQUEST["textarea"] == 'on' ? "style='display: none;'" : ""; + $frame = "$highlight"; + } + else { + $nowrap = isset($_REQUEST["nowrap"]) && $_REQUEST["nowrap"] == 'on' ? "nowrap" : ""; + $tawrap = $nowrap == "" ? "" : "wrap='off' "; + $textarea = ""; + $frame = ""; + } + if ($download) { + return isset($formatted) ? $formatted : ""; + } + else { + return $textarea . $frame; + } +} + +function isCommandLine() { + global $argv; + return ((is_array($argv) && count($argv)>0) || (is_array($_SERVER['argv']) && count($_SERVER['argv'])>0) || (is_array($GLOBALS['HTTP_SERVER_VARS']['argv']) && count($GLOBALS['HTTP_SERVER_VARS']['argv'])>0)); +} + +function processBatch() { + + global $argv; + if (is_array($argv)) { + $options = $argv; + } + elseif (is_array($_SERVER['argv'])) { + $options = $_SERVER['argv']; + } + elseif (is_array($GLOBALS['HTTP_SERVER_VARS']['argv'])) { + $options = $GLOBALS['HTTP_SERVER_VARS']['argv']; + } + foreach($options as $index=>$option) { + if($option=="--help") { + echo "phpStylist v0.8 by Mr. Milk\n"; + echo "usage: phpStylist source_file options\n\n"; + echo "Indentation and General Formatting:\n"; + echo "--indent_size n\n"; + echo "--indent_with_tabs\n"; + echo "--keep_redundant_lines\n"; + echo "--space_inside_parentheses\n"; + echo "--space_outside_parentheses\n"; + echo "--space_after_comma\n\n"; + echo "Operators:\n"; + echo "--space_around_assignment\n"; + echo "--align_var_assignment\n"; + echo "--space_around_comparison\n"; + echo "--space_around_arithmetic\n"; + echo "--space_around_logical\n"; + echo "--space_around_colon_question\n\n"; + echo "Functions, Classes and Objects:\n"; + echo "--line_before_function\n"; + echo "--line_before_curly_function\n"; + echo "--line_after_curly_function\n"; + echo "--space_around_obj_operator\n"; + echo "--space_around_double_colon\n\n"; + echo "Control Structures:\n"; + echo "--space_after_if\n"; + echo "--else_along_curly\n"; + echo "--line_before_curly\n"; + echo "--add_missing_braces\n"; + echo "--line_after_break\n"; + echo "--space_inside_for\n"; + echo "--indent_case\n\n"; + echo "Arrays and Concatenation:\n"; + echo "--line_before_array\n"; + echo "--vertical_array\n"; + echo "--align_array_assignment\n"; + echo "--space_around_double_arrow\n"; + echo "--vertical_concat\n"; + echo "--space_around_concat\n\n"; + echo "Comments:\n"; + echo "--line_before_comment_multi\n"; + echo "--line_after_comment_multi\n"; + echo "--line_before_comment\n"; + echo "--line_after_comment\n"; + exit; + } + if($index==1) { + $_REQUEST["file"] = $option; + } + elseif($option=="--indent_size") { + $_REQUEST["indent_size"] = $options[$index+1]; + } + elseif($index>0 && $options[$index-1]!="indent_size") { + $_REQUEST[substr($option, 2)] = "on"; + } + } + $_REQUEST["download"] = 2; + $str = parseFile(true); + echo $str; + exit; + +} + +function isDownload() +{ + return isset($_REQUEST["download"]) && $_REQUEST["download"] == '1'; +} + +function downloadFile() +{ + global $HTTP_POST_FILES; + $charset = isset($_REQUEST["iso8859"]) && $_REQUEST["iso8859"]!="off" ? "ISO-8859-1" : "UTF-8"; + $str = parseFile(true); + if ($str != "") { + $fn = isset($HTTP_POST_FILES['file']) && $HTTP_POST_FILES['file']['name'] != '' ? $HTTP_POST_FILES['file']['name'] : "phpStylist.php"; + header("Expires: Wed, 20 Jun 2007 00:00:00 GMT"); + header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); + header("Cache-Control: no-store, no-cache, must-revalidate"); + header("Cache-Control: post-check=0, pre-check=0", false); + header("Pragma: no-cache"); + header("Content-Type: text/plain; charset=".$charset); + header('Content-Disposition: attachment; filename="' . $fn . '";'); + header("Pragma: public"); + header("Expires: 0"); + header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); + header("Content-Transfer-Encoding: binary"); + } + echo $str; + exit; +} + +function loadFile($filename) +{ + $code = ""; + if(filesize($filename)>0) { + $f = fopen("$filename", "rb"); + $code = fread($f, filesize($filename)); + fclose($f); + } + return $code; +} + +function getSampleCode() +{ + $sample = 'PD9waHANCi8qKioNCiAqIHBocFN0eWxpc3QgZGVtb25zdHJhdGlvbiBjb2RlDQogKiBieSBNci4gTWlsayAoYWthIE1hcmNlbG8gTGVpdGUpDQogKiBtcm1pbGtAYW55c29mdC5jb20uYnINCiAqLw0KDQokd29ya19ob3VycyA9IDEyOw0KJHRpbWUgPSAkd29ya19ob3VycyoyOw0KJGRldmVsb3BlciA9ICRwb29yZ3V5Ow0KJGdvZCA9ICQkbXJnYXRlczsNCiR3YWdlID0gJHdvcmtfaG91cnMvMjsNCiRib251cyA9ICR3YWdlICogMC4wMDAwMTsNCiR3YXJuZWQgPSBmYWxzZTsNCiRwcm9wZXJ0aWVzID0gYXJyYXkoImdhdGVzIj0+YXJyYXkoImV2ZXJ5dGhpbmciPT4ieWVzIiwgImFueXRoaW5nIj0+InllcyIsICJhbnl0aGluZyBlbHNlIj0+InllcyIsICJ5b3UiPT4iY29tcGxldGVseSIpLCAiZGV2ZWxvcGVyIj0+YXJyYXkoImFuIG9sZCBjYXIiPT4iMiBpbnN0YWxsbWVudHMiLCAibW9kZGVkIGNvbXB1dGVyIj0+ImFsbW9zdCIsICJiZWVyIG11ZyI9PiJzdXJlISIpKTsNCiR3YXJuaW5nID0gIk1yLiAiLiRkZXZlbG9wZXIuIiwgeW91IG1hZGUgIi4gJGdvZC4gIiB1bmhhcHB5IHRvZGF5LiI7DQovLyBkZXZlbG9wZXIncyBtaXNlcmFibGUgbGlmZQ0KZm9yKCR5b3U9JGRldmVsb3BlcjskeW91PCRnb2Q7JHlvdSsrKSB7DQogIC8vIGxldCdzIHVzZSBoaXMgcG90ZW50aWFsDQogIGlmKCR3b3JrPD0kdGltZSo0KSB7DQogICAgJHdvcmsrKzsNCiAgICAkc2xlZXAtLTsNCiAgICAkZW5yaWNoR2F0ZXMoKTsNCiAgfQ0KICAvLyBjaGlja2VuaW5nIG91dCBodWg/DQogIGVsc2UgaWYoJHRpcmVkKSB7DQogICAgaWYoISR3YXJuZWQpIHsNCiAgICAgICRzY2FyZVRvRGVhdGgoJGRldmVsb3Blciwkd2FybmluZyk7DQogICAgICAkYm9udXMvPTI7DQogICAgfQ0KICAgIGVsc2UgaWYoJGJvbnVzID4gMCkNCiAgICAgICRib251cz0wOw0KICAgIGVsc2Ugew0KICAgICAgZmlyZSgkZGV2ZWxvcGVyKTsNCiAgICAgICRyZXBsYWNlbWVudCA9IGZpbmRJZGlvdCgpOw0KICAgICAgaGlyZSgkcmVwbGFjZW1lbnQsICR3YWdlLzIpOw0KICAgIH0NCiAgfQ0KICAvLyB0aGlzIGd1eSBjYW4gdGFrZSBpdA0KICBlbHNlaWYoJHdhZ2U+MCkNCiAgICAkd2FnZS0tOw0KICAvLyBoYXZlIHdlIHJlYWxseSBmb3VuZCB3aG8gd2UndmUgYmVlbiBsb29raW5nIGZvcj8NCiAgZWxzZSB7DQogICAgJGVucmljaEdhdGVzKCk7DQogICAgJGhlYWx0aF9sZXZlbCA9IGVtZXJnZW5jeVJvb20oJGRldmVsb3Blcik7DQogICAgLyogc2FuaXR5IGNoZWNrISAqLw0KICAgIHN3aXRjaCgkaGVhbHRoX2xldmVsKSB7DQogICAgICBjYXNlICJncmVhdCI6DQogICAgICAgIGZpcmUoJGRvY3Rvcik7DQogICAgICAgIHVuc2V0KCRwcm9wZXJ0aWVzWyJkZXZlbG9wZXIiXSk7DQogICAgICAgIHVuc2V0KCRwcm9wZXJ0aWVzWyJnYXRlcyJdWyJ5b3UiXSk7DQogICAgICAgIGN1Y2tvb3NOZXN0KCRkZXZlbG9wZXIpOw0KICAgICAgICAkcmVwbGFjZW1lbnQgPSBmaW5kSWRpb3QoKTsNCiAgICAgICAgaGlyZSgkcmVwbGFjZW1lbnQsICRtaW5fd2FnZSk7DQogICAgICAgIGJyZWFrOw0KICAgICAgY2FzZSAiZ29vZCI6DQogICAgICBjYXNlICJiYWQiOg0KICAgICAgICBiYWNrVG9Xb3JrKCk7DQogICAgICBicmVhazsNCiAgICAgIGNhc2UgInRlcm1pbmFsIjoNCiAgICAgICAgZmlyZSgkZGV2ZWxvcGVyKTsNCiAgICAgICAgJHJlcGxhY2VtZW50ID0gJGhhc19icm90aGVyID8gImJyb3RoZXIiIDogImZyaWVuZCI7DQogICAgICAgIGhpcmUoJHJlcGxhY2VtZW50LCAkbWluX3dhZ2UvMik7DQogICAgICBicmVhazsNCiAgICAgIGRlZmF1bHQ6DQogICAgfQ0KICB9DQp9DQovKioqDQogKiBGdW5jdGlvbnMNCiAqLw0KDQpmdW5jdGlvbiBlbWVyZ2VuY3lSb29tKCR3aG8pIHsNCiAgJGhlYWx0aHkgPWZhbHNlOw0KICAkaW50ZXJuID0gMDsNCiAgd2hpbGUoISRoZWFsdGh5ICYmICRoZWFsdGh5IT0iZW5kIikNCiAgICAkaGVhbHRoeSA9IHNjcnVic0ludGVybk9waW5pb25zKCR3aG8sICsrJGludGVybik7DQogICRpbnRlcm4gPSAwOw0KICB3aGlsZSghJGhlYWx0aHkgJiYgJGhlYWx0aHkhPSJlbmQiKQ0KICAgICRoZWFsdGh5ID0gZXJJbnRlcm5PcGluaW9ucygkd2hvLCAkaW50ZXJuKyspOw0KICByZXR1cm4gJGhlYWx0aHk7DQp9DQoNCmZ1bmN0aW9uIGhpcmUoJHdobywgJHdhZ2UpIHsNCiAgJGRldmVsb3BlciA9IG5ldyBTbGF2ZSgpOw0KICAkZGV2ZWxvcGVyLT5wZXJzb24gPSAkd2hvOw0KICAkZGV2ZWxvcGVyLT5zZXRTYWxhcnkoJHdhZ2UpOw0KICAkY29zdCA9IGhyUm91dGluZXM6OmdldEhpcmluZ0Nvc3QoKTsNCiAgJGRldmVsb3Blci0+c2V0RGVidCgkY29zdCk7DQp9DQoNCmZ1bmN0aW9uIGZpcmUoJHdobykgew0KICBjYWxsU2VjdXJpdHkoKTsNCiAgZ2V0SGltT3V0KCR3aG8pOw0KfQ0KDQo/Pg0K'; + return base64_decode($sample); +} + +class phpStylist +{ + var $indent_size = 2; + var $indent_char = " "; + var $block_size = 3; + var $options = array( + "SPACE_INSIDE_PARENTHESES" => false, + "SPACE_OUTSIDE_PARENTHESES" => false, + "SPACE_INSIDE_FOR" => false, + "SPACE_AFTER_IF" => false, + "SPACE_AFTER_COMMA" => false, + "SPACE_AROUND_OBJ_OPERATOR" => false, + "SPACE_AROUND_DOUBLE_COLON" => false, + "SPACE_AROUND_DOUBLE_ARROW" => false, + "SPACE_AROUND_ASSIGNMENT" => false, + "SPACE_AROUND_COMPARISON" => false, + "SPACE_AROUND_COLON_QUESTION" => false, + "SPACE_AROUND_LOGICAL" => false, + "SPACE_AROUND_ARITHMETIC" => false, + "SPACE_AROUND_CONCAT" => false, + "LINE_BEFORE_FUNCTION" => false, + "LINE_BEFORE_CURLY" => false, + "LINE_BEFORE_CURLY_FUNCTION" => false, + "LINE_AFTER_CURLY_FUNCTION" => false, + "LINE_BEFORE_ARRAY" => false, + "LINE_BEFORE_COMMENT" => false, + "LINE_AFTER_COMMENT" => false, + "LINE_BEFORE_COMMENT_MULTI" => false, + "LINE_AFTER_COMMENT_MULTI" => false, + "LINE_AFTER_BREAK" => false, + "VERTICAL_CONCAT" => false, + "VERTICAL_ARRAY" => false, + "INDENT_CASE" => false, + "KEEP_REDUNDANT_LINES" => false, + "ADD_MISSING_BRACES" => false, + "ALIGN_ARRAY_ASSIGNMENT" => false, + "ALIGN_VAR_ASSIGNMENT" => false, + "ELSE_ALONG_CURLY" => false, + ); + var $_new_line = "\n"; + var $_indent = 0; + var $_for_idx = 0; + var $_code = ""; + var $_log = false; + var $_pointer = 0; + var $_tokens = 0; + + function phpStylist() + { + define("S_OPEN_CURLY", "{"); + define("S_CLOSE_CURLY", "}"); + define("S_OPEN_BRACKET", "["); + define("S_CLOSE_BRACKET", "]"); + define("S_OPEN_PARENTH", "("); + define("S_CLOSE_PARENTH", ")"); + define("S_SEMI_COLON", ";"); + define("S_COMMA", ","); + define("S_CONCAT", "."); + define("S_COLON", ":"); + define("S_QUESTION", "?"); + define("S_EQUAL", "="); + define("S_EXCLAMATION", "!"); + define("S_IS_GREATER", ">"); + define("S_IS_SMALLER", "<"); + define("S_MINUS", "-"); + define("S_PLUS", "+"); + define("S_TIMES", "*"); + define("S_DIVIDE", "/"); + define("S_MODULUS", "%"); + define("S_REFERENCE", "&"); + define("S_QUOTE", '"'); + define("S_AT", "@"); + define("S_DOLLAR", "$"); + define("S_ABSTRACT", "abstract"); + define("S_INTERFACE", "interface"); + define("S_FINAL", "final"); + define("S_PUBLIC", "public"); + define("S_PRIVATE", "private"); + define("S_PROTECTED", "protected"); + if (defined("T_ML_COMMENT")) { + define("T_DOC_COMMENT", T_ML_COMMENT); + } + elseif (defined("T_DOC_COMMENT")) { + define("T_ML_COMMENT", T_DOC_COMMENT); + } + } + + function formatCode($source = '') + { + $in_for = false; + $in_break = false; + $in_function = false; + $in_concat = false; + $space_after = false; + $curly_open = false; + $array_level = 0; + $arr_parenth = array(); + $switch_level = 0; + $if_level = 0; + $if_pending = 0; + $else_pending = false; + $if_parenth = array(); + $switch_arr = array(); + $halt_parser = false; + $after = false; + $this->_tokens = token_get_all($source); + foreach ($this->_tokens as $index => $token) { + list($id, $text) = $this->_get_token($token); + $this->_pointer = $index; + if ($halt_parser && $id != S_QUOTE) { + $this->_append_code($text, false); + continue; + } + if (substr(phpversion(), 0, 1) == "4" && $id == T_STRING) { + switch (strtolower(trim($text))) { + case S_ABSTRACT: + case S_INTERFACE: + case S_FINAL: + case S_PUBLIC: + case S_PRIVATE: + case S_PROTECTED: + $id = T_PUBLIC; + default: + } + } + switch ($id) { + case S_OPEN_CURLY: + $condition = $in_function ? $this->options["LINE_BEFORE_CURLY_FUNCTION"] : $this->options["LINE_BEFORE_CURLY"]; + $this->_set_indent( + 1); + $this->_append_code((!$condition ? ' ' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf($this->options["LINE_AFTER_CURLY_FUNCTION"] && $in_function && !$this->_is_token_lf()) . $this->_get_crlf_indent()); + $in_function = false; + break; + + case S_CLOSE_CURLY: + if ($curly_open) { + $curly_open = false; + $this->_append_code(trim($text)); + } + else { + if (($in_break || $this->_is_token(S_CLOSE_CURLY)) && $switch_level > 0 && $switch_arr["l" . $switch_level] > 0 && $switch_arr["s" . $switch_level] == $this->_indent - 2) { + if ($this->options["INDENT_CASE"]) { + $this->_set_indent( - 1); + } + $switch_arr["l" . $switch_level]--; + $switch_arr["c" . $switch_level]--; + } + while ($switch_level > 0 && $switch_arr["l" . $switch_level] == 0 && $this->options["INDENT_CASE"]) { + unset($switch_arr["s" . $switch_level]); + unset($switch_arr["c" . $switch_level]); + unset($switch_arr["l" . $switch_level]); + $switch_level--; + if ($switch_level > 0) { + $switch_arr["l" . $switch_level]--; + } + $this->_set_indent( - 1); + $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); + $text = ''; + } + if ($text != '') { + $this->_set_indent( - 1); + $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); + } + } + break; + + case S_SEMI_COLON: + if (($in_break || $this->_is_token(S_CLOSE_CURLY)) && $switch_level > 0 && $switch_arr["l" . $switch_level] > 0 && $switch_arr["s" . $switch_level] == $this->_indent - 2) { + if ($this->options["INDENT_CASE"]) { + $this->_set_indent( - 1); + } + $switch_arr["l" . $switch_level]--; + $switch_arr["c" . $switch_level]--; + } + if ($in_concat) { + $this->_set_indent( - 1); + $in_concat = false; + } + $this->_append_code($text . $this->_get_crlf($this->options["LINE_AFTER_BREAK"] && $in_break) . $this->_get_crlf_indent($in_for)); + while ($if_pending > 0) { + $text = $this->options["ADD_MISSING_BRACES"] ? "}" : ""; + $this->_set_indent( - 1); + if ($text != "") { + $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); + } + else { + $this->_append_code($this->_get_crlf_indent()); + } + $if_pending--; + if ($this->_is_token(array(T_ELSE, T_ELSEIF))) { + break; + } + } + if ($this->_for_idx == 0) { + $in_for = false; + } + $in_break = false; + $in_function = false; + break; + + case S_OPEN_BRACKET: + case S_CLOSE_BRACKET: + $this->_append_code($text); + break; + + case S_OPEN_PARENTH: + if ($if_level > 0) { + $if_parenth["i" . $if_level]++; + } + if ($array_level > 0) { + $arr_parenth["i" . $array_level]++; + if ($this->_is_token(array(T_ARRAY), true) && !$this->_is_token(S_CLOSE_PARENTH)) { + $this->_set_indent( + 1); + $this->_append_code((!$this->options["LINE_BEFORE_ARRAY"] ? '' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf_indent()); + break; + } + } + $this->_append_code($this->_get_space($this->options["SPACE_OUTSIDE_PARENTHESES"] || $space_after) . $text . $this->_get_space($this->options["SPACE_INSIDE_PARENTHESES"])); + $space_after = false; + break; + + case S_CLOSE_PARENTH: + if ($array_level > 0) { + $arr_parenth["i" . $array_level]--; + if ($arr_parenth["i" . $array_level] == 0) { + $comma = substr(trim($this->_code), - 1) != "," && $this->options['VERTICAL_ARRAY'] ? "," : ""; + $this->_set_indent( - 1); + $this->_append_code($comma . $this->_get_crlf_indent() . $text . $this->_get_crlf_indent()); + unset($arr_parenth["i" . $array_level]); + $array_level--; + break; + } + } + $this->_append_code($this->_get_space($this->options["SPACE_INSIDE_PARENTHESES"]) . $text . $this->_get_space($this->options["SPACE_OUTSIDE_PARENTHESES"])); + if ($if_level > 0) { + $if_parenth["i" . $if_level]--; + if ($if_parenth["i" . $if_level] == 0) { + if (!$this->_is_token(S_OPEN_CURLY) && !$this->_is_token(S_SEMI_COLON)) { + $text = $this->options["ADD_MISSING_BRACES"] ? "{" : ""; + $this->_set_indent( + 1); + $this->_append_code((!$this->options["LINE_BEFORE_CURLY"] || $text == "" ? ' ' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf_indent()); + $if_pending++; + } + unset($if_parenth["i" . $if_level]); + $if_level--; + } + } + break; + + case S_COMMA: + if ($array_level > 0) { + $this->_append_code($text . $this->_get_crlf_indent($in_for)); + } + else { + $this->_append_code($text . $this->_get_space($this->options["SPACE_AFTER_COMMA"])); + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $this->options["SPACE_AFTER_COMMA"]; + } + } + break; + + case S_CONCAT: + $condition = $this->options["SPACE_AROUND_CONCAT"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + if ($this->options["VERTICAL_CONCAT"]) { + if (!$in_concat) { + $in_concat = true; + $this->_set_indent( + 1); + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_crlf_indent()); + } + else { + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + } + break; + + case T_CONCAT_EQUAL: + case T_DIV_EQUAL: + case T_MINUS_EQUAL: + case T_PLUS_EQUAL: + case T_MOD_EQUAL: + case T_MUL_EQUAL: + case T_AND_EQUAL: + case T_OR_EQUAL: + case T_XOR_EQUAL: + case T_SL_EQUAL: + case T_SR_EQUAL: + case S_EQUAL: + $condition = $this->options["SPACE_AROUND_ASSIGNMENT"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case T_IS_EQUAL: + case S_IS_GREATER: + case T_IS_GREATER_OR_EQUAL: + case T_IS_SMALLER_OR_EQUAL: + case S_IS_SMALLER: + case T_IS_IDENTICAL: + case T_IS_NOT_EQUAL: + case T_IS_NOT_IDENTICAL: + $condition = $this->options["SPACE_AROUND_COMPARISON"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case T_BOOLEAN_AND: + case T_BOOLEAN_OR: + case T_LOGICAL_AND: + case T_LOGICAL_OR: + case T_LOGICAL_XOR: + case T_SL: + case T_SR: + $condition = $this->options["SPACE_AROUND_LOGICAL"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case T_DOUBLE_COLON: + $condition = $this->options["SPACE_AROUND_DOUBLE_COLON"]; + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case S_COLON: + if ($switch_level > 0 && $switch_arr["l" . $switch_level] > 0 && $switch_arr["c" . $switch_level] < $switch_arr["l" . $switch_level]) { + $switch_arr["c" . $switch_level]++; + if ($this->options["INDENT_CASE"]) { + $this->_set_indent( + 1); + } + $this->_append_code($text . $this->_get_crlf_indent()); + } + else { + $condition = $this->options["SPACE_AROUND_COLON_QUESTION"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + } + if (($in_break || $this->_is_token(S_CLOSE_CURLY)) && $switch_level > 0 && $switch_arr["l" . $switch_level] > 0) { + if ($this->options["INDENT_CASE"]) { + $this->_set_indent( - 1); + } + $switch_arr["l" . $switch_level]--; + $switch_arr["c" . $switch_level]--; + } + break; + + case S_QUESTION: + $condition = $this->options["SPACE_AROUND_COLON_QUESTION"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case T_DOUBLE_ARROW: + $condition = $this->options["SPACE_AROUND_DOUBLE_ARROW"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case S_MINUS: + case S_PLUS: + case S_TIMES: + case S_DIVIDE: + case S_MODULUS: + $condition = $this->options["SPACE_AROUND_ARITHMETIC"]; + if ($this->_is_token(S_OPEN_PARENTH)) { + $space_after = $condition; + } + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case T_OBJECT_OPERATOR: + $condition = $this->options["SPACE_AROUND_OBJ_OPERATOR"]; + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($condition)); + break; + + case T_FOR: + $in_for = true; + case T_FOREACH: + case T_WHILE: + case T_DO: + case T_IF: + case T_SWITCH: + $space_after = $this->options["SPACE_AFTER_IF"]; + $this->_append_code($text . $this->_get_space($space_after), false); + if ($id == T_SWITCH) { + $switch_level++; + $switch_arr["s" . $switch_level] = $this->_indent; + $switch_arr["l" . $switch_level] = 0; + $switch_arr["c" . $switch_level] = 0; + } + $if_level++; + $if_parenth["i" . $if_level] = 0; + break; + + case T_FUNCTION: + case T_CLASS: + case T_INTERFACE: + case T_FINAL: + case T_ABSTRACT: + case T_PUBLIC: + case T_PROTECTED: + case T_PRIVATE: + if (!$in_function) { + if ($this->options["LINE_BEFORE_FUNCTION"]) { + $this->_append_code($this->_get_crlf($after || !$this->_is_token(array(T_COMMENT, T_ML_COMMENT, T_DOC_COMMENT), true)) . $this->_get_crlf_indent() . $text . $this->_get_space()); + $after = false; + } + else { + $this->_append_code($text . $this->_get_space(), false); + } + $in_function = true; + } + else { + $this->_append_code($this->_get_space() . $text . $this->_get_space()); + } + break; + + case T_START_HEREDOC: + $this->_append_code($this->_get_space($this->options["SPACE_AROUND_ASSIGNMENT"]) . $text); + break; + + case T_END_HEREDOC: + $this->_append_code($this->_get_crlf() . $text . $this->_get_crlf_indent()); + break; + + case T_COMMENT: + case T_ML_COMMENT: + case T_DOC_COMMENT: + if (is_array($this->_tokens[$index - 1])) { + $pad = $this->_tokens[$index - 1][1]; + $i = strlen($pad) - 1; + $k = ""; + while (substr($pad, $i, 1) != "\n" && substr($pad, $i, 1) != "\r" && $i >= 0) { + $k .= substr($pad, $i--, 1); + } + $text = preg_replace("/\r?\n$k/", $this->_get_crlf_indent(), $text); + } + $after = $id == (T_COMMENT && preg_match("/^\/\//", $text)) ? $this->options["LINE_AFTER_COMMENT"] : $this->options["LINE_AFTER_COMMENT_MULTI"]; + $before = $id == (T_COMMENT && preg_match("/^\/\//", $text)) ? $this->options["LINE_BEFORE_COMMENT"] : $this->options["LINE_BEFORE_COMMENT_MULTI"]; + if ($prev = $this->_is_token(S_OPEN_CURLY, true, $index, true)) { + $before = $before && !$this->_is_token_lf(true, $prev); + } + $after = $after && (!$this->_is_token_lf() || !$this->options["KEEP_REDUNDANT_LINES"]); + if ($before) { + $this->_append_code($this->_get_crlf(!$this->_is_token(array(T_COMMENT), true)) . $this->_get_crlf_indent() . trim($text) . $this->_get_crlf($after) . $this->_get_crlf_indent()); + } + else { + $this->_append_code(trim($text) . $this->_get_crlf($after) . $this->_get_crlf_indent(), false); + } + break; + + case T_DOLLAR_OPEN_CURLY_BRACES: + case T_CURLY_OPEN: + $curly_open = true; + case T_NUM_STRING: + case T_BAD_CHARACTER: + $this->_append_code(trim($text)); + break; + + case T_EXTENDS: + case T_IMPLEMENTS: + case T_INSTANCEOF: + case T_AS: + $this->_append_code($this->_get_space() . $text . $this->_get_space()); + break; + + case S_DOLLAR: + case S_REFERENCE: + case T_INC: + case T_DEC: + $this->_append_code(trim($text), false); + break; + + case T_WHITESPACE: + $redundant = ""; + if ($this->options["KEEP_REDUNDANT_LINES"]) { + $lines = preg_match_all("/\r?\n/", $text, $matches); + $lines = $lines > 0 ? $lines - 1 : 0; + $redundant = $lines > 0 ? str_repeat($this->_new_line, $lines) : ""; + $current_indent = $this->_get_indent(); + if (substr($this->_code, strlen($current_indent) * - 1) == $current_indent && $lines > 0) { + $redundant .= $current_indent; + } + } + if($this->_is_token(array(T_OPEN_TAG), true)) { + $this->_append_code($text, false); + } + else { + $this->_append_code($redundant . trim($text), false); + } + break; + + case S_QUOTE: + $this->_append_code($text, false); + $halt_parser = !$halt_parser; + break; + + case T_ARRAY: + if ($this->options["VERTICAL_ARRAY"]) { + $next = $this->_is_token(array(T_DOUBLE_ARROW), true); + $next |= $this->_is_token(S_EQUAL, true); + $next |= $array_level>0; + if ($next) { + $next = $this->_is_token(S_OPEN_PARENTH, false, $index, true); + if ($next) { + $next = !$this->_is_token(S_CLOSE_PARENTH, false, $next); + } + } + if ($next) { + $array_level++; + $arr_parenth["i" . $array_level] = 0; + } + } + case T_STRING: + case T_CONSTANT_ENCAPSED_STRING: + case T_ENCAPSED_AND_WHITESPACE: + case T_VARIABLE: + case T_CHARACTER: + case T_STRING_VARNAME: + case S_AT: + case S_EXCLAMATION: + case T_OPEN_TAG: + case T_OPEN_TAG_WITH_ECHO: + $this->_append_code($text, false); + break; + + case T_CLOSE_TAG: + $this->_append_code($text, !$this->_is_token_lf(true)); + break; + + case T_CASE: + case T_DEFAULT: + if ($switch_arr["l" . $switch_level] > 0 && $this->options["INDENT_CASE"]) { + $switch_arr["c" . $switch_level]--; + $this->_set_indent( - 1); + $this->_append_code($this->_get_crlf_indent() . $text . $this->_get_space()); + } + else { + $switch_arr["l" . $switch_level]++; + $this->_append_code($text . $this->_get_space(), false); + } + break; + + case T_INLINE_HTML: + $this->_append_code($text, false); + break; + + case T_BREAK: + case T_CONTINUE: + $in_break = true; + case T_VAR: + case T_GLOBAL: + case T_STATIC: + case T_CONST: + case T_ECHO: + case T_PRINT: + case T_INCLUDE: + case T_INCLUDE_ONCE: + case T_REQUIRE: + case T_REQUIRE_ONCE: + case T_DECLARE: + case T_EMPTY: + case T_ISSET: + case T_UNSET: + case T_DNUMBER: + case T_LNUMBER: + case T_RETURN: + case T_EVAL: + case T_EXIT: + case T_LIST: + case T_CLONE: + case T_NEW: + case T_FUNC_C: + case T_CLASS_C: + case T_FILE: + case T_LINE: + $this->_append_code($text . $this->_get_space(), false); + break; + + case T_ELSEIF: + $space_after = $this->options["SPACE_AFTER_IF"]; + $added_braces = $this->_is_token(S_SEMI_COLON, true) && $this->options["ADD_MISSING_BRACES"]; + $condition = $this->options['ELSE_ALONG_CURLY'] && ($this->_is_token(S_CLOSE_CURLY, true) || $added_braces); + $this->_append_code($this->_get_space($condition) . $text . $this->_get_space($space_after), $condition); + $if_level++; + $if_parenth["i" . $if_level] = 0; + break; + + case T_ELSE: + $added_braces = $this->_is_token(S_SEMI_COLON, true) && $this->options["ADD_MISSING_BRACES"]; + $condition = $this->options['ELSE_ALONG_CURLY'] && ($this->_is_token(S_CLOSE_CURLY, true) || $added_braces); + $this->_append_code($this->_get_space($condition) . $text, $condition); + if (!$this->_is_token(S_OPEN_CURLY) && !$this->_is_token(array(T_IF))) { + $text = $this->options["ADD_MISSING_BRACES"] ? "{" : ""; + $this->_set_indent( + 1); + $this->_append_code((!$this->options["LINE_BEFORE_CURLY"] || $text == "" ? ' ' : $this->_get_crlf_indent(false, - 1)) . $text . $this->_get_crlf_indent()); + $if_pending++; + } + break; + + default: + $this->_append_code($text . ' ', false); + break; + } + } + return $this->_align_operators(); + } + + function _get_token($token) + { + if (is_string($token)) { + return array($token, $token); + } + else { + return $token; + } + } + + function _append_code($code = "", $trim = true) + { + if ($trim) { + $this->_code = rtrim($this->_code) . $code; + } + else { + $this->_code .= $code; + } + } + + function _get_crlf_indent($in_for = false, $increment = 0) + { + if ($in_for) { + $this->_for_idx++; + if ($this->_for_idx > 2) { + $this->_for_idx = 0; + } + } + if ($this->_for_idx == 0 || !$in_for) { + return $this->_get_crlf() . $this->_get_indent($increment); + } + else { + return $this->_get_space($this->options["SPACE_INSIDE_FOR"]); + } + } + + function _get_crlf($true = true) + { + return $true ? $this->_new_line : ""; + } + + function _get_space($true = true) + { + return $true ? " " : ""; + } + + function _get_indent($increment = 0) + { + return str_repeat($this->indent_char, ($this->_indent + $increment) * $this->indent_size); + } + + function _set_indent($increment) + { + $this->_indent += $increment; + if ($this->_indent < 0) { + $this->_indent = 0; + } + } + + function _is_token($token, $prev = false, $i = 99999, $idx = false) + { + if ($i == 99999) { + $i = $this->_pointer; + } + if ($prev) { + while (--$i >= 0 && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE); + } + else { + while (++$i < count($this->_tokens)-1 && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE); + } + if (is_string($this->_tokens[$i]) && $this->_tokens[$i] == $token) { + return $idx ? $i : true; + } + elseif (is_array($token) && is_array($this->_tokens[$i])) { + if (in_array($this->_tokens[$i][0], $token)) { + return $idx ? $i : true; + } + elseif ($prev && $this->_tokens[$i][0] == T_OPEN_TAG) { + return $idx ? $i : true; + } + } + return false; + } + + function _is_token_lf($prev = false, $i = 99999) + { + if ($i == 99999) { + $i = $this->_pointer; + } + if ($prev) { + $count = 0; + while (--$i >= 0 && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE && strpos($this->_tokens[$i][1], "\n") === false); + } + else { + $count = 1; + while (++$i < count($this->_tokens) && is_array($this->_tokens[$i]) && $this->_tokens[$i][0] == T_WHITESPACE && strpos($this->_tokens[$i][1], "\n") === false); + } + if (is_array($this->_tokens[$i]) && preg_match_all("/\r?\n/", $this->_tokens[$i][1], $matches) > $count) { + return true; + } + return false; + } + + function _pad_operators($found) + { + global $quotes; + $pad_size = 0; + $result = ""; + $source = explode($this->_new_line, $found[0]); + $position = array(); + array_pop($source); + foreach ($source as $k => $line) { + if (preg_match("/'quote[0-9]+'/", $line)) { + preg_match_all("/'quote([0-9]+)'/", $line, $holders); + for ($i = 0; $i < count($holders[1]); $i++) { + $line = preg_replace("/" . $holders[0][$i] . "/", str_repeat(" ", strlen($quotes[0][$holders[1][$i]])), $line); + } + } + if (strpos($line, "=") > $pad_size) { + $pad_size = strpos($line, "="); + } + $position[$k] = strpos($line, "="); + } + foreach ($source as $k => $line) { + $padding = str_repeat(" ", $pad_size - $position[$k]); + $padded = preg_replace("/^([^=]+?)([\.\+\*\/\-\%]?=)(.*)$/", "\\1{$padding}\\2\\3" . $this->_new_line, $line); + $result .= $padded; + } + return $result; + } + + function _parse_block($blocks) + { + global $quotes; + $pad_chars = ""; + $holders = array(); + if ($this->options['ALIGN_ARRAY_ASSIGNMENT']) { + $pad_chars .= ","; + } + if ($this->options['ALIGN_VAR_ASSIGNMENT']) { + $pad_chars .= ";"; + } + $php_code = $blocks[0]; + preg_match_all("/\/\*.*?\*\/|\/\/[^\n]*|#[^\n]|([\"'])[^\\\\]*?(?:\\\\.[^\\\\]*?)*?\\1/s", $php_code, $quotes); + $quotes[0] = array_values(array_unique($quotes[0])); + for ($i = 0; $i < count($quotes[0]); $i++) { + $patterns[] = "/" . preg_quote($quotes[0][$i], '/') . "/"; + $holders[] = "'quote$i'"; + $quotes[0][$i] = str_replace('\\\\', '\\\\\\\\', $quotes[0][$i]); + } + if (count($holders) > 0) { + $php_code = preg_replace($patterns, $holders, $php_code); + } + $php_code = preg_replace_callback("/(?:.+=.+[" . $pad_chars . "]\r?\n){" . $this->block_size . ",}/", array($this, "_pad_operators"), $php_code); + for ($i = count($holders) - 1; $i >= 0; $i--) { + $holders[$i] = "/" . $holders[$i] . "/"; + } + if (count($holders) > 0) { + $php_code = preg_replace($holders, $quotes[0], $php_code); + } + return $php_code; + } + + function _align_operators() + { + if ($this->options['ALIGN_ARRAY_ASSIGNMENT'] || $this->options['ALIGN_VAR_ASSIGNMENT']) { + return preg_replace_callback("/<\?.*?\?" . ">/s", array($this, "_parse_block"), $this->_code); + } + else { + return $this->_code; + } + } +} +?> diff --git a/indenters/phpStylist.txt b/indenters/phpStylist.txt index ee3f7a2..55b3cc5 100755 --- a/indenters/phpStylist.txt +++ b/indenters/phpStylist.txt @@ -1,161 +1,161 @@ -/***************************************************************************** - * The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE - * Version 1.1 ("License"); You may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * http://opensource.org/licenses/rpl.php. Software distributed under the - * License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, - * either express or implied. - * - * @product: phpStylist - * @author: Mr. Milk (aka Marcelo Leite) - * @email: mrmilk@anysoft.com.br - * @version: 1.0 - * @date: 2007-11-22 - * - *****************************************************************************/ - -CONTENTS --------- -Below you will find instructions on how to use phpStylist: - -- Web Server Usage -- Command Line Mode -- PSPad Integration -- Command Line Options - -============================================================================== - -WEB SERVER USAGE ----------------- - -phpStylist runs as a single file on you web server. You don't need any special -module or library. It has been tested with php from 4.4.2 to 5.2.2. - -Save phpStylist.php to your web server folder and start it from the browser. -For example, http://localhost/phpStylist.php. - -On the left menu, you will see more than 30 options that you can use to adjust -the application to your coding style. All options are sticky based on cookies. -Select one of your files or click on the button "Use Sample" and try each -option to see what it is all about. - -If you want to type in or paste code directly into the app, first click on the -option "SHOW EDITABLE TEXT BOX". The right panel will then become editable. - -COMMAND LINE MODE ------------------ - -You can also use phpStylist through the command line to automatically format -local files. You will still need php installed. - -First, find the exact location of you php.exe and the exact location where you -placed phpStylist. Let's say they are in -"C:\Program Files\PHP\php.exe" and "C:\Program Files\Apache\htdocs\phpStylist.php" - -You then must run php passing phpStylist.php along with the -f argument. At -this point the command line would be like this: -"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" - -But that's not all. You also need to add the full path of the source file you -want to format and the options you want to be used. For each of those 34 options -you see on the web server usage, there will be an option on the command line. -You can use the "--help" option to see a list of options. - -Use the --help switch to see all options (full list at the end of this file): -"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" --help - -The first phpStylist paramenter MUST be the source file name you want to -format. After the file name, you can add as many options as you want, in any -order. It can get pretty big, but it works. Another example: -"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" -"C:\Program Files\Apache\htdocs\source_file_to_format.php" --space_after_if ---indent_case --indent_size 4 --space_after_comma --line_before_function - -Output will be to STDOUT, so if you want to send it to a file, append "> filename" -at the end of the command line. In our above example: -"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" -"C:\Program Files\Apache\htdocs\source_file_to_format.php" --space_after_if ---indent_case --indent_size 4 --line_before_comment_multi --vertical_array ---line_before_function > "C:\Code Library\Formatted Code\destination_file.php" - -Don't forget the quotes around long file names. - -PSPAD INTEGRATION ------------------ -PSPad is a popular, powerful and free code editor. It can be extended through -scripting. I have also created a script that will automatically format php code -from inside the editor. In fact, the script runs phpStylist in command line -mode, sending the current editor file name. It then get the results and replace -the code in the editor. - -Save the file phpStylist.js to your PSPad javascript folder, usually -C:\Program Files\PSPad\Script\JScript. - -Open the phpStylist.js file and edit the first two variables: - php_path = "C:\\Program Files\\xampp\\php\\php.exe"; - stylist_path = "C:\\Program Files\\xampp\\htdocs\\phpStylist.php"; - -Replace the paths with the appropriate for your system. Don't forget to double -backslashes. - -You will also see all the options, some are commented out, some are active (the -current setup is the one I use). Simply comment out or uncomment the options -you want to use and save the file. Restart PSPad or use the the option Scripts, -Recompile Scripts. - -Now, just open a php file on the editor and select phpStylist from the menu. -That's all. You can also select some block of code before using the option so -you can reformat only that portion. Of course, try to select a full block such -as a function. - -If you don't use PSPad or don't want the integration you don't need the file -phpStylist.js. - -FULL LIST OF OPTIONS --------------------- - -Indentation and General Formatting: ---indent_size n n characters per indentation level ---indent_with_tabs Indent with tabs instead of spaces ---keep_redundant_lines Keep redundant lines ---space_inside_parentheses Space inside parentheses ---space_outside_parentheses Space outside parentheses ---space_after_comma Space after comma - -Operators: ---space_around_assignment Space around = .= += -= *= /= <<< ---align_var_assignment Align block +3 assigned variables ---space_around_comparison Space around == === != !== > >= < <= ---space_around_arithmetic Space around - + * / % ---space_around_logical Space around && || AND OR XOR << >> ---space_around_colon_question Space around ? : - -Functions, Classes and Objects: ---line_before_function Blank line before keyword ---line_before_curly_function Opening bracket on next line ---line_after_curly_function Blank line below opening bracket ---space_around_obj_operator Space around -> ---space_around_double_colon Space around :: - -Control Structures: ---space_after_if Space between keyword and opening parentheses ---else_along_curly Keep else/elseif along with bracket ---line_before_curly Opening bracket on next line ---add_missing_braces Add missing brackets to single line structs ---line_after_break Blank line after case "break" ---space_inside_for Space between "for" elements ---indent_case Extra indent for "Case" and "Default" - -Arrays and Concatenation: ---line_before_array Opening array parentheses on next line ---vertical_array Non-empty arrays as vertical block ---align_array_assignment Align block +3 assigned array elements ---space_around_double_arrow Space around double arrow ---vertical_concat Concatenation as vertical block ---space_around_concat Space around concat elements - -Comments: ---line_before_comment_multi Blank line before multi-line comment (/*) ---line_after_comment_multi Blank line after multi-line comment (/*) ---line_before_comment Blank line before single line comments (//) ---line_after_comment Blank line after single line comments (//) +/***************************************************************************** + * The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE + * Version 1.1 ("License"); You may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * http://opensource.org/licenses/rpl.php. Software distributed under the + * License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, + * either express or implied. + * + * @product: phpStylist + * @author: Mr. Milk (aka Marcelo Leite) + * @email: mrmilk@anysoft.com.br + * @version: 1.0 + * @date: 2007-11-22 + * + *****************************************************************************/ + +CONTENTS +-------- +Below you will find instructions on how to use phpStylist: + +- Web Server Usage +- Command Line Mode +- PSPad Integration +- Command Line Options + +============================================================================== + +WEB SERVER USAGE +---------------- + +phpStylist runs as a single file on you web server. You don't need any special +module or library. It has been tested with php from 4.4.2 to 5.2.2. + +Save phpStylist.php to your web server folder and start it from the browser. +For example, http://localhost/phpStylist.php. + +On the left menu, you will see more than 30 options that you can use to adjust +the application to your coding style. All options are sticky based on cookies. +Select one of your files or click on the button "Use Sample" and try each +option to see what it is all about. + +If you want to type in or paste code directly into the app, first click on the +option "SHOW EDITABLE TEXT BOX". The right panel will then become editable. + +COMMAND LINE MODE +----------------- + +You can also use phpStylist through the command line to automatically format +local files. You will still need php installed. + +First, find the exact location of you php.exe and the exact location where you +placed phpStylist. Let's say they are in +"C:\Program Files\PHP\php.exe" and "C:\Program Files\Apache\htdocs\phpStylist.php" + +You then must run php passing phpStylist.php along with the -f argument. At +this point the command line would be like this: +"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" + +But that's not all. You also need to add the full path of the source file you +want to format and the options you want to be used. For each of those 34 options +you see on the web server usage, there will be an option on the command line. +You can use the "--help" option to see a list of options. + +Use the --help switch to see all options (full list at the end of this file): +"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" --help + +The first phpStylist paramenter MUST be the source file name you want to +format. After the file name, you can add as many options as you want, in any +order. It can get pretty big, but it works. Another example: +"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" +"C:\Program Files\Apache\htdocs\source_file_to_format.php" --space_after_if +--indent_case --indent_size 4 --space_after_comma --line_before_function + +Output will be to STDOUT, so if you want to send it to a file, append "> filename" +at the end of the command line. In our above example: +"C:\Program Files\PHP\php.exe" -f "C:\Program Files\Apache\htdocs\phpStylist.php" +"C:\Program Files\Apache\htdocs\source_file_to_format.php" --space_after_if +--indent_case --indent_size 4 --line_before_comment_multi --vertical_array +--line_before_function > "C:\Code Library\Formatted Code\destination_file.php" + +Don't forget the quotes around long file names. + +PSPAD INTEGRATION +----------------- +PSPad is a popular, powerful and free code editor. It can be extended through +scripting. I have also created a script that will automatically format php code +from inside the editor. In fact, the script runs phpStylist in command line +mode, sending the current editor file name. It then get the results and replace +the code in the editor. + +Save the file phpStylist.js to your PSPad javascript folder, usually +C:\Program Files\PSPad\Script\JScript. + +Open the phpStylist.js file and edit the first two variables: + php_path = "C:\\Program Files\\xampp\\php\\php.exe"; + stylist_path = "C:\\Program Files\\xampp\\htdocs\\phpStylist.php"; + +Replace the paths with the appropriate for your system. Don't forget to double +backslashes. + +You will also see all the options, some are commented out, some are active (the +current setup is the one I use). Simply comment out or uncomment the options +you want to use and save the file. Restart PSPad or use the the option Scripts, +Recompile Scripts. + +Now, just open a php file on the editor and select phpStylist from the menu. +That's all. You can also select some block of code before using the option so +you can reformat only that portion. Of course, try to select a full block such +as a function. + +If you don't use PSPad or don't want the integration you don't need the file +phpStylist.js. + +FULL LIST OF OPTIONS +-------------------- + +Indentation and General Formatting: +--indent_size n n characters per indentation level +--indent_with_tabs Indent with tabs instead of spaces +--keep_redundant_lines Keep redundant lines +--space_inside_parentheses Space inside parentheses +--space_outside_parentheses Space outside parentheses +--space_after_comma Space after comma + +Operators: +--space_around_assignment Space around = .= += -= *= /= <<< +--align_var_assignment Align block +3 assigned variables +--space_around_comparison Space around == === != !== > >= < <= +--space_around_arithmetic Space around - + * / % +--space_around_logical Space around && || AND OR XOR << >> +--space_around_colon_question Space around ? : + +Functions, Classes and Objects: +--line_before_function Blank line before keyword +--line_before_curly_function Opening bracket on next line +--line_after_curly_function Blank line below opening bracket +--space_around_obj_operator Space around -> +--space_around_double_colon Space around :: + +Control Structures: +--space_after_if Space between keyword and opening parentheses +--else_along_curly Keep else/elseif along with bracket +--line_before_curly Opening bracket on next line +--add_missing_braces Add missing brackets to single line structs +--line_after_break Blank line after case "break" +--space_inside_for Space between "for" elements +--indent_case Extra indent for "Case" and "Default" + +Arrays and Concatenation: +--line_before_array Opening array parentheses on next line +--vertical_array Non-empty arrays as vertical block +--align_array_assignment Align block +3 assigned array elements +--space_around_double_arrow Space around double arrow +--vertical_concat Concatenation as vertical block +--space_around_concat Space around concat elements + +Comments: +--line_before_comment_multi Blank line before multi-line comment (/*) +--line_after_comment_multi Blank line after multi-line comment (/*) +--line_before_comment Blank line before single line comments (//) +--line_after_comment Blank line after single line comments (//) diff --git a/indenters/pindent.txt b/indenters/pindent.txt index 1a04ba6..55ddefb 100755 --- a/indenters/pindent.txt +++ b/indenters/pindent.txt @@ -1,75 +1,75 @@ -# This file contains a class and a main program that perform three -# related (though complimentary) formatting operations on Python -# programs. When called as "pindent -c", it takes a valid Python -# program as input and outputs a version augmented with block-closing -# comments. When called as "pindent -d", it assumes its input is a -# Python program with block-closing comments and outputs a commentless -# version. When called as "pindent -r" it assumes its input is a -# Python program with block-closing comments but with its indentation -# messed up, and outputs a properly indented version. - -# A "block-closing comment" is a comment of the form '# end ' -# where is the keyword that opened the block. If the -# opening keyword is 'def' or 'class', the function or class name may -# be repeated in the block-closing comment as well. Here is an -# example of a program fully augmented with block-closing comments: - -# def foobar(a, b): -# if a == b: -# a = a+1 -# elif a < b: -# b = b-1 -# if b > a: a = a-1 -# # end if -# else: -# print 'oops!' -# # end if -# # end def foobar - -# Note that only the last part of an if...elif...else... block needs a -# block-closing comment; the same is true for other compound -# statements (e.g. try...except). Also note that "short-form" blocks -# like the second 'if' in the example must be closed as well; -# otherwise the 'else' in the example would be ambiguous (remember -# that indentation is not significant when interpreting block-closing -# comments). - -# The operations are idempotent (i.e. applied to their own output -# they yield an identical result). Running first "pindent -c" and -# then "pindent -r" on a valid Python program produces a program that -# is semantically identical to the input (though its indentation may -# be different). Running "pindent -e" on that output produces a -# program that only differs from the original in indentation. - -# Other options: -# -s stepsize: set the indentation step size (default 8) -# -t tabsize : set the number of spaces a tab character is worth (default 8) -# -e : expand TABs into spaces -# file ... : input file(s) (default standard input) -# The results always go to standard output - -# Caveats: -# - comments ending in a backslash will be mistaken for continued lines -# - continuations using backslash are always left unchanged -# - continuations inside parentheses are not extra indented by -r -# but must be indented for -c to work correctly (this breaks -# idempotency!) -# - continued lines inside triple-quoted strings are totally garbled - -# Secret feature: -# - On input, a block may also be closed with an "end statement" -- -# this is a block-closing comment without the '#' sign. - -# Possible improvements: -# - check syntax based on transitions in 'next' table -# - better error reporting -# - better error recovery -# - check identifier after class/def - -# The following wishes need a more complete tokenization of the source: -# - Don't get fooled by comments ending in backslash -# - reindent continuation lines indicated by backslash -# - handle continuation lines inside parentheses/braces/brackets -# - handle triple quoted strings spanning lines -# - realign comments -# - optionally do much more thorough reformatting, a la C indent +# This file contains a class and a main program that perform three +# related (though complimentary) formatting operations on Python +# programs. When called as "pindent -c", it takes a valid Python +# program as input and outputs a version augmented with block-closing +# comments. When called as "pindent -d", it assumes its input is a +# Python program with block-closing comments and outputs a commentless +# version. When called as "pindent -r" it assumes its input is a +# Python program with block-closing comments but with its indentation +# messed up, and outputs a properly indented version. + +# A "block-closing comment" is a comment of the form '# end ' +# where is the keyword that opened the block. If the +# opening keyword is 'def' or 'class', the function or class name may +# be repeated in the block-closing comment as well. Here is an +# example of a program fully augmented with block-closing comments: + +# def foobar(a, b): +# if a == b: +# a = a+1 +# elif a < b: +# b = b-1 +# if b > a: a = a-1 +# # end if +# else: +# print 'oops!' +# # end if +# # end def foobar + +# Note that only the last part of an if...elif...else... block needs a +# block-closing comment; the same is true for other compound +# statements (e.g. try...except). Also note that "short-form" blocks +# like the second 'if' in the example must be closed as well; +# otherwise the 'else' in the example would be ambiguous (remember +# that indentation is not significant when interpreting block-closing +# comments). + +# The operations are idempotent (i.e. applied to their own output +# they yield an identical result). Running first "pindent -c" and +# then "pindent -r" on a valid Python program produces a program that +# is semantically identical to the input (though its indentation may +# be different). Running "pindent -e" on that output produces a +# program that only differs from the original in indentation. + +# Other options: +# -s stepsize: set the indentation step size (default 8) +# -t tabsize : set the number of spaces a tab character is worth (default 8) +# -e : expand TABs into spaces +# file ... : input file(s) (default standard input) +# The results always go to standard output + +# Caveats: +# - comments ending in a backslash will be mistaken for continued lines +# - continuations using backslash are always left unchanged +# - continuations inside parentheses are not extra indented by -r +# but must be indented for -c to work correctly (this breaks +# idempotency!) +# - continued lines inside triple-quoted strings are totally garbled + +# Secret feature: +# - On input, a block may also be closed with an "end statement" -- +# this is a block-closing comment without the '#' sign. + +# Possible improvements: +# - check syntax based on transitions in 'next' table +# - better error reporting +# - better error recovery +# - check identifier after class/def + +# The following wishes need a more complete tokenization of the source: +# - Don't get fooled by comments ending in backslash +# - reindent continuation lines indicated by backslash +# - handle continuation lines inside parentheses/braces/brackets +# - handle triple quoted strings spanning lines +# - realign comments +# - optionally do much more thorough reformatting, a la C indent diff --git a/indenters/uigui_CblBeau.ini b/indenters/uigui_CblBeau.ini index 03b82f1..069f429 100755 --- a/indenters/uigui_CblBeau.ini +++ b/indenters/uigui_CblBeau.ini @@ -1,543 +1,543 @@ -[header] -categories="Cobol Beautifier|Renumbering|Generic Reporting|Cobol Dialects|Extra Features|Copy Libraries|Parser Messages|Length and Offset|PrettyPrint Basics|PrettyPrint Indentation|Output Comments|Line Identification" -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.cbl|*.cob -indenterFileName=cbl-beau.exe -indenterName=Cobol Beautifier (Cobol) -inputFileName=indentinput -inputFileParameter=" " -manual=http://www.siber.com/sct/tools/cbl-beau.html -outputFileName=indentoutput -outputFileParameter="-gen-file=" -parameterOrder=ipo -showHelpParameter="-help" -stringparaminquotes=false -useCfgFileParameter= -version=1.0 - - -[Add value clause] -Category=0 -Description="Add VALUE clauses to WS data items that have no VALUE clause" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-add-value-clause|" - -[Norm dd levels] -Category=0 -Description="Normalize data item level numbers" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-norm-dd-levels|" - -[Add end stmts] -Category=0 -Description="Add END-IF, END-SEARCH, END-EVALUATE, END-PERFORM closing statements" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-add-end-stmts|" - -[Section name fmt] -CallName="-section-name-fmt=" -Category=1 -Description="Section name format, smth like T1%dT2%sT3" -EditorType=string -Enabled=false -ValueDefault="T1%dT2%sT3" - -[Section name start] -CallName="-section-name-start=" -Category=1 -Description="Start value for number in section name" -EditorType=numeric -Enabled=false -MaxVal=9999 -MinVal=0 -ValueDefault=1 - -[Section name step] -CallName="-section-name-step=" -Category=1 -Description="Step for number in section name" -EditorType=numeric -Enabled=false -MaxVal=9999 -MinVal=0 -ValueDefault=1 - -[Para name fmt] -CallName="-para-name-fmt=" -Category=1 -Description="Paragraph name format, smth like T1%dT2%sT3" -EditorType=string -Enabled=false -ValueDefault="T1%dT2%sT3" - -[Para name start] -CallName="-para-name-start=" -Category=1 -Description="Start value for counter in paragraph name" -EditorType=numeric -Enabled=false -MaxVal=9999 -MinVal=0 -ValueDefault=1 - -[Para name step] -CallName="-para-name-step=" -Category=1 -Description="Step for counter in paragraph name" -EditorType=numeric -Enabled=false -MaxVal=9999 -MinVal=0 -ValueDefault=1 - -[Data name fmt] -CallName="-data-name-fmt=" -Category=1 -Description="Data name format, smth like T1%dT2%sT3" -EditorType=string -Enabled=false -ValueDefault="T1%dT2%sT3" - -[Data name start] -CallName="-data-name-start=" -Category=1 -Description="Start value for number in data name" -EditorType=numeric -Enabled=false -MaxVal=9999 -MinVal=0 -ValueDefault=1 - -[Data name step] -CallName="-data-name-step=" -Category=1 -Description="Step for number in data name" -EditorType=numeric -Enabled=false -MaxVal=9999 -MinVal=0 -ValueDefault=1 - -[Conv warn] -Category=2 -Description="Warn about transformation problems" -ValueDefault=1 -Enabled=true -EditorType=boolean -TrueFalse="-conv-warn|-no-conv-warn" - -[Conv info] -Category=2 -Description="Inform about every transformation performed" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-conv-info|-no-conv-info" - -[Conv list] -Category=2 -Description="List all transformations applied" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-conv-list|-no-conv-list" - -[Find only] -Category=2 -Description="Only list potential transformations, do not execute them" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-find-only|-no-find-only" - -[Silent] -Category=2 -Description="Do not print short summary of the conversion" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-silent|-no-silent" - -[Primary Cobol dialect] -Category=3 -Description="Set the primary Cobol dialect" -ValueDefault=1 -Enabled=false -EditorType=multiple -Choices="-lang=ansi74|-lang=ansi85|-lang=osvs|-lang=vsii|-lang=saa|-lang=xopen|-lang=mf|-lang=ms|-lang=rm|-lang=rm85|-lang=dosvs|-lang=univac|-lang=wang|-lang=fsc|-lang=net|-lang=fscnet|-lang=icobol|-lang=acu|-lang=dml|-lang=idms" -ChoicesReadable="Ansi 74|Ansi 85|OSVS|VSII|SAA|XOpen|MF|MS|RM|RM 85|DOSVS|UniVAC|Wang|FSC|Net|FSCnet|iCobol|ACU|DML|IDMS" - -[Secondary Cobol dialect] -Category=3 -Description="Set the secondary Cobol dialect" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-lang2=ansi74|-lang2=ansi85|-lang2=osvs|-lang2=vsii|-lang2=saa|-lang2=xopen|-lang2=mf|-lang2=ms|-lang2=rm|-lang2=rm85|-lang2=dosvs|-lang2=univac|-lang2=wang|-lang2=fsc|-lang2=net|-lang2=fscnet|-lang2=icobol|-lang2=acu|-lang2=dml|-lang2=idms" -ChoicesReadable="Ansi 74|Ansi 85|OSVS|VSII|SAA|XOpen|MF|MS|RM|RM 85|DOSVS|UniVAC|Wang|FSC|Net|FSCnet|iCobol|ACU|DML|IDMS" - -[Line format] -Category=3 -Description="Set the secondary Cobol dialect" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-line-format=dial|-line-format=fixed|-line-format=free|-line-format=fsc-free|-line-format=var" -ChoicesReadable="Dial|fixed|free|FSC free|var" - -[Progid comments] -Category=3 -Description="Allow Program-Id line comments" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-progid-comments|-no-progid-comments" - -[Separators follow spaces] -Category=3 -Description="Separators must be followed by spaces" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-sep-space-reqd=dial|-sep-space-reqd=no|-sep-space-reqd=yes" -ChoicesReadable="Dial|No|Yes" - -[Exclude keywords] -CallName="-exclude-keywords=" -Category=3 -Description="Excluded keywords (separated by spaces?)" -EditorType=string -Enabled=false -ValueDefault="" - -[Set constants] -CallName="-set-constants=" -Category=4 -Description="78 constant settings, strings: name'value', numbers: name(value)" -EditorType=string -Enabled=false -ValueDefault="" - -[Assign external] -Category=4 -Description="Assume that undefined data items in ASSIGN TO are external" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-assign-external|-no-assign-external" - -[SQL] -Category=4 -Description="Parse SQL in EXEC SQL" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-sql|-no-sql" - -[CICS] -Category=4 -Description="Parse CICS statements embedded in EXEC CICS ... END-EXEC" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-cics|-no-cics" - -[CICS EIB] -Category=4 -Description="Add CICS EIB data block to LINKAGE SECTION" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-cics-eib=auto|-cics-eib=no|-cics-eib=yes" -ChoicesReadable="Auto|No|Yes" - -[Copylib dir] -CallName="-copylib-dir=" -Category=5 -Description="Copylib directories path" -EditorType=string -Enabled=false -ValueDefault="." - -[Copylib suffix] -CallName="-copylib-sfx=" -Category=5 -Description="Copylib files default suffix(es)" -EditorType=string -Enabled=false -ValueDefault=".cpy" - -[Copylib names] -Category=5 -Description="Add CICS EIB data block to LINKAGE SECTION" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-copynames-case=exact|-copynames-case=lower|-copynames-case=upper" -ChoicesReadable="Exact|Lower|Upper" - -[Copylib old] -Category=5 -Description="Allow old 1968 Copy statements" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-old-copy|-no-old-copy" - -[Copylib irreversibly] -Category=5 -Description="Inline copybooks irreversibly" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-irrev-inline|-no-irrev-inline" - -[Warnings] -Category=6 -Description="Display Warnings" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-warnings|-no-warnings" - -[Muli undef errors] -Category=6 -Description="Error message for every (OFF: only first) use of undefined name" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-multi-undefd-errs|-no-multi-undefd-errs" - -[Same para data name] -Category=6 -Description="One name can be used both as paragraph-name and data-name" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-same-para-data-name=dial|-same-para-data-name=no|-same-para-data-name=yes" -ChoicesReadable="Dial|No|Yes" - -[Lengths and offsets] -Category=7 -Description="Compute data item lengths and offsets" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-leng-offs|-no-leng-offs" - -[Storage mode] -Category=7 -Description="Is Numeric Sign a Trailing Separate Character" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-lo-stor-mode=dial|-lo-stor-mode=no|-lo-stor-mode=yes" -ChoicesReadable="Dial|No|Yes" - -[Numeric sign trailing separate] -Category=7 -Description="Is Numeric Sign a Trailing Separate Character" -ValueDefault=0 -Enabled=false -EditorType=multiple -Choices="-num-sign-trail-sep=dial|-num-sign-trail-sep=no|-num-sign-trail-sep=yes" -ChoicesReadable="Dial|No|Yes" - -[Num sign EBCDIC] -Category=7 -Description="Is Numeric Sign an EBCDIC character" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-num-sign-ebcdic|-no-num-sign-ebcdic" - -[Lo pointer size] -CallName="-lo-pointer-size=" -Category=7 -Description="Memory model: Pointer size" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=4 - -[Lo proc pointer size] -CallName="-lo-proc-pointer-size=" -Category=7 -Description="Memory model: Procedure-Pointer size" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=4 - -[Lo index size] -CallName="-lo-index-size=" -Category=7 -Description="Memory model: Index size" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=4 - -[Lo unfold flex arrays] -Category=7 -Description="Compute length of table with OCCURS DEPENDING ON based on upper bounds" -ValueDefault=1 -Enabled=true -EditorType=boolean -TrueFalse="-lo-unfold-flex-arrays|-no-lo-unfold-flex-arrays" - -[Progress] -Category=7 -Description="Display Parsing Progress Indicator" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-progress|-no-progress" - -[Bailout level] -Category=7 -Description="Level of parser messages that cause bailout" -ValueDefault=2 -Enabled=false -EditorType=multiple -Choices="-bailout-level=warnings|-bailout-level=errors|-bailout-level=severe" -ChoicesReadable="Warnings|Errors|Severe" - -[Stats] -Category=7 -Description="Print short source program statistics" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-stat|-no-stat" - -[Genereate SourcePrint] -Category=8 -Description="Generate Cobol in SourcePrint (ON) / PrettyPrint(OFF) mode" -ValueDefault=0 -Enabled=false -EditorType=boolean -TrueFalse="-gen-src|-no-gen-src" - -[Copybook dir] -CallName="-gen-copy-dir=" -Category=8 -Description="Write copybooks to this directory" -EditorType=string -Enabled=false -ValueDefault="" - -[Indent size] -CallName="-gen-indent-step=" -Category=9 -Description="Indentation step" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=2 - -[Indent max] -CallName="-gen-max-indent=" -Category=9 -Description="Maximum starting position for indented text" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=40 - -[Tabs] -CallName="-gen-tabs=" -Category=9 -Description="Tabulation Positions" -EditorType=string -Enabled=false -ValueDefault="12,24,32,42,44,54" - -[Line format] -Category=9 -Description="Generated line format" -ValueDefault=1 -Enabled=false -EditorType=multiple -Choices="-gen-line-format=na|-gen-line-format=fixed|-gen-line-format=free|-gen-line-format=fsc-free|-gen-line-format=var" -ChoicesReadable="Na|Fixed|Free|FSC-free|Var" - -[Observe rules] -Category=9 -Description="Observe Area A/B rules in generated code" -ValueDefault=1 -Enabled=true -EditorType=boolean -TrueFalse="-gen-observe-ab-rules |-no-gen-observe-ab-rules " - -[Preserve comments] -Category=10 -Description="Preserve comments" -ValueDefault=1 -Enabled=true -EditorType=boolean -TrueFalse="-gen-print-comments |-no-gen-print-comments " - -[Enter Exit comments] -Category=10 -Description="Generate Enter/Exit comments around inlined copybooks" -ValueDefault=1 -Enabled=true -EditorType=boolean -TrueFalse="-gen-enter-exit-copy-comments|-no-gen-enter-exit-copy-comments" - -[Preserve line IDs] -Category=11 -Description="Preserve original Line IDs (cols 1-6, 73-80)" -ValueDefault=1 -Enabled=true -EditorType=boolean -TrueFalse="-gen-line-id-comments|-no-gen-line-id-comments" - -[Put text 73-80] -CallName="-gen-73to80-fmt=" -Category=11 -Description="Put text of this format into columns 73 to 80" -EditorType=string -Enabled=false -ValueDefault="" - -[Start number 73-80] -CallName="-gen-73to80-start=" -Category=11 -Description="Start value for number put into columns 73 to 80" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=1 - -[Step number 73-80] -CallName="-gen-73to80-step=" -Category=11 -Description="Step for number put into columns 73 to 80" -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=1 -ValueDefault=1 - -[Convert comments] -CallName="-gen-mark-conv=" -Category=11 -Description="Add comment in columns 73 and up that show that line was changed or generated" -EditorType=string -Enabled=false -ValueDefault="" +[header] +categories="Cobol Beautifier|Renumbering|Generic Reporting|Cobol Dialects|Extra Features|Copy Libraries|Parser Messages|Length and Offset|PrettyPrint Basics|PrettyPrint Indentation|Output Comments|Line Identification" +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.cbl|*.cob +indenterFileName=cbl-beau.exe +indenterName=Cobol Beautifier (Cobol) +inputFileName=indentinput +inputFileParameter=" " +manual=http://www.siber.com/sct/tools/cbl-beau.html +outputFileName=indentoutput +outputFileParameter="-gen-file=" +parameterOrder=ipo +showHelpParameter="-help" +stringparaminquotes=false +useCfgFileParameter= +version=1.0 + + +[Add value clause] +Category=0 +Description="Add VALUE clauses to WS data items that have no VALUE clause" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-add-value-clause|" + +[Norm dd levels] +Category=0 +Description="Normalize data item level numbers" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-norm-dd-levels|" + +[Add end stmts] +Category=0 +Description="Add END-IF, END-SEARCH, END-EVALUATE, END-PERFORM closing statements" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-add-end-stmts|" + +[Section name fmt] +CallName="-section-name-fmt=" +Category=1 +Description="Section name format, smth like T1%dT2%sT3" +EditorType=string +Enabled=false +ValueDefault="T1%dT2%sT3" + +[Section name start] +CallName="-section-name-start=" +Category=1 +Description="Start value for number in section name" +EditorType=numeric +Enabled=false +MaxVal=9999 +MinVal=0 +ValueDefault=1 + +[Section name step] +CallName="-section-name-step=" +Category=1 +Description="Step for number in section name" +EditorType=numeric +Enabled=false +MaxVal=9999 +MinVal=0 +ValueDefault=1 + +[Para name fmt] +CallName="-para-name-fmt=" +Category=1 +Description="Paragraph name format, smth like T1%dT2%sT3" +EditorType=string +Enabled=false +ValueDefault="T1%dT2%sT3" + +[Para name start] +CallName="-para-name-start=" +Category=1 +Description="Start value for counter in paragraph name" +EditorType=numeric +Enabled=false +MaxVal=9999 +MinVal=0 +ValueDefault=1 + +[Para name step] +CallName="-para-name-step=" +Category=1 +Description="Step for counter in paragraph name" +EditorType=numeric +Enabled=false +MaxVal=9999 +MinVal=0 +ValueDefault=1 + +[Data name fmt] +CallName="-data-name-fmt=" +Category=1 +Description="Data name format, smth like T1%dT2%sT3" +EditorType=string +Enabled=false +ValueDefault="T1%dT2%sT3" + +[Data name start] +CallName="-data-name-start=" +Category=1 +Description="Start value for number in data name" +EditorType=numeric +Enabled=false +MaxVal=9999 +MinVal=0 +ValueDefault=1 + +[Data name step] +CallName="-data-name-step=" +Category=1 +Description="Step for number in data name" +EditorType=numeric +Enabled=false +MaxVal=9999 +MinVal=0 +ValueDefault=1 + +[Conv warn] +Category=2 +Description="Warn about transformation problems" +ValueDefault=1 +Enabled=true +EditorType=boolean +TrueFalse="-conv-warn|-no-conv-warn" + +[Conv info] +Category=2 +Description="Inform about every transformation performed" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-conv-info|-no-conv-info" + +[Conv list] +Category=2 +Description="List all transformations applied" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-conv-list|-no-conv-list" + +[Find only] +Category=2 +Description="Only list potential transformations, do not execute them" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-find-only|-no-find-only" + +[Silent] +Category=2 +Description="Do not print short summary of the conversion" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-silent|-no-silent" + +[Primary Cobol dialect] +Category=3 +Description="Set the primary Cobol dialect" +ValueDefault=1 +Enabled=false +EditorType=multiple +Choices="-lang=ansi74|-lang=ansi85|-lang=osvs|-lang=vsii|-lang=saa|-lang=xopen|-lang=mf|-lang=ms|-lang=rm|-lang=rm85|-lang=dosvs|-lang=univac|-lang=wang|-lang=fsc|-lang=net|-lang=fscnet|-lang=icobol|-lang=acu|-lang=dml|-lang=idms" +ChoicesReadable="Ansi 74|Ansi 85|OSVS|VSII|SAA|XOpen|MF|MS|RM|RM 85|DOSVS|UniVAC|Wang|FSC|Net|FSCnet|iCobol|ACU|DML|IDMS" + +[Secondary Cobol dialect] +Category=3 +Description="Set the secondary Cobol dialect" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-lang2=ansi74|-lang2=ansi85|-lang2=osvs|-lang2=vsii|-lang2=saa|-lang2=xopen|-lang2=mf|-lang2=ms|-lang2=rm|-lang2=rm85|-lang2=dosvs|-lang2=univac|-lang2=wang|-lang2=fsc|-lang2=net|-lang2=fscnet|-lang2=icobol|-lang2=acu|-lang2=dml|-lang2=idms" +ChoicesReadable="Ansi 74|Ansi 85|OSVS|VSII|SAA|XOpen|MF|MS|RM|RM 85|DOSVS|UniVAC|Wang|FSC|Net|FSCnet|iCobol|ACU|DML|IDMS" + +[Line format] +Category=3 +Description="Set the secondary Cobol dialect" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-line-format=dial|-line-format=fixed|-line-format=free|-line-format=fsc-free|-line-format=var" +ChoicesReadable="Dial|fixed|free|FSC free|var" + +[Progid comments] +Category=3 +Description="Allow Program-Id line comments" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-progid-comments|-no-progid-comments" + +[Separators follow spaces] +Category=3 +Description="Separators must be followed by spaces" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-sep-space-reqd=dial|-sep-space-reqd=no|-sep-space-reqd=yes" +ChoicesReadable="Dial|No|Yes" + +[Exclude keywords] +CallName="-exclude-keywords=" +Category=3 +Description="Excluded keywords (separated by spaces?)" +EditorType=string +Enabled=false +ValueDefault="" + +[Set constants] +CallName="-set-constants=" +Category=4 +Description="78 constant settings, strings: name'value', numbers: name(value)" +EditorType=string +Enabled=false +ValueDefault="" + +[Assign external] +Category=4 +Description="Assume that undefined data items in ASSIGN TO are external" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-assign-external|-no-assign-external" + +[SQL] +Category=4 +Description="Parse SQL in EXEC SQL" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-sql|-no-sql" + +[CICS] +Category=4 +Description="Parse CICS statements embedded in EXEC CICS ... END-EXEC" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-cics|-no-cics" + +[CICS EIB] +Category=4 +Description="Add CICS EIB data block to LINKAGE SECTION" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-cics-eib=auto|-cics-eib=no|-cics-eib=yes" +ChoicesReadable="Auto|No|Yes" + +[Copylib dir] +CallName="-copylib-dir=" +Category=5 +Description="Copylib directories path" +EditorType=string +Enabled=false +ValueDefault="." + +[Copylib suffix] +CallName="-copylib-sfx=" +Category=5 +Description="Copylib files default suffix(es)" +EditorType=string +Enabled=false +ValueDefault=".cpy" + +[Copylib names] +Category=5 +Description="Add CICS EIB data block to LINKAGE SECTION" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-copynames-case=exact|-copynames-case=lower|-copynames-case=upper" +ChoicesReadable="Exact|Lower|Upper" + +[Copylib old] +Category=5 +Description="Allow old 1968 Copy statements" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-old-copy|-no-old-copy" + +[Copylib irreversibly] +Category=5 +Description="Inline copybooks irreversibly" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-irrev-inline|-no-irrev-inline" + +[Warnings] +Category=6 +Description="Display Warnings" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-warnings|-no-warnings" + +[Muli undef errors] +Category=6 +Description="Error message for every (OFF: only first) use of undefined name" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-multi-undefd-errs|-no-multi-undefd-errs" + +[Same para data name] +Category=6 +Description="One name can be used both as paragraph-name and data-name" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-same-para-data-name=dial|-same-para-data-name=no|-same-para-data-name=yes" +ChoicesReadable="Dial|No|Yes" + +[Lengths and offsets] +Category=7 +Description="Compute data item lengths and offsets" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-leng-offs|-no-leng-offs" + +[Storage mode] +Category=7 +Description="Is Numeric Sign a Trailing Separate Character" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-lo-stor-mode=dial|-lo-stor-mode=no|-lo-stor-mode=yes" +ChoicesReadable="Dial|No|Yes" + +[Numeric sign trailing separate] +Category=7 +Description="Is Numeric Sign a Trailing Separate Character" +ValueDefault=0 +Enabled=false +EditorType=multiple +Choices="-num-sign-trail-sep=dial|-num-sign-trail-sep=no|-num-sign-trail-sep=yes" +ChoicesReadable="Dial|No|Yes" + +[Num sign EBCDIC] +Category=7 +Description="Is Numeric Sign an EBCDIC character" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-num-sign-ebcdic|-no-num-sign-ebcdic" + +[Lo pointer size] +CallName="-lo-pointer-size=" +Category=7 +Description="Memory model: Pointer size" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=4 + +[Lo proc pointer size] +CallName="-lo-proc-pointer-size=" +Category=7 +Description="Memory model: Procedure-Pointer size" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=4 + +[Lo index size] +CallName="-lo-index-size=" +Category=7 +Description="Memory model: Index size" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=4 + +[Lo unfold flex arrays] +Category=7 +Description="Compute length of table with OCCURS DEPENDING ON based on upper bounds" +ValueDefault=1 +Enabled=true +EditorType=boolean +TrueFalse="-lo-unfold-flex-arrays|-no-lo-unfold-flex-arrays" + +[Progress] +Category=7 +Description="Display Parsing Progress Indicator" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-progress|-no-progress" + +[Bailout level] +Category=7 +Description="Level of parser messages that cause bailout" +ValueDefault=2 +Enabled=false +EditorType=multiple +Choices="-bailout-level=warnings|-bailout-level=errors|-bailout-level=severe" +ChoicesReadable="Warnings|Errors|Severe" + +[Stats] +Category=7 +Description="Print short source program statistics" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-stat|-no-stat" + +[Genereate SourcePrint] +Category=8 +Description="Generate Cobol in SourcePrint (ON) / PrettyPrint(OFF) mode" +ValueDefault=0 +Enabled=false +EditorType=boolean +TrueFalse="-gen-src|-no-gen-src" + +[Copybook dir] +CallName="-gen-copy-dir=" +Category=8 +Description="Write copybooks to this directory" +EditorType=string +Enabled=false +ValueDefault="" + +[Indent size] +CallName="-gen-indent-step=" +Category=9 +Description="Indentation step" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=2 + +[Indent max] +CallName="-gen-max-indent=" +Category=9 +Description="Maximum starting position for indented text" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=40 + +[Tabs] +CallName="-gen-tabs=" +Category=9 +Description="Tabulation Positions" +EditorType=string +Enabled=false +ValueDefault="12,24,32,42,44,54" + +[Line format] +Category=9 +Description="Generated line format" +ValueDefault=1 +Enabled=false +EditorType=multiple +Choices="-gen-line-format=na|-gen-line-format=fixed|-gen-line-format=free|-gen-line-format=fsc-free|-gen-line-format=var" +ChoicesReadable="Na|Fixed|Free|FSC-free|Var" + +[Observe rules] +Category=9 +Description="Observe Area A/B rules in generated code" +ValueDefault=1 +Enabled=true +EditorType=boolean +TrueFalse="-gen-observe-ab-rules |-no-gen-observe-ab-rules " + +[Preserve comments] +Category=10 +Description="Preserve comments" +ValueDefault=1 +Enabled=true +EditorType=boolean +TrueFalse="-gen-print-comments |-no-gen-print-comments " + +[Enter Exit comments] +Category=10 +Description="Generate Enter/Exit comments around inlined copybooks" +ValueDefault=1 +Enabled=true +EditorType=boolean +TrueFalse="-gen-enter-exit-copy-comments|-no-gen-enter-exit-copy-comments" + +[Preserve line IDs] +Category=11 +Description="Preserve original Line IDs (cols 1-6, 73-80)" +ValueDefault=1 +Enabled=true +EditorType=boolean +TrueFalse="-gen-line-id-comments|-no-gen-line-id-comments" + +[Put text 73-80] +CallName="-gen-73to80-fmt=" +Category=11 +Description="Put text of this format into columns 73 to 80" +EditorType=string +Enabled=false +ValueDefault="" + +[Start number 73-80] +CallName="-gen-73to80-start=" +Category=11 +Description="Start value for number put into columns 73 to 80" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=1 + +[Step number 73-80] +CallName="-gen-73to80-step=" +Category=11 +Description="Step for number put into columns 73 to 80" +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=1 +ValueDefault=1 + +[Convert comments] +CallName="-gen-mark-conv=" +Category=11 +Description="Add comment in columns 73 and up that show that line was changed or generated" +EditorType=string +Enabled=false +ValueDefault="" diff --git a/indenters/uigui_jsppp.ini b/indenters/uigui_jsppp.ini index 0af1f6b..53c886c 100755 --- a/indenters/uigui_jsppp.ini +++ b/indenters/uigui_jsppp.ini @@ -1,81 +1,81 @@ -[header] -categories=General options -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.jsp|*.html|*.xml -indenterFileName=jsppp -indenterName=JSPPP (JSP) -inputFileName=indentinput -inputFileParameter= -manual=http://jsppp.sourceforge.net/ -outputFileName=indentinput -outputFileParameter=none -stringparaminquotes=false -parameterOrder=pio -showHelpParameter=-h -stringparaminquotes=false -useCfgFileParameter= -version=0.5.2a - -[Spaces] -Category=0 -Description="If spaces is true, spaces, not tabs, will be used to indent the lines." -EditorType=boolean -TrueFalse=|--tabs -ValueDefault=1 - -[Number of spaces] -Category=0 -Description="If spaces are used for indenting, NUMSPACES is the number of spaces to use per indent level." -Enabled=true -EditorType=numeric -CallName="--spaces=" -MinVal=0 -MaxVal=999 -ValueDefault=2 - -[Line length] -Category=0 -Description="The length, in bytes (JSPPP does not yet support Unicode input, no one has asked for it yet) of the soft line length limit. JavaScript, long element names, attributes, etc., that cannot be broken up will end up over the limit if they have already been indented too far." -Enabled=false -EditorType=numeric -CallName="--length=" -MinVal=1 -MaxVal=9999 -ValueDefault=120 - -[Tabsize] -Category=0 -Description="The default number of spaces per tab is 8. This number is used to determine how much of the line has been used by a tab." -Enabled=false -EditorType=numeric -CallName="--tab-size=" -MinVal=0 -MaxVal=999 -ValueDefault=8 - -[Punctuation] -Category=0 -Description="PUNCTUATION is a list of characters which should be handled specially after an anchor tag. If there is whitespace after a link tag but before one of these characters then the whitespace is removed. To have no special characters, use the line "PUNCTUATION="." -Enabled=false -CallName=PUNCTUATION= -EditorType=string -ValueDefault=",.!?" - -[Loose or tight spacing] -Category=0 -Description="Use loose or tight spacing." -Enabled=true -EditorType=multiple -Choices="--loose-spacing|--tight-spacing" -ChoicesReadable="Loose spacing|Tight spacing" -ValueDefault=0 - -[Backup file] -Category=0 -Description="Leave a backup file, which will be overwritten on a second run, or leave no backup file at all." -Enabled=true -EditorType=multiple -Choices="--engage-safety|--disengage-safety" -ChoicesReadable="Leave backup file|Leave NO backup file" -ValueDefault=1 +[header] +categories=General options +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.jsp|*.html|*.xml +indenterFileName=jsppp +indenterName=JSPPP (JSP) +inputFileName=indentinput +inputFileParameter= +manual=http://jsppp.sourceforge.net/ +outputFileName=indentinput +outputFileParameter=none +stringparaminquotes=false +parameterOrder=pio +showHelpParameter=-h +stringparaminquotes=false +useCfgFileParameter= +version=0.5.2a + +[Spaces] +Category=0 +Description="If spaces is true, spaces, not tabs, will be used to indent the lines." +EditorType=boolean +TrueFalse=|--tabs +ValueDefault=1 + +[Number of spaces] +Category=0 +Description="If spaces are used for indenting, NUMSPACES is the number of spaces to use per indent level." +Enabled=true +EditorType=numeric +CallName="--spaces=" +MinVal=0 +MaxVal=999 +ValueDefault=2 + +[Line length] +Category=0 +Description="The length, in bytes (JSPPP does not yet support Unicode input, no one has asked for it yet) of the soft line length limit. JavaScript, long element names, attributes, etc., that cannot be broken up will end up over the limit if they have already been indented too far." +Enabled=false +EditorType=numeric +CallName="--length=" +MinVal=1 +MaxVal=9999 +ValueDefault=120 + +[Tabsize] +Category=0 +Description="The default number of spaces per tab is 8. This number is used to determine how much of the line has been used by a tab." +Enabled=false +EditorType=numeric +CallName="--tab-size=" +MinVal=0 +MaxVal=999 +ValueDefault=8 + +[Punctuation] +Category=0 +Description="PUNCTUATION is a list of characters which should be handled specially after an anchor tag. If there is whitespace after a link tag but before one of these characters then the whitespace is removed. To have no special characters, use the line "PUNCTUATION="." +Enabled=false +CallName=PUNCTUATION= +EditorType=string +ValueDefault=",.!?" + +[Loose or tight spacing] +Category=0 +Description="Use loose or tight spacing." +Enabled=true +EditorType=multiple +Choices="--loose-spacing|--tight-spacing" +ChoicesReadable="Loose spacing|Tight spacing" +ValueDefault=0 + +[Backup file] +Category=0 +Description="Leave a backup file, which will be overwritten on a second run, or leave no backup file at all." +Enabled=true +EditorType=multiple +Choices="--engage-safety|--disengage-safety" +ChoicesReadable="Leave backup file|Leave NO backup file" +ValueDefault=1 diff --git a/indenters/uigui_phpStylist.ini b/indenters/uigui_phpStylist.ini index e5f5b54..6374906 100755 --- a/indenters/uigui_phpStylist.ini +++ b/indenters/uigui_phpStylist.ini @@ -1,258 +1,258 @@ -[header] -categories="General|Operators|Functions, Classes and Objects|Control Structures|Arrays and Concatenation|Comments" -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.php|*.phpt|*.phps -indenterFileName=phpStylist.php -indenterName=phpStylist (PHP) -inputFileName=indentinput -inputFileParameter=" " -manual=http://sourceforge.net/projects/phpstylist/ -outputFileName= -outputFileParameter=stdout -parameterOrder=ipo -showHelpParameter="-- --help" -stringparaminquotes=false -useCfgFileParameter= -version=1.0 - -[Indent size] -CallName="--indent_size " -Category=0 -Description="Indent the code with the set number of spaces." -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=0 -ValueDefault=4 - -[Indent with tabs] -Category=0 -Description="Indent with tabs instead of spaces" -EditorType=boolean -TrueFalse="--indent_with_tabs|" -ValueDefault=0 - -[Keep redundant lines] -Category=0 -Description="Keep redundant lines" -EditorType=boolean -TrueFalse="--keep_redundant_lines|" -ValueDefault=0 - -[Space inside parentheses] -Category=0 -Description="Space inside parentheses" -EditorType=boolean -TrueFalse="--space_inside_parentheses|" -ValueDefault=0 - -[Space outside parentheses] -Category=0 -Description="Space outside parentheses" -EditorType=boolean -TrueFalse="--space_outside_parentheses|" -ValueDefault=0 - -[Space after comma] -Category=0 -Description="Space after comma" -EditorType=boolean -TrueFalse="--space_after_comma|" -ValueDefault=0 - -[Space around assignment] -Category=1 -Description="Space around = .= += -= *= /= <<<" -EditorType=boolean -TrueFalse="--space_around_assignment|" -ValueDefault=0 - -[Align block +3 assigned variables] -Category=1 -Description="Align block +3 assigned variables" -EditorType=boolean -TrueFalse="--align_var_assignment|" -ValueDefault=0 - -[Space around comparison] -Category=1 -Description="Space around == === != !== > >= < <=" -EditorType=boolean -TrueFalse="--space_around_comparison|" -ValueDefault=0 - -[Space around arithmetic] -Category=1 -Description="Space around - + * / %" -EditorType=boolean -TrueFalse="--space_around_arithmetic|" -ValueDefault=0 - -[Space around logical] -Category=1 -Description="Space around && || AND OR XOR << >>" -EditorType=boolean -TrueFalse="--space_around_logical|" -ValueDefault=0 - -[Space around colon and question] -Category=1 -Description="Space around ? :" -EditorType=boolean -TrueFalse="--space_around_colon_question|" -ValueDefault=0 - -[Blank line before keyword] -Category=2 -Description="Blank line before keyword" -EditorType=boolean -TrueFalse="--line_before_function|" -ValueDefault=0 - -[Opening bracket on next line] -Category=2 -Description="Opening bracket on next line" -EditorType=boolean -TrueFalse="--line_before_curly_function|" -ValueDefault=0 - -[Blank line below opening bracket] -Category=2 -Description="Blank line below opening bracket" -EditorType=boolean -TrueFalse="--line_after_curly_function|" -ValueDefault=0 - -[Space around ->] -Category=2 -Description="Space around ->" -EditorType=boolean -TrueFalse="--space_around_obj_operator|" -ValueDefault=0 - -[Space around ::] -Category=2 -Description="Space around ::" -EditorType=boolean -TrueFalse="--space_around_double_colon|" -ValueDefault=0 - -[Space before parentheses] -Category=3 -Description="Space between keyword and opening parentheses" -EditorType=boolean -TrueFalse="--space_after_if|" -ValueDefault=0 - -[Keep else/elseif along with bracket] -Category=3 -Description="Keep else/elseif along with bracket" -EditorType=boolean -TrueFalse="--else_along_curly|" -ValueDefault=0 - -[Opening bracket on next line] -Category=3 -Description="Opening bracket on next line" -EditorType=boolean -TrueFalse="--line_before_curly|" -ValueDefault=0 - -[Add missing brackets] -Category=3 -Description="Add missing brackets to single line structs" -EditorType=boolean -TrueFalse="--add_missing_braces|" -ValueDefault=0 - -[Blank line after case "break"] -Category=3 -Description="Blank line after case 'break'" -EditorType=boolean -TrueFalse="--line_after_break|" -ValueDefault=0 - -[Space between "for" elements] -Category=3 -Description="Space between 'for' elements" -EditorType=boolean -TrueFalse="--space_inside_for|" -ValueDefault=0 - -[Extra indent for "Case" and "Default"] -Category=3 -Description="Extra indent for 'Case' and 'Default'" -EditorType=boolean -TrueFalse="--indent_case|" -ValueDefault=0 - -[Opening array parentheses on next line] -Category=4 -Description="Opening array parentheses on next line" -EditorType=boolean -TrueFalse="--line_before_array|" -ValueDefault=0 - -[Non-empty arrays as vertical block] -Category=4 -Description="Non-empty arrays as vertical block" -EditorType=boolean -TrueFalse="--vertical_array|" -ValueDefault=0 - -[Align block +3 assigned array elements] -Category=4 -Description="Align block +3 assigned array elements" -EditorType=boolean -TrueFalse="--align_array_assignment|" -ValueDefault=0 - -[Space around double arrow] -Category=4 -Description="Space around double arrow" -EditorType=boolean -TrueFalse="--space_around_double_arrow|" -ValueDefault=0 - -[Concatenation as vertical block] -Category=4 -Description="Concatenation as vertical block" -EditorType=boolean -TrueFalse="--vertical_concat|" -ValueDefault=0 - -[Space around concat elements] -Category=4 -Description="Space around concat elements" -EditorType=boolean -TrueFalse="--space_around_concat|" -ValueDefault=0 - -[Blank line before multi-line comment] -Category=5 -Description="Blank line before multi-line comment (/*)" -EditorType=boolean -TrueFalse="--line_before_comment_multi|" -ValueDefault=0 - -[Blank line after multi-line comment] -Category=5 -Description="Blank line after multi-line comment (/*)" -EditorType=boolean -TrueFalse="--line_after_comment_multi|" -ValueDefault=0 - -[Blank line before single line comments] -Category=5 -Description="Blank line before single line comments (//)" -EditorType=boolean -TrueFalse="--line_before_comment|" -ValueDefault=0 - -[Blank line after single line comments] -Category=5 -Description="Blank line after single line comments (//)" -EditorType=boolean -TrueFalse="--line_after_comment|" -ValueDefault=0 +[header] +categories="General|Operators|Functions, Classes and Objects|Control Structures|Arrays and Concatenation|Comments" +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.php|*.phpt|*.phps +indenterFileName=phpStylist.php +indenterName=phpStylist (PHP) +inputFileName=indentinput +inputFileParameter=" " +manual=http://sourceforge.net/projects/phpstylist/ +outputFileName= +outputFileParameter=stdout +parameterOrder=ipo +showHelpParameter="-- --help" +stringparaminquotes=false +useCfgFileParameter= +version=1.0 + +[Indent size] +CallName="--indent_size " +Category=0 +Description="Indent the code with the set number of spaces." +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +ValueDefault=4 + +[Indent with tabs] +Category=0 +Description="Indent with tabs instead of spaces" +EditorType=boolean +TrueFalse="--indent_with_tabs|" +ValueDefault=0 + +[Keep redundant lines] +Category=0 +Description="Keep redundant lines" +EditorType=boolean +TrueFalse="--keep_redundant_lines|" +ValueDefault=0 + +[Space inside parentheses] +Category=0 +Description="Space inside parentheses" +EditorType=boolean +TrueFalse="--space_inside_parentheses|" +ValueDefault=0 + +[Space outside parentheses] +Category=0 +Description="Space outside parentheses" +EditorType=boolean +TrueFalse="--space_outside_parentheses|" +ValueDefault=0 + +[Space after comma] +Category=0 +Description="Space after comma" +EditorType=boolean +TrueFalse="--space_after_comma|" +ValueDefault=0 + +[Space around assignment] +Category=1 +Description="Space around = .= += -= *= /= <<<" +EditorType=boolean +TrueFalse="--space_around_assignment|" +ValueDefault=0 + +[Align block +3 assigned variables] +Category=1 +Description="Align block +3 assigned variables" +EditorType=boolean +TrueFalse="--align_var_assignment|" +ValueDefault=0 + +[Space around comparison] +Category=1 +Description="Space around == === != !== > >= < <=" +EditorType=boolean +TrueFalse="--space_around_comparison|" +ValueDefault=0 + +[Space around arithmetic] +Category=1 +Description="Space around - + * / %" +EditorType=boolean +TrueFalse="--space_around_arithmetic|" +ValueDefault=0 + +[Space around logical] +Category=1 +Description="Space around && || AND OR XOR << >>" +EditorType=boolean +TrueFalse="--space_around_logical|" +ValueDefault=0 + +[Space around colon and question] +Category=1 +Description="Space around ? :" +EditorType=boolean +TrueFalse="--space_around_colon_question|" +ValueDefault=0 + +[Blank line before keyword] +Category=2 +Description="Blank line before keyword" +EditorType=boolean +TrueFalse="--line_before_function|" +ValueDefault=0 + +[Opening bracket on next line] +Category=2 +Description="Opening bracket on next line" +EditorType=boolean +TrueFalse="--line_before_curly_function|" +ValueDefault=0 + +[Blank line below opening bracket] +Category=2 +Description="Blank line below opening bracket" +EditorType=boolean +TrueFalse="--line_after_curly_function|" +ValueDefault=0 + +[Space around ->] +Category=2 +Description="Space around ->" +EditorType=boolean +TrueFalse="--space_around_obj_operator|" +ValueDefault=0 + +[Space around ::] +Category=2 +Description="Space around ::" +EditorType=boolean +TrueFalse="--space_around_double_colon|" +ValueDefault=0 + +[Space before parentheses] +Category=3 +Description="Space between keyword and opening parentheses" +EditorType=boolean +TrueFalse="--space_after_if|" +ValueDefault=0 + +[Keep else/elseif along with bracket] +Category=3 +Description="Keep else/elseif along with bracket" +EditorType=boolean +TrueFalse="--else_along_curly|" +ValueDefault=0 + +[Opening bracket on next line] +Category=3 +Description="Opening bracket on next line" +EditorType=boolean +TrueFalse="--line_before_curly|" +ValueDefault=0 + +[Add missing brackets] +Category=3 +Description="Add missing brackets to single line structs" +EditorType=boolean +TrueFalse="--add_missing_braces|" +ValueDefault=0 + +[Blank line after case "break"] +Category=3 +Description="Blank line after case 'break'" +EditorType=boolean +TrueFalse="--line_after_break|" +ValueDefault=0 + +[Space between "for" elements] +Category=3 +Description="Space between 'for' elements" +EditorType=boolean +TrueFalse="--space_inside_for|" +ValueDefault=0 + +[Extra indent for "Case" and "Default"] +Category=3 +Description="Extra indent for 'Case' and 'Default'" +EditorType=boolean +TrueFalse="--indent_case|" +ValueDefault=0 + +[Opening array parentheses on next line] +Category=4 +Description="Opening array parentheses on next line" +EditorType=boolean +TrueFalse="--line_before_array|" +ValueDefault=0 + +[Non-empty arrays as vertical block] +Category=4 +Description="Non-empty arrays as vertical block" +EditorType=boolean +TrueFalse="--vertical_array|" +ValueDefault=0 + +[Align block +3 assigned array elements] +Category=4 +Description="Align block +3 assigned array elements" +EditorType=boolean +TrueFalse="--align_array_assignment|" +ValueDefault=0 + +[Space around double arrow] +Category=4 +Description="Space around double arrow" +EditorType=boolean +TrueFalse="--space_around_double_arrow|" +ValueDefault=0 + +[Concatenation as vertical block] +Category=4 +Description="Concatenation as vertical block" +EditorType=boolean +TrueFalse="--vertical_concat|" +ValueDefault=0 + +[Space around concat elements] +Category=4 +Description="Space around concat elements" +EditorType=boolean +TrueFalse="--space_around_concat|" +ValueDefault=0 + +[Blank line before multi-line comment] +Category=5 +Description="Blank line before multi-line comment (/*)" +EditorType=boolean +TrueFalse="--line_before_comment_multi|" +ValueDefault=0 + +[Blank line after multi-line comment] +Category=5 +Description="Blank line after multi-line comment (/*)" +EditorType=boolean +TrueFalse="--line_after_comment_multi|" +ValueDefault=0 + +[Blank line before single line comments] +Category=5 +Description="Blank line before single line comments (//)" +EditorType=boolean +TrueFalse="--line_before_comment|" +ValueDefault=0 + +[Blank line after single line comments] +Category=5 +Description="Blank line after single line comments (//)" +EditorType=boolean +TrueFalse="--line_after_comment|" +ValueDefault=0 diff --git a/indenters/uigui_php_Beautifier.ini b/indenters/uigui_php_Beautifier.ini index fc03fc6..ab5364d 100755 --- a/indenters/uigui_php_Beautifier.ini +++ b/indenters/uigui_php_Beautifier.ini @@ -1,108 +1,108 @@ -[header] -categories=General -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.php|*.phpt|*.phps -indenterFileName=php_beautifier -indenterName=PHP_Beautifier (PHP) -inputFileName=indentinput -inputFileParameter="-f " -manual=http://beautifyphp.sourceforge.net/docs/PHP_Beautifier/tutorial_PHP_Beautifier.howtouse.commandline.pkg.html -outputFileName=indentoutput -outputFileParameter="-o " -parameterOrder=iop -showHelpParameter=--help -stringparaminquotes=false -useCfgFileParameter= -version=0.1.13 - -[Indent With Spaces] -CallName="-s" -Category=1 -Description=Indent the code with the set number of spaces. -EditorType=numeric -Enabled=true -MaxVal=99 -MinVal=0 -ValueDefault=4 - -[Indent With Tabs] -CallName="-t" -Category=1 -Description=Indent the code with the set number of tabs. -EditorType=numeric -Enabled=false -MaxVal=99 -MinVal=0 -ValueDefault=1 - -[Add Header] -Category=0 -Choices="-l \"Pear(add_header=php)\"|-l \"Pear(add_header=bsd)\"|-l \"Pear(add_header=apache)\"|-l \"Pear(add_header=lgpl)\"|-l \"Pear(add_header=pear)\"" -ChoicesReadable="PHP|BSD|Apache|LGPL|PEAR" -Description="Adds header information to a file. These can be Php, BSD, Apache, LGPL or Pear license info." -EditorType=multiple -Enabled=true -ValueDefault=0 - -[Newline Class] -Category=0 -Description=Add a new line after class before opening brace. -EditorType=boolean -TrueFalse="-l \"Pear(newline_class=true)\"|-l \"Pear(newline_class=false)\"" -ValueDefault=1 - -[Newline Function] -Category=0 -Description=Add a new line after function before opening brace. -EditorType=boolean -TrueFalse="-l \"Pear(newline_function=true)\"|-l \"Pear(newline_function=false)\"" -ValueDefault=1 - -[New Lines Before] -CallName="-l \"NewLines(before=" -Category=0 -Description="Add new lines before specific keywords. Keywords are separated by a single colon. Example: if:switch:T_CLASS
The string MUST end with a closing brace and an escaped double quote." -EditorType=string -Enabled=false -ValueDefault="if:switch:T_CLASS)\"" - -[New Lines After] -CallName="-l \"NewLines(after=" -Category=0 -Description="Add new lines after specific keywords. Keywords are separated by a single colon. Example: T_COMMENT:function
The string MUST end with a closing brace and an escaped double quote." -EditorType=string -Enabled=false -ValueDefault="T_COMMENT:function)\"" - -[Arrays Nested] -Category=0 -Description= -EditorType=boolean -TrueFalse="-l \"ArrayNested()\"|" -ValueDefault=0 - -[Lowercase] -Category=0 -Description=Lowercases all control structures. -EditorType=boolean -TrueFalse="-l \"Lowercase()\"|" -ValueDefault=0 - -[List Class And Functions] -Category=0 -Choices="-l \"ListClassFunction(list_classes=true)\"|-l \"ListClassFunction(list_functions=true)\"|-l \"ListClassFunction()\"" -ChoicesReadable="List Classes|List Functions|List Classes And Functions" -Description=Create a list of functions and classes in the script By default, this Filter puts the list at the beggining of the script. If you want it in another position, put a comment like that
 // Class and Function List 
The script lookup for the string 'Class and Function List' in a comment and replace the entire comment with the list. -EditorType=multiple -Enabled=false -ValueDefault=0 - -[Indent Styles] -Category=0 -Choices="-l \"IndentStyles(style=k&r)\"|-l \"IndentStyles(style=allman)\"|-l \"IndentStyles(style=whitesmiths)\"|-l \"IndentStyles(style=gnu)\"" -ChoicesReadable="K&R|Allman|Whitesmiths|GNU" -Description= -EditorType=multiple -Enabled=false -ValueDefault=0 +[header] +categories=General +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.php|*.phpt|*.phps +indenterFileName=php_beautifier +indenterName=PHP_Beautifier (PHP) +inputFileName=indentinput +inputFileParameter="-f " +manual=http://beautifyphp.sourceforge.net/docs/PHP_Beautifier/tutorial_PHP_Beautifier.howtouse.commandline.pkg.html +outputFileName=indentoutput +outputFileParameter="-o " +parameterOrder=iop +showHelpParameter=--help +stringparaminquotes=false +useCfgFileParameter= +version=0.1.13 + +[Indent With Spaces] +CallName="-s" +Category=1 +Description=Indent the code with the set number of spaces. +EditorType=numeric +Enabled=true +MaxVal=99 +MinVal=0 +ValueDefault=4 + +[Indent With Tabs] +CallName="-t" +Category=1 +Description=Indent the code with the set number of tabs. +EditorType=numeric +Enabled=false +MaxVal=99 +MinVal=0 +ValueDefault=1 + +[Add Header] +Category=0 +Choices="-l \"Pear(add_header=php)\"|-l \"Pear(add_header=bsd)\"|-l \"Pear(add_header=apache)\"|-l \"Pear(add_header=lgpl)\"|-l \"Pear(add_header=pear)\"" +ChoicesReadable="PHP|BSD|Apache|LGPL|PEAR" +Description="Adds header information to a file. These can be Php, BSD, Apache, LGPL or Pear license info." +EditorType=multiple +Enabled=true +ValueDefault=0 + +[Newline Class] +Category=0 +Description=Add a new line after class before opening brace. +EditorType=boolean +TrueFalse="-l \"Pear(newline_class=true)\"|-l \"Pear(newline_class=false)\"" +ValueDefault=1 + +[Newline Function] +Category=0 +Description=Add a new line after function before opening brace. +EditorType=boolean +TrueFalse="-l \"Pear(newline_function=true)\"|-l \"Pear(newline_function=false)\"" +ValueDefault=1 + +[New Lines Before] +CallName="-l \"NewLines(before=" +Category=0 +Description="Add new lines before specific keywords. Keywords are separated by a single colon. Example: if:switch:T_CLASS
The string MUST end with a closing brace and an escaped double quote." +EditorType=string +Enabled=false +ValueDefault="if:switch:T_CLASS)\"" + +[New Lines After] +CallName="-l \"NewLines(after=" +Category=0 +Description="Add new lines after specific keywords. Keywords are separated by a single colon. Example: T_COMMENT:function
The string MUST end with a closing brace and an escaped double quote." +EditorType=string +Enabled=false +ValueDefault="T_COMMENT:function)\"" + +[Arrays Nested] +Category=0 +Description= +EditorType=boolean +TrueFalse="-l \"ArrayNested()\"|" +ValueDefault=0 + +[Lowercase] +Category=0 +Description=Lowercases all control structures. +EditorType=boolean +TrueFalse="-l \"Lowercase()\"|" +ValueDefault=0 + +[List Class And Functions] +Category=0 +Choices="-l \"ListClassFunction(list_classes=true)\"|-l \"ListClassFunction(list_functions=true)\"|-l \"ListClassFunction()\"" +ChoicesReadable="List Classes|List Functions|List Classes And Functions" +Description=Create a list of functions and classes in the script By default, this Filter puts the list at the beggining of the script. If you want it in another position, put a comment like that
 // Class and Function List 
The script lookup for the string 'Class and Function List' in a comment and replace the entire comment with the list. +EditorType=multiple +Enabled=false +ValueDefault=0 + +[Indent Styles] +Category=0 +Choices="-l \"IndentStyles(style=k&r)\"|-l \"IndentStyles(style=allman)\"|-l \"IndentStyles(style=whitesmiths)\"|-l \"IndentStyles(style=gnu)\"" +ChoicesReadable="K&R|Allman|Whitesmiths|GNU" +Description= +EditorType=multiple +Enabled=false +ValueDefault=0 diff --git a/indenters/uigui_pindent.ini b/indenters/uigui_pindent.ini index ee41fb3..ae17620 100755 --- a/indenters/uigui_pindent.ini +++ b/indenters/uigui_pindent.ini @@ -1,54 +1,54 @@ -[header] -categories=General options -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.py -indenterFileName=pindent.py -indenterName=PIndent (Python) -inputFileName=indentinput -inputFileParameter= -manual=http://coverage.livinglogic.de/Tools/scripts/pindent.py.html -outputFileName=indentinput -outputFileParameter=none -stringparaminquotes=false -parameterOrder=pio -showHelpParameter= -stringparaminquotes=false -useCfgFileParameter= -version="from Python 2.5.1 package" - -[End directives] -Category=0 -Description="Complete takes a valid Python program as input and outputs a version augmented with block-closing comments (add #end directives).
Or Delete assumes its input is a Python program with block-closing comments and outputs a commentless version(delete #end directives).
Or Reformat assumes its input is a Python program with block-closing comments but with its indentation messed up, and outputs a properly indented version (use #end directives)." -Enabled=true -EditorType=multiple -Choices="-c|-d|-r" -ChoicesReadable="Complete|Delete|Reformat" -ValueDefault=0 - -[Step size] -Category=0 -Description="Sets the indentation step size." -Enabled=true -EditorType=numeric -CallName="-s " -MinVal=0 -MaxVal=999 -ValueDefault=8 - -[Tab size] -Category=0 -Description="Sets the number of spaces a tab character is worth." -Enabled=true -EditorType=numeric -CallName="-t " -MinVal=0 -MaxVal=999 -ValueDefault=8 - -[Convert Tabs] -Category=0 -Description="Expand TABs into spaces." -EditorType=boolean -TrueFalse=-e| -ValueDefault=0 +[header] +categories=General options +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.py +indenterFileName=pindent.py +indenterName=PIndent (Python) +inputFileName=indentinput +inputFileParameter= +manual=http://coverage.livinglogic.de/Tools/scripts/pindent.py.html +outputFileName=indentinput +outputFileParameter=none +stringparaminquotes=false +parameterOrder=pio +showHelpParameter= +stringparaminquotes=false +useCfgFileParameter= +version="from Python 2.5.1 package" + +[End directives] +Category=0 +Description="Complete takes a valid Python program as input and outputs a version augmented with block-closing comments (add #end directives).
Or Delete assumes its input is a Python program with block-closing comments and outputs a commentless version(delete #end directives).
Or Reformat assumes its input is a Python program with block-closing comments but with its indentation messed up, and outputs a properly indented version (use #end directives)." +Enabled=true +EditorType=multiple +Choices="-c|-d|-r" +ChoicesReadable="Complete|Delete|Reformat" +ValueDefault=0 + +[Step size] +Category=0 +Description="Sets the indentation step size." +Enabled=true +EditorType=numeric +CallName="-s " +MinVal=0 +MaxVal=999 +ValueDefault=8 + +[Tab size] +Category=0 +Description="Sets the number of spaces a tab character is worth." +Enabled=true +EditorType=numeric +CallName="-t " +MinVal=0 +MaxVal=999 +ValueDefault=8 + +[Convert Tabs] +Category=0 +Description="Expand TABs into spaces." +EditorType=boolean +TrueFalse=-e| +ValueDefault=0 diff --git a/indenters/uigui_psti.ini b/indenters/uigui_psti.ini index a1a82b0..9a1acb7 100755 --- a/indenters/uigui_psti.ini +++ b/indenters/uigui_psti.ini @@ -1,196 +1,196 @@ -[header] -categories=General options|Spaces|Indentation|Alignments -cfgFileParameterEnding=cr -configFilename=psti.cfg -fileTypes=*.sql -indenterFileName=psti.exe -indenterName=Pl/Sql tidy (Pl/Sql) -inputFileName=indentinput -inputFileParameter="-i " -manual=http://psti.equinoxbase.com/manual.html -outputFileName=indentoutput -outputFileParameter="-o " -stringparaminquotes=false -parameterOrder=iop -showHelpParameter=-h -stringparaminquotes=false -useCfgFileParameter="-ls " -version=1.2 - -[Disable all switches] -Category=0 -Description="Sets all switches to off." -Enabled=false -EditorType=boolean -TrueFalse=-0| -ValueDefault=0 - -[Uppercase Keywords] -Category=0 -Description="Uppercase Keywords." -Enabled=false -EditorType=boolean -TrueFalse=-uk+|-uk- -ValueDefault=0 - -[Capitalized Keywords] -Category=0 -Description="Capitalized Keywords." -Enabled=false -EditorType=boolean -TrueFalse=-ck+|-ck- -ValueDefault=0 - -[Lowercase Keywords] -Category=0 -Description="Lowercase Keywords." -Enabled=false -EditorType=boolean -TrueFalse=-lk+|-lk- -ValueDefault=0 - -[Uppercase Identifiers] -Category=0 -Description="Uppercase Identifiers." -Enabled=false -EditorType=boolean -TrueFalse=-ui+|-ui- -ValueDefault=0 - -[Lowercase Identifiers] -Category=0 -Description="Lowercase Identifiers." -Enabled=false -EditorType=boolean -TrueFalse=-li+|-li- -ValueDefault=0 - -[Capitalized Identifiers] -Category=0 -Description="Capitalized Identifiers." -Enabled=false -EditorType=boolean -TrueFalse=-ci+|-ci- -ValueDefault=0 - -[Compactify] -Category=1 -Description="Compactify, remove redundant spaces/keep." -Enabled=false -EditorType=boolean -TrueFalse=-c+|-c- -ValueDefault=0 - -[Remove Operation Spaces] -Category=1 -Description="Remove spaces around operations (+,- etcdo nothing/)." -Enabled=false -EditorType=boolean -TrueFalse=-co+|-co- -ValueDefault=0 - -[Add Operation Spaces] -Category=1 -Description="Add space around operations/do nothing." -Enabled=false -EditorType=boolean -TrueFalse=-sao+|-sao- -ValueDefault=0 - -[Remove Space Open Bracket] -Category=1 -Description="Remove spaces after opening brackets/keep." -Enabled=false -EditorType=boolean -TrueFalse=-rsaob+|-rsaob- -ValueDefault=0 - -[Don't Remove Bracket Space] -Category=1 -Description="Don't remove spaces around brackets/do nothing." -Enabled=false -EditorType=boolean -TrueFalse=-ncb+|-ncb- -ValueDefault=0 - -[Indent Size] -Category=2 -Description="Indent size in spaces or in tabs (generally)." -Enabled=true -EditorType=numeric -CallName="-is " -MinVal=0 -MaxVal=1024 -ValueDefault=4 - -[Indent Lines] -Category=2 -Description="Whether to indent strings lines." -Enabled=true -EditorType=boolean -TrueFalse=-in+|-in- -ValueDefault=1 - -[Keep relative indentation] -Category=2 -Description="Keep the relative identation of an allowed sql/do nothing." -Enabled=false -EditorType=boolean -TrueFalse=-rs+|-rs- -ValueDefault=0 - -[Indent after exception] -Category=2 -Description="Extra indentation after exception when yes/no." -Enabled=false -EditorType=boolean -TrueFalse=-iaew+|-iaew- -ValueDefault=0 - -[Indent after case] -Category=2 -Description="Extra indentation after case when yes/no." -Enabled=false -EditorType=boolean -TrueFalse=-iacw+|-iacw- -ValueDefault=0 - -[Indent after cursor] -Category=2 -Description="Extra indentation after cursor yes/no." -Enabled=false -EditorType=boolean -TrueFalse=-iac+|-iac- -ValueDefault=0 - -[Indent comments] -Category=2 -Description="Indent standalone comments." -Enabled=false -EditorType=boolean -TrueFalse=-isc+|-isc- -ValueDefault=0 - -[Indent comments special] -Category=2 -Description="Indent standalone comments in some special cases too." -Enabled=false -EditorType=boolean -TrueFalse=-isc2+|-isc2- -ValueDefault=0 - -[Indent inside comments] -Category=2 -Description="Indent inside comments/do nothing." -Enabled=false -EditorType=boolean -TrueFalse=-iic+|-iic- -ValueDefault=0 - -[Column alignment] -Category=3 -Description="Column like lists inside brackets." -Enabled=false -EditorType=boolean -TrueFalse=-clb+|-clb- -ValueDefault=0 +[header] +categories=General options|Spaces|Indentation|Alignments +cfgFileParameterEnding=cr +configFilename=psti.cfg +fileTypes=*.sql +indenterFileName=psti.exe +indenterName=Pl/Sql tidy (Pl/Sql) +inputFileName=indentinput +inputFileParameter="-i " +manual=http://psti.equinoxbase.com/manual.html +outputFileName=indentoutput +outputFileParameter="-o " +stringparaminquotes=false +parameterOrder=iop +showHelpParameter=-h +stringparaminquotes=false +useCfgFileParameter="-ls " +version=1.2 + +[Disable all switches] +Category=0 +Description="Sets all switches to off." +Enabled=false +EditorType=boolean +TrueFalse=-0| +ValueDefault=0 + +[Uppercase Keywords] +Category=0 +Description="Uppercase Keywords." +Enabled=false +EditorType=boolean +TrueFalse=-uk+|-uk- +ValueDefault=0 + +[Capitalized Keywords] +Category=0 +Description="Capitalized Keywords." +Enabled=false +EditorType=boolean +TrueFalse=-ck+|-ck- +ValueDefault=0 + +[Lowercase Keywords] +Category=0 +Description="Lowercase Keywords." +Enabled=false +EditorType=boolean +TrueFalse=-lk+|-lk- +ValueDefault=0 + +[Uppercase Identifiers] +Category=0 +Description="Uppercase Identifiers." +Enabled=false +EditorType=boolean +TrueFalse=-ui+|-ui- +ValueDefault=0 + +[Lowercase Identifiers] +Category=0 +Description="Lowercase Identifiers." +Enabled=false +EditorType=boolean +TrueFalse=-li+|-li- +ValueDefault=0 + +[Capitalized Identifiers] +Category=0 +Description="Capitalized Identifiers." +Enabled=false +EditorType=boolean +TrueFalse=-ci+|-ci- +ValueDefault=0 + +[Compactify] +Category=1 +Description="Compactify, remove redundant spaces/keep." +Enabled=false +EditorType=boolean +TrueFalse=-c+|-c- +ValueDefault=0 + +[Remove Operation Spaces] +Category=1 +Description="Remove spaces around operations (+,- etcdo nothing/)." +Enabled=false +EditorType=boolean +TrueFalse=-co+|-co- +ValueDefault=0 + +[Add Operation Spaces] +Category=1 +Description="Add space around operations/do nothing." +Enabled=false +EditorType=boolean +TrueFalse=-sao+|-sao- +ValueDefault=0 + +[Remove Space Open Bracket] +Category=1 +Description="Remove spaces after opening brackets/keep." +Enabled=false +EditorType=boolean +TrueFalse=-rsaob+|-rsaob- +ValueDefault=0 + +[Don't Remove Bracket Space] +Category=1 +Description="Don't remove spaces around brackets/do nothing." +Enabled=false +EditorType=boolean +TrueFalse=-ncb+|-ncb- +ValueDefault=0 + +[Indent Size] +Category=2 +Description="Indent size in spaces or in tabs (generally)." +Enabled=true +EditorType=numeric +CallName="-is " +MinVal=0 +MaxVal=1024 +ValueDefault=4 + +[Indent Lines] +Category=2 +Description="Whether to indent strings lines." +Enabled=true +EditorType=boolean +TrueFalse=-in+|-in- +ValueDefault=1 + +[Keep relative indentation] +Category=2 +Description="Keep the relative identation of an allowed sql/do nothing." +Enabled=false +EditorType=boolean +TrueFalse=-rs+|-rs- +ValueDefault=0 + +[Indent after exception] +Category=2 +Description="Extra indentation after exception when yes/no." +Enabled=false +EditorType=boolean +TrueFalse=-iaew+|-iaew- +ValueDefault=0 + +[Indent after case] +Category=2 +Description="Extra indentation after case when yes/no." +Enabled=false +EditorType=boolean +TrueFalse=-iacw+|-iacw- +ValueDefault=0 + +[Indent after cursor] +Category=2 +Description="Extra indentation after cursor yes/no." +Enabled=false +EditorType=boolean +TrueFalse=-iac+|-iac- +ValueDefault=0 + +[Indent comments] +Category=2 +Description="Indent standalone comments." +Enabled=false +EditorType=boolean +TrueFalse=-isc+|-isc- +ValueDefault=0 + +[Indent comments special] +Category=2 +Description="Indent standalone comments in some special cases too." +Enabled=false +EditorType=boolean +TrueFalse=-isc2+|-isc2- +ValueDefault=0 + +[Indent inside comments] +Category=2 +Description="Indent inside comments/do nothing." +Enabled=false +EditorType=boolean +TrueFalse=-iic+|-iic- +ValueDefault=0 + +[Column alignment] +Category=3 +Description="Column like lists inside brackets." +Enabled=false +EditorType=boolean +TrueFalse=-clb+|-clb- +ValueDefault=0 diff --git a/indenters/uigui_rubyformatter.ini b/indenters/uigui_rubyformatter.ini index 58ff452..1afba10 100755 --- a/indenters/uigui_rubyformatter.ini +++ b/indenters/uigui_rubyformatter.ini @@ -1,27 +1,27 @@ -[header] -categories=General -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.rb -indenterFileName=ruby_formatter.rb -indenterName=Simple Ruby Formatter (Ruby) -inputFileName=indentinput -inputFileParameter= -manual=http://raa.ruby-lang.org/project/ruby_formatter/ -outputFileName=indentinput -outputFileParameter=none -parameterOrder=pio -showHelpParameter= -stringparaminquotes=false -useCfgFileParameter= -version=Rev 0.6.1 - -[indent spaces] -CallName="-s " -Category=0 -Description=Indent using # spaces per indent -EditorType=numeric -Enabled=false -MaxVal=20 -MinVal=2 +[header] +categories=General +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.rb +indenterFileName=ruby_formatter.rb +indenterName=Simple Ruby Formatter (Ruby) +inputFileName=indentinput +inputFileParameter= +manual=http://raa.ruby-lang.org/project/ruby_formatter/ +outputFileName=indentinput +outputFileParameter=none +parameterOrder=pio +showHelpParameter= +stringparaminquotes=false +useCfgFileParameter= +version=Rev 0.6.1 + +[indent spaces] +CallName="-s " +Category=0 +Description=Indent using # spaces per indent +EditorType=numeric +Enabled=false +MaxVal=20 +MinVal=2 ValueDefault=4 \ No newline at end of file diff --git a/indenters/uigui_shellindent.ini b/indenters/uigui_shellindent.ini index 283f90b..2c36958 100755 --- a/indenters/uigui_shellindent.ini +++ b/indenters/uigui_shellindent.ini @@ -1,17 +1,17 @@ -[header] -categories= -cfgFileParameterEnding=" " -configFilename= -fileTypes=*.sh -indenterFileName=shellindent.awk -indenterName=Shell Code Indent (sh) -inputFileName=indentinput -inputFileParameter= -manual=http://www.bolthole.com/AWK.html -outputFileName= -outputFileParameter=stdout -parameterOrder=pio -showHelpParameter= -stringparaminquotes=false -useCfgFileParameter= -version=2008-01-10 +[header] +categories= +cfgFileParameterEnding=" " +configFilename= +fileTypes=*.sh +indenterFileName=shellindent.awk +indenterName=Shell Code Indent (sh) +inputFileName=indentinput +inputFileParameter= +manual=http://www.bolthole.com/AWK.html +outputFileName= +outputFileParameter=stdout +parameterOrder=pio +showHelpParameter= +stringparaminquotes=false +useCfgFileParameter= +version=2008-01-10 diff --git a/indenters/uigui_tidy.ini b/indenters/uigui_tidy.ini index 61b9b0a..1341d45 100755 --- a/indenters/uigui_tidy.ini +++ b/indenters/uigui_tidy.ini @@ -1,612 +1,612 @@ -[header] -categories="HTML, XHTML, XML|Diagnostics|Pretty Print|Character Encoding|Miscellaneous" -cfgFileParameterEnding=cr -configFilename=htmltidy.cfg -fileTypes=*.html|*.htm -indenterFileName=tidy -indenterName=(HTML) Tidy -inputFileName=indentinput -inputFileParameter= -manual=http://tidy.sourceforge.net/docs/tidy_man.html -outputFileName=indentoutput -outputFileParameter="-o " -parameterOrder=poi -showHelpParameter=-h -stringparaminquotes=false -useCfgFileParameter="-q -config " -version=2007-05-24 - -[Quiet] -Category=4 -Description="This option specifies if Tidy should output the summary of the numbers of errors and warnings, or the welcome or informational messages." -EditorType=boolean -Enabled=true -TrueFalse=quiet:yes|quiet:no -ValueDefault=1 - -[Uppercase tags] -Category=0 -Description=This option specifies if Tidy should output tag names in upper case. The default is no, which results in lower case tag names, except for XML input, where the original case is preserved. -EditorType=boolean -Enabled=false -TrueFalse=uppercase-tags:yes|uppercase-tags:no -ValueDefault=0 - -[accessibility-check] -CallName=accessibility-check: -Category=1 -Description="This option specifies what level of accessibility checking, if any, that Tidy should do. Level 0 is equivalent to Tidy Classic's accessibility checking. For more information on Tidy's accessibility checking, visit the Adaptive Technology Resource Centre at the University of Toronto." -EditorType=numeric -Enabled=true -MaxVal=3 -MinVal=0 -ValueDefault=0 - -[add-xml-decl] -Category=0 -Description="This option specifies if Tidy should add the XML declaration when outputting XML or XHTML. Note that if the input already includes an declaration then this option will be ignored. If the encoding for the output is different from 'ascii', one of the utf encodings or 'raw', the declaration is always added as required by the XML standard." -EditorType=boolean -Enabled=false -TrueFalse=add-xml-decl:yes|add-xml-decl:no -ValueDefault=0 - -[add-xml-space] -Category=0 -Description="This option specifies if Tidy should add xml:space='preserve' to elements such as
,