170325.1 · acc0ff27e48f6e6bc225843b4f9aedadc48b8a8b
Directory structure was fixed
reading declarations
@@ -0,0 +1,81 @@+Developer/Maintainer:+André Simon <andre.simon1 at gmx de>++Developer of the Diluculum Lua Wrapper:+Leandro Motta Barros++Developer of the Artistic Style:+Tal Davidson <davidsont at bigfoot com>+Jim Pattee <jimp03 at email com>++Developer of Regex classes:+Jeffery Stuart <mail_address>++Developer of xterm 256 colour best matching functions:+Wolfgang Frisch <wf at frexx de>++Developer of the argparser class:+Antonio Diaz Diaz++Language definitions:+Christian Perle (Povray)+Andreas Schoenberg (AWK)+Olivier Girondel (Pike)+Christian Siefkes (NG Relax Compact)+Paul Connell (Coldfusion MX)+Peter Bartke (Miranda)+Joerg Walter (Smalltalk)+Pierre Larochelle (Arc, Clojure)+Roberto Mendoza (IDL)+Paulo Moura (Logtalk)+Sandro Bilbeisi (Biferno)+Frank Seidinger (RPL)+Viraj Sinha (UPC)+A. Aniruddha (GDB, Yang)+Roland Hieber (PDF)+Conrad Steenberg (Crack)+Victor Ananjevsky (conf.lang)+Raphael Droz (Ansible YAML)+Lydia Duncan (Chapel)+Tristano Ajmone (GDScript)+Max Christian Pohle (VIMScript)+Jess Austin (Coffeescript)+Tristano Ajmone (PureBasic, GDScript)++Colour themes:+David (matlab)+Mark Hessling (THE)+Alexandre Bonneau (Acid)+Sunrise Telephone Systems Ltd. (ide-xcode)+Joerg Walter (moe)+Roger Sperberg (andes, oxygenated)+Tristano Ajmone (edit-godot)+++Patches:+Marc Duponcheel (gcc 3.x compatibility)+Jonas Fonseca (Ruby language definition)+Georg Young (gcc 3.x compatibility)+weasel@debian.org (suppress compile warnings of Debian package)+Jeremy Weinberger (RTF bugfix)+Alan Briolat (shebang recognition with stdin stream)+Jeremy Bopp (makefile prefix/destdir variables)+Antonio Diaz Diaz (argparser replacement for getopt_long)+Samuli Suominen (various makefile bugfixes)+Detlef Reichelt (gcc 4.3 compatibility)+Jochen Schmitt (gcc 4.4 compatibility)+Nathaniel Gray (makefile bugfix)+David Bremner (makefiles and SWIG scripts)+Georgios M. Zarkadas (fixed file suffix recognition)+MENG Wei (fixed memory leak in astyle's ASFormatter)+Yimin Li (fontenc package in LaTeX output)+Michael Enßlin (--wrap-no-numbers option)+G. Wijaya (SWIG PHP binding)+Troy Sankey (Javascript regex)+Andrew Fuller (xterm256 bold and italic attributes)+Dominik Schmidt (Pango markup)+Ingo Krabbe (cweb LaTeX output)+Victor Ananjevsky (various)+Andrew Fuller (xterm256 font attributes)+Dominik Schmidt (Pango markup)+Troy Sankey (JS regex)
@@ -0,0 +1,674 @@+ GNU GENERAL PUBLIC LICENSE+ Version 3, 29 June 2007++ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>+ Everyone is permitted to copy and distribute verbatim copies+ of this license document, but changing it is not allowed.++ Preamble++ The GNU General Public License is a free, copyleft license for+software and other kinds of works.++ The licenses for most software and other practical works are designed+to take away your freedom to share and change the works. By contrast,+the GNU General Public License is intended to guarantee your freedom to+share and change all versions of a program--to make sure it remains free+software for all its users. We, the Free Software Foundation, use the+GNU General Public License for most of our software; it applies also to+any other work released this way by its authors. You can apply it to+your programs, too.++ When we speak of free software, we are referring to freedom, not+price. Our General Public Licenses are designed to make sure that you+have the freedom to distribute copies of free software (and charge for+them if you wish), that you receive source code or can get it if you+want it, that you can change the software or use pieces of it in new+free programs, and that you know you can do these things.++ To protect your rights, we need to prevent others from denying you+these rights or asking you to surrender the rights. Therefore, you have+certain responsibilities if you distribute copies of the software, or if+you modify it: responsibilities to respect the freedom of others.++ For example, if you distribute copies of such a program, whether+gratis or for a fee, you must pass on to the recipients the same+freedoms that you received. You must make sure that they, too, receive+or can get the source code. And you must show them these terms so they+know their rights.++ Developers that use the GNU GPL protect your rights with two steps:+(1) assert copyright on the software, and (2) offer you this License+giving you legal permission to copy, distribute and/or modify it.++ For the developers' and authors' protection, the GPL clearly explains+that there is no warranty for this free software. For both users' and+authors' sake, the GPL requires that modified versions be marked as+changed, so that their problems will not be attributed erroneously to+authors of previous versions.++ Some devices are designed to deny users access to install or run+modified versions of the software inside them, although the manufacturer+can do so. This is fundamentally incompatible with the aim of+protecting users' freedom to change the software. The systematic+pattern of such abuse occurs in the area of products for individuals to+use, which is precisely where it is most unacceptable. Therefore, we+have designed this version of the GPL to prohibit the practice for those+products. If such problems arise substantially in other domains, we+stand ready to extend this provision to those domains in future versions+of the GPL, as needed to protect the freedom of users.++ Finally, every program is threatened constantly by software patents.+States should not allow patents to restrict development and use of+software on general-purpose computers, but in those that do, we wish to+avoid the special danger that patents applied to a free program could+make it effectively proprietary. To prevent this, the GPL assures that+patents cannot be used to render the program non-free.++ The precise terms and conditions for copying, distribution and+modification follow.++ TERMS AND CONDITIONS++ 0. Definitions.++ "This License" refers to version 3 of the GNU General Public License.++ "Copyright" also means copyright-like laws that apply to other kinds of+works, such as semiconductor masks.++ "The Program" refers to any copyrightable work licensed under this+License. Each licensee is addressed as "you". "Licensees" and+"recipients" may be individuals or organizations.++ To "modify" a work means to copy from or adapt all or part of the work+in a fashion requiring copyright permission, other than the making of an+exact copy. The resulting work is called a "modified version" of the+earlier work or a work "based on" the earlier work.++ A "covered work" means either the unmodified Program or a work based+on the Program.++ To "propagate" a work means to do anything with it that, without+permission, would make you directly or secondarily liable for+infringement under applicable copyright law, except executing it on a+computer or modifying a private copy. Propagation includes copying,+distribution (with or without modification), making available to the+public, and in some countries other activities as well.++ To "convey" a work means any kind of propagation that enables other+parties to make or receive copies. Mere interaction with a user through+a computer network, with no transfer of a copy, is not conveying.++ An interactive user interface displays "Appropriate Legal Notices"+to the extent that it includes a convenient and prominently visible+feature that (1) displays an appropriate copyright notice, and (2)+tells the user that there is no warranty for the work (except to the+extent that warranties are provided), that licensees may convey the+work under this License, and how to view a copy of this License. If+the interface presents a list of user commands or options, such as a+menu, a prominent item in the list meets this criterion.++ 1. Source Code.++ The "source code" for a work means the preferred form of the work+for making modifications to it. "Object code" means any non-source+form of a work.++ A "Standard Interface" means an interface that either is an official+standard defined by a recognized standards body, or, in the case of+interfaces specified for a particular programming language, one that+is widely used among developers working in that language.++ The "System Libraries" of an executable work include anything, other+than the work as a whole, that (a) is included in the normal form of+packaging a Major Component, but which is not part of that Major+Component, and (b) serves only to enable use of the work with that+Major Component, or to implement a Standard Interface for which an+implementation is available to the public in source code form. A+"Major Component", in this context, means a major essential component+(kernel, window system, and so on) of the specific operating system+(if any) on which the executable work runs, or a compiler used to+produce the work, or an object code interpreter used to run it.++ The "Corresponding Source" for a work in object code form means all+the source code needed to generate, install, and (for an executable+work) run the object code and to modify the work, including scripts to+control those activities. However, it does not include the work's+System Libraries, or general-purpose tools or generally available free+programs which are used unmodified in performing those activities but+which are not part of the work. For example, Corresponding Source+includes interface definition files associated with source files for+the work, and the source code for shared libraries and dynamically+linked subprograms that the work is specifically designed to require,+such as by intimate data communication or control flow between those+subprograms and other parts of the work.++ The Corresponding Source need not include anything that users+can regenerate automatically from other parts of the Corresponding+Source.++ The Corresponding Source for a work in source code form is that+same work.++ 2. Basic Permissions.++ All rights granted under this License are granted for the term of+copyright on the Program, and are irrevocable provided the stated+conditions are met. This License explicitly affirms your unlimited+permission to run the unmodified Program. The output from running a+covered work is covered by this License only if the output, given its+content, constitutes a covered work. This License acknowledges your+rights of fair use or other equivalent, as provided by copyright law.++ You may make, run and propagate covered works that you do not+convey, without conditions so long as your license otherwise remains+in force. You may convey covered works to others for the sole purpose+of having them make modifications exclusively for you, or provide you+with facilities for running those works, provided that you comply with+the terms of this License in conveying all material for which you do+not control copyright. Those thus making or running the covered works+for you must do so exclusively on your behalf, under your direction+and control, on terms that prohibit them from making any copies of+your copyrighted material outside their relationship with you.++ Conveying under any other circumstances is permitted solely under+the conditions stated below. Sublicensing is not allowed; section 10+makes it unnecessary.++ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.++ No covered work shall be deemed part of an effective technological+measure under any applicable law fulfilling obligations under article+11 of the WIPO copyright treaty adopted on 20 December 1996, or+similar laws prohibiting or restricting circumvention of such+measures.++ When you convey a covered work, you waive any legal power to forbid+circumvention of technological measures to the extent such circumvention+is effected by exercising rights under this License with respect to+the covered work, and you disclaim any intention to limit operation or+modification of the work as a means of enforcing, against the work's+users, your or third parties' legal rights to forbid circumvention of+technological measures.++ 4. Conveying Verbatim Copies.++ You may convey verbatim copies of the Program's source code as you+receive it, in any medium, provided that you conspicuously and+appropriately publish on each copy an appropriate copyright notice;+keep intact all notices stating that this License and any+non-permissive terms added in accord with section 7 apply to the code;+keep intact all notices of the absence of any warranty; and give all+recipients a copy of this License along with the Program.++ You may charge any price or no price for each copy that you convey,+and you may offer support or warranty protection for a fee.++ 5. Conveying Modified Source Versions.++ You may convey a work based on the Program, or the modifications to+produce it from the Program, in the form of source code under the+terms of section 4, provided that you also meet all of these conditions:++ a) The work must carry prominent notices stating that you modified+ it, and giving a relevant date.++ b) The work must carry prominent notices stating that it is+ released under this License and any conditions added under section+ 7. This requirement modifies the requirement in section 4 to+ "keep intact all notices".++ c) You must license the entire work, as a whole, under this+ License to anyone who comes into possession of a copy. This+ License will therefore apply, along with any applicable section 7+ additional terms, to the whole of the work, and all its parts,+ regardless of how they are packaged. This License gives no+ permission to license the work in any other way, but it does not+ invalidate such permission if you have separately received it.++ d) If the work has interactive user interfaces, each must display+ Appropriate Legal Notices; however, if the Program has interactive+ interfaces that do not display Appropriate Legal Notices, your+ work need not make them do so.++ A compilation of a covered work with other separate and independent+works, which are not by their nature extensions of the covered work,+and which are not combined with it such as to form a larger program,+in or on a volume of a storage or distribution medium, is called an+"aggregate" if the compilation and its resulting copyright are not+used to limit the access or legal rights of the compilation's users+beyond what the individual works permit. Inclusion of a covered work+in an aggregate does not cause this License to apply to the other+parts of the aggregate.++ 6. Conveying Non-Source Forms.++ You may convey a covered work in object code form under the terms+of sections 4 and 5, provided that you also convey the+machine-readable Corresponding Source under the terms of this License,+in one of these ways:++ a) Convey the object code in, or embodied in, a physical product+ (including a physical distribution medium), accompanied by the+ Corresponding Source fixed on a durable physical medium+ customarily used for software interchange.++ b) Convey the object code in, or embodied in, a physical product+ (including a physical distribution medium), accompanied by a+ written offer, valid for at least three years and valid for as+ long as you offer spare parts or customer support for that product+ model, to give anyone who possesses the object code either (1) a+ copy of the Corresponding Source for all the software in the+ product that is covered by this License, on a durable physical+ medium customarily used for software interchange, for a price no+ more than your reasonable cost of physically performing this+ conveying of source, or (2) access to copy the+ Corresponding Source from a network server at no charge.++ c) Convey individual copies of the object code with a copy of the+ written offer to provide the Corresponding Source. This+ alternative is allowed only occasionally and noncommercially, and+ only if you received the object code with such an offer, in accord+ with subsection 6b.++ d) Convey the object code by offering access from a designated+ place (gratis or for a charge), and offer equivalent access to the+ Corresponding Source in the same way through the same place at no+ further charge. You need not require recipients to copy the+ Corresponding Source along with the object code. If the place to+ copy the object code is a network server, the Corresponding Source+ may be on a different server (operated by you or a third party)+ that supports equivalent copying facilities, provided you maintain+ clear directions next to the object code saying where to find the+ Corresponding Source. Regardless of what server hosts the+ Corresponding Source, you remain obligated to ensure that it is+ available for as long as needed to satisfy these requirements.++ e) Convey the object code using peer-to-peer transmission, provided+ you inform other peers where the object code and Corresponding+ Source of the work are being offered to the general public at no+ charge under subsection 6d.++ A separable portion of the object code, whose source code is excluded+from the Corresponding Source as a System Library, need not be+included in conveying the object code work.++ A "User Product" is either (1) a "consumer product", which means any+tangible personal property which is normally used for personal, family,+or household purposes, or (2) anything designed or sold for incorporation+into a dwelling. In determining whether a product is a consumer product,+doubtful cases shall be resolved in favor of coverage. For a particular+product received by a particular user, "normally used" refers to a+typical or common use of that class of product, regardless of the status+of the particular user or of the way in which the particular user+actually uses, or expects or is expected to use, the product. A product+is a consumer product regardless of whether the product has substantial+commercial, industrial or non-consumer uses, unless such uses represent+the only significant mode of use of the product.++ "Installation Information" for a User Product means any methods,+procedures, authorization keys, or other information required to install+and execute modified versions of a covered work in that User Product from+a modified version of its Corresponding Source. The information must+suffice to ensure that the continued functioning of the modified object+code is in no case prevented or interfered with solely because+modification has been made.++ If you convey an object code work under this section in, or with, or+specifically for use in, a User Product, and the conveying occurs as+part of a transaction in which the right of possession and use of the+User Product is transferred to the recipient in perpetuity or for a+fixed term (regardless of how the transaction is characterized), the+Corresponding Source conveyed under this section must be accompanied+by the Installation Information. But this requirement does not apply+if neither you nor any third party retains the ability to install+modified object code on the User Product (for example, the work has+been installed in ROM).++ The requirement to provide Installation Information does not include a+requirement to continue to provide support service, warranty, or updates+for a work that has been modified or installed by the recipient, or for+the User Product in which it has been modified or installed. Access to a+network may be denied when the modification itself materially and+adversely affects the operation of the network or violates the rules and+protocols for communication across the network.++ Corresponding Source conveyed, and Installation Information provided,+in accord with this section must be in a format that is publicly+documented (and with an implementation available to the public in+source code form), and must require no special password or key for+unpacking, reading or copying.++ 7. Additional Terms.++ "Additional permissions" are terms that supplement the terms of this+License by making exceptions from one or more of its conditions.+Additional permissions that are applicable to the entire Program shall+be treated as though they were included in this License, to the extent+that they are valid under applicable law. If additional permissions+apply only to part of the Program, that part may be used separately+under those permissions, but the entire Program remains governed by+this License without regard to the additional permissions.++ When you convey a copy of a covered work, you may at your option+remove any additional permissions from that copy, or from any part of+it. (Additional permissions may be written to require their own+removal in certain cases when you modify the work.) You may place+additional permissions on material, added by you to a covered work,+for which you have or can give appropriate copyright permission.++ Notwithstanding any other provision of this License, for material you+add to a covered work, you may (if authorized by the copyright holders of+that material) supplement the terms of this License with terms:++ a) Disclaiming warranty or limiting liability differently from the+ terms of sections 15 and 16 of this License; or++ b) Requiring preservation of specified reasonable legal notices or+ author attributions in that material or in the Appropriate Legal+ Notices displayed by works containing it; or++ c) Prohibiting misrepresentation of the origin of that material, or+ requiring that modified versions of such material be marked in+ reasonable ways as different from the original version; or++ d) Limiting the use for publicity purposes of names of licensors or+ authors of the material; or++ e) Declining to grant rights under trademark law for use of some+ trade names, trademarks, or service marks; or++ f) Requiring indemnification of licensors and authors of that+ material by anyone who conveys the material (or modified versions of+ it) with contractual assumptions of liability to the recipient, for+ any liability that these contractual assumptions directly impose on+ those licensors and authors.++ All other non-permissive additional terms are considered "further+restrictions" within the meaning of section 10. If the Program as you+received it, or any part of it, contains a notice stating that it is+governed by this License along with a term that is a further+restriction, you may remove that term. If a license document contains+a further restriction but permits relicensing or conveying under this+License, you may add to a covered work material governed by the terms+of that license document, provided that the further restriction does+not survive such relicensing or conveying.++ If you add terms to a covered work in accord with this section, you+must place, in the relevant source files, a statement of the+additional terms that apply to those files, or a notice indicating+where to find the applicable terms.++ Additional terms, permissive or non-permissive, may be stated in the+form of a separately written license, or stated as exceptions;+the above requirements apply either way.++ 8. Termination.++ You may not propagate or modify a covered work except as expressly+provided under this License. Any attempt otherwise to propagate or+modify it is void, and will automatically terminate your rights under+this License (including any patent licenses granted under the third+paragraph of section 11).++ However, if you cease all violation of this License, then your+license from a particular copyright holder is reinstated (a)+provisionally, unless and until the copyright holder explicitly and+finally terminates your license, and (b) permanently, if the copyright+holder fails to notify you of the violation by some reasonable means+prior to 60 days after the cessation.++ Moreover, your license from a particular copyright holder is+reinstated permanently if the copyright holder notifies you of the+violation by some reasonable means, this is the first time you have+received notice of violation of this License (for any work) from that+copyright holder, and you cure the violation prior to 30 days after+your receipt of the notice.++ Termination of your rights under this section does not terminate the+licenses of parties who have received copies or rights from you under+this License. If your rights have been terminated and not permanently+reinstated, you do not qualify to receive new licenses for the same+material under section 10.++ 9. Acceptance Not Required for Having Copies.++ You are not required to accept this License in order to receive or+run a copy of the Program. Ancillary propagation of a covered work+occurring solely as a consequence of using peer-to-peer transmission+to receive a copy likewise does not require acceptance. However,+nothing other than this License grants you permission to propagate or+modify any covered work. These actions infringe copyright if you do+not accept this License. Therefore, by modifying or propagating a+covered work, you indicate your acceptance of this License to do so.++ 10. Automatic Licensing of Downstream Recipients.++ Each time you convey a covered work, the recipient automatically+receives a license from the original licensors, to run, modify and+propagate that work, subject to this License. You are not responsible+for enforcing compliance by third parties with this License.++ An "entity transaction" is a transaction transferring control of an+organization, or substantially all assets of one, or subdividing an+organization, or merging organizations. If propagation of a covered+work results from an entity transaction, each party to that+transaction who receives a copy of the work also receives whatever+licenses to the work the party's predecessor in interest had or could+give under the previous paragraph, plus a right to possession of the+Corresponding Source of the work from the predecessor in interest, if+the predecessor has it or can get it with reasonable efforts.++ You may not impose any further restrictions on the exercise of the+rights granted or affirmed under this License. For example, you may+not impose a license fee, royalty, or other charge for exercise of+rights granted under this License, and you may not initiate litigation+(including a cross-claim or counterclaim in a lawsuit) alleging that+any patent claim is infringed by making, using, selling, offering for+sale, or importing the Program or any portion of it.++ 11. Patents.++ A "contributor" is a copyright holder who authorizes use under this+License of the Program or a work on which the Program is based. The+work thus licensed is called the contributor's "contributor version".++ A contributor's "essential patent claims" are all patent claims+owned or controlled by the contributor, whether already acquired or+hereafter acquired, that would be infringed by some manner, permitted+by this License, of making, using, or selling its contributor version,+but do not include claims that would be infringed only as a+consequence of further modification of the contributor version. For+purposes of this definition, "control" includes the right to grant+patent sublicenses in a manner consistent with the requirements of+this License.++ Each contributor grants you a non-exclusive, worldwide, royalty-free+patent license under the contributor's essential patent claims, to+make, use, sell, offer for sale, import and otherwise run, modify and+propagate the contents of its contributor version.++ In the following three paragraphs, a "patent license" is any express+agreement or commitment, however denominated, not to enforce a patent+(such as an express permission to practice a patent or covenant not to+sue for patent infringement). To "grant" such a patent license to a+party means to make such an agreement or commitment not to enforce a+patent against the party.++ If you convey a covered work, knowingly relying on a patent license,+and the Corresponding Source of the work is not available for anyone+to copy, free of charge and under the terms of this License, through a+publicly available network server or other readily accessible means,+then you must either (1) cause the Corresponding Source to be so+available, or (2) arrange to deprive yourself of the benefit of the+patent license for this particular work, or (3) arrange, in a manner+consistent with the requirements of this License, to extend the patent+license to downstream recipients. "Knowingly relying" means you have+actual knowledge that, but for the patent license, your conveying the+covered work in a country, or your recipient's use of the covered work+in a country, would infringe one or more identifiable patents in that+country that you have reason to believe are valid.++ If, pursuant to or in connection with a single transaction or+arrangement, you convey, or propagate by procuring conveyance of, a+covered work, and grant a patent license to some of the parties+receiving the covered work authorizing them to use, propagate, modify+or convey a specific copy of the covered work, then the patent license+you grant is automatically extended to all recipients of the covered+work and works based on it.++ A patent license is "discriminatory" if it does not include within+the scope of its coverage, prohibits the exercise of, or is+conditioned on the non-exercise of one or more of the rights that are+specifically granted under this License. You may not convey a covered+work if you are a party to an arrangement with a third party that is+in the business of distributing software, under which you make payment+to the third party based on the extent of your activity of conveying+the work, and under which the third party grants, to any of the+parties who would receive the covered work from you, a discriminatory+patent license (a) in connection with copies of the covered work+conveyed by you (or copies made from those copies), or (b) primarily+for and in connection with specific products or compilations that+contain the covered work, unless you entered into that arrangement,+or that patent license was granted, prior to 28 March 2007.++ Nothing in this License shall be construed as excluding or limiting+any implied license or other defenses to infringement that may+otherwise be available to you under applicable patent law.++ 12. No Surrender of Others' Freedom.++ If conditions are imposed on you (whether by court order, agreement or+otherwise) that contradict the conditions of this License, they do not+excuse you from the conditions of this License. If you cannot convey a+covered work so as to satisfy simultaneously your obligations under this+License and any other pertinent obligations, then as a consequence you may+not convey it at all. For example, if you agree to terms that obligate you+to collect a royalty for further conveying from those to whom you convey+the Program, the only way you could satisfy both those terms and this+License would be to refrain entirely from conveying the Program.++ 13. Use with the GNU Affero General Public License.++ Notwithstanding any other provision of this License, you have+permission to link or combine any covered work with a work licensed+under version 3 of the GNU Affero General Public License into a single+combined work, and to convey the resulting work. The terms of this+License will continue to apply to the part which is the covered work,+but the special requirements of the GNU Affero General Public License,+section 13, concerning interaction through a network will apply to the+combination as such.++ 14. Revised Versions of this License.++ The Free Software Foundation may publish revised and/or new versions of+the GNU General Public License from time to time. Such new versions will+be similar in spirit to the present version, but may differ in detail to+address new problems or concerns.++ Each version is given a distinguishing version number. If the+Program specifies that a certain numbered version of the GNU General+Public License "or any later version" applies to it, you have the+option of following the terms and conditions either of that numbered+version or of any later version published by the Free Software+Foundation. If the Program does not specify a version number of the+GNU General Public License, you may choose any version ever published+by the Free Software Foundation.++ If the Program specifies that a proxy can decide which future+versions of the GNU General Public License can be used, that proxy's+public statement of acceptance of a version permanently authorizes you+to choose that version for the Program.++ Later license versions may give you additional or different+permissions. However, no additional obligations are imposed on any+author or copyright holder as a result of your choosing to follow a+later version.++ 15. Disclaimer of Warranty.++ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.++ 16. Limitation of Liability.++ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF+SUCH DAMAGES.++ 17. Interpretation of Sections 15 and 16.++ If the disclaimer of warranty and limitation of liability provided+above cannot be given local legal effect according to their terms,+reviewing courts shall apply local law that most closely approximates+an absolute waiver of all civil liability in connection with the+Program, unless a warranty or assumption of liability accompanies a+copy of the Program in return for a fee.++ END OF TERMS AND CONDITIONS++ How to Apply These Terms to Your New Programs++ If you develop a new program, and you want it to be of the greatest+possible use to the public, the best way to achieve this is to make it+free software which everyone can redistribute and change under these terms.++ To do so, attach the following notices to the program. It is safest+to attach them to the start of each source file to most effectively+state the exclusion of warranty; and each file should have at least+the "copyright" line and a pointer to where the full notice is found.++ <one line to give the program's name and a brief idea of what it does.>+ Copyright (C) <year> <name of author>++ This program is free software: you can redistribute it and/or modify+ it under the terms of the GNU General Public License as published by+ the Free Software Foundation, either version 3 of the License, or+ (at your option) any later version.++ This program is distributed in the hope that it will be useful,+ but WITHOUT ANY WARRANTY; without even the implied warranty of+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ GNU General Public License for more details.++ You should have received a copy of the GNU General Public License+ along with this program. If not, see <http://www.gnu.org/licenses/>.++Also add information on how to contact you by electronic and paper mail.++ If the program does terminal interaction, make it output a short+notice like this when it starts in an interactive mode:++ <program> Copyright (C) <year> <name of author>+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.+ This is free software, and you are welcome to redistribute it+ under certain conditions; type `show c' for details.++The hypothetical commands `show w' and `show c' should show the appropriate+parts of the General Public License. Of course, your program's commands+might be different; for a GUI interface, you would use an "about box".++ You should also get your employer (if you work as a programmer) or school,+if any, to sign a "copyright disclaimer" for the program, if necessary.+For more information on this, and how to apply and follow the GNU GPL, see+<http://www.gnu.org/licenses/>.++ The GNU General Public License does not permit incorporating your program+into proprietary programs. If your program is a subroutine library, you+may consider it more useful to permit linking proprietary applications with+the library. If this is what you want to do, use the GNU Lesser General+Public License instead of this License. But first, please read+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
ChangeLog
@@ -0,0 +1,1824 @@+CHANGELOG Highlight+++highlight 3.36++xx.03.2017++-fixed code folding plugin to support more Ruby conditional modifiers (thanks to Jens Schleusener)+-fixed Perl quoted string highlighting (thanks to Jens Schleusener)+-added new GeneratorOverride syntax definition parameter+-added Filenames parameter in filetypes.conf to assign input filenames to syntax types+ (suggested by Andy)+-added FASM definition and edit-fasm theme (thanks to Tristano Ajmone)+-added outhtml_ie7_webctrl plug-in (suggested by Tristano Ajmone)+-GUI: file extensions can be configured for multiple languages, triggers syntax selection prompt++---+highlight 3.35++28.02.2017++-fixed code folding plugin to support Ruby conditional modifiers+-fixed JSON definition (thanks to Timothee Cour)+-fixed output of unknown syntax warning with applied force switch (thanks to Andy)+-added state trace parameter to Decorate plug-in function +-added GDScript definition and edit-godot theme (thanks to Tristano Ajmone)+-updated SWIG code samples+-updated Artistic Style lib (SVN Rev. 553)+-revised docs+-CLI: fixed creation of hidden files if output filename is prepended by its input path+-CLI: added switch --stdout (https://sourceforge.net/p/syntaxhighlight/bugs/14/)++---+highlight 3.34++27.12.2016++-fixed segfault with --skip applied on a single file input list (thanks to Jens Schleusener)+-added support for Python 3.6 syntax+-added Github and Sourceforge themes++---+highlight 3.33++02.11.2016++-fixed highlighting of nested section delimiters+-fixed PHP definition (thanks to Christoph Burschka)+-fixed font family declaration in SVG+-fixed user defined encoding in ODT+-fixed unnecessary output of style file with --inline-css (thanks to Jens Schleusener)+-added vimscript language definition (thanks to Max Christian Pohle)+-added Coffeescript language definition (thanks to Jess Austin)+-added PureBasic definition and theme (thanks to Tristano Ajmone)+-added JSX language definition (suggested by Max Stoiber)+-added PO translation definition+-added plug-in outhtml_add_figure.lua+-updated js definition+-updated Artistic Style lib (SVN Rev. 521)+-improved various color themes and syntax definitions++---+highlight 3.32++24.09.2016++-added support for true color escape codes (--out-format truecolor)+-fixed xterm256 output for paging with less (thanks to Fylwind)+-fixed operator regex in rnc.lang, crk.lang and yaml.lang (thanks to Joe Klauza)+-added Pony and Whiley definitions+-updated Ceylon, Julia and TypeScript definitions+-added Go, AutoHotKey, TypeScript and R to the foldable list in the + outhtml_codefold.lua plug-in+-removed plugins/bash_ref_linuxmanpages_com.lua+-GUI: fixed README, ChangeLog and License file paths on Linux++---+highlight 3.31++01.08.2016++-revised documentation+-GUI: fixed minor layout issues++---+highlight 3.30++30.06.2016++-the data directory can be defined with the HIGHLIGHT_DATADIR environment variable+-fixed RTF output of UTF-8 input; needs input encoding set to utf-8 + (thanks to Kamigishi Rei)+-fixed XML comment recognition (thanks to Mani)+-data search directories were appended to the result of --list-scripts+-revised older syntax definitions+-updated base URLs of bash_ref_linuxmanpages and cpp_ref_qtproject plug-ins+-GUI: added system copy and paste shortcuts for clipboard functions + (suggested by Kamigishi Rei)++---+highlight 3.29++24.05.2016++-added Ansible Yaml definition (thanks to Raphael Droz)+-added Chapel definition (thanks to Lydia Duncan)+-fixed gcc 6 warnings about deprecated auto_ptr usage+-src/makefile: added -std=c++11 because of auto_ptr to unique_ptr transition+ (thanks to Jens Schleusener)+-GUI: fixed style file output if "write to source directory" option is+ checked (thanks to Jim Pattee)++---+highlight 3.28++15.02.2016++-added support of Pascal, Lua, Ruby and C# regions in outhtml_codefold.lua+-improved outhtml_codefold.lua to handle embedded languages+-added string delimiters in the Ruby definition+-added new AssertEqualLength flag in string section of language definitions+-improved heredoc parsing+-fixed Lua multiline string recognition+-improved SVG whitespace output (patch by Paul de Vrieze)+-added Nim and mIRC Scripting definitions++---+highlight 3.27++19.01.2016++-improved outhtml_codefold.lua to ignore brackets on the same line+-added RTF output to mark_lines.lua +-fixed Powershell and NSIS definitions+-added JSON and Github Markdown definitions+-CLI: added --keep-injections option to force plugin injection output with -f+-GUI: added keep injections checkbox+-GUI: fixed crash after removing selected plugins++---+highlight 3.26++13.01.2016++-added HL_REJECT state to be used in a OnStateChange function+-added DecorateLineBegin and DecorateLineEnd hooks+-added mark_lines.lua, outhtml_codefold.lua, comment_links.lua plug-ins+-fixed font face in ODT output+-fixed Operators parameter in frink.lang and oorexx.lang+-fixed regular expression parsing within strings for JS, Perl and Ruby+-CLI: added --page-color option to include a page color in RTF output+-GUI: added RTF page color checkbox++---+highlight 3.25++18.12.2015++-added new SVG definition to support embedded scripting+-improved js.lang, css.lang, scss.lang, less.lang, tsql.lang+-modified HTML ordered list output to work better with new plug-ins+-renamed plug-in variable HL_INPUT_FILE to HL_PLUGIN_PARAM+-CLI: renamed --plug-in-read option to --plug-in-param+-GUI: updated plug-in parameter label and tool-tips+-GUI: fixed minor issues++---+highlight 3.24++02.11.2015++-fixed TeX output for cweb documents (patch by Ingo Krabbe)+-fixed string interpolation in bat.lang+-added reduce_filesize.lua, outhtml_add_shadow.lua, + outhtml_add_background_svg.lua, outhtml_add_background_stripes.lua, + outhtml_add_line.lua plug-ins +-added TCL extension in examples/tcl+-added kotlin.lang, nginx.lang and julia.lang+-updated php.lang to include version 7 keywords +-updated ceylon.lang to include version 1.2 keywords +-updated scripts in examples directory+-CLI: style-infile option marked as deprecated+-GUI: shortened paths in file input lists++---+highlight 3.23++16.07.2015++-added rs.lang+-added conf.lang (thanks to Victor Ananjevsky)+-added some extensions in filetypes.conf (patch by Victor Ananjevsky)+-fixed Matlab definition and style (thanks to Justin Pearson)+-CLI: fixed --list-scripts with unknown argument (thanks to Jens Schleusener)++---+highlight 3.22++17.02.2015++-updated astyle code to release 2.05.1+-fixed shebang recognition (thanks to Victor Ananjevsky)+-GUI: added option to define line numbering start++---+highlight 3.21++02.02.2015++-added support for LESS, SASS and Stylus CSS processors (suggested by Marcel Bischoff)+-added support for Lua 5.3, removed LUA52 makefile option+-fixed heredoc matching in perl.lang (thanks to cornucopia)+-fixed Haskell lang (thanks to Daan Michiels)+-fixed RNC lang (thanks to Daan Michiels)+-fixed regex pattern in js.lang++---+highlight 3.20++28.11.2014++-updated astyle code to release 2.05+-added astyle reformatting style vtk++---+highlight 3.19++05.09.2014++-added bold, italic and underline attributes to xterm256 ANSI output+ (patch by Andrew Fuller)+-fixed assembler mapping in filetypes.conf (thanks to Jens Schleusener)+-added Swift definition+-improved ASP, F#, OCaml and Lisp syntax definitions+-added interpolation patterns to several definitions+-updated base URLs in cpp_ref_gtk_gnome and cpp_ref_qtproject plug-ins+-CLI: added Pango markup output option (patch by Dominik Schmidt)++---+highlight 3.18++28.03.2014++-filenames without extension (ie. makefile) can be mapped in filetypes.conf+ (suggested by Sam Craig)+-fixed Rexx highlighting+-added GDB language definition (thanks to A. Aniruddha)+-added the.theme (thanks to Mark Hessling)++---+highlight 3.17++06.01.2014++-updated astyle code to release 2.04+-added astyle reformatting styles google, pico and lisp+-improved raw string parsing in cs.lang (patch by smdn.jp)+-added regex recognition in js.lang (patch by Troy Sankey)+-added PDF language definition (thanks to Roland Hieber)++---+highlight 3.16.1++01.11.2013++-fixed debug output in sh.lang (https://sourceforge.net/p/syntaxhighlight/bugs/9/)++---+highlight 3.16++30.09.2013++-updated astyle code to release 2.03+-added heredoc string literal parsing for Lisp, Perl, PHP, Ruby and Bash+-revised several language definitions+-added DataDir::searchDataDir for the Perl SWIG bindings (thanks to David Bremner)+-added SWIG PHP binding (patch by G. Wijaya)++---+highlight 3.15++27.06.2013++-updated Diluculum code to release 1.0 (support of Lua 5.2)+-patched Diluculum to support Lua 5.1 and 5.2+-added support for Yang (thanks to A. Aniruddha)+-fixed Ruby definition++---+highlight 3.14++31.04.2013++-added HeaderInjection and FooterInjection variables for syntax plug-ins+-fixed handling of CRLF files on Linux (suggested by William Bell)+-replaced single data directory by a dynamic config file search; see README+ (suggested by Daniel)+-added plug-ins outhtml_parantheses_matcher.lua, outhtml_keyword_matcher.lua+-CLI: added --list-scripts option+-CLI: marked --data-dir, --list-langs, --list-themes options as deprecated+-CLI: removed --add-config-dir option++---+highlight 3.13++05.02.2013++-added support for Crack (thanks to Conrad Steenberg)+-added XML shebang regex (thanks to Ferry Huberts)+-added hints to makefile to deal with Lua 5.1 and LuaJIT system libs+-updated cpp_ref_gtk_gnome.lua plug-in+-updated cpp_ref_cplusplus_com.lua plug-in+-CLI: fixed segfault if --force was applied and unknown files were parsed+ (thanks to Jussi Judin)+-GUI: fixed unselected theme after first program start++---+highlight 3.12++05.10.2012++-CSS class name is omitted in HTML output if class-name option is set to NONE+-added support for highlighting of string interpolation+-added support for Dart and TypeScript+-fixed SWIG module+-GUI: added Simplified Chinese translation (thanks to Love NoAny)++---+highlight 3.11 beta++21.08.2012++-replaced Pattern/Matcher classes by the Boost xpressive library+ (now swig example is broken)+-updated Relax NG syntax (thanks to Roger Sperberg)+-added new oxygenated theme (thanks to Roger Sperberg)+-fixed highlight.pro to include correct lua5.1 paths+-GUI: fixed shebang recognition++---+highlight 3.10 beta++21.07.2012++-fixed HTML ordered lists to improve copy&paste in browsers (suggested by Nash)+-changed default output from HTML 4.01 to HTML5+-changed default HTML font family to include the generic monospace font+-added ODT Flat XML output format (--out-format=odt)+-added fontenc package in LaTeX output (patch by Yimin Li)+-fixed RTF hyperlink output in several plug-ins+-removed ctags option (functionality was replaced by plug-in)+-CLI: added --wrap-no-numbers option (patch by Michael Enßlin)+-GUI: replaced Qt file dialogs by native dialogs++---+highlight 3.9++01.05.2012++-enhanced the plug-in interface (added Decorator function and Injections property)+-added several example plug-ins which show how to add keyword links to online+ references (e.g. cplusplus.com, perldoc.perl.org, qtproject_org)+-added ctags plugin (ctags_html_tooltips.lua)+-improved Perl and N3 definitions (thanks to Heiko Jansen)+-CLI: marked --ctags-file option as deprecated+-CLI: added --plug-in-read option to define an input file for plug-ins+-CLI: fixed file suffix recognition+-GUI: added input field for a plug-in input file+-GUI: fixed initial input tab selection+-GUI: set initial font selection to Courier++---+highlight 3.8++24.02.2012++-updated astyle code to release 2.02.1+-fixed SWIG perl binding makefile (patch by David Bremner)+-fixed shebang recognition (patch by Georgios M. Zarkadas)+-fixed file suffix recognition (patch by Georgios M. Zarkadas)+-fixed memory leak in astyle's ASFormatter (patch by MENG Wei)++---+highlight 3.7++03.01.2012++-added support for Biferno (thanks to Sandro Bilbeisi)+-added support for RPL (thanks to Frank Seidinger)+-added support for Ceylon+-fixed Ruby definition+-HTML font string may contain a list of fonts, which is not enclosed in quotes+ (suggested by Sebastiano Poggi)+-GUI: added --portable command line option to save config files in the current+ working directory instead of the user directory (suggested by Royi Avital)+-GUI: fixed some language mappings++---+highlight 3.6++05.10.2011++-added support for UPC (thanks to Viraj Sinha)+-added support for N3, N-Triples, Turtle, SPARQL (suggested by Heiko Jansen)+-added Solarized color theme (thanks to Steve Huff)+-fixed OCaml definition (thanks to Kakadu Hafanana)+-fixed camo colour theme+-removed sienna and desertEx colour themes+-CLI: fixed segfault with --print-style option+-GUI: added "Dock floating panels" checkbox in the main menu++---+highlight 3.5++02.06.2011++-updated astyle code to release 2.02+-fixed --force option (thanks to Stefan Bühler)++---+highlight 3.4++31.03.2011++-added support for ABC, Algol, AS/400 CL, BCPL, Limbo, Gambas, JavaFX,+ RPG, Transact-SQL, PL/Perl, PL/Tcl, PL/Python, Charmm+-fixed web plugins (Serendipity, DokuWiki, Wordpress)+-fixed BBCode closing tag order+-GUI: Updated Czech translation (thanks to Pavel Fric)++---+highlight 3.3++28.12.2010++-updated astyle code to release 2.01+-fixed overwriting of files with the same name in recursive batch mode+ (thanks to Ramanathan U.)+-added DataDir class to SWIG interface (patch by David Bremner)+-added Andes theme (thanks to Roger Sperberg)+-enabled deprecated @highlight pass-through (suggested by David Bremner)+-dropped oceandeep theme+-updated documentation++---+highlight 3.2++08.11.2010++-added plug-in function AddKeyword (suggested by Michael Serrano)+-language definitions are cached instead of being reloaded if input syntax+ changes+-added keyword group ID parameter to the plug-in function OnStateChange+-added plug-in script bash_functions.lua+-added theme description in output style's comment+-added enum and union keywords in c.lang (thanks to Thiago)+-added dl linking flag in Makefile to fix Debian build error+ (thanks to Michael Serrano)+-added NDEBUG flag in makefile to disable asserts+-GUI: Added Czech translation (thanks to Pavel Fric)++---+highlight 3.1++24.08.2010++-updated Diluculum to version 0.5.3+-fixed README+-fixed conversion without highlighting (--syntax txt)+-fixed msxml definition (thanks to Andrei Rosca)+-added edit-flashdevelop theme (thanks to Andrei Rosca)+-CLI: fixed minor bugs++---+highlight 3.1 beta3++12.08.2010++-added --config-file option+-CLI: fixed minor bugs+-GUI: renamed output specific options tab+-GUI: remember state of the dock panel++---+highlight 3.1 beta2++08.07.2010++-moved plugin scripts from examples to new plugins directory+-fixed web_plugin path in makefile (thanks to Jochen Schmitt)+-fixed SWIG interface and example scripts+-improved converted VIM colour themes+-improved several language definitions (Fortran77, Zonnon,+ Basic, Verilog, Squirrel, R)+-added new plugins (java_library.lua, theme_invert.lua)+-GUI: added plug-in description label+-GUI: moved setting controls into a dock panel++---+highlight 3.1 beta1++21.06.2010++-enabled loading of multiple plugins+-added MXML language definition (suggested by Neal Delfeld)+-fixed HTML, XML, CSS, Actionscript and JavaScript definitions+-converted 60 popular VIM colour themes++---+highlight 3.0 beta++03.06.2010++-language definitions, themes, filetypes.conf were converted to Lua scripts+ (try examples/*2to3.py to convert old files)+-added --plug-in option to enable user scripts+-renamed *.style files to *.theme+-moved include files from src/core to src/include+-moved examples/plugins to examples/web_plugins+-renamed --linenumbers to --line-numbers+-renamed several language definitions and themes+-fixed several string delimiter issues (Ruby, Lua)+-changed default theme for xterm256 output to edit-vim-dark+-changed short options: -O is --out-format, -d is --out-dir, -T is --doc-title+-disabled --mark-line feature+-disabled --add-data-dir feature+-disabled separate output format options (use --out-format instead)+-disabled XML output (use SVG or XHTML)+-New dependencies: Lua5.1-devel, Boost Headers (Bind)++---+highlight 2.16++29-03-2010++-updated astyle code to release 1.24+-added indentation styles 1tbs and horstmann+-added --no-trailing-nl switch (suggested by Adiel Mittmann)+-added Modula2 definition (thanks to Benjamin Kowarsch)+-added EBNF definition (thanks to Mate Ory)+-added ABNF, AutoHotKey, BBCode and Clean language definitions+-updated C++ definition to support C++0x syntax+-added StartupNotify switch in desktop file (patch by Jochen Schmitt)++---+highlight 2.15++25-02-2010++-improved HTML nested language patterns (thanks to Simone)+-improved Rexx and PL1 definitions (thanks to Robert Prins)+-added support for NXC and NBC+-GUI: added copy and paste support (thanks to Torsten Flammiger)+-GUI: fixed preview of UTF-8 input++---+highlight 2.14++04-01-2010++-fixed Rexx output (thanks to Marc Hessling)+-added support for Go and Pure+-added support for BNF (thanks to Julien Fontanet)+-updated Logtalk definition (thanks to Paulo Moura)+-updated THE theme (thanks to Marc Hessling)+-CLI: --quiet switch supresses "Unknown source file extension" error+ (suggested by Nathan Gray)++---+highlight 2.13++02-10-2009++-fixed SVG output (thanks to Xico)+-GUI: added new icon++---+highlight 2.12++07-09-2009++-fixed bug with $INCLUDE statement+-fixed ctags file parsing+-added nested language recognition within a source file (suggested by Pavel Striz)+-added $NESTED statement to language definitions (pas, html, tex)+-added support for F# (fs.lang)+-added support for haXe (hx.lang)+-improved various language definitions+-revised documentation+-LIB: added version to shared lib output name+-CLI: added options --start-nested and --print-style++---+highlight 2.11++23-07-2009++-added BBCode output option (--bbcode, suggested by Qui Peccavit)+-added new --delim-cr option to cope with MacOS 9 files+ (suggested by Steven Haddock)+-added shared lib target (make lib-shared, suggested by Dario Teixeira)+-list of installed languages (--list-langs) was enhanced to include mapped file+ extensions (suggested by Martin Kammerlander)+-improved many colour themes using Agave (agave.sf.net)++---+highlight 2.10++24-06-2009++-fixed CR parsing bug on MacOS (thanks to Shiro Wilde)+-fixed SWIG makefile (thanks to David Bremner)+-license changed from GPLv2 to GPLv3 (incl. included libs)+-updated Artistic Style lib to version 1.23+-new indentation schemes: stroustrup, whitesmith, banner+-removed indentSchemes and helpmsg directories+-removed README_INDENT+-replaced ide-devcpp theme by a new jedit theme+-added support for Interactive Data Language (idlang, thanks to Roberto+ Mendoza)+-added support for Rebol, Oz, Mercury, Zonnon, ATS (Applied Type System),+ CHILL, NetRexx, Inno Setup and INTERLIS+-added pp, rjs, jnlp, groovy, gnad, es, sblc, ooc, gst, sq extensions+ to filetypes.conf+-improved Prolog, Pike, Oberon, Nice, Java, Lisp, Lua, Haskell, C# and SML+ definitions+-improved spec.lang for RPM (thanks to Luoyi Ly)+-CLI: option --help-lang is deprecated+-API: dropped setSpecialOptions(), renamed initializing methods to init*++---+highlight 2.9++30-April-2009++-added more customized boxes for the LaTeX --pretty-symbols switch+ (thanks to Romain Francois)+-GUI: fixed makefile to pass costum paths to the Qt project makefile+ (thanks to Joerg Germeroth)+-GUI: reduced window height (thanks to Fidel Barrera)+-GUI: added Spanish translation (thanks to Fidel Barrera)+-GUI: added drag and drop for input files++---+highlight 2.8++30-March-2009++-added --pretty-symbols option to improve LaTeX output quality of tilde and+ braces (thanks to Romain Francois)+-omitted warning message if --syntax parameter is contained in the --skip list+ (thanks to Bob Smith)+-included language descriptions in --list-langs output+-dropped dependency of --replace-quotes and --fragment options+-enhanced Python SWIG example (testmod.py)+-added qmake language definition+-fixed SWIG scripts (thanks to David Bremner)+-fixed gcc 4.4 compilation (patch by Jochen Schmitt)+-dropped core/html32generator.*+-dropped src/gui (wxWidgets based interface)+-GUI: rewrote the user interface using Qt++---+highlight 2.7++12-January-2009++-changed versioning scheme to major.minor+-fixed infinite loop in the W32 build when outputting LaTeX/TeX as UTF-8+ (thanks to Christophe Bal)+-fixed VHDL and Scilab definitions (thanks to Frederik Teichert)+-fixed XML definition (thanks to Edin)+-fixed -r switch (thanks to Frederik Teichert)+-fixed default number recognition regex+-added Clojure language definition (thanks to Pierre Larochelle)+-added wrapping arrow in LaTeX/HTML output if --wrap/--wrap-simple is set+ (suggested by Frederik Teichert)+-updated ide-msvcpp.style to match current Visual Studio appearance+ (suggested by Pieter Kruger)+-added make targets "lib" and "cli"+-organized sources in subdirectories (core, cli, gui) and adjusted makefiles++---+highlight 2.6-14++21-October-2008++-added --ctags-file option to add tooltips with meta information in HTML output+-added options to improve compatibility with GNU source-highlight:+ --doc, --no-doc, --tab, --css, --output-dir, --failsafe, --out-format,+ --src-lang, --line-number, --line-number-ref+-fixed ADA95, C#, Eiffel, Fortran, TCL, Bash definitions+-added Vala language definition+-added several file suffixes to filetypes.conf+-fixed gcc 4.3 compilation issues (patch by Detlef Reichelt)+-fixed race condition in makefile (patch by Jochen Schmitt)+-added exit condition if input path matches output path+ (suggested by James Haefner)+-GUI: added ctags file selection options (only wx2.9 version)++---+highlight 2.6-13++29-September-2008++-added --skip option to ignore unknown file types (suggested by Bob Smith)+-added Haskell LHS language definition (suggested by Sebastian Roeder)+-added regex description for Perl and Ruby definitions+-improved Bison, Paradox, SML, Snobol, Verilog definitions+-renamed snobol.lang to sno.lang+-updated Artistic Style lib to version 1.22+-replaced dirstream lib by a faster file globbing method+ (invoked with --batch-recursive)+-support for USE_FN_MATCH compile flag was dropped+-Makefile generates libhighlight.a (suggested by Adiel Mittmann)+-Updated SWIG makefile and documentation++---+highlight 2.6-12++04-August-2008++-added RTF character stylesheet option (suggested by Klaus Nordby)+-fixed filetypes.conf path in RPM specfile (thanks to Nikita Borodikhin)++---+highlight 2.6-11++09-July-2008++-added SVG output option (--svg)+-reassigned -G short option from --class-name to --svg+-fixed various makefile issues (patches by Samuli Suominen)+-added highlight.desktop file (suggested by Samuli Suominen)+-GUI: added SVG and font selection options (only wx2.9 version)+-GUI: reduced window height by hiding format specific input controls+-updated highlight.spec to compile wx2.9 GUI++---+highlight 2.6-10++07-May-2008++-fixed XHTML output (thanks to Allen McPherson)+-added Logtalk definition (thanks to Paulo Moura)+-added support for Eiffel ecf project files (thanks to Jérémie Blaser)+-various code improvements (patch by Antonio Diaz Diaz)++---+highlight 2.6-9++26-March-2008++-fixed --validate-input option with input from stdin+-fixed missing DESTDIR prefix in makefile (thanks to Bob Smith)+-fixed handling of several keyword regexes using the same group name+-added support for Lilypond+-added support for Arc (thanks to Pierre Larochelle)+-added support for embedded output instructions (see README)+-added examples/highlight_pipe.* (PHP, Perl and Python interface scripts)+-replaced getopt_long by argparser class+-language definition parameters $kw_list and $kw_re are merged to $keywords+-GUI: fixed preview of UTF-8 files (thanks to Victor Woo)+-GUI: added all-gui-wx29 target in Makefile to compile with wxWidgets 2.9++---+highlight 2.6-8++01-February-2008++-fixed highlighting issue with nested comments, if delimiters are distinct+-fixed XML and CSS highlighting+-fixed C escape sequence parsing of octal and hex sequences+-language definition tag tag_delim was dropped+-outdated file README_ES was dropped+-gcc4.3 compilation support was added (patch by Jochen Schmitt)+-font-family parameter is enclosed in apostrophes in HTML output+-added --kw-case=capitalize option+-added --enclose-pre option+-added file README_LANGLIST+-improved several language definitions+-GUI: decreased window height+-GUI: preview window is scrolled to last view position after a content update+-GUI: windows saves and restores previous position and size++---+highlight 2.6-7++04-January-2008++-support for RTF background colour was added+-regex() in language definitions expression allows optional definition of+ capturing group number+-added --add-config-dir option to define config search path+ (suggested by Nathaniel Gray)+-allowed invocation of makefile with CFLAGS and LDFLAGS as parameters+ (patch by Nathaniel Gray)+-fixed OCaml definition (thanks to Nathaniel Gray)+-fixed AutoIt definition+-added case insensitive file suffix matching (thanks to Stefan Boumans)+-GUI: added RTF mimetype to clipboard data (thanks to Stefan Boumans)+-GUI: fixed preview update after tab width change (thanks to Stefan Boumans)++---+highlight 2.6-6++10-December-2007++-added Smalltalk definition and moe theme (thanks to Joerg Walter)+-added support for diff and patch files+-GUI: added clipboard button (suggested by Klaus Schueller and Stefan Boumans)+-fixed Matlab definition (thanks to Andreas Boehler)+-fixed print.style (thanks to Albert Neu)+-fixed output of lines with CR/LF (bug of 2.6.5)+-fixed php and css definitions+-updated ActionScript definition (thanks to Samuel Toulouse)+-updated sql definition (thanks to Stefan Boumans)+-dropped dull theme++---+highlight 2.6-5++02-October-2007++-fixed compilation warning on 64 Bit OS (thanks to Uwe Sassenberg)+-allowed embedded comments in Pascal definition (thanks to Helmut Giritzer)+-fixed memory leak+-improved performance+-added serendipity plugin in examples/plugins+-added support for diff (and patch) files (suggested by Dan Christensen)+-adjusted SWIG makefiles and sample scripts+-improved definitions of Bash, Ruby, Maya, Tcl, Agda and Haskell++---+highlight 2.6-4++13-September-2007++-fixed TeX and LaTeX output (space after strings were omitted,+ thanks to Andre Schade)+-fixed Perl language definition (thanks to Jens Kadenbach)+-fixed gui.cpp compilation with wxWigets unicode build (thanks to Dennis Veatch)+-updated R language definition (thanks to Yihui Xie)++---+highlight 2.6-3++06-September-2007++-added --inline-css option to output CSS within each tag element+-renamed previewgenerator.* files to html32generator.*+-GUI: changed GUI configuration format (using wx config classes)+-GUI: added inline CSS option+-binaries are no longer stripped by default (src/makefile)+-added notes to makefiles and INSTALL concerning static linking+ (thanks to Ken Poole)+-improved MacOS X compatibility (thanks to Benjamin Kowarsch)+-added ide-xcode theme (thanks to Benjamin Kowarsch)+-README files were updated+-updated plugin scripts to use the new --inline-css option++---+highlight 2.6-2++19-July-2007++-dropped deprecated option --format-style+-added --html option for plausibility (HTML output is still default)+-reassigned -H option to --html+-added option --kw-case to output keywords in upper case or lower case if+ the language is not case sensitive+-added option --mark-line to highlight several code lines in HTML output+-added mark-line parameter to colour themes, renamed kw_group parameter+ to kw-group+-added option --validate-input to test if input file is text (if the input+ is considered binary, no parsing takes place)+-updated astyle code to release 1.21+-improved PHP4 compatibility of the wordpress plugin (thanks to Thomas Keller)+-added support for Open Object Rexx (oorexx.lang)+-updated documentation++---+highlight 2.6-1++21-May-2007++-support of HTML colour notation in theme files (ie #12aa00)+-fixed bad formatting of single line comment and directive substrings after+ line wrapping took place (multiline comments may still be screwed up)+-enabled "highlight -c stdout" to print style definition to stdout+-moved highlight/highlight subdir to highlight/src+-removed examples/cgi+-added examples/plugins+-moved gui file directories ext and i18n to DATADIR/gui_files/+-removed themes: berries-light, whatis+-added themes: lucretia, orion+-fixed SWIG interface files and scripts+-fixed makefile and filetypes.conf (thanks to Axel Dyks)+-improved ini.lang (thanks to Axel Dyks)+-GUI: added Brazilian Portuguese translation (thanks to Yorick)++---+highlight 2.6-0++05-May-2007++-fixed bug with line number count starting at zero by default+-modified makefile to support PREFIX and DESTDIR variables (patch by Jeremy Bopp)++---+highlight 2.5-6 beta++20-April-2007++-added new option --class-name (suggested by John Pye)+-fixed XML output (thanks to Hilmar Bunjes)+-updated README files++---+highlight 2.5-5 beta++05-April-2007++-renamed --line-number-width to --line-number-length+-added new option --line-length+-fixed compilation error with gcc 4.3 (thanks to Martin Michlmayr)+-added script shebang recognition with stdin input (patch by Alan Briolat)+-added support for Boo scripting language+-fixed translated help texts+-added *.p, *.i, *.w as Progress file suffixes (thanks to Mark Reeves)++---+highlight 2.5-4 beta++07-March-2007++-improved display quality of preview font (Courier New)+-updated astyle to version 1.20.2++---+highlight 2.5-3 beta++03-March-2007++-fixed bug in GUI preview update+-reduced GUI height+-added support for Linden script (Second Life)++---+highlight 2.5-2 beta++28-February-2007++-added prefix and prefix_bin variables to makefile (suggested by Thomas Link)+-removed LaTeX page dimension directives (suggested by Thomas Link)+-improved several color themes+-removed berries-dark, added seashell theme++---+highlight 2.5-1 beta++29-January-2007++-fixed GTK GUI language file encoding to UTF 8+-improved Ruby language definition+-added gui subsection in the RPM specfile++---+highlight 2.5-0 beta++17-January-2007++-added Miranda language definition (thanks to Peter Bartke)+-added Powershell (Monad) language definition+-fixed ignored conf_dir parameter in makefiles (thanks to Bob Smith)+-included source files and additional make rules to compile a wxWidgets GUI+ (binary: highlight-gui; make all-gui; needs wxWidgets 2.6+)++---+highlight 2.4-8++19-October-2006++-added xterm 256 color output (-M, --xterm256) (thanks to Wolfgang Frisch)+-prints warning if output format ignores the theme background colour+-fixed Java and Python language definitions+-revised README files++---+highlight 2.4-7++10-June-2006++-fixed segfault in symbol parsing procedure (thanks to Veit Wedtstein)+-updated Lua and Lisp definitions+-added AutoIt, NSIS, Graphviz and Qore definitions+-updated SWIG sample scripts++---+02-May-2006++highlight 2.4-6++-fixed segfault when outputting ANSI (thanks to Philip Jenvey)++---+20-March-2006++highlight 2.4-5++-fixed bug which caused segfault on x86_64 (thanks to Eric Hopper)+-fixed wrong enumeration start when outputting text w/o highlighting+ (thanks to Russell Yanofsky)+-added anchor-prefix option (suggested by Peter Biechele)+-added anchor-filename option (suggested by Mazy)+-added $description entry to language file format+-added D language file+-updated regex classes to version 1.05.02++---+19-February-2006++highlight 2.4-4++-added print-config option+-added scilab definition (thanks to Gunnar Lindholm)+-dropped support for XSL-FO (use XML instead for further processing)+-dropped deprecated options (css-infile, css-outfile, include-css)+-fixed line numbering (starting at 1, printed if syntax option is txt)+ (thanks to Russell Yanofsky)+-renamed extensions.conf to filetypes.conf+-moved content of scriptre.conf into filetypes.conf+-renamed option help-int to help-lang+-renamed option format-style to reformat+-updated regex classes to version 1.04+-code cleanup+-updated documentation++---+30-October-2005++highlight 2.4-3++-added RTF page-size option (suggested by David Strip)+-fixed bug in RTF output, which prevented italic and bold output+ (patch by Jeremy Weinberger)+-renamed colour theme parameter KW_CLASS to KW_GROUP++---+25-September-2005++highlight 2.4-2++-added line-number-start switch (suggested by Roie Black)+-added babel switch to make output compatible with LaTeX Babel+ package (disables Babel shorthands)+-fixed ampl.lang (thanks to David Strip)+-fixed error message if language definition is unknown+-added Nemerle definition (n.lang)+-added SAS definition (thanks to Alexandre Detiste)+-added TTCN3 definition (thanks to Peter Biechele)+-added tcsh.lang (thanks to Igor Furlan)+-Unix package: moved *.conf to /etc/highlight/+ (suggested by Jochen Schmitt)++---+23-July-2005++highlight 2.4-1++-dropped include-pkg option+-added CSS style for list items (--ordered-list)+-fixed default number regex+-fixed VHDL event recognition+-added missing KWD keyword style to several colour themes+-added $STRING_UNEQUAL parameter for language definitions+-added string CodeGenerator::generateString(const string &)+-improved Ruby and Octave highlighting+-added SWIG interface in examples/swig+-removed examples/python-binding+-removed themes: neon2 fluke greyish ide-jbuilder4 ide-jcreator2+ ide-synedit neon2 rand02 ron whitenblue website++---+02-July-2005++highlight 2.3-6 beta++-fixed crash in language definition loader+-saved helpmsg/cs.help as iso-8859-2+-added include-pkg option to define a list of LaTeX packages+ which should be included+-fixed output of UTF-8 characters (replaced isspace by iswspace)++---+26-June-2005++highlight 2.3-5 beta++-fixed LaTeX and TeX output+-added support for UTF-8 LaTeX output (suggested by Sungmin Cho)+-dropped automatic conversion of ASCII characters > 127, package+ latin1 is included instead++---+17-June-2005++highlight 2.3-4 beta++-added font and fontsize options (submitted by Yves Bailly)+-added line-number-width (suggested by Yves Bailly)+-code cleanup++---+16-May-2005++highlight 2.3-3 beta++-added kwd keyword class to most of the colour themes+-added regular expressions to some language definitions++---+04-May-2005++highlight 2.3-2 beta++-improved number regex+-added --ordered-list option (suggested by Dominic Lchinger)+-fixed tag parsing (broken in 2.3-1)+-updated docs+-added Brazilian help text (thanks to Adao Raul)+-added Czech help text++---+23-April-2005++highlight 2.3-1 beta++-added support for regular expressions in language definitions++---+25-March-2005++highlight 2.2-10++-added support for PowerPC Assembler (thanks to Juergen Frank)+-added support for AppleScript (thanks to Andreas Amann)+-added encoding option to set proper output encoding type in XML and+ HTML output formats (default encoding: ISO-8895-1)+ Note: encoding name has to match input file encoding+-style definitions are generated if only --fragment and --style-outpath+ options are set+-added simple recognition of scripts without file extension+ (Bash, Perl, AWK, Python)+-added config file scriptre.conf to configure script recognition+-moved langDefs/extensions.conf to package base directory+-added --force option to generate output if language type is unknown+-fixed parsing of escape sequences outside of strings in Perl+ (last six points suggested by Andreas Amann)+-fixed output of CR line terminators+-added classes pre.hl and body.hl in CSS definitions++---+27-February-2005++highlight 2.2-9++-fixed --output option+-fixed line number indentation in TeX and LaTeX output+-fixed compilation error for Darwin (OSX) (thanks to Plumber)+-fixed LaTeX compilation warnings (thanks to Tyranix)+-fixed xml default file suffix+-closing style tags are no longer printed in the following output line+ (suggested by Yves Bailly)+-fixed rb.lang (Ruby is case sensitive)+-external style definitions and inclusion of user defined styles were+ added to LaTeX and TeX output+-installation directory configuration is improved in the makefiles+ (all suggested by Thomas Link)+-new options: style-outfile, style-infile, include-style+-deprecated options: css-outfile, css-infile, include-css++---+20-February-2005++highlight 2.2-8++-added XML output (suggested by Matteo Bertini)+-added support for MS SQL (thanks to Magnus ?erg)+-added support for Pyrex (thanks to Matteo Bertini)+-added support for Hecl, Luban and Qu++---+12-January-2005++highlight 2.2-7++-fixed compilation error on AMD64/gcc4.0 (thanks to Andreas Jochens)+-fixed tab replacement (thanks to Adrian Bader)+-fixed parsing of keywords with special characters as prefix ($ALLOWEDCHARS)+ (thanks to Magnus ?erg)+-single spaces in (La)TeX are no longer preceeded by backslash++---+03-December-2004++highlight 2.2-6++-fixed compilation error with getopt and Solaris 5.8+ (thanks to Philippe Cornu and Jean-Emmanuel Reynaud)+-enabled css-infile option when include-css is set+-improved IO and Perl language definitions+-updated dirstram classes to release 0.4+-W32 port: fixed installation path determination++---+31-October-2004++highlight 2.2-5++-fixed some compiler warnings in various Debian builds (thanks to Ayman Negm)+-fixed indentation error in LaTeX output and output of "--" in bold font+ (thanks to Michael Suess)+-added background colour attribute of body element to the CSS output to+ improve compability with old browsers (NS Communicator 4.8)+ (thanks to Wojciech Stryjewski)+-in CSS output, user defined CSS definitions are now included after highlight+ style definitions to make modifications easier+-highlight returns EXIT_FAILURE after every IO failure+-updated Spanish manual and help message (thanks to David Villa)++---+26-September-2004++highlight 2.2-4++-changed ANSI output colours to vim style (suggested by David Villa)+-added new acid indentation scheme and acid colour theme+ (thanks to Alexandre "AciD" Bonneau)+-highlight returns 1 (EXIT_FAILURE) if file operations failed+ (suggested by David Villa)+-fixed bug in LaTeX output: [ and * characters after a linebreak (\\) caused+ latex compilation to stop (thanks to Christian Schilling)+-improved error reports++---+10-September-2004++highlight 2.2-3++-applied patch to suppress compiler warnings on several platforms+ (thanks to weasel@debian.org)+-renamed the /utils directory to /examples, which moved to+ /usr/share/doc/highlight/ (suggested by Ayman Negm)+-if --output is defined and output format is (X)HTML, the CSS file is stored in+ the directory given by --output (suggested by Vicky Brown)+-added spanish translations: README_ES and es.help (thanks to David Villa)+-added support for SNMPv1 and SNMPv2 files: mib.lang (thanks to Roman Surma)+-fixed highlighting of escape sequences in Pascal (thanks to Grzegorz Tworek)+-added Pascal multi line comment delimiters: (*, *)+-added a third keyword style (kwc) to all themes+-added a third keyword group: ada.lang, gawk.lang, c.lang, java.lang, pas.lang+-fixed some language definition with old $keyword entries++---+20-July-2004++highlight 2.2-2++-removed $STRINGDELIMITERPAIR parameter+-internal changes++---+11-July-2004++highlight 2.2-1++-added content-type (iso-8859-1) to HTML output+-added possibility to define custom keyword groups (suggested by Daniel Bonniot)+-reformatting and indentation schemes are customizable, config files are located+ in /indentSchemes (suggested by Petri Heiramo)+-added new output format: ANSI terminal sequences (--ansi)+ (suggested by David Villa)+ assigned -A to --ansi, -g to --fop-compatible+-added $SL-COMMENT parameter to colour themes (enables seperate highlighting+ of single and multi line comments)+-added option to fill linenumbers with zeroes+-improved quality of colour themes+-changed names of following command line options:+ deletetabs -> replace-tabs+ listthemes -> list-themes+ listlangs -> list-langs+ includecss -> include-css+ printindex -> print-index+-dropped support for C# member attributes (was a nasty workaround)+-dropped support for Forth+-removed unnecessary --batch (-b) option+-removed utils/cgi/perl/README_CGI+-fixed raw string highlighting bug: r"""\n""" in Python is parsed correctly+-fixed some old parameters in language definitions+-added source directory names to generated index file (-C)++---+20-June-2004++highlight 2.0-25++-fixed quote replacement in LaTeX (\dq -> \dq{}) (thanks to Adrian Bader)+-fixed crash if $HOME is not defined (thanks to Kostas Maistelis)+-added compile flag CONFIG_FILE_PATH to define a custom path to the config file+-added local copy of getopt, which is compiled if the system does not provide it+ (removed win32cmdline.*)+-fixed VHDL event parsing+-removed some poor quality colour themes and improved some others+-added ide-eclipse style++---+10-June-2004++highlight 2.0-24++-improved VHDL support (thanks to Aaron D. Marasco)+-added Coldfusion MX definition (thanks to Paul Connell)+-added $REFORMATTING option to language definitions+-added a Python binding in utils/python-binding+-some code clean up++---+16-May-2004++highlight 2.0-23++-fixed ABAP definition (thanks to Kevin Barter)+-fixed Python definition+-fixed parsing of methods applied to numerical literals (possible in Ruby)+-fixed indentation of line numbers in LaTeX (thanks to Michael Berndt)+-reduced LaTeX output file size+-improved layout of LaTeX document+-applied some patches to Artistic Style code (see astyle.sourceforge.net)+-added updated phpwiki-plugin utils/cgi/php/SyntaxHighlighter.php+ (thanks to Reini Urban)++---+19-April-2004++highlight 2.0-22++-improved Fortran 77 parsing (thanks to Geraldo Veiga),+ moved parsing information to f77.lang and f90.lang+-added highlighting of float literals like .5+-added new language definitions: ABAP/4, ARM, Bison, Dylan, FAME,Informix, Lisp,+ Octave, R, Scala, Snobol, Verilog+-removed -d option+-added -P option to display a progress bar in batch mode++---+23-March-2004++highlight 2.0-21++-added option (-r) to replace " by \dq in LaTeX (thanks to Nikolai Mikuszeit)+-added option (-E) to define another search path, where language definitions+ and themes may be stored (suggested by a Debian package tester)+-fixed bug which disabled HTML anchors (thanks to Richard Beauchamp)+-fixed wrong current working directory detection in W32 code (thanks to Ian Oliver)+-improved fragmented TeX output+-fixed man page+-changed path of config file to ~/.highlightrc (Unix)+-added options to config file+-changed parameter prefix from "/" to the more convenient "$" in configuration files+-changed "typesmods" parameter in language definitions to "types"+-improved some colour themes+-added $INCLUDE statement in language definitions to include content of other files++---+09-March-2004++highlight 2.0-20++-added new parser options: TYPEDELIMITERS and KEYWORDDELIMITERS to enable+ highlighting of variables like ${var}+-changed RTF font to Courier New+-added symbol highlighting (last two suggested by Anssi Lehtinen)+-added new colour themes (darkblue, zellner, ron, peachpuff, pablo, nedit)+-added a new directive to add a custom installation directory at compile time+ (CUSTOM_INSTALL_DIR in highlight/makefile)+-added Doxygen documentation+-updated spec.lang, sh.lang and make.lang+-fixed some case insensitive language files+-replaced make by ${MAKE} in makefile (suggested by Thomas Dettbarn)+-removed utils/frontend (see homepage for highlight-gui package)+-moved German help to README_DE+-moved documentation files to /usr/share/doc/highlight (suggested by Ayman Negm)++---+21-February-2004++highlight 2.0-19++-improved whitespace indentation in TeX and LaTeX+-fixed output of +, -, =, <, > in TeX+-fixed output of blank lines in TeX+ (all suggested by Milan Straka)+-updated Java language definition to 1.5+-added support for BibTex, Erlang, Icon, Lisp, Lotos, Maple, Objectice C,+ Prolog, PostScript and RPM Spec++---+08-February-2004++highlight 2.0-18++-changed hskip unit in LaTeX output vom mm to em+-fixed different font width of spaces in TeX output+ (thanks to Milan Straka)+-added macros in TeX output to reduce file size+-fixed bug which made first line number disappear (introduced in 2.0-17)+-declared XSL-FO output as experimental, added a switch to provide+ modified output for both Apache FOP and xmlto/xsltproc++---+01-February-2004++highlight 2.0-17++-enabled multiple input file names and real batch processing wildcards+-improved debugging output+-added new PHP Wiki plugin (thanks to Alec Thomas)+-fixed newlines at the beginning and the ending of HTML output+-fixed Java and Nice language definitions (thanks to Daniel Bonniot)+-general cleanup (code, makefiles, docs)++---+12-January-2004++highlight 2.0-16++-added new options to wrap long lines (suggested by Johannes Wei�)+-added new colour themes: vim, vim-dark and ide-codewarrior+-improved Java, Nice and C parsing++---+04-January-2004++highlight 2.0-15++-improved XSL-FO output (thanks to Daniel Bonniot)+-reduced LaTeX output file size++---+21-December-2003++highlight 2.0-14++-added XSL-FO output format (suggested by Daniel Bonniot)+-fixed segfault when theme file was not found+-improved makefiles+-ported code to Solaris (thanks to Ade Fewings)++---+25-November-2003++highlight 2.0-13++-fixed parsing of XML comments+-fixed conversion of umlauts and accents+-improved parsing of numbers (suffixes like 30L, 4.5f; exponents)+-'@' in HTML output is replaced by HTML entity to confuse spam robots+-fixed Avenue, Perl, Progress and Clipper language definitions+-added support for Action Script, Objective Caml, Standard ML, Felix,+ Frink, IO, Nasal, MaxScript, Oberon, Object Script+-replaced AutoConf build process by customizable makefile (suggested by John Skaller)++---+09-November-2003++highlight 2.0-12++-fixed parsing of subtractions (i.e: varName-1)+-added support for SuperX++ (thanks to Kimanzi Mati)+-added Relax NG Compact language definition (thanks to Christian Siefkes)++---+26-October-2003++highlight 2.0-11++-fixed LaTeX and Squirrel language definitions+ (thanks to Stephan Bhme and Alberto Dechemelis)+-fixed number parsing (allow 'a'-'f' in Hex numbers only)+-replaced double quotes by single quotes in fragmented LaTeX output+-added a new subdirectory "utils/", moved "cgi/" there+-added a new Python Qt-Frontend+-added a PHP module (thanks to Philip Van Hoof)+-added Nice language definition++---+21-September-2003++highlight 2.0-10++-changed LaTeX font settings to \tt and \it+-improved fragmented LaTeX output+-fixed LaTeX language definition+-fixed multi line compiler directive parsing with strings+-added new Squirrel ans JSP language definitions++---+14-September-2003++highlight 2.0-9++-trailing whitespace from input is ignored+-modified LaTeX fragmented output to simplify inclusion of code in+ existing documents+-added support for multiple line compiler directives+-added new THE style (thanks to Mark Hessling)++---+15-August-2003++highlight 2.0-8 Hot Summer Build++-fixed bug which prevented highlighting of escape characters within strings+ which start a new line+-fixed XHTML line anchors attribute to "id"+-added background colour support for plain TeX+-improved recognition of strings with different open/close delimiters+-added a reasonable 4th support+-internal changes to improve speed+-changed XHTML encoding from utf-8 to iso-8859-1 and xhtml version to 1.1+-removed comment in XHTML header to enable highlighting when style+ definition is included in output+-added recognition of hex, octal and unicode escape sequences (\123, \xff)+-improved Python and Tcl support++---+04-August-2003++highlight 2.0-7++-fixed parsing of C# simplified strings (thanks to Cerda)+-added support for C# member attributes (thanks to Gauthier)+-added --listlangs option (suggested by Mark Hessling)+-improved plausibility of --outdir option (thanks to Otto Barnes II)++---+27-July-2003++highlight 2.0-6++-fixed bug in HTML and XHTML output, which caused insertion of too many+ "</span>" tags (thanks to Mark Hessling)++---+20-July-2003++highlight 2.0-5++-improved LaTeX, TeX and RTF colour output+-fixed TeX output formatting errors+-fixed LaTeX line number output (thanks to Johannes Nolte)+-improved code portability (thanks to Gauthier)+-added french help (thanks to Gauthier)++---+01-July-2003++highlight 2.0-4++-improved Ada 95 output (thanks to Frank Piron)+-added HTML index file option+-simplified API+-added some language definitions++---+28-May-2003++highlight 2.0-2++-fixed bug causing lowercase output of case insensitive+ languages (thanks to David and Mark Hessling)+-added new Matlab colour theme (thanks to David)+-improved Rexx language definition (thanks to Mark Hessling)+-added plain text language definition++---+01-May-2003++highlight 2.0++-fixed memory leak in DataDir::searchDataDir()+-fixed configuration file parsing+-added data-dir option+-added batch-recursive option+-changed CmdLineoptions.cpp to compile under Windows++---+27-April-2003++highlight 2.0b-9++-improved integer literal and C++ multiline comment parsing+ (both suggested by Benjamin Kaufmann)+-improved directive line parsing++---+20-April-2003++highlight 2.0b-8++-added Pike language definition (thanks to Olivier Girondel)+-added support for Forth (suggested by Hans Bezemer)+-fixed bugs in language definition loader method+-fixed segfault++---+07-April-2003++highlight 2.0b-7++-added Artistic Style indentation and reformatting++---+31-March-2003++highlight 2.0b-6++-fixed fortran code parsing ( thanks to Henning Weber)+-improved performance++---+highlight 2.0b-5++-fixed theme files which had DOS line terminators+-presets reader method was fixed+-changed RTF output to Courier and 20 pt font size+-help screen fixed++---+19-March-2003++highlight 2.0b-4++-added css-infile and css-outfile options to make generation of customizable css+ definitons clearer (suggested by Markus Werle)+-fixed bug reading fontsize parameter of themes++---+16-March-2003++highlight 2.0b-3++-improved RTF output++---+09-March-2003++highlight 2.0b-2++-improved RTF output (added bold/italics/underline attributes)+-improved TeX output (added theme colors [thanks to Markus Henning for TeX-URL],+ bold and italics)+-added a decription how to use the highlight parser in own applications++---+05-March-2003++highlight 2.0b+-memory leak was fixed+-the parser was rewritten to add more flexibility and stability+-added ability to highlight code with tags (XML, HTML...)+-added ability to highlight strings with prefixes+ (variableprefix, keywordprefix)+-different source file extensions are stored in a configuration file+ (extensions.conf)+-configuration reader was modified to allow storing parameter values+ in multiple lines+-added some more language definitions++---+30-January-2003++highlight 1.3.4-2++-added option to disable directive line bug+-added ability to search *.style and *.lang files in different directories,+ which may be set as prefix option of ./configure+ (suggested by Jose Santiago)++---+28-January-2003++highlight 1.3.4++-fixed LaTeX output regarding escape characters outside of strings+-fixed unmasked escape characters+ (both bugs reported by Peter Albert)+-added \ttfamily to LaTeX header (suggested by Peter Albert)+-rpm-spec file allows relocatable builds (thanks to Dwight Engen)+-added "CPP" to recogniced source file suffixes (suggested by Maniac)+-replaced verb-|- by \textbar+-fixed php.lang and py.lang++---+08-January-2003++highlight 1.3.3++-fixed Asm.lang (lower case of keywords/types)+-added option to specify target directory of the output files+-fixed bug in LateX/RTF/TeX output; last opened tag being closed now+-improved LaTeX output+-added ability to read presets from the configuration file $HOME/.highlight.conf+-added simple cgi script (Perl)++---+29-November-2002++highlight 1.3.2-2++- fixed LaTeX output of | and ~ characters (thanks to Martin Idelberger)++---+26-November-2002++highlight 1.3.2++-fixed buffer overflow problem (thanks to Christian Perle)+-added Rexx, Modula3, Agda, Haskell language definition+-added (G)AWK language definition (thanks to Andreas Schoenberg)+-added Bold and Italic font support, and background colour to LaTeX output+-highlight compiles without warnings with gcc 3.2++---+20-November-2002++highlight 1.3.1-2++-applied gcc 3.2 patch (thanks to Georg Young)++---+18-November-2002++highlight 1.3.1++-fixed bug whioch disabled batch mode+-added POV Ray Definition (thanks to Christian Perle)+-added emacs and kwrite style++---+11-November-2002++highlight 1.3 (beta)++-applied Ruby definition file patch (thanks to Jonas Fonseca)+-introduced style definition files+-added background colour to style definitions+-added line anchors in HTML output++---+05-October-2002++highlight 1.2.1++-applied patch to make highlight compile with gcc 3.x (thanks to Marc Duponcheel)+-fixed LaTeX output of "^" and /hskip (thanks to Dan Muller)+-fixed TeX output++---+26-August-2002++highlight 1.2++-fixed bug which caused wrong output file suffixes in batch mode+-fixed (X)HTML output of french characters+-added frech character output (accent graphe, acute) to rtf, TeX and LaTeX output+-ability to recognize keywords with "-"+-added new language definitions (Ruby, COBOL, Fortran)++---+20-August-2002++highlight 1.1++-TeX output+-fixed documentation regarding LaTeX / TeX output (Thanks to Keith Briggs)+-fixed bug which caused single line comments left unmasked+-french letters like ? ?are masked++---+13-August-2002++highlight 1.0 <stable>++-reduced tex output file size+-Perl and Visual Basic definition file+-fixed error in help msg (Thanks to Jan van Haarst)++---+25-July-2002++highlight 0.1++-RTF and La(Tex) output+-Lua definition file+-header and footer part of output file may be omitted+-changed path of language definitions to /usr/share/highlight++---+06-May-2002:++src2css 0.2++-batch mode, converting all files matching a given wildcard+-XHTML output+-Python definition file++---+04-Apr-2002:++src2css 0.1++-initial release
@@ -0,0 +1,211 @@+Highlight installation instructions+-----------------------------------++Content+=======++1. Package structure+2. Dependencies+3. Compilation and installation+4. Known compiler issues+5. LaTeX unicode support+6. Lazy pointer issue under MacOS X+7. Static linking (to run highlight as service)+8. Known distribution issues+++1. Package structure+=====================++root of highlight-x.x+|+|-- examples # examples for highlight scripting+| |-- web_plugins # plugins for various web toolkits+| |-- tcl # TCL extension+| `-- swig # SWIG interface and sample code+|-- gui_files # supporting files for the optional GUI+| |-- ext # file open filter configuration+| `-- l10n # GUI translations+|-- langDefs # language definitions (*.lang)+|-- man # man page+|-- plugins # Lua plugin scripts (*.lua)+|-- src # source code+| |-- cli # command line interface code+| |-- core # highlight core code (builds the library)+| | |-- astyle # Artistic Style code+| | `-- Diliculum # Diliculum code+| `-- gui-qt # optional GUI code+| `-- include # Header files+| | |-- astyle # Artistic Style headers+| | `-- Diliculum # Diliculum headers+`-- themes # color themes (*.theme)++AUTHORS # contributors of code and patches+ChangeLog # list of changes+COPYING # license+Doxyfile # Doxygen configuration+filetypes.conf # file type extension configuration+highlight.desktop # desktop integration of optional GUI+INSTALL # this file+makefile # basic makefile+README # user manual+README_DE # German user manual+README_LANGLIST # list of supported languages+README_PLUGINS # plug-in manual+README_REGEX # regular expression manual+README_RELEASE # information for packagers+TODO # just ideas, no plans+++2. Dependencies+===============++In order to compile highlight, you need to install Lua (5.x or LuaJIT as+devel package) and Boost (at least the header files).+The optional GUI requires Qt (4 or 5) and its development tools (qmake).+++3. Compilation and installation+===============================++3.1 Linux+---------++ 1. tar xjf highlight-x.x.tar.bz2++ 2. cd highlight-x.x++ 3. make help++ 4. make / make cli (compile static library and the CLI interface)+ make lib-static (optional, compile static library only)+ make lib-shared (optional, compile shared library only)+ make gui (optional, compile static library and the Qt GUI)++ 5, make install+ (depending on your installation destination, you need to be root)++ 6. make install-gui (optional)+ Install additional files if you have compiled the highlight GUI binary.+ (depending on your installation destination, you need to be root)++ 7. make clean (optional)++ After the compilation of the CLI or GUI, a library (libhighlight.a) was+ generated which may be used for other C++ projects.++ Highlight's default data directory is /usr/share/highlight.+ You may alter this directory at compile time or at run time:+ - See the makefile how to add a compiler directive which defines an+ installation directory (data_dir variable)+ - See the makefile to change the configuration file directory+ (conf_dir variable)+ - See section CONFIG FILE SEARCH in README for run time options+++3.2 Windows+-----------++Install the following tools and libraries.++a) Install Qt Creator IDE (www.qt.io)++b) Install MingW (gcc toolchain)++ -Download Online-Installer: + https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/+ -Start mingw-w64-install.exe and select default options+ -Add bin directory of the downloaded files to the system PATH+ -open cmd.exe and type "g++ --version" to check++c) Compile Qt:++ -Download and extract package from qt.io:+ https://www.qt.io/download-open-source/ -> qt-everywhere-opensource-src-5.6.0.tar.gz+ -Open cmd.exe and change into the Qt directory+ -Configure Qt. Use static if you do not want to ship Qt DLLs:+ configure -release -opensource -confirm-license -static -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-sql-sqlite -no-openssl -nomake examples -opengl desktop+ -Compile Qt:+ mingw32-make -k -j4++d) Add compiler and Qt paths (location of qmake.exe) in QtCreator++e) Install Boost++ -Download and extract package from boost.org (no compilation needed)++f) Compile Lua ++ -Download source package: https://www.lua.org/download.html+ -Open QtCreator and create a new Project ("without Qt")+ -Import all c files of the Lua package except lua.c and luac.c+ -Edit the project file like this: + + TEMPLATE = lib+ CONFIG += console+ CONFIG -= app_bundle+ CONFIG -= qt+ DEFINES -= UNICODE+ SOURCES += $$files(../lua-5.3.0/src/*.c)+ SOURCES -= ../lua-5.3.0/src/lua.c ../lua-5.3.0/src/luac.c++ -Compile the Lua library++g) Install upx from http://upx.sourceforge.net/++h) Open the pro files in src/w32-projects and src/gui_qt in QtCreator and + adjust the paths of libraries and tools. Compile the lib project first.++i) Ship highlight with libgcc_s_dw2-1.dll (32 bit) libgcc_s_seh-1.dll (64 bit) libstdc++-6.dll libwinpthread-1.dll+ (all DLLs are located in the mingw32 installation)++4. Known compiler issues+========================++Highlight was tested with gcc > 4.8 and clang 3.9.0. It will not compile with gcc 2.x.+For gcc versions < 4.7, unique_ptr needs to be replaced by auto_ptr.+++5. LaTeX unicode support+========================++To enable UTF-8 support in LaTeX, the ucs package has to be installed.+See the following package names or sources:++Fedora: tetex-unicode+SuSE: latex-ucs+++6. Lazy pointer issue under MacOS X+===================================++Stripping the highlight binary causes program termination at runtime:++dyld: lazy symbol binding failed: lazy pointer not found+dyld: lazy pointer not found+Trace/BPT trap++To avoid this issue, edit the makefile to not strip the binary after+linkage (see src/makefile, LDFLAGS variable).+++7. Static linking (to run highlight as service)+===============================================++If highlight cannot be run as service because of shared linkage, link+it with the -static option (see src/makefile, LDFLAGS variable).+++8. Known distribution issues+============================++Linux Mint++There is a system script called highlight which is located in a preferenced path: ++mintsystem provides: /usr/local/bin/highlight+ highlight provides: /usr/bin/highlight++Calling this script with the true highlight command line options will have no effect. +See bug tracker items: https://bugs.launchpad.net/linuxmint/+bug/593583 and+ https://bugs.launchpad.net/linuxmint/+bug/815005
README
@@ -0,0 +1,921 @@+-------------------------------------------------------------------------------+--- HIGHLIGHT MANUAL - Version 3.35 --------------------------- March 2017 ---+-------------------------------------------------------------------------------++OSI Certified Open Source Software++Deutsche Anleitung: README_DE++CONTENT+-------------------------------------------------------------------------------++1. OVERVIEW+ 1.1 INTENDED PURPOSE+ 1.2 FEATURE LIST+ 1.3 SUPPORTED PROGRAMMING AND MARKUP LANGUAGES++2. USAGE AND OPTIONS+ 2.1 QUICK INTRODUCTION+ 2.2 CLI OPTIONS+ 2.3 GUI OPTIONS+ 2.4 INPUT AND OUTPUT+ 2.5 GNU SOURCE-HIGHLIGHT COMPATIBILITY+ 2.6 ADVANCED OPTIONS++3. CONFIGURATION+ 3.1 FILE FORMAT+ 3.2 LANGUAGE DEFINITIONS + 3.3 REGULAR EXPRESSIONS+ 3.4 THEME DEFINITIONS+ 3.5 KEYWORD GROUPS+ 3.6 PLUG-INS+ 3.7 FILE MAPPING+ 3.8 CONFIG FILE SEARCH++4. EMBEDDING HIGHLIGHT+ 4.1 SAMPLE SCRIPTS+ 4.2 SWIG+ 4.3 TCL+ 4.4 THIRD PARTY SCRIPTS AND PLUG-INS++5. BUILDING AND INSTALLING+ 5.1 PRECOMPILED PACKAGES+ 5.2 BUILDING DEPENDENCIES++6. DEVELOPER CONTACT+++1. OVERVIEW+-------------------------------------------------------------------------------++Highlight converts sourcecode to HTML, XHTML, RTF, ODT, LaTeX, TeX, SVG, BBCode, +Pango markup and terminal escape sequences with coloured syntax highlighting.+Language definitions and colour themes are customizable.+++1.1 INTENDED PURPOSE+-------------------------------------------------------------------------------++Highlight was designed to offer a flexible but easy to use syntax highlighter+for several output formats. No syntax or colouring information is hardcoded,+instead all relevant data is stored in configuration scripts. These Lua scripts+may be altered and enhanced with plug-in scripts.+++1.2 FEATURE LIST+-------------------------------------------------------------------------------++* highlighting of keywords, types, strings, numbers, escape sequences, comments,+ operators and preprocessor directives+* coloured output in HTML, XHTML 1.1, RTF, TeX, LaTeX, SVG, BBCode, Pango Markup + and terminal escape sequences+* supports referenced stylesheet files for HTML, LaTeX, TeX or SVG output+* configuration files are Lua scripts+* supports plug-in scripts to tweak language definitions and themes+* syntax elements are defined as regular expressions or plain string lists+* customizable keyword groups+* recognition of nested languages within a file+* reformatting and indentation of C, C++, C# and Java source code+* wrapping of long lines+* configurable output of line numbers+++1.3 SUPPORTED PROGRAMMING AND MARKUP LANGUAGES+-------------------------------------------------------------------------------++Please see README_LANGLIST for the current set of supported languages.+You may also run "highlight --list-scripts=langs" to get a list and associated+file extensions.+++2. USAGE AND OPTIONS+-------------------------------------------------------------------------------++2.1 QUICK INTRODUCTION+-------------------------------------------------------------------------------++The following examples show how to produce a highlighted C++ file, using +main.cpp as input file:++- Generate HTML:+ highlight -i main.cpp -o main.cpp.html+ highlight < main.cpp > main.cpp.html --syntax cpp++ You will find the HTML file and highlight.css in the working directory.+ If you use IO redirection (2nd example), you must define the programming+ language with --syntax.++- Generate HTML with embedded CSS definitions and line numbers:+ highlight -i main.cpp -o main.cpp.html --include-style --line-numbers++- Generate HTML with inline CSS definitions:+ highlight -i main.cpp -o main.cpp.html --inline-css++- Generate LaTeX using "horstmann" source formatting style and "neon" colour+ theme: + highlight -O latex -i main.cpp -o main.cpp.tex --reformat horstmann --style neon++ The following output formats may be defined with --out-format:+ + html: HTML5 (default)+ xhtml: XHTML 1.1+ tex: Plain TeX+ latex: LaTeX+ rtf: RTF+ odt: OpenDocument Text (Flat XML)+ svg: SVG+ bbcode: BBCode+ pango: Pango markup+ ansi: Terminal 16 color escape codes+ xterm256: Terminal 256 color escape codes+ truecolor: Terminal 16m color escape codes++- Customize font settings:+ highlight --syntax ada --font-size 12 --font "'Courier New',monospace"+ highlight --syntax ada --out-format=latex --font-size tiny --font sffamily++- Define an output directory:+ highlight -d some/target/dir/ *.cpp *.h++See "highlight --help" or "man highlight" for more details.+++2.2 CLI OPTIONS+-------------------------------------------------------------------------------++The command line version of highlight offers the following options:++USAGE: highlight [OPTIONS]... [FILES]...++General options:++ -B, --batch-recursive=<wc> convert all matching files, searches subdirs+ (Example: -B '*.cpp')+ -D, --data-dir=<directory> set path to data directory (deprecated)+ --config-file=<file> set path to a lang or theme file+ -d, --outdir=<directory> name of output directory+ -h, --help print this help+ -i, --input=<file> name of single input file+ -o, --output=<file> name of single output file+ -P, --progress print progress bar in batch mode+ -q, --quiet supress progress info in batch mode+ -S, --syntax=<type> specify type of source code+ -v, --verbose print debug info+ --force generate output if input syntax is unknown+ --list-scripts=<type> list installed scripts+ <type> = [langs, themes, plugins]+ --plug-in=<script> execute Lua plug-in script; repeat option to+ execute multiple plug-ins+ --plug-in-param=<value> set plug-in input parameter+ --print-config print path configuration+ --print-style print stylesheet only (see --style-outfile)+ --skip=<list> ignore listed unknown file types+ (Example: --skip='bak;c~;h~')+ --start-nested=<lang> define nested language which starts input+ without opening delimiter+ --stdout output to stdout (batch mode, --print-style)+ --validate-input test if input is text, remove Unicode BOM+ --version print version and copyright information+++Output formatting options:++ -O, --out-format=<format> output file in given format+ <format>=[html, xhtml, latex, tex, odt, rtf,+ ansi, xterm256, truecolor, bbcode, pango, svg]+ -c, --style-outfile=<file> name of style file+ -e, --style-infile=<file> to be included in style-outfile (deprecated)+ use a plug-in file instead+ -f, --fragment omit document header and footer+ -F, --reformat=<style> reformats and indents output in given style+ <style> = [allman, banner, gnu,+ horstmann, java, kr, linux, otbs, vtk,+ stroustrup, whitesmith, google, pico, lisp]+ -I, --include-style include style definition in output file+ -J, --line-length=<num> line length before wrapping (see -V, -W)+ -j, --line-number-length=<num> line number width incl. left padding (default: 5)+ -k, --font=<font> set font (specific to output format)+ -K, --font-size=<num?> set font size (specific to output format)+ -l, --line-numbers print line numbers in output file+ -m, --line-number-start=<cnt> start line numbering with cnt (assumes -l)+ -s, --style=<style> set colour style (theme)+ -t, --replace-tabs=<num> replace tabs by <num> spaces+ -T, --doc-title=<title> document title+ -u, --encoding=<enc> set output encoding which matches input file+ encoding; omit encoding info if set to NONE+ -V, --wrap-simple wrap lines after 80 (default) characters w/o+ indenting function parameters and statements+ -W, --wrap wrap lines after 80 (default) characters+ --wrap-no-numbers omit line numbers of wrapped lines+ (assumes -l)+ -z, --zeroes pad line numbers with 0's+ --delim-cr set CR as end-of-line delimiter (MacOS 9)+ --keep-injections output plug-in injections in spite of -f+ --kw-case=<case> change case of case insensitive keywords+ <case> = [upper, lower, capitalize]+ --no-trailing-nl omit trailing newline+++(X)HTML output options:++ -a, --anchors attach anchor to line numbers+ -y, --anchor-prefix=<str> set anchor name prefix+ -N, --anchor-filename use input file name as anchor prefix+ -C, --print-index print index with hyperlinks to output files+ -n, --ordered-list print lines as ordered list items+ --class-name=<name> set CSS class name prefix;+ omit class name if set to NONE+ --inline-css output CSS within each tag (verbose output)+ --enclose-pre enclose fragmented output with pre tag + (assumes -f)+++LaTeX output options:++ -b, --babel disable Babel package shorthands+ -r, --replace-quotes replace double quotes by \dq{}+ --pretty-symbols improve appearance of brackets and other symbols+++RTF output options:++ --page-color include page color attributes+ -x, --page-size=<ps> set page size + <ps> = [a3, a4, a5, b4, b5, b6, letter]+ --char-styles include character stylesheets+++SVG output options:++ --height set image height (units allowed)+ --width set image width (see --height)+++GNU source-highlight compatibility options:++ --doc create stand alone document+ --no-doc cancel the --doc option+ --css=filename the external style sheet filename+ --src-lang=STRING source language+ -t, --tab=INT specify tab length+ -n, --line-number[=0] number all output lines, optional padding+ --line-number-ref[=p] number all output lines and generate an anchor,+ made of the specified prefix p + the line+ number (default='line')+ --output-dir=path output directory+ --failsafe if no language definition is found for the+ input, it is simply copied to the output++ +2.3 GUI OPTIONS+-------------------------------------------------------------------------------++The Graphical User Interface offers a subset of the CLI's features. It includes+a dynamic preview of the output file's apperarance. Please see screenshots and+screencasts on the project website.+Invoke highlight-gui with the --portable option to let it save its settings+in the binary's current directory (instead of using the registry).+++2.4 INPUT AND OUTPUT+-------------------------------------------------------------------------------++If no input or output file name is defined by --input and --output options,+highlight will use stdin and stdout for file processing.++If no input filename is defined by --input or given at the prompt, highlight is+not able to determine the language type by means of the file extension (except+some scripting languages which are figured out by the shebang in the first input+line). In this case you have to pass highlight the given langage with --syntax+(this should be the file suffix of the source file in most cases).+Example: If you want to convert a Python file, highlight needs to load the+py.lang language definition. The correct argument of --syntax would be "py".++highlight test.py+highlight < test.py --syntax py # --syntax option necessary+cat test.py | highlight --syntax py++If there exist multiple suffixes (like C, cc, cpp, h for C++ - files),+they are mapped to a language definition in $CONF_DIR/filetypes.conf.++Highlight enters the batch processing mode if multiple input files are defined+or if --batch-recursive is set.+In batch mode, highlight will save the generated files using the original+filename, appending the extension of the chosen output type.+If files in the input directories happen to share the same name, the output+files will be prefixed with their source path name.+The --out-dir option is recommended in batch mode. Use --quiet to improve+performance (recommended for usage in shell scripts).++HTML, TeX, LaTeX and SVG output+-------------------------------++The HTML, TeX, LaTeX and SVG output formats allow to reference a stylesheet+file which contains the formatting information.++In HTML and SVG output, this file contains CSS definitions and is saved as+'highlight.css'. In LaTeX and TeX, it contains macro definitions, and is saved+as 'highlight.sty'.++Name and path of the stylesheet may be modified with --style-outfile.+If the --outdir option is given, all generated output, including stylesheets,+are stored in this directory.++Use --include-style to embed the style information in the output documents+without referencing a stylesheet.++Referenced stylesheets have the advantage to share all formatting information+in a single file, which affects all referencing documents.++With --style-infile you define a file to be included in the final formatting+information of the document. This way you enhance or redefine the default+highlight style definitions without editing generated code.+Note: Using a plug-in script is the preferred way to enhance styling.++Terminal output:+----------------++Since there are limited colours defined for ANSI terminal output, there exists+only one hard coded colour theme with --out-format=ansi. You should therefore+use --out-format=xterm256 to enable output in 256 colours. The 256 colour mode+is supported by recent releases of xterm, rxvt and Putty (among others).+Recent terminal emulators also support 16m colors, this mode is enabled with+--out-format=truecolors.++highlight --out-format=ansi <inputfile> | less -R+highlight --out-format=xterm256 <inputfile> | less -R++Text processing:+----------------++If the language definition is specified as "txt", no highlighting takes place.++highlight -S txt --out-format=latex README > README.tex+++Examples+--------++highlight --out-format=xhtml --batch-recursive '*.cpp' --outdir ~/html_code/+This command converts all *.cpp files in the current directory and its sub-+directories to xhtml files, and stores the output in /home/you/html_code.++highlight -out-format=latex * --outdir /home/you/latex_code/+This command onverts all files to LaTeX, stored in /home/you/latex_code/.++highlight --stdout -s seashell --print-style+This command prints only the CSS information to stdout (theme: Seashell).+++2.5 GNU SOURCE-HIGHLIGHT COMPATIBILITY+-------------------------------------------------------------------------------++The command line interface is extensively harmonised with source-highlight+(http://www.gnu.org/software/src-highlite/).++The following highlight options have the same meaning as in source-highlight:+ --input, --output, --help, --version, --out-format, --title, --data-dir,+ --verbose, --quiet++These options were added to enhance compatibility:+ --css, --doc, --failsafe, --line-number, --line-number-ref, --no-doc, --tab,+ --output-dir, --src-lang++These switches provide a common highlighter interface for scripts, plugins etc.+++2.6 ADVANCED OPTIONS+-------------------------------------------------------------------------------++Prevent parsing of binary input files+-------------------------------------++If highlight could be invoked with all kinds of input, you can disable parsing+of binary files using --validate-input. This flag causes highlight to match the+input file header with a list of magic numbers. If a binary file type is+detected, highlight quits with an error message. This switch also removes an+UTF-8 BOM in the output.++Highlight nested code without starting delimiter+------------------------------------------------++If a file starts with an embedded code section which misses an appropriate opening+delimiter, the --start-nested option will switch to the nested language mode.+This can be useful with LuaTeX files:+highlight luatex.tex --latex --start-nested=inc_luatex++inc_luatex is a Lua language definition with TeX line comments.+Note that the nested code section has to end with the ending delimiter defined+in the host language definition.++Test new configuration scripts+------------------------------++The option --config-file helps to test new config files before installing them.+The given file must be a lang or theme file.++highlight --config-file xxx.lang --config-file yyy.theme -I++Debug language definitions+--------------------------++Use --verbose to display the Lua and syntax data.++Remove an UTF8 BOM:+-------------------++Use --validate-input to get rid of UTF8 byte order marks.++Force output to stdout+----------------------++Use --stdout to write output files in batch mode to stdout.++Portable GUI (Windows build)+----------------------------++Invoke highlight-gui.exe with the --portable switch to save its configuration+in text files instead of the registry.+++3. CONFIGURATION+-------------------------------------------------------------------------------++3.1 FILE FORMAT+-------------------------------------------------------------------------------++Configuration files are Lua scripts. +Please refer to http://www.lua.org/manual/5.1/manual.html for more details+about the Lua syntax.++These constructs are sufficient to edit the scripts:++Variable assigment:+name = value+(variables have no type, only values have)++Strings:+string1="string literal with escape: \n"+string2=[[raw string without escape sequence]]++If raw string content starts with "[" or ends with "]", pad the paranthesis+with space to avoid a syntax error. Highlight will strip the string.+If the string is a regular expression containing a set with a character class+like [[:space:]], use string delimiters with a "filler": [=[ regex string ]=]++Comments:+-- line comment+--[[ block comment ]]++Arrays:+array = { first=1, second="2", 3, { 4,5 } }+Arrays may contain variables and can be nested.+++3.2 LANGUAGE DEFINITIONS+-------------------------------------------------------------------------------++A language definition describes all elements of a programming language which+will be highlighted by different colours and font types.+Save the new file in $HL_DIR/langDefs, using the following name convention:+<usual extension of sourcecode files>.lang++Examples: PHP -> php.lang, Java -> java.lang+If there exist multiple suffixes, list them in $HL_DIR/filetypes.conf.+++Syntax elements:++Keywords = { Id, List|Regex, Group? }++ Id: Integer, keyword group id (values 1-4, can be reused for several keyword+ groups)+ List: List, list of keywords+ Regex: String, regular expression+ Group: Integer, capturing group id of regular expression, defines part of regex+ which should be returned as keyword (optional; if not set, the match+ with the highest group number is returned (counts from left to right))+++Comments = { {Block, Nested?, Delimiter={Open, Close?} }++ Block: Boolean, true if comment is a block comment+ Nested: Boolean, true if block comments can be nested (optional)+ Delimiter: List, contains open delimiter regex (line comment) or open and close+ delimiter regexes (block comment)+++Strings = { Delimiter|DelimiterPairs={Open, Close, Raw?}, Escape?, Interpolation?,+ RawPrefix?, AssertEqualLength? }++ Delimiter: String, regular expression which describes string delimiters+ DelimiterPairs: List, includes open and close delimiter expressions if not+ equal, includes optional Raw flag as boolean which marks+ delimiter pair to contain a raw string+ Escape: String, regex of escape sequences (optional)+ Interpolation: String, regex of interpolation sequences (optional)+ RawPrefix: String, defines raw string indicator (optional)+ AssertEqualLength: Boolean, set true if delimiters must have the same length+++PreProcessor = { Prefix, Continuation? }++ Prefix: String, regular expression which describes open delimiter+ Continuation: String, contains line continuation character (optional).+++NestedSections = {Lang, Delimiter= {} }++ Lang: String, name of nested language+ Delimiter: List, contains open and close delimiters of the code section+ ++Description: String, Defines syntax description++Digits: String, Regular expression which defines digits (optional)++Identifiers: String, Regular expression which defines identifiers+ (optional)++Operators: String, Regular expression which defines operators++EnableIndentation: Boolean, set true if syntax may be reformatted and indented++IgnoreCase: Boolean, set true if keyword case should be ignored+++Global variables:++The following variables are available within a language definition:++HL_LANG_DIR: path of language definition directory (use with Lua dofile function)++Identifiers: Default regex for identifiers+Digits: Default regex for numbers++The following integer variables represent the internal highlighting states:++HL_STANDARD+HL_STRING+HL_NUMBER+HL_LINE_COMMENT+HL_BLOCK_COMMENT+HL_ESC_SEQ+HL_PREPROC+HL_PREPROC_STRING+HL_OPERATOR+HL_INTERPOLATION+HL_LINENUMBER+HL_KEYWORD+HL_STRING_END+HL_LINE_COMMENT_END+HL_BLOCK_COMMENT_END+HL_ESC_SEQ_END+HL_PREPROC_END+HL_OPERATOR_END+HL_INTERPOLATION_END+HL_KEYWORD_END+HL_EMBEDDED_CODE_BEGIN+HL_EMBEDDED_CODE_END+HL_IDENTIFIER_BEGIN+HL_IDENTIFIER_END+HL_UNKNOWN+HL_REJECT++Hook functions: see README_PLUGINS.++Example:+--------++Description="C and C++"++Keywords={+ { Id=1,+ List={"goto", "break", "return", "continue", "asm", "case", "default",+ -- [..]+ }+ },+ -- [..]+}++Strings = {+ Delimiter=[["|']],+ RawPrefix="R",+}++Comments = {+ { Block=true,+ Nested=false,+ Delimiter = { [[\/\*]], [[\*\/]] } },+ { Block=false,+ Delimiter = { [[//]] } }+}++IgnoreCase=false++PreProcessor = {+ Prefix=[[#]],+ Continuation="\\",+}++Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~]]++EnableIndentation=true+++3.3 REGULAR EXPRESSIONS+-------------------------------------------------------------------------------++Please see README_REGEX for the supported regex constructs.+++3.4 THEME DEFINITIONS+-------------------------------------------------------------------------------++Colour themes contain the formatting information of the language elements which+are described in language definitions.++The files have to be stored as *.theme in HL_DIR/themes*.+Apply a theme with the --style option.+++Format attributes:++Attributes = {Colour, Bold?, Italic?, Underline? }++Colour: String, defines colour in HTML hex notation ("#rrggbb")+Bold: Boolean, true if font should be bold (optional)+Italic: Boolean, true if font should be italic (optional)+Underline: Boolean, true if font should be underlined (optional)+++Theme elements:++Description: String, Defines theme description++Default = Attributes (Colour of unspecified text)++Canvas = Attributes (Background colour )++Number = Attributes (Formatting of numbers)++Escape = Attributes (Formatting of escape sequences)++String = Attributes (Formatting of strings)++Interpolation = Attributes (Formatting of interpolation sequences)++PreProcessor = Attributes (Formatting of preprocessor directives)++StringPreProc = Attributes (Formatting of strings within+ preprocessor directives)++BlockComment = Attributes (Formatting of block comments)++LineComment = Attributes (Formatting of line comments)++LineNum = Attributes (Formatting of line numbers)++Operator = Attributes (Formatting of operators)++Keywords= {+ Attributes1,+ Attributes2,+ Attributes3,+ Attributes4,+}++AttributesN: Formatting of keyword group N. There should be at least four items+ to match the number of keyword groups defined in the language+ definitions++Example:++Default = { Colour="#000000" }+Canvas = { Colour="#ffffff" }+Number = { Colour="#000000" }+Escape = { Colour="#bd8d8b" }+String = { Colour="#bd8d8b" }+StringPreProc = { Colour="#bd8d8b" }+BlockComment = { Colour="#ac2020", Italic=true }+PreProcessor = { Colour="#000000" }+LineNum = { Colour="#555555" }+Operator = { Colour="#000000" }+LineComment = BlockComment++Keywords = {+ { Colour= "#9c20ee", Bold=true },+ { Colour= "#208920" },+ { Colour= "#0000ff" },+ { Colour= "#000000" },+}+++3.5 KEYWORD GROUPS+-------------------------------------------------------------------------------++You may define custom keyword groups and corresponding highlighting styles.+This is useful if you want to highlight functions of a third party library,+macros, constants etc.++You define a new group in two steps:++ 1. Define a new group in your language definition:++ Keywords = {+ -- add your keyword description:+ {Id=5, List = {"ERROR", "DEBUG", "WARN"} }+ }++ 2. Add a corresponding highlighting style in your colour theme:++ Keywords= {+ --add your keyword style as 5th item in the list:+ { Colour= "#ff0000", Bold=true },+ }++It is recommended to define keyword groups in user-defined plugin scripts to+avoid editing of original highlight files.+See the cpp_qt.lua sample plug-in script and README_PLUGINS for details.+++3.6 PLUG-INS+-------------------------------------------------------------------------------++The --plug-in option receives the path of a Lua script which overrides or+enhances the settings of theme and language definition files. Plug-ins make+it possible to apply costum settings without the need to edit installed+configuration files.+You can apply multiple plugins by using the --plug-in option more than once.++See README_PLUGINS for a detailed description and examples of packaged plugins.+++3.7 FILE MAPPING+-------------------------------------------------------------------------------++The script filetypes.conf assigns file extensions and shebang descriptions to+language definitions.+A configuration is mandatory only if multiple file extensions are linked to+one syntax or if a extension is ambiguous. Otherwise the syntax definition whose+name corresponds to the input file extension will be applied.++Format:++FileMapping={+ { Lang, Filenames|Extensions|Shebang },+}++Lang: String, name of language definition+Filenames: list of strings, contains filenames referring to "Lang"+Extensions: list of strings, contains file extensions referring to "Lang"+Shebang: String, Regular expression which matches the first line of the input+ file++Behaviour upon ambiguous file extensions:+- CLI: the first association listed here will be used+- GUI: a syntax selection prompt will be shown++Edit the file gui_files/ext/fileopenfilter.conf to add new syntax types to+the GUI's file open filter.+++3.8 CONFIG FILE SEARCH+-------------------------------------------------------------------------------++Configuration scripts are searched in the following directories:++1. ~/.highlight/+2. value of the environment variable HIGHLIGHT_DATADIR+3. user defined directory set with --data-dir (deprecated option)+4. /usr/share/highlight/+5. /etc/highlight/ (location of filetypes.conf)+6. current working directory (fallback)++These subdirectories are expected to contain the corresponding scripts:+-langDefs: *.lang+-themes: *.theme+-plugins: *.lua++A custom filetypes.conf may be placed directly in ~/.highlight/.+This search order enables you to enhance the installed scripts without the need+to copy preinstalled files somewhere else.+As the --plug-in option of older releases accepted absolute paths only, the +given plugin scripts will be searched in the directories above only if the+absolute file path access fails.+++4. EMBEDDING HIGHLIGHT+-------------------------------------------------------------------------------++4.1 SAMPLE SCRIPTS+-------------------------------------------------------------------------------++See the examples subdirectory in the highlight package for some scripts in PHP,+Perl and Python which invoke highlight and retrieve its output as string.+These scripts may be used as reference to develop plug-ins for other apps.++4.2 SWIG+-------------------------------------------------------------------------------++A SWIG interface file is located in /examples/swig.+See README_SWIG for installation instructions and the example scripts as+programming reference.++4.3 TCL+-------------------------------------------------------------------------------++A TCL extension is located in /examples/tcl.+See README_TCL for installation instructions.+++4.4 THIRD PARTY SCRIPTS AND PLUG-INS+-------------------------------------------------------------------------------++See the /examples/web_plugins subdirectory in the highlight package for+some plugins which integrate highlight in Wiki and Blogging software:++-DokuWiki+-MovableType+-Wordpress+-Serendipity++Other uses of highlight can be found online:+http://andre-simon.de/dokuwiki/doku.php?id=plugins_and_extensions++This site shows several use cases of highlight in projects like Webgit, +Evolution, Inkscape, Ranger and more.+++5. BUILDING AND INSTALLING+-------------------------------------------------------------------------------++5.1 PRECOMPILED PACKAGES+-------------------------------------------------------------------------------++Highlight is written in ISO C++. The following packages are available:+- UNIX console and GUI application+- Windows console and GUI application+- statically and dynamically linked library++The website www.andre-simon.de offers links to precompiled packages for several+operating systems (like Debian, Arch Linux, Ubuntu, Darwin, FreeBSD).+The website distributes the latest upstream sources.+There is also a Sourceforge project: +http://sourceforge.net/projects/syntaxhighlight/++Source tarball+Windows and MacOS executables+http://www.andre-simon.de++Arch Linux+http://www.archlinux.org/packages/community/i686/highlight/++Debian GNU/Linux+https://packages.debian.org/search?keywords=highlight++Fedora+http://koji.fedoraproject.org/koji/packageinfo?packageID=2044++FreeBSD+http://www.freshports.org/textproc/highlight/++Gentoo Portage+https://packages.gentoo.org/packages/app-text/highlight++Mac OS X+http://braumeister.org/formula/highlight++Slackware+http://sotirov-bg.net/slackpack/search.cgi?q=highlight++SuSE+http://packman.links2linux.de/package/highlight++Ubuntu+http://packages.ubuntu.com/oneiric/allpackages++Windows Chocolatey+https://chocolatey.org/packages/highlight++The file INSTALL contains details about package contents and installation.+++5.2 BUILDING DEPENDENCIES+-------------------------------------------------------------------------------++Highlight is known to compile with gcc and clang.+It depends on Boost headers and Lua 5.x/LuaJit developer packages.+The optional GUI depends on Qt5 developer packages.+Please see the makefile for further options.+++6. DEVELOPER CONTACT+-------------------------------------------------------------------------------++Andre Simon+andre.simon1@gmx.de+http://www.andre-simon.de/++sf.net project with SVN repository, download mirror, bug tracker, help forum:+http://sourceforge.net/projects/syntaxhighlight/
README_DE
@@ -0,0 +1,942 @@+-------------------------------------------------------------------------------+--- HIGHLIGHT MANUAL - Version 3.35 --------------------------- Maerz 2017 ---+-------------------------------------------------------------------------------++OSI Certified Open Source Software++English manual: README++INHALT+-------------------------------------------------------------------------------++1. UEBERSICHT+ 1.1 SINN UND ZWECK+ 1.2 FUNKTIONSLISTE+ 1.3 UNTERSTUETZTE PROGRAMMIER- UND AUSZEICHNUNGSSPRACHEN++2. GEBRAUCH UND OPTIONEN+ 2.1 SCHNELLE EINFUEHRUNG+ 2.2 CLI OPTIONEN+ 2.3 GUI OPTIONEN+ 2.4 EIN- UND AUSGABE+ 2.5 GNU SOURCE-HIGHLIGHT KOMPATIBILITAET+ 2.6 FORTGESCHRITTENE OPTIONEN++3. KONFIGURATION+ 3.1 DATEIFORMAT+ 3.2 SPRACHDEFINITIONEN+ 3.3 REGULAERE AUSDRUECKE+ 3.4 FARBDEFINITIONEN+ 3.5 SCHLUESSELWORTGRUPPEN+ 3.6 PLUG-INS+ 3.7 DATEIZUORDNUNGEN+ 3.8 PFADE DER KONFIG-DATEIEN++4. HIGHLIGHT INTEGRIEREN+ 4.1 BEISPIELSKRIPTE+ 4.2 SWIG+ 4.3 TCL+ 4.4 SKRIPTE UND PLUG-INS FUER DRITTSOFTWARE++5. KOMPILIEREN UND INSTALLIEREN+ 5.1 VORKOMPILIERTE PAKETE+ 5.2 KOMPILIER-ABHAENGIGKEITEN++6. ENTWICKLERKONTAKT+++1. UEBERSICHT+-------------------------------------------------------------------------------++Highlight konvertiert Sourcecode in XHTML, HTML, RTF, ODT, TeX, LaTeX, SVG,+BBCode, Pango Markup und Terminal Escape-Sequenzen mit farbiger Syntaxhervorhebung.+Sprachdefinitionen und Farbstile sind konfigurierbar.+++1.1 SINN UND ZWECK+-------------------------------------------------------------------------------++Highlight wurde mit dem Ziel entworfen, einen flexiblen und einfach zu+bedienenden Syntaxhighlighter fuer mehrere Ausgabeformate anzubieten.+Statt hartkodierter Sprachbeschreibungen und Farbschemata sind alle wichtigen+Informationen in Konfigurationsskripten enthalten. Diese Lua-Skripte koennen+mit Plug-Ins angepasst und erweitert werden.+++1.2 FUNKTIONSLISTE+-------------------------------------------------------------------------------++* Hervorhebung von Schluesselwoertern, Typbezeichnern, Strings, Zahlen,+ Escapesequenzen, Operatoren, Praeprozessor-Direktiven und Kommentaren+* Farbige Ausgabe in HTML, XHTML, RTF, TeX, LaTeX, SVG, BBCode, Pango Markup und + Terminal-Escapesequenzen+* Speichern von Stylesheets wahlweise in separater Datei oder innerhalb der+ Ausgabedatei (HTML, LaTeX, TeX, SVG)+* Alle Konfigurationsdateien sind Lua-Skripte+* Unterstuetzt Plug-In Skripte zur Anpassung von Sprachdefinitionen und Themes+* Syntax-Elemente werden als regelaere Ausdruecke oder als Stringlisten+ beschrieben+* Erweiterbare Schluesselwort-Gruppen+* Erkennung mehrerer Sprachen innerhalb einer Datei+* Neuformatierung und Einrueckung von C, C++, C# und Java Code+* Umbrechen von langen Zeilen+* Anpassbare Ausgabe von Zeilennummern+++1.3 UNTERSTUETZTE PROGRAMMIER- UND AUSZEICHNUNGSSPRACHEN+-------------------------------------------------------------------------------++Die Liste aller unterstuetzten Sprachen befindet sich in README_LANGLIST.+Das Kommando "highlight --list-scripts=langs" zeigt ebenfalls eine Liste aller+Sprachen und den verknuepften Dateiendungen.+++2. GEBRAUCH UND OPTIONEN+-------------------------------------------------------------------------------++2.1 SCHNELLE EINFUEHRUNG+-------------------------------------------------------------------------------++Folgende Beispiele zeigen, wie man die hervorgehobene Ausgabe einer C++-Datei+namens main.cpp erzeugt:++- HTML ausgeben:+ highlight -i main.cpp -o main.cpp.html+ highlight < main.cpp > main.cpp.html --syntax cpp++ Sie werden die HTML-Datei und die CSS-Datei highlight.css im aktuellen+ Verzeichnis finden. Falls Sie Eingabe-Umleitung verwenden (siehe 2. Beispiel),+ geben Sie den Typ der Programmiersprache mit --syntax an.++- HTML mit eingebetteter CSS Definition und Zeilennummerierung ausgeben:+ highlight -i main.cpp -o main.cpp.html --include-style --line-numbers++- HTML mit direkter CSS-Formatierung ausgeben:+ highlight -i main.cpp -o main.cpp.html --inline-css++- LaTeX mit Code-Formatierung im "horstmann"-Stil und dem Farbschema "Neon"+ ausgeben:+ highlight -O latex -i main.cpp -o main.cpp.tex --reformat horstmann --style neon++ Folgende Ausgabeformate koennen mit --out-format bestimmt werden:+ + html: HTML5 (Standard)+ xhtml: XHTML 1.1+ tex: Plain TeX+ latex: LaTeX+ rtf: RTF+ odt: OpenDocument Text (Flat XML)+ svg: SVG+ bbcode: BBCode+ pango: Pango markup+ ansi: Terminal 16 color escape codes+ xterm256: Terminal 256 color escape codes+ truecolor: Terminal 16m color escape codes++- Font und Schriftgroesse anpassen:+ highlight --syntax ada --font-size 12 --font "'Courier New',monospace"+ highlight --syntax ada --out-format=latex --font-size tiny --font sffamily++- Ausgabeverzeichnis definieren:+ highlight -d some/target/dir/ *.cpp *.h+++2.2 CLI OPTIONEN+-------------------------------------------------------------------------------++Die Kommandozeilenversion von highlight bietet folgende Optionen:++USAGE: highlight [OPTIONS]... [FILES]...++General options:++ -B, --batch-recursive=<wc> convert all matching files, searches subdirs+ (Example: -B '*.cpp')+ -D, --data-dir=<directory> set path to data directory (deprecated)+ --config-file=<file> set path to a lang or theme file+ -d, --outdir=<directory> name of output directory+ -h, --help print this help+ -i, --input=<file> name of single input file+ -o, --output=<file> name of single output file+ -P, --progress print progress bar in batch mode+ -q, --quiet supress progress info in batch mode+ -S, --syntax=<type> specify type of source code+ -v, --verbose print debug info+ --force generate output if input syntax is unknown+ --list-scripts=<type> list installed scripts+ <type> = [langs, themes, plugins]+ --plug-in=<script> execute Lua plug-in script; repeat option to+ execute multiple plug-ins+ --plug-in-param=<value> set plug-in input parameter+ --print-config print path configuration+ --print-style print stylesheet only (see --style-outfile)+ --skip=<list> ignore listed unknown file types+ (Example: --skip='bak;c~;h~')+ --start-nested=<lang> define nested language which starts input+ without opening delimiter+ --stdout output to stdout (batch mode, --print-style)+ --validate-input test if input is text, remove Unicode BOM+ --version print version and copyright information+++Output formatting options:++ -O, --out-format=<format> output file in given format+ <format>=[html, xhtml, latex, tex, odt, rtf,+ ansi, xterm256, truecolor, bbcode, pango, svg]+ -c, --style-outfile=<file> name of style file + -e, --style-infile=<file> to be included in style-outfile (deprecated)+ use a plug-in file instead+ -f, --fragment omit document header and footer+ -F, --reformat=<style> reformats and indents output in given style+ <style> = [allman, banner, gnu,+ horstmann, java, kr, linux, otbs, vtk,+ stroustrup, whitesmith, google, pico, lisp]+ -I, --include-style include style definition in output file+ -J, --line-length=<num> line length before wrapping (see -V, -W)+ -j, --line-number-length=<num> line number width incl. left padding (default: 5)+ -k, --font=<font> set font (specific to output format)+ -K, --font-size=<num?> set font size (specific to output format)+ -l, --line-numbers print line numbers in output file+ -m, --line-number-start=<cnt> start line numbering with cnt (assumes -l)+ -s, --style=<style> set colour style (theme)+ -t, --replace-tabs=<num> replace tabs by <num> spaces+ -T, --doc-title=<title> document title+ -u, --encoding=<enc> set output encoding which matches input file+ encoding; omit encoding info if set to NONE+ -V, --wrap-simple wrap lines after 80 (default) characters w/o+ indenting function parameters and statements+ -W, --wrap wrap lines after 80 (default) characters+ --wrap-no-numbers omit line numbers of wrapped lines+ (assumes -l)+ -z, --zeroes pad line numbers with 0's+ --delim-cr set CR as end-of-line delimiter (MacOS 9)+ --keep-injections output plug-in injections in spite of -f+ --kw-case=<case> change case of case insensitive keywords+ <case> = [upper, lower, capitalize]+ --no-trailing-nl omit trailing newline+++(X)HTML output options:++ -a, --anchors attach anchor to line numbers+ -y, --anchor-prefix=<str> set anchor name prefix+ -N, --anchor-filename use input file name as anchor prefix+ -C, --print-index print index with hyperlinks to output files+ -n, --ordered-list print lines as ordered list items+ --class-name=<name> set CSS class name prefix;+ omit class name if set to NONE+ --inline-css output CSS within each tag (verbose output)+ --enclose-pre enclose fragmented output with pre tag + (assumes -f)+++LaTeX output options:++ -b, --babel disable Babel package shorthands+ -r, --replace-quotes replace double quotes by \dq{}+ --pretty-symbols improve appearance of brackets and other symbols+++RTF output options:++ --page-color include page color attributes+ -x, --page-size=<ps> set page size + <ps> = [a3, a4, a5, b4, b5, b6, letter]+ --char-styles include character stylesheets+++SVG output options:++ --height set image height (units allowed)+ --width set image width (see --height)+++GNU source-highlight compatibility options:++ --doc create stand alone document+ --no-doc cancel the --doc option+ --css=filename the external style sheet filename+ --src-lang=STRING source language+ -t, --tab=INT specify tab length+ -n, --line-number[=0] number all output lines, optional padding+ --line-number-ref[=p] number all output lines and generate an anchor,+ made of the specified prefix p + the line+ number (default='line')+ --output-dir=path output directory+ --failsafe if no language definition is found for the+ input, it is simply copied to the output+++2.3 GUI OPTIONEN+-------------------------------------------------------------------------------++Die graphische Oberflaeche bietet eine Teilmenge der CLI-Funktionen. Sie enthaelt+eine dynamische Vorschau der sichtbaren Ausgabe. Auf der Projekt-Webseite finden+Sie Screenshots und Screencasts.+Wird highlight-gui mit der Option --portable gestartet, speichert es die +Einstellungen im Programmverzeichnis (anstatt zB. die Registry zu benutzen).+++2.4 EIN- UND AUSGABE+-------------------------------------------------------------------------------++Wenn kein Dateiname mit --input bzw. --output angegeben wird, benutzt highlight+stdin bzw. stdout fuer die Ein- und Ausgabe.++Wird die Eingabedatei nicht direkt auf der Kommandozeile als Argument bzw. mit+--input angegeben, kann Highlight die passende Sprachinformation nicht+automatisch anhand der Dateiendung bestimmen. Lediglich einige Skriptsprachen+werden anhand des Shebangs in der ersten Zeile erkannt.+Mit der Option --syntax muss dann der Typ der Datei vom Benutzer angegeben+werden (das Argument ist normalerweise die fuer die Programmiersprache uebliche+Dateierweiterung).+Beispiel: Wenn Sie eine Python-Datei konvertieren wollen, muss highlight die+Sprachdefinition py.lang einlesen. Das korrekte Argument fuer --syntax ist+also "py".++highlight test.py # Option --syntax nicht noetig+highlight < test.py --syntax py # --syntax muss angegeben werden+cat test.py | highlight --syntax py++Sollte es mehrere Dateierweiterungen fuer Dateien einer Programmiersprache+geben (wie z.B. C, cc, cpp, h bei C++), werden diese in der Datei+$CONF_DIR/filetypes.conf einer Sprachdefinition zugewiesen.++Wenn mehrere Eingabedateien an Highlight uebergeben werden oder --batch-recursive+gesetzt ist, wechselt das Tool in den Batch-Modus. In diesem Modus werden die+Ausgabedateien unter dem Namen der Eingabedateien gespeichert, zusaetzlich wird+die Dateierweiterung des gewaehlten Ausgabeformats angehangen.+Sollte es in den Eingabeverzeichnissen Dateien mit identischem Namen geben, so+werden diese Ausgabedateien mit ihrem Quellverzeichnis als Praefix ausgegeben.+Die --outdir Option ist im Batch Modus besonders nuetzlich. In Skripten sollte+--quiet angegeben werden, um die Geschwindigkeit der Verarbeitung zu erhoehen.+++HTML, TeX, LaTeX und SVG Ausgabe:+--------------------------------++Die HTML, TeX, LaTeX und SVG-Formate erlauben die Einbindung von Stylesheets,+welche die Formatierungsinformationen enthalten.++Bei der HTML- und SVG-Ausgabe enthaelt diese Datei CSS-Definitionen und wird, wenn+nicht anders angegeben, als "highlight.css" gespeichert. Bei TeX und LaTeX enthaelt+die Datei Makros, und wird per Default als "highlight.sty" gespeichert.++Name und Pfad des Stylesheets werden mit --style-outfile bestimmt.+Wenn --outdir definiert ist, wird auch das Stylesheet im angegebenen+Ausgabeverzeichnis gespeichert.++Mit --include-style fuegt Highlight die Formatierungsangaben direkt in die+Ausgabedokumente ein, statt einen Verweis auf externe Stylesheets zu setzen.++Der Verweis auf externe Dateien hat den Vorteil, die Formatierung an einer+zentralen Stelle verwalten zu koennen, auf die alle Ausgabedokumente verweisen.++Mit --style-infile kann eine Datei mit zusaetzlichen Formatierungsangaben in+die Ausgabedateien eingebunden werden, welche die vorgegebene highlight-+Formatierung erweitert oder ueberschreibt.+Hinweis: Ein Plug-In Skript ist die bessere Methode das Styling anzupassen.+++Terminal-Ausgabe:+--------------------++Da es nur wenige Farben zur ANSI-Ausgabe im Terminal gibt, existiert nur ein+hartkodiertes Farbschema fuer --out-format=ansi. Daher sollte nach Moeglichkeit+--out-format=xterm256 verwendet werden, um eine Ausgabe in 256 Farben zu erhalten.+Der 256 Farb-Modus wird z.B. von xterm, rxvt und Putty unterstuetzt.+Neuere Terminal-Emulatoren unterstuetzen auch 16 Millionen Farben, dies wird mit+--out-format=truecolors aktiviert.++highlight --out-format=ansi <inputfile> | less -R+highlight --out-format=xterm256 <inputfile> | less -R++Text-Ausgabe:+-------------++Wird als Sprachdefinition txt angegeben, findet keine Syntaxhervorhebung statt.++Beispiel:++highlight -S txt --out-format=latex README > readme.tex+++Beispiele:+----------++highlight --out-format=xhtml --batch-recursive '*.cpp' --outdir ~/html_code/+Dieses Kommando konvertiert alle *.cpp Dateien im aktuellen Verzeichnis und den+Unterverzeichnissen in XHTML-Dateien, und speichert die Ausgabe in+/home/you/html_code.++highlight -out-format=latex * --outdir /home/you/latex_code/+Dieses Kommando konvertiert alle Dateien in LaTeX, und speichert sie in+/home/you/latex_code/.++highlight --stdout -s seashell --print-style+Dieses Kommando gibt nur die CSS-Informationen des angegebenen Stils (hier:+Seashell) nach stdout aus.+++2.5 GNU SOURCE-HIGHLIGHT KOMPATIBILITAET+-------------------------------------------------------------------------------++Die Kommandozeilenschnittstelle ueberschneidet sich zu einem grossen Teil mit+source-highlight (http://www.gnu.org/software/src-highlite/).++Diese highlight-Optionen haben dieselbe Bedeutung wie bei source-highlight:+ --input, --output, --help, --version, --out-format, --title, --data-dir,+ --verbose, --quiet++Diese Optionen wurden hinzugefuegt, um die Kompatibilitaet zu verbessern:+ --css, --doc, --failsafe, --line-number, --line-number-ref, --no-doc, --tab,+ --output-dir, --src-lang++Die obigen Optionen bilden eine gemeinsame Highlighter-Schnittstelle fuer+Skripte, Plugins etc.+++2.6 FORTGESCHRITTENE OPTIONEN+-------------------------------------------------------------------------------++Parsen von Binaerdaten vermeiden+--------------------------------++Wird highlight mit unbekannten Eingabedaten aufgerufen, verhindert +--validate-input die Verarbeitung von binaeren Daten.+Dieser Schalter fuehrt zu einem Vergleich der Datei-Header mit einer Liste von+"Magic Numbers". Wenn ein Binaer-Typ erkannt wird, bricht highlight die+Verarbeitung mit einer Fehlermeldung ab.+Mit --validate-input wird zusaetzlich der UTF-8 BOM in der Ausgabe unterdrueckt.++Hervorbung von eingebettetem Code ohne oeffnenden Delimiter+-----------------------------------------------------------++Wenn eine Datei mit eingebettetem Code ohne einen fuer diese Syntax ueblichen+einleitenden Delimiter beginnt, kann mit der --start-nested Option in diese+Sprache gewechselt werden. Dies kann bei LuaTeX Dateien noetig sein:+highlight luatex.tex --latex --start-nested=inc_luatex++Die inc_luatex Definition ist eine Lua-Beschreibung mit TeX Kommentaren.++Neue Konfigurationsskripte testen:+----------------------------------++Die Option --config-file ermoeglicht es, neue Skripte vor der Installation zu+testen. Die Datei muss eine lang- oder theme-Datei sein.++highlight --config-file xxx.lang --config-file yyy.theme -I++Sprachdefinitionen debuggen:+----------------------------++Benutzen Sie --verbose, um Lua- und Syntax-Daten anzuzeigen.++UTF8 BOM entfernen:+-------------------++Geben Sie --validate-input an, um das UTF8 Byte Order Mark (Startsequenz) zu+entfernen.++Ausgabe in stdout erzwingen+---------------------------++Mit --stdout wird die Ausgabe auch im Batch-Modus nach stdout ausgegeben.++Portable GUI (Windows build)+----------------------------++Starten Sie highlight-gui.exe mit der --portable Option, damit die+Konfiguration in Textdateien und nicht in der Registry gespeichert wird.+++3. KONFIGURATION+-------------------------------------------------------------------------------++3.1 DATEIFORMAT+-------------------------------------------------------------------------------++Die Konfigurationsdateien sind Lua Skripte. Deutsche Einfuehrung in die Syntax:+http://www.fh-wedel.de/~si/seminare/ws09/Ausarbeitung/09.lua/lua1.htm+Das vollstaendige Lua-Handbuch befindet sich hier:+http://www.lua.org/manual/5.1/manual.html++Folgende Syntax-Elemente genuegen, um die Skripte anzupassen:++Wertzuweisung an Variablen:+name = value+(Variablen haben keinen Typ, nur Werte haben einen)++Strings:+string1="string-Literal mit Escape-Sequenzen: \n"+string2=[[Raw String ohne Escape-Sequenzen]]++Wenn ein Raw-String mit "[" beginnt oder mit "]" endet, muss die Klammer mit+Leerzeichen von den Begrenzern getrennt werden, um Syntaxfehler zu vermeiden.+Highlight entfernt diese Leerzeichen beim Einlesen.+Ist der String ein regulaerer Ausdruck mit einem Ausdruck wie [[:space:]],+muss der Stringbegrenzer mit einem "Fueller" verwendet werden: +[=[ regex string ]=]++Kommentare:+-- Einzeiliger Kommentar+--[[ Blockkommentar ]]++Arrays:+array = { first=1, second="2", 3, { 4,5 } }+Arrays koennen Variablen enthalten und geschachtelt sein.+++3.2 SPRACHDEFINITIONEN+-------------------------------------------------------------------------------++Eine Sprachdefinition beschreibt die Elemente einer Programmiersprache, die+durch verschiedene Farben und Schrifttypen hervorgehoben werden.+Die Datei muss in $HL_DIR/langDefs/ unter folgendem Namen gespeichert werden:++<uebliche Erweiterung der Sourcecodedateien>.lang++Beispiele: PHP -> php.lang, Java -> java.lang++Sollte es mehrere gebrauechliche Erweiterungen geben, werden diese in der Datei+$HL_DIR/filetypes.conf einer Sprachdefinition zugeordnet.+++Syntax-Elemente:++Keywords = { Id, List|Regex, Group? }++ Id: Integer, ID der Schluesselwortgruppe (Werte 1-4, die mehrfach verwendet+ werden koennen)+ List: Liste, Auflistung von Schluesselwoertern+ Regex: String, Regulaerer Ausdruck+ Group: Integer, Capturing Group ID der Regex, bestimmt den Teil des gefundenen+ Ausdrucks, der als Schluesselwort hervorgehoben werden soll (optional,+ wenn nicht gesetzt wird der Match mit der hoechsten Group-ID zurueck-+ gegeben (gezaehlt wird von links nach rechts))+++Comments = { {Block, Nested?, Delimiter} }++ Block: Boolean, true wenn der Kommentar ein Blockkommentar ist+ Nested: Boolean, true wenn der Blockkommentar verschachtelt werden darf (optional)+ Delimiter: Liste, enthaelt Regex der oeffnenden Begrenzer (Zeilenkommentar) oder+ Regex des oeffnenden und des schliessenden Begrenzers (Blockkommentar)+++Strings = { Delimiter|DelimiterPairs={Open, Close, Raw?}, Escape?, Interpolation?,+ RawPrefix?, AssertEqualLength? }++ Delimiter: String, Regulaerer Ausdruck der Begrenzer+ DelimiterPairs: Liste, enthaelt Ausdruecke der oeffnenden und der schliessenden+ Begrenzer wenn diese nicht gleich sind und optional ein Raw-+ String Flag+ Escape: String, Regulaerer Ausdruck fuer Escapsesequenzen (optional)+ Interpolation: String, Regulaerer Ausdruck fuer Interpolation (optional)+ RawPrefix: String, definiert Raw String Prefix (optional)+ AssertEqualLength: Boolean, True wenn die Begrenzer gleich lang sein muessen+ ++PreProcessor = { Prefix, Continuation? }++ Prefix: String, Regulaerer Ausdruck der oeffnenden Begrenzer+ Continuation: String, Definiert Fortsetzungsindikator (optional)+++NestedSections = {Lang, Delimiter= {} }++ Lang: String, Name der eingebetteten Sprache+ Delimiter: Liste, Ausdruecke der oeffnenden und der schliessenden Begrenzer+ ++Description: String, Beschreibung der Syntax++Digits: String, Regulaerer Ausdruck fuer Zahlenliterale (optional)++Identifiers: String, Regulaerer Ausdruck fuer Bezeichner (optional)++Operators: String, Regulaerer Ausdruck fuer Operatoren++EnableIndentation: Boolean, True wenn Syntax formatiert und eingerueckt werden kann++IgnoreCase: Boolean, True wenn Sprache nicht case-sensitive ist+++Globale Variablen:++Die folgenden Variablen sind in einer Sprachbeschreibung verfuegbar:++HL_LANG_DIR: Verzeichnis der Sprachdefinitionen (Parameter der Lua dofile-Funktion)++Identifiers: Default regex fuer Bezeichner+Digits: Default regex fuer Zahlenliterale++Diese Integer-Variablen beschreiben die internen Zustaende des highlight-Parsers:++HL_STANDARD+HL_STRING+HL_NUMBER+HL_LINE_COMMENT+HL_BLOCK_COMMENT+HL_ESC_SEQ+HL_PREPROC+HL_PREPROC_STRING+HL_OPERATOR+HL_INTERPOLATION+HL_LINENUMBER+HL_KEYWORD+HL_STRING_END+HL_LINE_COMMENT_END+HL_BLOCK_COMMENT_END+HL_ESC_SEQ_END+HL_PREPROC_END+HL_OPERATOR_END+HL_KEYWORD_END+HL_INTERPOLATION_END+HL_EMBEDDED_CODE_BEGIN+HL_EMBEDDED_CODE_END+HL_IDENTIFIER_BEGIN+HL_IDENTIFIER_END+HL_UNKNOWN+HL_REJECT++Hook-Funktionen: siehe README_PLUGINS.++Beispiel:+---------++Description="C and C++"++Keywords={+ { Id=1,+ List={"goto", "break", "return", "continue", "asm", "case", "default",+ -- [..]+ }+ },+ -- [..]+}++Strings = {+ Delimiter=[["|']],+ RawPrefix="R",+}++Comments = {+ { Block=true,+ Nested=false,+ Delimiter = { [[\/\*]], [[\*\/]] } },+ { Block=false,+ Delimiter = { [[//]] } }+}++IgnoreCase=false++PreProcessor = {+ Prefix=[[#]],+ Continuation="\\",+}++Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~]]++EnableIndentation=true+++3.3 REGULAERE AUSDRUECKE+-------------------------------------------------------------------------------++Die Datei README_REGEX beschreibt alle unterstuetzten Ausdruecke.+++3.4 FARBDEFINITIONEN+-------------------------------------------------------------------------------++Farbdefinitionen legen die Formatierung der Sprachelemente fest, die in den+Sprachdefinitionen beschrieben wurden.++Die Dateien muessen mit der Endung .theme in $HL_DIR/themes (siehe Abschnitt 1)+gespeichert werden. Mit der --style (-s) Option wird das Farbschema angewandt.++Formatattribute:++Attributes = {Colour, Bold?, Italic?, Underline? }++Colour: String, Farbe in Hex-Notation ("#rrggbb")+Bold: Boolean, True wenn Font bold sein soll (optional)+Italic: Boolean, True wenn Font kursiv sein soll (optional)+Underline: Boolean, True wenn Font unterstrichen sein soll (optional)+++Theme-Elemente:++Description: String, Theme-Beschreibung++Default = Attributes (Farbe des nicht hervorgehobenen Texts)++Canvas = Attributes (Hintergrundfarbe)++Number = Attributes (Formatierung von Zahlen)++Escape = Attributes (Formatierung von Escape-Sequenzen)++String = Attributes (Formatierung von Strings)++Interpolation = Attributes (Formatierung von Interpolationen)++PreProcessor = Attributes (Formatierung von Praeprozessor-Direktiven)++StringPreProc = Attributes (Formatierung von Strings in+ Praeprozessor-Direktiven)++BlockComment = Attributes (Formatierung von Blockkommentaren)++LineComment = Attributes (Formatierung von Zeilenkommentaren)++LineNum = Attributes (Formatierung von Zeilennummern)++Operator = Attributes (Formatierung von Operatoren)++Keywords= {+ Attributes1,+ Attributes2,+ Attributes3,+ Attributes4,+}++AttributesN: Liste, Formatierung von Schluesselwoertgruppen. Es sollten+ mindestens vier Elemente angegeben werden, um mit der Anzahl+ von Schluesselwortgruppen in den Sprachdefinitionen+ uebereinzustimmen.++Beispiel:++Default = { Colour="#000000" }+Canvas = { Colour="#ffffff" }+Number = { Colour="#000000" }+Escape = { Colour="#bd8d8b" }+String = { Colour="#bd8d8b" }+StringPreProc = { Colour="#bd8d8b" }+BlockComment = { Colour="#ac2020", Italic=true }+PreProcessor = { Colour="#000000" }+LineNum = { Colour="#555555" }+Operator = { Colour="#000000" }+LineComment = BlockComment++Keywords = {+ { Colour= "#9c20ee", Bold=true },+ { Colour= "#208920" },+ { Colour= "#0000ff" },+ { Colour= "#000000" },+}+++3.5 SCHLUESSELWORTGRUPPEN+-------------------------------------------------------------------------------++Sie koennen eigene Schluesselwort-Gruppen festlegen und jeder Gruppe eine eigene+Formatierung zuweisen. Das ist nuetzlich wenn Sie z.B. Bibliotheksfunktionen,+Makros oder Konstanten gesondert hervorheben moechten.++Eine Gruppe wird in zwei Schritten definiert:+++ 1. Beschreibung der Gruppe in der Sprachdefinition:++ Keywords = {+ -- fuegen Sie die Beschreibung an:+ {Id=5, List = {"ERROR", "DEBUG", "WARN"} }+ }++ 2. Festlegung des dazugehoerigen Farbstils im Farb-Schema:++ Keywords= {+ --Stil als fuenften Eintrag hinterlegen:+ { Colour= "#ff0000", Bold=true },+ }++Es wird empfohlen, eigene Keyword-Gruppen in Plugin-Skripten zu definieren,+um keine Original-Dateien zu veraendern.+Weitere Infos finden sich im cpp_qt.lua Beispiel-Plugin sowie in README_PLUGINS.+++3.6 PLUG-INS+-------------------------------------------------------------------------------++Die --plug-in Option erwartet den Pfad eines Lua Skripts, das Elemente einer+Sprachdefinition oder eines Themes ueberschreibt oder erweitert.+Mit Hilfe dieser Plugins kann die Ausgabe angepasst werden, ohne installierte+Konfigurations-Dateien zu aendern.+Man kann mehrere Plugins anwenden, indem die --plug-in Option wiederholt+angegeben wird.++Siehe README_PLUGINS um mehr darueber zu erfahren.+++3.7 DATEIZUORDNUNGEN+-------------------------------------------------------------------------------++In filetypes.conf werden Dateizuordnungen und Shebang-Definitionen eingetragen.+Eine Konfiguration ist nur dann zwingend notwendig, wenn es mehrere Dateiendungen+fuer eine Syntax gibt oder eine Endung nicht eindeutig zugewiesen werden kann.+Ansonsten wird die Syntax geladen, deren Name mit der Dateiendung der Eingabedatei+uebereinstimmt.++Format:++FileMapping={+ { Lang, Filenames|Extensions|Shebang },+}++Lang: String, Name der Sprachdefinition+Filenames: Liste, enthaelt alle Dateinamen, die "Lang" zugeordnet werden+Extensions: Liste, enthaelt alle Dateiendungen, die "Lang" zugeordnet werden+Shebang: String, Regulaerer Ausdruck der mit der ersten Zeile der Eingabe+ verglichen wird++Verhalten der Software bei mehrdeutigen Endungen:+- CLI: die erste eingetragene Verknuepfung wird angewandt+- GUI: eine Syntax-Auswahl wird angezeigt++Tragen Sie neue Dateiendungen auch in gui_files/ext/fileopenfilter.conf ein,+damit diese im GUI-Dateiauswahldialog als Filter angezeigt werden.+++3.8 PFADE DER KONFIG-DATEIEN+-------------------------------------------------------------------------------++Die Konfigurationsskripte in den folgenden Verzeichnissen gesucht:++1. ~/.highlight/+2. Wert der Umgebungsvariablen HIGHLIGHT_DATADIR+3. benutzerdefiniertes Verz., definiert mit --data-dir (deprecated)+4. /usr/share/highlight/+5. /etc/highlight/ (wegen filetypes.conf)+6. aktuelles Arbeitsverzeicnnis (Fallback)++Es wird erwartet, dass folgende Unterverzeichnisse die entsprechenden Skripte+enthalten:++-langDefs: *.lang+-themes: *.theme+-plugins: *.lua++Eine eigene filetypes.conf kann direkt in in ~/.highlight/ gespeichert werden.+Diese Suchreihenfolge vereinfacht die Erweiterung und Anpassung bestehender+Skripte, ohne vorinstallierte Dateien umkopieren zu muessen.+Da die plug-in Option aelterer Versionen nur absolute Pfade akzeptierte, werden+die angegebenen Skripte nur dann in den obigen Verzeichnissen gesucht wenn+der Zugriff auf den absoluten Pfad fehlschlaegt.+++4. HIGHLIGHT EINBETTEN+-------------------------------------------------------------------------------++4.1 BEISPIELSKRIPTE+-------------------------------------------------------------------------------++Im /examples Unterverzeichnis befinden sich Beispielskripte in PHP, Perl und+Python, die highlight aufrufen und die Ausgabe als String auswerten. Diese+Skripte koennen als Ausgangspunkt fuer neue Erweiterungen genutzt werden.++4.2 SWIG+-------------------------------------------------------------------------------++Eine SWIG Interface-Datei befindet sich in /examples/swig.+Installationshinweise finden Sie in README_SWIG, Programmierbeispiele in+den vorhandenen Skripten.++4.3 TCL+-------------------------------------------------------------------------------++Eine TCL-Erweiterung befindet sich in /examples/tcl.+Installationshinweise finden Sie in README_TCL.++4.4 SKRIPTE UND PLUG-INS FUER DRITTSOFTWARE+-------------------------------------------------------------------------------++Im /examples/web_plugins Unterverzeichnis der highlight-Installation befinden+sich einige Plugins, die Highlight in Webanwendungen integrieren:++-DokuWiki+-MovableType+-Wordpress+-Serendipity++Andere Anwendungen von highlight sind im Wiki aufgelistet:+http://andre-simon.de/dokuwiki/doku.php?id=plugins_and_extensions++Diese Seite verweist auf unterschiedliche Projekte die highlight integrieren, +z.B. Webgit, Evolution, Inkscape, Ranger, ...).+++5. KOMPILIEREN UND INSTALLIEREN+-------------------------------------------------------------------------------++5.1 VORKOMPILIERTE PAKETE+-------------------------------------------------------------------------------++Highlight ist in ISO C++ geschrieben. Es existieren folgende Pakete:+- UNIX Kommandozeilen- und GUI-Anwendung+- Windows Kommandozeilen- und GUI-Anwendung+- Statische/dynamische Bibliothek++Auf der Website www.andre-simon.de sind Links auf vorkompilierte Pakete fuer+weitere Betriebssysteme vorhanden (z.B. Debian, Arch Linux, Ubuntu, Darwin,+FreeBSD).+Auf der Website sind immer die aktuellsten Source-Pakete (upstream) verfuegbar.++Source tarball+Windows und MacOS executables+http://www.andre-simon.de++Arch Linux+http://www.archlinux.org/packages/community/i686/highlight/++Debian GNU/Linux+https://packages.debian.org/search?keywords=highlight++Fedora+http://koji.fedoraproject.org/koji/packageinfo?packageID=2044++FreeBSD+http://www.freshports.org/textproc/highlight/++Gentoo Portage+https://packages.gentoo.org/packages/app-text/highlight++Mac OS X+http://braumeister.org/formula/highlight++Slackware+http://sotirov-bg.net/slackpack/search.cgi?q=highlight++SuSE+http://packman.links2linux.de/package/highlight++Ubuntu+http://packages.ubuntu.com/oneiric/allpackages++Windows Chocolatey+https://chocolatey.org/packages/highlight++In INSTALL befinden sich weitere Informationen zu Paketinhalt und Installation.+++5.2 KOMPILIER-ABHAENGIGKEITEN+-------------------------------------------------------------------------------++Highlight kompiliert zumindest mit gcc und clang. Zum Kompilieren sind Boost+Header-Pakete und Lua5.x/LuaJit Development-Pakete noetig.+Die optionale GUI benoetigt Qt5 Development-Pakete.+Im Makefile finden Sie weitere Informationen.+++6. ENTWICKLERKONTAKT+-------------------------------------------------------------------------------++Andre Simon+andre.simon1@gmx.de+http://www.andre-simon.de++sf.net Projekt mit SVN Repository, Download Mirror, Bugtracker, Foren:+http://sourceforge.net/projects/syntaxhighlight/
README_LANGLIST
@@ -0,0 +1,224 @@+-------------------------------------------------------------------------------+--- HIGHLIGHT LANGUAGE LIST ------------------------------- September 2016 ---+-------------------------------------------------------------------------------++All supported languages and the syntax definition file names are listed below.+The parens contain filename extensions configured in filetypes.conf.+By default, the *.lang files are located in /usr/share/highlight/langDefs/.+See README for other user defined locations.++Since release 2.12, it is possible to highlight source files with multiple+languages (ie HTML+PHP), see the NestedSections parameter in README.++Filetypes.conf contains also special filenames without extensions (like +makefile) and script shebang expressions.+++Packaged language definitions (highlight --list-langs):++ABAP/4 : abap4 ( abp )+ABC : abc+Advanced Backus-Naur Form : abnf+ActionScript : actionscript ( as )+ADA95 : ada ( a adb ads gnad )+Agda : agda+ALGOL 68 : algol ( alg )+AMPL : ampl ( dat run )+AMTrix : amtrix ( hnd s4 s4h s4t t4 )+AppleScript : applescript+Arc : arc+ARM : arm+AS/400 CL : as400cl+ASCEND : ascend ( a4c )+Active Server Pages : asp ( ascx ashx aspx )+Abstract : aspect ( was wud )+Assembler : assembler ( 29k 68s 68x a51 asm s x86 )+Applied Type System : ats ( dats )+AutoHotKey : autohotkey ( ahk )+AutoIt : autoit ( au3 )+Avenue : avenue+(G)AWK : awk+DOS Batch : bat ( cmd )+BBcode : bbcode+BCPL : bcpl+BibTeX : bibtex ( bib )+Biferno : biferno ( bfr )+Bison : bison ( y )+Blitz Basic : blitzbasic ( bb )+BM Script : bms+Backus-Naur Form : bnf+Boo : boo+C and C++ : c ( c++ cc cpp cu cxx h hh hpp hxx )+Ceylon : ceylon+Charmm : charmm ( inp )+CHILL : chill ( chl )+Chapel : chpl+Clean : clean ( icl )+ClearBasic : clearbasic ( cb )+Clipper : clipper+Clojure : clojure+Clips : clp+COBOL : cobol ( cbl cob )+ColdFusion MX : coldfusion ( cfc cfm )+Generic config files : conf+Crack : crk+C# : csharp ( cs )+CSS : css+D : d+Dart : dart+Diff : diff ( patch )+Device Tree Source : dts ( dtsi )+Dylan : dylan+Extended Backus-Naur Form : ebnf+Eiffel : eiffel ( e se )+Erlang : erlang ( erl hrl )+Euphoria : euphoria ( eu ew ex exw wxu )+Express : express ( exp )+FAME : fame ( fame )+Felix : felix ( flx )+Fortran 77 : fortran77 ( f for ftn )+Fortran 90 : fortran90 ( f90 f95 )+Frink : frink+F# : fsharp ( fs fsx )+Java FX : fx+Gambas : gambas ( class )+gdb : gdb+Go : go+Graphviz : graphviz ( dot )+Haskell : haskell ( hs )+haXe : haxe ( hx )+Hecl : hcl+HTML : html ( htm xhtml )+Apache Config : httpd+Icon : icon ( icn )+IDL : idl+Interactive Data Language : idlang+Lua (for LuaTeX) : inc_luatex+Informix : informix ( 4gl )+INI : ini ( desktop doxyfile )+Inno Setup : innosetup ( iss )+INTERLIS : interlis ( ili )+IO : io+Jasmin : jasmin ( j )+Java : java ( groovy grv )+Javascript : js ( jsx )+JSON : json+JavaServer Pages : jsp+Julia : julia ( jl )+Kotlin : kotlin ( kt )+LDAP : ldif+LESS : less+Haskell LHS : lhs+Lilypond : lilypond ( ly )+Limbo : limbo ( b )+Linden Script : lindenscript ( lsl )+Lisp : lisp ( cl clisp el lsp sbcl scom )+Logtalk : logtalk ( lgt )+Lotos : lotos+Lotus : lotus ( ls )+Lua : lua+Luban : luban ( lbn )+Make : make ( mak makefile mk )+Maple : maple ( mpl )+Matlab : matlab ( m )+Maya : maya ( mel )+GitHub Flavored Markdown : md+Mercury : mercury+Miranda : miranda+Modula2 : mod2 ( def mod )+Modula3 : mod3 ( i3 m3 )+Modelica : modelica ( mo )+MoonScript : moon+MaxScript : ms+mIRC Scripting : msl ( nbs )+MSSQL : mssql+Magic eXtensible Markup : mxml+Notation3 (N3), N-Triples, Turtle, SPARQL: n3 ( nt ttl )+Nasal : nasal ( nas )+NeXT Byte Codes : nbc+Nemerle : nemerle ( n )+NetRexx : netrexx ( nrx )+Nginx configuration : nginx+Nice : nice+Nim : nim+NSIS : nsis ( nsh nsi )+Not eXactly C : nxc+Oberon : oberon ( ooc )+Objective C : objc+Objective Caml : ocaml ( ml mli )+Octave : octave+OpenObjectRexx : oorexx+Object Script : os+Oz : oz+Paradox : paradox ( sc )+Pascal : pas+Portable Document Format : pdf+Perl : perl ( cgi perl pl plex plx pm )+PHP : php ( php3 php4 php5 php6 )+Pike : pike ( pmod )+PL/1 : pl1 ( bdy ff fp fpp rpp sf sp spb spe spp sps wf wp wpb wpp wps )+PL/Perl : plperl+PL/Python : plpython+PL/Tcl : pltcl+Pony : pony+POV-Ray : pov+Prolog : pro+Progress : progress ( i p w )+PostScript : ps+Microsoft PowerShell : ps1+PATROL : psl+Pure : pure+Pyrex : pyrex ( pyx )+Python : python ( py )+Qore : q+QMake Project : qmake+QML : qml+Qu : qu+R : r+Rebol : rebol+Rexx : rexx ( rex rx the )+Relax NG : rnc+RPG : rpg+RPL Programming Language : rpl+Rust : rs+Ruby : ruby ( gemfile pp rakefile rb rjs ruby )+PowerPC Assembler : s+SAS : sas+Scala : scala+Scilab : scilab ( sce sci )+SASS/SCSS : scss+Bash : sh ( bash ebuild eclass zsh )+SMALL : small ( sma )+Smalltalk : smalltalk ( gst sq st )+Standard ML : sml+SNMP : snmp ( mib smi )+SNOBOL : snobol ( sno )+RPM Spec : spec+SPIN SQL : spn+PL/SQL : sql+Squirrel : squirrel ( nut )+Stylus : styl+SVG : svg+Swift : swift+Sybase SQL : sybase+Tcl/Tk : tcl ( itcl wish )+TCSH : tcsh+TeX and LaTeX : tex ( cls sty )+TypeScript : ts+Transact-SQL : tsql+TTCN3 : ttcn3+Plain text : txt ( text )+UPC (and C, technically) : upc+Vala : vala+Visual Basic : vb ( bas basic bi vbs )+Verilog : verilog ( v )+VHDL : vhd+Whiley : whiley+XML : xml ( csproj dtd ecf ent glade hdr hub jnlp nrm resx sgm sgml tld vxml wml xsd xsl )+SuperX++ : xpp+Yaiff : yaiff+Ansible YAML : yaml ( yml )+Yang : yang+Zonnon : znn++Use the name of the desired language with the --syntax option.
README_PLUGINS
@@ -0,0 +1,453 @@+-------------------------------------------------------------------------------+--- HIGHLIGHT PLUGIN MANUAL - Version 3.35 ------------------ March 2017 ---+-------------------------------------------------------------------------------++CONTENT+-------------------------------------------------------------------------------++1. ABOUT+2. SCRIPT STRUCTURE+3. SYNTAX CHUNK ELEMENTS+ 3.1 FUNCTION ADDKEYWORD+ 3.2 FUNCTION ONSTATECHANGE+ 3.3 DECORATE FUNCTIONS+4. THEME CHUNK ELEMENTS+5. STEP BY STEP+6. EXAMPLES+7. PLUG-IN USAGE+++1. ABOUT+-------------------------------------------------------------------------------++The plug-in interface allows modifications of syntax parsing and colouring.+The output's header or footer can be enhanced, and recognized syntax elements+may be outputted with additional information.+A common task would be to define a new set of syntax keywords, or to add items+to existing keyword groups. More advanced plug-ins add tooltips based on ctags +input or source code folding to the output (see section 6).+++2. SCRIPT STRUCTURE+-------------------------------------------------------------------------------++The following script contains the basic plug-in structure which has no effect +on the output:++Description="Plugin Boilerplate"++-- optional parameter: syntax description+function syntaxUpdate(desc)+end++-- optional parameter: theme description+function themeUpdate(desc)+end++Plugins={+ { Type="theme", Chunk=themeUpdate },+ { Type="lang", Chunk=syntaxUpdate },+}++The first line contains a description which gives a short summary of the+plug-in effects.++The next lines contain function definitions:+The syntaxUpdate function is applied on syntax definition scripts (*.lang),+whereas the themeUpdate function is applied on colour themes (*.theme).+The desc parameter contains the description string of the loaded syntax+definition or colour theme. This information can be used to restrict+modifications to certain kinds of input (i.e. only C code should be+enhanced with syslog keywords).++Finally the Plugins array connects the functions to the Lua states which +are created when highlight loads a lang or theme script. In this example,+themeUpdate is connected to the theme state, and syntaxUpdate to the lang+state. It is not required to always define both connections if your plugin+only affects one of the config script types.+++3. SYNTAX CHUNK ELEMENTS+-------------------------------------------------------------------------------++The following list includes all variables and constants you may use to adjust +the parser's syntax highlighting.++Syntax definition items:++Comments: table+Description: string+Digits: string+EnableIndentation: boolean+Identifiers: string+IgnoreCase: boolean+Keywords: table+NestedSections: table+Operators: string+PreProcessor: table+Strings: table++Document modification items:++HeaderInjection: string+FooterInjection: string++Read only (internal highlighting states):++HL_STANDARD: number+HL_BLOCK_COMMENT: number+HL_BLOCK_COMMENT_END: number+HL_EMBEDDED_CODE_BEGIN: number+HL_EMBEDDED_CODE_END: number+HL_ESC_SEQ: number+HL_ESC_SEQ_END: number+HL_IDENTIFIER_BEGIN: number+HL_IDENTIFIER_END: number+HL_KEYWORD: number+HL_KEYWORD_END: number+HL_LINENUMBER: number+HL_LINE_COMMENT: number+HL_LINE_COMMENT_END: number+HL_NUMBER: number+HL_OPERATOR: number+HL_OPERATOR_END: number+HL_PREPROC: number+HL_PREPROC_END: number+HL_PREPROC_STRING: number+HL_STRING: number+HL_STRING_END: number+HL_UNKNOWN: number+HL_REJECT: number++Read only (output document format):++HL_OUTPUT: number (selected format)+HL_FORMAT_HTML: number+HL_FORMAT_XHTML: number+HL_FORMAT_TEX: number+HL_FORMAT_LATEX: number+HL_FORMAT_RTF: number+HL_FORMAT_ANSI: number+HL_FORMAT_XTERM256: number+HL_FORMAT_SVG: number+HL_FORMAT_BBCODE: number+HL_FORMAT_PANGO: number+HL_FORMAT_ODT: number++Read only (other):++HL_PLUGIN_PARAM: string (set with --plug-in-param)+HL_LANG_DIR: string (path of language definition directory)++Functions:++AddKeyword: function+OnStateChange: function+Decorate: function+DecorateLineBegin: function+DecorateLineEnd: function++IMPORTANT: Functions will only be executed if they are defined as local+functions within the "lang" chunk referenced in the Plugins array. +They will be ignored when defined elsewhere in the script.+++3.1 FUNCTION ADDKEYWORD+-------------------------------------------------------------------------------++This function will add a keyword to one of the the internal keyword lists.+It has no effect if the keyword was added before.+Keywords added with AddKeyword will remain active for all files of the same+syntax if highlight is in batch mode.++AddKeyword(keyword, kwGroupID)++ Parameters: keyword: string which should be added to a keyword list+ kwGroupID: keyword group ID of the keyword+ Returns: true if successfull+ ++3.2 FUNCTION ONSTATECHANGE+-------------------------------------------------------------------------------++This function is a hook which is called if an internal state changes (e.g. from+HL_STANDARD to HL_KEYWORD if a keyword is found). It can be used to alter+the new state or to manipulate syntax elements.++OnStateChange(oldState, newState, token, kwGroupID)++ Hook Event: Highlighting parser state change+ Parameters: oldState: old state+ newState: intended new state+ token: the current token which triggered the new state+ kwGroupID: if newState is HL_KEYWORD, the parameter+ contains the keyword group ID+ Returns: Correct state to continue OR HL_REJECT++Return HL_REJECT if the recognized token and state should be discarded; the +first character of token will be outputted and highlighted as oldState.++Examples:++function OnStateChange(oldState, newState, token, kwgroup)+ if newState==HL_KEYWORD and kwgroup==5 then+ AddKeyword(token, 5)+ end+ return newState+end++This function adds the current keyword to the internal keyword list if the +keyword belongs to keyword group 5. If keyword group 5 is defined by a regex,+this token will be recognized later as keyword even if the regular expression +does no longer match.++function OnStateChange(oldState, newState, token)+ if token=="]]" and oldState==HL_STRING and newState==HL_BLOCK_COMMENT_END then+ return HL_STRING_END+ end+ return newState+end++This function resolves a Lua parsing issue with the "]]" close delimiter which+ends both comments and strings.+++3.3 DECORATE FUNCTIONS+-------------------------------------------------------------------------------++The Decorate function is a hook which is called if a syntax token has been +identified. It can be used to alter the token or to add additional text in the+target output format (e.g. hyperlinks). ++Decorate(token, state, kwGroupID, stateTrace)++ Hook Event: Token identification+ Parameters: token: current token+ state: current state+ kwGroupID: if state is HL_KEYWORD, the parameter+ contains the keyword group ID+ stateTrace: string containing past states of the current line;+ separated by ';'; limited to 100 entries+ Returns: Altered token string or nothing if original token should be + outputted++Examples:++function Decorate(token, state)+ if (state == HL_KEYWORD) then+ return string.upper(token)+ end+end++This function converts all keywords to upper case.+++The functions DecorateLineBegin and DecorateLineEnd are called if a new line+starts or ends. They can be used to add special formatting to lines of code.++DecorateLineBegin(lineNumber)++ Hook Event: output of a new line+ Parameters: lineNumber: the current line number+ Returns: A string to be prepended to a new line (or nothing) ++DecorateLineEnd(lineNumber)++ Hook Event: output of a line ending+ Parameters: lineNumber: the current line number+ Returns: A string to be appended to a line (or nothing)+ ++IMPORTANT: The return value of Decorate functions will be embedded in the +formatting tags of the output format. The return values are not modified or +validated by highlight.++ +4. THEME CHUNK ELEMENTS+-------------------------------------------------------------------------------++The following list includes all items you may overwrite or extend to adjust+the formatting (colour and font attributes) of the output:++Output formatting items:++Default: table+Canvas: table+Number: table+Escape: table+String: table+StringPreProc: table+BlockComment: table+PreProcessor: table+LineNum: table+Operator: table+LineComment: table+Keywords: table++Read only (output document format)::++HL_OUTPUT: number+HL_FORMAT_HTML: number+HL_FORMAT_XHTML: number+HL_FORMAT_TEX: number+HL_FORMAT_LATEX: number+HL_FORMAT_RTF: number+HL_FORMAT_ANSI: number+HL_FORMAT_XTERM256: number+HL_FORMAT_SVG: number+HL_FORMAT_BBCODE: number+HL_FORMAT_PANGO: number+HL_FORMAT_ODT: number++Add additional stying information:++Injections: table+++5. STEP BY STEP+-------------------------------------------------------------------------------++This example will add reference hyperlinks to Qt keywords:++-- first add a description of what the plug-in does+Description="Add qtproject.org reference links to HTML, LaTeX or RTF output"++-- the syntaxUpdate function contains code related to syntax recognition+function syntaxUpdate(desc)++ -- if the current file is no C++ file we exit+ if desc~="C and C++" then+ return+ end+ + -- this function returns a qt-project reference link of the given token+ function getURL(token)+ -- generate the URL+ url='http://qt-project.org/doc/qt-4.8/'..string.lower(token).. '.html'+ + -- embed the URL in a hyperlink according to the output format+ -- first HTML, then LaTeX and RTF+ if (HL_OUTPUT== HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then+ return '<a class="hl" target="new" href="' + .. url .. '">'.. token .. '</a>'+ elseif (HL_OUTPUT == HL_FORMAT_LATEX) then+ return '\\href{'..url..'}{'..token..'}'+ elseif (HL_OUTPUT == HL_FORMAT_RTF) then+ return '{{\\field{\\*\\fldinst HYPERLINK "'+ ..url..'" }{\\fldrslt\\ul\\ulc0 '..token..'}}}'+ end+ end++ -- the Decorate function will be invoked for every recognized token+ function Decorate(token, state)++ -- we are only interested in keywords, preprocessor or default items+ if (state ~= HL_STANDARD and state ~= HL_KEYWORD and + state ~=HL_PREPROC) then+ return+ end++ -- Qt keywords start with Q, followed by an upper and a lower case letter+ -- if this pattern applies to the token, we return the URL+ -- if we return nothing, the token is outputted as is+ if string.find(token, "Q%u%l")==1 then+ return getURL(token)+ end++ end+end++-- the themeUpdate function contains code related to the theme+function themeUpdate(desc)+ -- the Injections table can be used to add style information to the theme+ + -- HTML: we add additional CSS style information to beautify hyperlinks,+ -- they should have the same color as their surrounding tags+ if (HL_OUTPUT == HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then+ Injections[#Injections+1]=+ "a.hl, a.hl:visited {color:inherit;font-weight:inherit;}"++ -- LaTeX: hyperlinks require the hyperref package, so we add this here+ -- the colorlinks and pdfborderstyle options remove ugly boxes in the output+ elseif (HL_OUTPUT==HL_FORMAT_LATEX) then+ Injections[#Injections+1]=+ "\\usepackage[colorlinks=false, pdfborderstyle={/S/U/W 1}]{hyperref}"+ end+end++-- let highlight load the chunks+Plugins={+ { Type="lang", Chunk=syntaxUpdate },+ { Type="theme", Chunk=themeUpdate },+}+++6. EXAMPLES+-------------------------------------------------------------------------------++The plugins directory contains example scripts, including: ++bash_functions.lua+Description: Add function names to keyword list+Features: Adds new keyword group based on a regex, defines OnStateChange,+ uses AddKeyword++theme_invert.lua+Description: Invert colours of the original theme+Features: Modifies all color attributes of the theme script, uses Lua+ pattern matching+ +cpp_ref_cplusplus_com.lua+Description: Add qtproject.org reference links to HTML, LaTeX or RTF output of+ C++ code+Features: Uses Decorate to add hyperlinks for a defined set of C++ keywords.+ Adds CSS styles with Injections.++ctags_html_tooltips.lua+Description: Add tooltips based on a ctags file (default input file: tags)+Features: Uses file input (defined by cli option --plug-in-param) and+ parses tags data before Decorate is called.+ +outhtml_curly_brackets_matcher.lua+Description: Shows matching curly brackets in HTML output.+Features: Uses Decorate to add span tags with unique ids to opening and + closing brackets.+ Adds JavaScript with HeaderInjection variable.+ Inserts additional CSS styles with Injections variable.+ +outhtml_keyword_matcher.lua+Description: Shows matching keywords in HTML output.+Features: Uses Decorate to add span tags with unique ids to opening and + closing brackets.+ Uses OnStateChange to assign an internal ID to each keyword.+ Adds JavaScript with HeaderInjection variable.+ Inserts additional CSS styles with Injections variable.+ +outhtml_codefold.lua+Description: Adds code folding for C style languages, Pascal, Lua and Ruby to + HTML output+Features: Uses DecorateLineBegin and DecorateLineEnd to add ID-spans to each + line.+ Applies Decorate to each code block delimiter to add onClick event + handlers.+ Adds JavaScript with HeaderInjection and FooterInjection variables.+ Inserts additional CSS styles with Injections variable.+ + +7. PLUG-IN USAGE+-------------------------------------------------------------------------------++Command line interface:+Run highlight --list-scripts=plugins to show all installed plug-ins.++Use --plug-in to load a plug-in script file. This option can be applied +more than once to apply several plug-ins. Omit the .lua suffix.+You can store your plug-in scripts for testing in ~/.highlight/plugins.++Example:+highlight my.cpp -Ilz --plug-in=html_curly_brackets_matcher > ~/test_out/my.html+++GUI:+Add the plug-in scripts in the plug-in selection tab and enable them using the+checkboxes.
README_REGEX
@@ -0,0 +1,395 @@+-------------------------------------------------------------------------------+--- HIGHLIGHT REGULAR EXPRESSIONS MANUAL --------------------------------------+-------------------------------------------------------------------------------++This file is based on the original Boost API documentation:+http://www.boost.org/doc/libs/1_32_0/libs/regex/doc/syntax.html++Regular expressions can be applied in highlight's syntax definitions.++-------------------------------------------------------------------------------++Literals+--------++All characters are literals except: ".", "|", "*", "?", "+", "(", ")", "{", "}",+"[", "]", "^", "$" and "\". These characters are literals when preceded by a+"\". A literal is a character that matches itself, or matches the result of+traits_type::translate(), where traits_type is the traits template parameter to+class basic_regex.+Wildcard++The dot character "." matches any single character except : when+match_not_dot_null is passed to the matching algorithms, the dot does not match+a null character; when match_not_dot_newline is passed to the matching+algorithms, then the dot does not match a newline character.+++Repeats+-------++A repeat is an expression that is repeated an arbitrary number of times. An+expression followed by "*" can be repeated any number of times including zero.+An expression followed by "+" can be repeated any number of times, but at least+once, if the expression is compiled with the flag regex_constants::bk_plus_qm+then "+" is an ordinary character and "\+" represents a repeat of once or more.+An expression followed by "?" may be repeated zero or one times only, if the+expression is compiled with the flag regex_constants::bk_plus_qm then "?" is an+ordinary character and "\?" represents the repeat zero or once operator. When it+is necessary to specify the minimum and maximum number of repeats explicitly,+the bounds operator "{}" may be used, thus "a{2}" is the letter "a" repeated+exactly twice, "a{2,4}" represents the letter "a" repeated between 2 and 4+times, and "a{2,}" represents the letter "a" repeated at least twice with no+upper limit. Note that there must be no white-space inside the {}, and there is+no upper limit on the values of the lower and upper bounds. When the expression+is compiled with the flag regex_constants::bk_braces then "{" and "}" are+ordinary characters and "\{" and "\}" are used to delimit bounds instead. All+repeat expressions refer to the shortest possible previous sub-expression: a+single character; a character set, or a sub-expression grouped with "()" for+example.++Examples:++"ba*" will match all of "b", "ba", "baaa" etc.++"ba+" will match "ba" or "baaaa" for example but not "b".++"ba?" will match "b" or "ba".++"ba{2,4}" will match "baa", "baaa" and "baaaa".+Non-greedy repeats++Whenever the "extended" regular expression syntax is in use (the default) then+non-greedy repeats are possible by appending a '?' after the repeat; a+non-greedy repeat is one which will match the shortest possible string.++For example to match html tag pairs one could use something like:++"<\s*tagname[^>]*>(.*?)<\s*/tagname\s*>"++In this case $1 will contain the text between the tag pairs, and will be the+shortest possible matching string. +++Parenthesis+-----------++Parentheses serve two purposes, to group items together into a sub-expression,+and to mark what generated the match. For example the expression "(ab)*" would+match all of the string "ababab". The matching algorithms regex_match and+regex_search each take an instance of match_results that reports what caused the+match, on exit from these functions the match_results contains information both+on what the whole expression matched and on what each sub-expression matched. In+the example above match_results[1] would contain a pair of iterators denoting+the final "ab" of the matching string. It is permissible for sub-expressions to+match null strings. If a sub-expression takes no part in a match - for example+if it is part of an alternative that is not taken - then both of the iterators+that are returned for that sub-expression point to the end of the input string,+and the matched parameter for that sub-expression is false. Sub-expressions are+indexed from left to right starting from 1, sub-expression 0 is the whole+expression.+++Non-Marking Parenthesis+-----------------------++Sometimes you need to group sub-expressions with parenthesis, but don't want the+parenthesis to spit out another marked sub-expression, in this case a+non-marking parenthesis (?:expression) can be used. For example the following+expression creates no sub-expressions:++"(?:abc)*"+Forward Lookahead Asserts ++There are two forms of these; one for positive forward lookahead asserts, and+one for negative lookahead asserts:++"(?=abc)" matches zero characters only if they are followed by the expression+"abc".++"(?!abc)" matches zero characters only if they are not followed by the+expression "abc".+Independent sub-expressions++"(?>expression)" matches "expression" as an independent atom (the algorithm will+not backtrack into it if a failure occurs later in the expression).+++Alternatives+------------++Alternatives occur when the expression can match either one sub-expression or+another, each alternative is separated by a "|", or a "\|" if the flag+regex_constants::bk_vbar is set, or by a newline character if the flag+regex_constants::newline_alt is set. Each alternative is the largest possible+previous sub-expression; this is the opposite behavior from repetition+operators.++Examples:++"a(b|c)" could match "ab" or "ac".++"abc|def" could match "abc" or "def".+++Sets+----++A set is a set of characters that can match any single character that is a+member of the set. Sets are delimited by "[" and "]" and can contain literals,+character ranges, character classes, collating elements and equivalence classes.+Set declarations that start with "^" contain the complement of the elements that+follow.++Examples:++Character literals:++"[abc]" will match either of "a", "b", or "c".++"[^abc] will match any character other than "a", "b", or "c".++Character ranges:++"[a-z]" will match any character in the range "a" to "z".++"[^A-Z]" will match any character other than those in the range "A" to "Z".++Note that character ranges are highly locale dependent if the flag+regex_constants::collate is set: they match any character that collates between+the endpoints of the range, ranges will only behave according to ASCII rules+when the default "C" locale is in effect. For example if the library is compiled+with the Win32 localization model, then [a-z] will match the ASCII characters+a-z, and also 'A', 'B' etc, but not 'Z' which collates just after 'z'. This+locale specific behavior is disabled by default (in perl mode), and forces+ranges to collate according to ASCII character code.++Character classes are denoted using the syntax "[:classname:]" within a set+declaration, for example "[[:space:]]" is the set of all whitespace characters.+Character classes are only available if the flag regex_constants::char_classes+is set. The available character classes are:+ ++alnum Any alpha numeric character. +alpha Any alphabetical character a-z and A-Z. Other characters may+ also be included depending upon the locale. +blank Any blank character, either a space or a tab. +cntrl Any control character. +digit Any digit 0-9. +graph Any graphical character. +lower Any lower case character a-z. Other characters may also be+ included depending upon the locale. +print Any printable character. +punct Any punctuation character. +space Any whitespace character. +upper Any upper case character A-Z. Other characters may also be+ included depending upon the locale. +xdigit Any hexadecimal digit character, 0-9, a-f and A-F. +word Any word character - all alphanumeric characters plus the+ underscore. +Unicode Any character whose code is greater than 255, this+ applies to the wide character traits classes only. ++There are some shortcuts that can be used in place of the character classes,+provided the flag regex_constants::escape_in_lists is set then you can use:++\w in place of [:word:]+\s in place of [:space:]+\d in place of [:digit:]+\l in place of [:lower:]+\u in place of [:upper:] ++Collating elements take the general form [.tagname.] inside a set declaration,+where tagname is either a single character, or a name of a collating element,+for example [[.a.]] is equivalent to [a], and [[.comma.]] is equivalent to [,].+The library supports all the standard POSIX collating element names, and in+addition the following digraphs: "ae", "ch", "ll", "ss", "nj", "dz", "lj", each+in lower, upper and title case variations. Multi-character collating elements+can result in the set matching more than one character, for example [[.ae.]]+would match two characters, but note that [^[.ae.]] would only match one+character. ++Equivalence classes take the generalform[=tagname=] inside a set declaration,+where tagname is either a single character, or a name of a collating element,+and matches any character that is a member of the same primary equivalence class+as the collating element [.tagname.]. An equivalence class is a set of+characters that collate the same, a primary equivalence class is a set of+characters whose primary sort key are all the same (for example strings are+typically collated by character, then by accent, and then by case; the primary+sort key then relates to the character, the secondary to the accentation, and+the tertiary to the case). If there is no equivalence class corresponding to+tagname ,then[=tagname=] is exactly the same as [.tagname.]. Unfortunately there+is no locale independent method of obtaining the primary sort key for a+character, except under Win32. For other operating systems the library will+"guess" the primary sort key from the full sort key (obtained from strxfrm), so+equivalence classes are probably best considered broken under any operating+system other than Win32. ++To include a literal "-" in a set declaration then: make it the first character+after the opening "[" or "[^", the endpoint of a range, a collating element, or+if the flag regex_constants::escape_in_lists is set then precede with an escape+character as in "[\-]". To include a literal "[" or "]" or "^" in a set then+make them the endpoint of a range, a collating element, or precede with an+escape character if the flag regex_constants::escape_in_lists is set.+++Line anchors+------------++An anchor is something that matches the null string at the start or end of a+line: "^" matches the null string at the start of a line, "$" matches the null+string at the end of a line.+++Back references+---------------++A back reference is a reference to a previous sub-expression that has already+been matched, the reference is to what the sub-expression matched, not to the+expression itself. A back reference consists of the escape character "\"+followed by a digit "1" to "9", "\1" refers to the first sub-expression, "\2" to+the second etc. For example the expression "(.*)\1" matches any string that is+repeated about its mid-point for example "abcabc" or "xyzxyz". A back reference+to a sub-expression that did not participate in any match, matches the null+string: NB this is different to some other regular expression matchers. Back+references are only available if the expression is compiled with the flag+regex_constants::bk_refs set.+++Word operators+--------------++The following operators are provided for compatibility with the GNU regular+expression library.++"\w" matches any single character that is a member of the "word" character+class, this is identical to the expression "[[:word:]]".++"\W" matches any single character that is not a member of the "word" character+class, this is identical to the expression "[^[:word:]]".++"\<" matches the null string at the start of a word.++"\>" matches the null string at the end of the word.++"\b" matches the null string at either the start or the end of a word.++"\B" matches a null string within a word.++The start of the sequence passed to the matching algorithms is considered to be+a potential start of a word unless the flag match_not_bow is set. The end of the+sequence passed to the matching algorithms is considered to be a potential end+of a word unless the flag match_not_eow is set.+++Buffer operators+----------------++The following operators are provided for compatibility with the GNU regular+expression library, and Perl regular expressions:++"\`" matches the start of a buffer.++"\A" matches the start of the buffer.++"\'" matches the end of a buffer.++"\z" matches the end of a buffer.++"\Z" matches the end of a buffer, or possibly one or more new line characters+followed by the end of the buffer.++A buffer is considered to consist of the whole sequence passed to the matching+algorithms, unless the flags match_not_bob or match_not_eob are set.+++Escape operator+---------------++The escape character "\" has several meanings.++Inside a set declaration the escape character is a normal character unless the+flag regex_constants::escape_in_lists is set in which case whatever follows the+escape is a literal character regardless of its normal meaning.++The escape operator may introduce an operator for example: back references, or a+word operator.++The escape operator may make the following character normal, for example "\*"+represents a literal "*" rather than the repeat operator.+Single character escape sequences++The following escape sequences are aliases for single characters:+ +Escape sequence Character code Meaning +\a 0x07 Bell character. +\f 0x0C Form feed. +\n 0x0A Newline character. +\r 0x0D Carriage return. +\t 0x09 Tab character. +\v 0x0B Vertical tab. +\e 0x1B ASCII Escape character. +\0dd 0dd An octal character code, where dd is one or more octal+ digits. +\xXX 0xXX A hexadecimal character code, where XX is one or more+ hexadecimal digits. +\x{XX} 0xXX A hexadecimal character code, where XX is one or more+ hexadecimal digits, optionally a Unicode character. +\cZ z-@ An ASCII escape sequence control-Z, where Z is any ASCII+ character greater than or equal to the character code for '@'.+++Miscellaneous escape sequences:+-------------------------------++The following are provided mostly for perl compatibility, but note that there+are some differences in the meanings of \l \L \u and \U:+ ++\w Equivalent to [[:word:]]. +\W Equivalent to [^[:word:]]. +\s Equivalent to [[:space:]]. +\S Equivalent to [^[:space:]]. +\d Equivalent to [[:digit:]]. +\D Equivalent to [^[:digit:]]. +\l Equivalent to [[:lower:]]. +\L Equivalent to [^[:lower:]]. +\u Equivalent to [[:upper:]]. +\U Equivalent to [^[:upper:]]. +\C Any single character, equivalent to '.'. +\X Match any Unicode combining character sequence, for example "a\x+ 0301" (a letter a with an acute). +\Q The begin quote operator, everything that follows is treated as+ a literal character until a \E end quote operator is found. +\E The end quote operator, terminates a sequence begun with \Q. ++-------------------------------------------------------------------------------++Examples:+---------++Regex=[[ [A-Z]\w+ ]]+Highlight identifiers beginning with a capital letter.++Regex=[[ [$@%]\w+ ]]+Highlight variables beginning with $, @ or %.++Regex=[[ \$\{(\w+)\}) ]]+or+Regex=[[ \$\{(\w+)\} ]], Group=1+Highlight variable names like ${name}. Only the name is highlighted as keyword.+A sub-expression is used to achieve this effect. If no sub-expression number+is defined (like in the first example above), the right-most sub match+(highest sub id) is returned.++Regex=[[ (\w+)\s*\( ]]+Highlight method names. Note that a sub expression is used again.++Regex=[[STO\xe2\x88\x91]]+Unicode characters in a keyword.++---+Andre Simon+andre.simon1@gmx.de+http://www.andre-simon.de/+http://wiki.andre-simon.de/
README_RELEASE
@@ -0,0 +1,81 @@+-------------------------------------------------------------------------------+--- HIGHLIGHT IMPORTANT RELEASE AND PACKAGING INFORMATION -- February 2015 ---+-------------------------------------------------------------------------------++TEST CASES+----------++highlight --print-config++This will print the config file search paths and compilation options.+++To test syntax definitions, run++highlight --list-scripts=langs++This command compiles all syntax scripts.++highlight --list-scripts=themes+highlight --list-scripts=plugins++These commands show installed files.+++To quickly test highlighting on the command line, type:+highlight -ISc+Now type some C code and hit CTRL+D to quit.++Add --verbose to print additional syntax parsing information.+++Test filetype recognition:+-file suffix (default)+-no suffix (i.e. makefile)+-shebang (i.e. Bash script)+-force syntax using -S+++UNNEEDED FILES+--------------++Remove src/gui-qt/.qmake.stash+++THIRD PARTY COMPATIBILITY+-------------------------++The following options are used in third party applications:++ --input, -i+ --output, -o+ --encoding, -u+ --font+ --font-size+ --force+ --line-numbers, -l+ --replace-tabs, -t+ --syntax+ --out-format+ --include-style+ --inline-css+ --style+ --failsafe+ --validate-input++The following themes are used in third party applications:+ - bclear (Evolution)++The following platform dependent classes are used in SWIG scripts (ikiwiki):+ - DataDir+++SO-LIB VERSION+--------------++Increase SO_VERSION in src/makefile.+ ++See the makefiles and INSTALL for more packaging information.++
TODO
@@ -1,4 +1,4 @@ Planned for future releases: --test integration of the language server protocol: https://github.com/microsoft/language-server-protocol-+-OnChangeState: return keyword group as second retval+-add localization support for command line interface (gettext)
examples/highlight_pipe.php
@@ -0,0 +1,170 @@+<?php++/**This PHP class serves as interface to the highlight utility.+Input and output streams are handled with pipes.+Command line parameters are validated before use.+*/++class HighlightPipe {++ // alter these members to control highlight output+ // see manpage for the options++ var $hl_option = array(+ 'hl_bin' => 'highlight', // configure path of highlight binary+ 'syntax' => 'c',+ 'theme' => 'kwrite',+ 'force' => 1,+ 'line-numbers' => 0,+ 'line-number-length' => 4,+ 'line-number-start' => 0,+ 'zeroes' => 0,+ 'wraptype' => 0,+ 'line-length' => 0,+ 'reformat' => '',+ 'kw-case' => '',+ 'replace-tabs' => 0,+ 'encoding' => '',+ 'enclose-pre' => 1,+ 'inline-css' => 1,+ 'fragment' => 1,+ );++ // this member contains the input source code+ var $input='';++ // this member will contain the command string after getResult() was called+ var $hl_cmd_str='';++ function getInfo(){+ return array(+ 'author' => 'Andre Simon',+ 'email' => 'andre.simon1@gmx.de',+ 'date' => '2015-10-13',+ 'url' => 'http://www.andre-simon.de/',+ 'version' => '1.2',+ );+ }++ // call this method to generate highlighted HTML code+ function getResult() {++ foreach ($this->hl_option as $key => $value) {+ $this->hl_option[$key] = $this->validate( $value );+ }++ $descriptorspec = array(+ 0 => array("pipe", "r"),+ 1 => array("pipe", "w")+ );++ $this->hl_cmd_str = $this->hl_option['hl_bin'];++ if ($this->hl_option['line-numbers']){+ $this->hl_cmd_str .= " -l -m 1";+ /*$this->hl_cmd_str .= $this->get_config('hl_linenumbersberstart');*/+ if ($this->hl_option['zeroes']){+ $this->hl_cmd_str .= " -z ";+ }+ if ($this->hl_option['line-number-length']!='0' && is_numeric($this->hl_option['line-number-length'])) {+ $this->hl_cmd_str .= ' -j ';+ $this->hl_cmd_str .=$this->hl_option['line-number-length'];+ }+ }++ if (is_numeric($this->hl_option['replace-tabs']) and $this->hl_option['replace-tabs']>0) {+ $this->hl_cmd_str .= " -t ";+ $this->hl_cmd_str .= $this->hl_option['replace-tabs'];+ }++ if ($this->hl_option['wraptype']>0){+ $this->hl_cmd_str .= ($this->hl_option['wraptype'] == 1)? ' -V ':' -W ';+ if ($this->hl_option['line-length']>0 && is_numeric($this->hl_option['line-length'])) {+ $this->hl_cmd_str .= " -J ";+ $this->hl_cmd_str .= $this->hl_option['line-length'];+ }+ }++ if (strlen($this->hl_option['reformat'])>1){+ $this->hl_cmd_str .= " -F ";+ $this->hl_cmd_str .= $this->hl_option['reformat'];+ }++ if (strlen($this->hl_option['kw-case'])>1){+ $this->hl_cmd_str .= " --kw-case ";+ $this->hl_cmd_str .= $this->hl_option['kw-case'];+ }++ if ($this->hl_option['force']){+ $this->hl_cmd_str .= " --force ";+ }++ if ($this->hl_option['inline-css']){+ $this->hl_cmd_str .= " --inline-css ";+ }++ if ($this->hl_option['fragment']){+ $this->hl_cmd_str .= " -f ";+ }++ if ($this->hl_option['theme']){+ $this->hl_cmd_str .= " -s ";+ $this->hl_cmd_str .= $this->hl_option['theme'];+ }++ if ($this->hl_option['encoding']){+ $this->hl_cmd_str .= " -u ";+ $this->hl_cmd_str .= $this->hl_option['encoding'];+ }++ if ($this->hl_option['enclose-pre']){+ $this->hl_cmd_str .= " --enclose-pre ";+ }++ $this->hl_cmd_str .= " -S ";+ $this->hl_cmd_str .= $this->hl_option['syntax'];++ $process = proc_open($this->hl_cmd_str, $descriptorspec, $pipes);+ if (is_resource($process)) {++ fwrite($pipes[0], $this->input);+ fclose($pipes[0]);++ $output = stream_get_contents($pipes[1]);+ fclose($pipes[1]);++ // It is important that you close any pipes before calling+ // proc_close in order to avoid a deadlock+ proc_close($process);+ }+ return $output;+ }+++ // PRIVATE STUFF+ var $special = array(' ', '/','!','&','*','\\', '.', '|', '´','\'', '<', '>');++ function validate($string) {+ return (strlen($string)>50)? "" : str_replace($this->special,"",$string);+ }++ }++/*****************************************************************************/++/*++// Sample code:++ $generator = new HighlightPipe;+ $generator->input='int main () { return 0; }';++ $generator->hl_option['theme']='neon';+ $generator->hl_option['syntax']='c';++ $result= $generator->getResult();++ print $result;+*/++?>
examples/highlight_pipe.pm
@@ -0,0 +1,65 @@+package highlight_pipe;++# This Perl package serves as interface to the highlight utility.+# Input and output streams are handled with pipes.+# Command line parameter length is validated before use.++use IPC::Open3;++my $hl_bin='highlight';++sub new {+ my $object = shift;+ my $ref = {};+ bless($ref,$object);+ return($ref);+}++sub getResult {+ my $object = shift;+ my $src = shift;++ my @hl_args = ();+ my $option;+ while ( my ($key, $value) = each(%$object) ) {+ $option =" --$key";+ if ($value ne "1") {$option .= "=$value"};+ if (length($option)<50) { push (@hl_args, $option); }+ }+ local(*HIS_IN, *HIS_OUT, *HIS_ERR);++ my $childpid = IPC::Open3::open3(\*HIS_IN, \*HIS_OUT, \*HIS_ERR, $hl_bin. join ' ', @hl_args)+ or die ("error invoking highlight");++ print HIS_IN $src;+ close(HIS_IN); # Give end of file to kid.++ my @outlines = <HIS_OUT>; # Read till EOF.+ my @errlines = <HIS_ERR>; # Read till EOF.+ close HIS_OUT;+ close HIS_ERR;+ waitpid($childpid, 0);++ if (@errlines) { die (join '\n', @errlines); }++ return join '', @outlines;+}++###############################################################################+# Sample code:++# insert use statement in other perl scripts:+#use highlight_pipe;++my $html = highlight_pipe -> new();++$html->{'syntax'} ='c';+$html->{'fragment'} = 1;+$html->{'inline-css'} = 1;+$html->{'enclose-pre'} = 1;+$html->{'style'} = 'edit-vim';++my $input='int main () { return 0; }';+my $output=$html->getResult($input);++print "$output\n";
examples/highlight_pipe.py
@@ -0,0 +1,46 @@+from subprocess import *++class HighlightPipe:+ """ This Python package serves as interface to the highlight utility.+ Input and output streams are handled with pipes.+ Command line parameter length is validated before use."""++ def __init__(self):+ self.cmd = 'highlight'+ self.src=''+ self.options=dict()+ self.success=False++ def getResult(self):+ cmd = self.cmd+ for k, v in self.options.iteritems():+ option=" --%s" % k+ if ( v != '1'): option += "=%s" % v+ if (len(option)<50): cmd += option+ p = Popen(cmd, shell=True, bufsize=512, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True)+ (child_stdin, child_stdout, child_stderr) = (p.stdin, p.stdout, p.stderr)++ child_stdin.write(self.src)+ child_stdin.close()+ err_msg = child_stderr.readlines()+ if (len(err_msg)>0): return err_msg+ self.success=True+ return child_stdout.readlines()+++###############################################################################++def main():+ gen = HighlightPipe();+ gen.options['syntax'] = 'c'+ gen.options['style'] = 'edit-vim'+ gen.options['enclose-pre'] = '1'+ gen.options['fragment'] = '1'+ gen.options['inline-css'] = '1'+ gen.src = 'int main ()\n{ return 0; }'++ print gen.getResult()+ if not gen.success: print "Execution failed."++if __name__=="__main__":+ main()
examples/swig/README_SWIG
@@ -0,0 +1,24 @@++HIGHLIGHT SWIG INTERFACE GENERATION+-----------------------------------++SWIG (http://www.swig.org/) is a tool to generate interfaces for more than 10+programming languages, inluding Python, Perl, Java and C#.+The interface file highlight.i contains all information to generate wrapper code+for the highlight::CodeGenerator class. The output module gives you access to+the highlight parser from within your favorite (scripting) language.+See src/include/codegenerator.h for the library interface.+++See the makefile how to compile Python, Perl or PHP modules:++1. make python+ make perl+ make php ++2. Run the test scripts+ python testmod.py (use 2.x interpreter)+ perl testmod.pl+ php testmod.php++See http://wiki.andre-simon.de/ for more information.
examples/swig/highlight.i
@@ -0,0 +1,19 @@+%module highlight+%include stl.i+%include std_string.i+++%{+#include "../../src/include/datadir.h"+#include "../../src/include/enums.h"+#include "../../src/include/syntaxreader.h"+#include "../../src/include/codegenerator.h"+%}++%apply const std::string& { const string& };+%apply std::string { string };++%include "../../src/include/datadir.h"+%include "../../src/include/enums.h"+%include "../../src/include/syntaxreader.h"+%include "../../src/include/codegenerator.h"
examples/swig/makefile
@@ -0,0 +1,48 @@++CXX=g+++CFLAGS=-g -O2 -fPIC++HL_INC=../../src/include/+HL_SRC=../../src/++LUA_CFLAGS=$(shell pkg-config --cflags lua)+LUA_LIBS=$(shell pkg-config --libs lua)+PYTHON_CFLAGS=$(shell pkg-config --cflags python-2.7)+PERL_INC=$(shell perl -MExtUtils::Embed -eccopts)+PHP_INC=$(shell php-config --includes)++lib-stamp:+ make -C ${HL_SRC} -f ./makefile clean+ PIC=1 make -C ${HL_SRC} -f ./makefile CFLAGS="${CFLAGS}" libhighlight.a+ touch $@++python: lib-stamp+ swig -c++ -python -o highlight_wrap.cpp highlight.i+ ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PYTHON_CFLAGS} -I${HL_INC} + ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -lpython2.7 -o _highlight.so++perl: lib-stamp+ swig -c++ -perl -o highlight_wrap.cpp highlight.i+ ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PERL_INC} -I${HL_INC} + ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so++php: lib-stamp+ swig -c++ -php -o highlight_wrap.cpp highlight.i+ ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PHP_INC} -I${HL_INC}+ ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so++clean: python-clean perl-clean php-clean+ rm -f *-stamp+ rm -f highlight.py++python-clean:+ rm -f _highlight.so *.pyc+ rm -rf __pycache__++perl-clean:+ rm -f highlight.so highlight_wrap.cpp highlight.pm *.o++php-clean:+ rm -f highlight.so highlight_wrap.cpp highlight.php *.o php_highlight.h++.PHONY: python python-clean perl perl-clean php php-clean clean
examples/swig/testmod.php
@@ -0,0 +1,183 @@+<?php++/* Set enable_dl = On in your php.ini and copy highlight.so in /usr/lib/php/modules/ */++if (!extension_loaded('highlight')){+ if (!dl('highlight.so')) {+ exit;+ }+}++/**+ * return value options+ *+ * @param $options array $options+ * @param $short_opts string key short_opts+ * @param $long_opts string key short_opts+ * @return string value of short_opts or long_opts or false if not set+ */+function valueOptions($options,$short_opts,$long_opts) {+ if (isset($options[$short_opts])) {+ if ($options[$short_opts]==false) {+ return true;+ } else {+ return $options[$short_opts];+ }++ } else if (isset($options[$long_opts])) {+ if ($options[$long_opts]==false) {+ return true;+ } else {+ return $options[$long_opts];+ }++ } else {+ return false;+ }+}+$help = <<<HELP+General Options:++-i, --input <file> name of single input file+-S, --syntax <type> specify type of source code++Output formatting options:++-O, --outformat <format> output file in given format+ <format>=[HTML,XHTML,LATEX,TEX+ ODT,RTF,ANSI,XTERM256,BBCODE,SVG]+-f, --fragment omit document header and footer+-F, --reformat <style> reformats and indents output in given style+ <style>=[allman, banner, gnu,horstmann,java+ kr,linux,otb,sstroustrup, whitesmith]+ --inlinecss output CSS within each tag (verbose output)+-I, --includestyle include style definition+-l, --linenumbers print line numbers in output file+-m, --linenumberstart <cnt> start line numbering with cnt (assumes -l)+-s, --style <style> set colour style+HELP;++$short_opts = '';+$short_opts .= 'f';+$short_opts .= 'F:';+$short_opts .= 'i:';+$short_opts .= 'I';+$short_opts .= 'l';+$short_opts .= 'm:';+$short_opts .= 'O:';+$short_opts .= 's:';+$short_opts .= 'S:';++$long_opts = array(+ 'fragment',+ 'inlinecss',+ 'input:',+ 'includestyle',+ 'linenumbers',+ 'linenumberstart:',+ 'outputformat:',+ 'reformat:',+ 'style:',+ 'syntax:'+);+$options = getopt($short_opts,$long_opts);++if (empty($options)) {+ echo $help."\n";+ exit;+}++$outformat = valueOptions($options,'O','outformat');+$outformat = strtolower($outformat);+$out = 0; // default, HTML+++if($outformat) {+ switch ($outformat) {+ case 'xhtml': $out = 1; break;+ case 'tex': $out = 2; break;+ case 'latex': $out = 3; break;+ case 'rtf': $out = 4; break;+ case 'ansi': $out = 5; break;+ case 'xterm256': $out = 6; break;+ case 'html32': $out = 7; break;+ case 'svg': $out = 8; break;+ case 'bbcode': $out = 9; break;+ case 'pango': $out = 10; break;+ case 'odt': $out = 11; break;+ default: $out = 0;+ }+}++$gen = codegenerator_getinstance($out);++// Initialize DataDir instance+$data_dir = new_datadir();+$highlight_data = datadir_lsb_data_dir_get();++// -F, --reformat <style>+$reformat = valueOptions($options,'F','reformat');+if ($reformat) {+ codegenerator_initindentationscheme($gen,$reformat);+}++// --inlinecss+$inlinecss = valueOptions($options,'inlinecss','inlinecss');+if($inlinecss) {+ codegenerator_sethtmlinlinecss($gen,true);+}++// -s, --style <style>+$style = valueOptions($options,'s','style');+if ($style) {+ $theme_path = datadir_getthemepath($data_dir,$style.".theme");++} else {+ $theme_path = datadir_getthemepath($data_dir,"seashell.theme");+}+codegenerator_inittheme($gen,$highlight_data.$theme_path);++// -i, --input <file>+$input = valueOptions($options,'i','input');+$handle = fopen($input,"r");+$filename = fread($handle,filesize($input));++// -S, --syntax <type>+$syntax = valueOptions($options,'S','syntax');+if (!$syntax) {+ $ext_temp = explode('.',$input);+ $syntax = end($ext_temp);+}+$lang_path = datadir_getlangpath($data_dir,$syntax.".lang");+codegenerator_loadlanguage($gen,$highlight_data.$lang_path);++// -I, --includestyle+$includestyle = valueOptions($options,'I','includestyle');+if($includestyle) {+ codegenerator_setincludestyle($gen,true);+}++// -f, --fragment+$fragment = valueOptions($options,'f','fragment');+if ($fragment) {+ codegenerator_setfragmentcode($gen,true);+}++// -l, --linenumbers+$linenumbers = valueOptions($options,'l','linenumbers');+if($linenumbers) {+ codegenerator_setprintlinenumbers($gen,true);+}++// -m, --linenumberstart <cnt>+$linenumberstart = valueOptions($options,'m','linenumberstart');+if ($linenumberstart) {+ $linenumberstart = (int) $linenumberstart; // make sure it's integer+ codegenerator_setprintlinenumbers($gen,true,$linenumberstart);+}++++//print!!!+echo codegenerator_generatestring($gen,$filename);+
examples/swig/testmod.pl
@@ -0,0 +1,36 @@+# Perl SWIG module test script+#+# Import highlight.pm, which is the interface for the highlight.so module.+# See highlight.pm for all available attributes and class members.++use highlight;++#get a generator instance (for HTML output)+my $gen = highlight::CodeGenerator::getInstance($highlight::CodeGenerator::HTML);+ +my $dir = new highlight::DataDir();++#$dir->searchDataDir("");+$dir->initSearchDirectories("");+++my $themepath=$dir->getThemePath("seashell.theme");+my $langpath=$dir->getLangPath("c.lang");++#initialize the generator with a colour theme and the language definition+$gen->initTheme($themepath);+$gen->loadLanguage($langpath);++#set some parameters+$gen->setIncludeStyle(1);+$gen->setEncoding("ISO-8859-1");++#get output string+my $output=$gen->generateString("int main(int argc, char **argv) {\n".+ " HighlightApp app;\n".+ " return app.run(argc, argv);\n".+ "}\n");+print $output;++# clear the instance+highlight::CodeGenerator::deleteInstance($gen);
examples/swig/testmod.py
@@ -0,0 +1,92 @@+# -*- coding: utf-8 -*-+# More advanced SWIG module test script+#+# Import highlight.py, which is the interface for the _highlight.so module.+# See highlight.py for all available attributes and class members.+#+# Example: python2.7 testmod.py -Sperl -O odt testmod.pl testmod.pl.odt++import highlight+import sys+from optparse import OptionParser++formatList = { "html": highlight.HTML,+ "xhtml": highlight.XHTML,+ "latex": highlight.LATEX,+ "rtf": highlight.RTF,+ "tex": highlight.TEX,+ "ansi": highlight.ESC_ANSI,+ "xterm256": highlight.ESC_XTERM256,+ "truecolor": highlight.ESC_TRUECOLOR,+ "odt": highlight.ODTFLAT,+ "bbcode": highlight.BBCODE,+ "svg": highlight.SVG,+ "pango": highlight.PANGO+ }++HL_DIR="/usr/share/highlight/"++def highlightFile():++ parser = OptionParser("usage: %prog [options] input-file output-file")+ parser.add_option("-O", "--format", default="html",+ choices=("html","xhtml","latex","tex","rtf","ansi","xterm256", "svg", "odt", "bbcode", "pango"),+ help="Output format (html, xhtml, latex, tex, rtf, ansi, xterm256, odt, bbcode, svg, pango)")+ parser.add_option("-d", "--doc-title", default="Source file",+ help="document title")+ parser.add_option("-f", "--fragment", action="store_true", default = False, + help="omit file header and footer")+ parser.add_option("-F", "--reformat",+ choices=('allman','gnu','java','kr','linux', 'banner','stroustrup','whitesmith', 'google', 'pico', 'lisp', 'vtk'),+ help="reformats and indents output in given style")+ parser.add_option("-l", "--linenumbers", action="store_true", default = False,+ help="print line numbers in output file")+ parser.add_option("-S", "--syntax",+ help="specify type of source code")+ parser.add_option("-s", "--theme", default="seashell",+ help="defines colour theme")+ parser.add_option("-u", "--encoding", default="ISO-8859-1",+ help="define output encoding which matches input file encoding")++ (options, args) = parser.parse_args(sys.argv[1:])+ if len(args)!=2:+ parser.print_help()+ return++ formatName=options.format.lower()+ outFormat = formatName in formatList and formatList[formatName] or highlight.HTML++ (infile, outfile) = args++ gen=highlight.CodeGenerator.getInstance(outFormat)+ datadir=highlight.DataDir()+ datadir.initSearchDirectories(HL_DIR)++ #initialize the generator with a colour theme and the language definition+ gen.initTheme(datadir.getThemePath("%s.theme" % options.theme))++ if options.reformat:+ gen.initIndentationScheme(options.reformat)++ if (options.syntax):+ syntax = options.syntax+ else:+ syntax = infile[infile.rindex(".")+1:]++ gen.loadLanguage(datadir.getLangPath("%s.lang" % syntax))++ gen.setIncludeStyle(True)+ gen.setTitle(options.doc_title)+ gen.setFragmentCode(options.fragment)+ gen.setPrintLineNumbers(options.linenumbers)+ gen.setEncoding(options.encoding)++ gen.generateFile(infile, outfile)++ # clear the instance+ highlight.CodeGenerator.deleteInstance(gen)++###############################################################################+if __name__ == "__main__":+ highlightFile()+
examples/tcl/README_TCL
@@ -0,0 +1,13 @@+HIGHLIGHT TCL EXTENSION+-----------------------++Run make to compile the TCL extension.++The extension provides these functions in the highlight namespace:+html, tex, latex, xterm256, truecolor, ansi, bbcode, pango++tclsh example:++% load tclhighlight.so+% ::highlight::html "int main()"+<span class="hl kwb">int</span> <span class="hl kwd">main</span><span class="hl opt">()</span>
examples/tcl/makefile
@@ -0,0 +1,46 @@+# Simple Makefile for tclansifilter+# This file will compile the tclansifilter shared object.++CC=g++++# default lua lib+LUA_LIBS=$(shell pkg-config --libs lua)++CFLAGS= -c -Wall -O2 -std=c++11 -fPIC -I ../../src/include++LDFLAGS= -shared -fPIC++SOURCES=stylecolour.cpp stringtools.cpp \+xhtmlgenerator.cpp latexgenerator.cpp texgenerator.cpp rtfgenerator.cpp \+htmlgenerator.cpp ansigenerator.cpp svggenerator.cpp codegenerator.cpp \+xterm256generator.cpp pangogenerator.cpp bbcodegenerator.cpp odtgenerator.cpp\+syntaxreader.cpp elementstyle.cpp themereader.cpp datadir.cpp preformatter.cpp platform_fs.cpp\+astyle/ASStreamIterator.cpp astyle/ASResource.cpp astyle/ASFormatter.cpp\+astyle/ASBeautifier.cpp astyle/ASEnhancer.cpp \+Diluculum/InternalUtils.cpp Diluculum/LuaExceptions.cpp Diluculum/LuaFunction.cpp\+Diluculum/LuaState.cpp Diluculum/LuaUserData.cpp Diluculum/LuaUtils.cpp Diluculum/LuaValue.cpp\+Diluculum/LuaVariable.cpp Diluculum/LuaWrappers.cpp++OBJECTS=$(SOURCES:.cpp=.o) tclhighlight.o+BINARY=tclhighlight.so++all: $(OBJECTS) $(BINARY)++$(BINARY): $(OBJECTS)+ $(CC) $(LDFLAGS) $(OBJECTS) -o $@ ${LUA_LIBS}++%.o: ../../src/core/%.cpp+ $(CC) $(CFLAGS) $< -o $@++astyle/%.o: ../../src/core/astyle/%.cpp+ @mkdir -p $(@D)+ $(CC) $(CFLAGS) $< -o $@++Diluculum/%.o: ../../src/core/Diluculum/%.cpp+ @mkdir -p $(@D)+ $(CC) $(CFLAGS) $< -o $@++clean:+ @rm -f *.o+ @rm -f $(BINARY)+ @rm -rf astyle Diluculum
examples/tcl/pkgIndex.tcl
@@ -0,0 +1,11 @@+# Tcl package index file, version 1.1+# This file is generated by the "pkg_mkIndex" command+# and sourced either when an application starts up or+# by a "package unknown" script. It invokes the+# "package ifneeded" command to set up package-related+# information so that packages will be loaded automatically+# in response to "package require" commands. When this+# script is sourced, the variable $dir must contain the+# full path name of this file's directory.++package ifneeded highlight 0.1 [list load [file join $dir tclhighlight.so]]
examples/tcl/tclhighlight.c
@@ -0,0 +1,109 @@+/*+ * tclhighlight.c -- a minimal Tcl wrapper for highlight+ * based on the ansifilter extension of Martin Heinrich+ *+ * See README_TCL for compilation and usage+ *+ * Edit theme and syntax below+ */++#include <tcl.h>+#include <memory>+#include "../../src/include/codegenerator.h"++// Tcl namespace+#define NS "highlight"++// highlight requires C++ compiler+extern "C" {++static int+Execute_Escape_Cmd(highlight::OutputType type, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ int i;+ // XXX this creates and destroys new instances for every call!+ unique_ptr<highlight::CodeGenerator> generator(highlight::CodeGenerator::getInstance(type));++ generator->initTheme ( "/usr/share/highlight/themes/edit-kwrite.theme" ); //EDIT theme+ generator->loadLanguage ( "/usr/share/highlight/langDefs/c.lang" ); //EDIT language definition+ generator->setFragmentCode(1); // -f+ generator->disableTrailingNL(1);++ for (i = 1; i < objc; i++) {+ Tcl_AppendResult(interp, generator->generateString(Tcl_GetString(objv[i])).c_str(), NULL);+ }+ return TCL_OK;+}++static int+LaTeXEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::LATEX, interp, objc, objv);+}++static int+TeXEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::TEX, interp, objc, objv);+}++static int+HtmlEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::HTML, interp, objc, objv);+}++static int+BBCodeEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::BBCODE, interp, objc, objv);+}++static int+PangoEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::PANGO, interp, objc, objv);+}++static int+AnsiEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::ESC_ANSI, interp, objc, objv);+}++static int+Xterm256Escape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::ESC_XTERM256, interp, objc, objv);+}+static int+TrueColorEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])+{+ return Execute_Escape_Cmd(highlight::ESC_TRUECOLOR, interp, objc, objv);+}+/*+ * Tclhighlight_Init -- Called when Tcl loads your extension.+ */+int DLLEXPORT+Tclhighlight_Init(Tcl_Interp *interp)+{+ if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {+ return TCL_ERROR;+ }+ // provide package+ if (Tcl_PkgProvide(interp, "highlight", "0.1") == TCL_ERROR) {+ return TCL_ERROR;+ }+ // create command+ Tcl_CreateObjCommand(interp, NS "::tex", TeXEscape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::latex", LaTeXEscape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::html", HtmlEscape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::bbcode", BBCodeEscape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::pango", PangoEscape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::ansi", AnsiEscape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::xterm256", Xterm256Escape_Cmd, NULL, NULL);+ Tcl_CreateObjCommand(interp, NS "::truecolor", TrueColorEscape_Cmd, NULL, NULL);+ return TCL_OK;+}++} // extern "C"
examples/web_plugins/dokuwiki/syntax.php
@@ -0,0 +1,242 @@+<?php+/*+Plugin Name: Highlight+Plugin URI: http://www.andre-simon.de+Description: Plugin which uses the highlight utility to generate coloured source code+Author: André Simon+Version: 1.2+Author URI: http://www.andre-simon.de+++This file is part of Highlight.++Highlight is free software: you can redistribute it and/or modify+it under the terms of the GNU General Public License as published by+the Free Software Foundation, either version 3 of the License, or+(at your option) any later version.++Highlight is distributed in the hope that it will be useful,+but WITHOUT ANY WARRANTY; without even the implied warranty of+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+GNU General Public License for more details.++You should have received a copy of the GNU General Public License+along with Highlight. If not, see <http://www.gnu.org/licenses/>.+*/++/*+== Description ==++The highlight utility converts source code of 120 programming languages to HTML +with syntax highlighting. This plugin pipes the content of <highlight>-Tags associated+with a lang parameter to highlight, and returns the output code which is included+in the Wiki page.++Usage:++Paste the following in the edit section of the wiki editing form:++<highlight cpp>#include <stdio.h>++int main (void){+ printf("This is some random code");+ return 0;+}</highlight>++Use the lang parameter to define the programming language (c, php, py, xml, etc).+See the highlight documentation to learn all possible languages.+See the syntax.php file for some formatting options (line numbering, code+indentation, line wrapping etc).++== Installation ==++1. Install highlight (www.andre-simon.de) on your host+2. Unzip the dokuwiki_highlight.zip file and upload the content to the + `lib/plugins/` directory+ */+ +if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');+if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');+require_once(DOKU_PLUGIN.'syntax.php');+ +class syntax_plugin_highlight extends DokuWiki_Syntax_Plugin {++ function getInfo(){+ return array(+ 'author' => 'Andre Simon',+ 'email' => 'andre.simon1@gmx.de',+ 'date' => '2007-05-29',+ 'name' => 'Highlight Plugin',+ 'desc' => 'Plugin which uses the highlight utility (http://www.andre-simon.de) instead of Geshi for source code highlighting',+ 'url' => 'http://wiki.splitbrain.org/wiki:plugins',+ );+ }+ + /**+ * What kind of syntax are we?+ */+ function getType(){+ return 'formatting';+ }+ + /**+ * What kind of syntax do we allow (optional)+ */+// function getAllowedTypes() {+// return array();+// }+ + /**+ * What about paragraphs? (optional)+ */+ function getPType(){+ return 'block';+ }+ + /**+ * Where to sort in?+ */ + function getSort(){+ return 199;+ }+ + + /**+ * Connect pattern to lexer+ */+ function connectTo($mode) {+ $this->Lexer->addEntryPattern('<highlight(?=[^\r\n]*?>.*?</highlight>)',$mode,'plugin_highlight');+ }+ + function postConnect() {+ $this->Lexer->addExitPattern('</highlight>','plugin_highlight');+ }++ /**+ * Handle the match+ */+ function handle($match, $state, $pos, &$handler){++ switch ($state) {+ case DOKU_LEXER_ENTER :+ break;+ case DOKU_LEXER_UNMATCHED : + list($lang, $content) = preg_split('/>/u',$match,2);+ $lang = trim($lang);+ return array($state, $lang, $content);++ case DOKU_LEXER_EXIT :+ break;+ }+ return array();+ }+ + /**+ * Create output+ */+ function render($mode, &$renderer, $data) {+ // Highlight options:+ $hl_options=array();+ $hl_options['hl_binary']='/highlight'; // path to the highlight binary+ $hl_options['line-numbers']=false;+ $hl_options['theme']='edit-kwrite'; // set color theme+ $hl_options['linenumber-start']=1;+ $hl_options['linenumber-zeroes']=1; // set to 1 if line numbers should be padded with zeros+ $hl_options['linenumber-length']=2;+ $hl_options['reformat-style']="gnu"; // possible values for C, C++ and Java Code: ansi, gnu, java, kr, linux+ $hl_options['replace-tabs']=4; //number of spaces which replace a tab+ $hl_options['wrap-style']=2; //0 -> disable, 1-> wrap, 2-> wrap and indent function names+ $hl_options['wrap-line-length']=80; // if wrap-style <>0, this defines the line length before wrapping takes place+++ if($mode == 'xhtml'){+ list($state, $lang, $input_code) = $data;+ $lang = preg_replace("'[^a-zA-Z]'","",$lang);+ switch ($state) {+ case DOKU_LEXER_ENTER :+ break;+ + case DOKU_LEXER_UNMATCHED : // $renderer->doc .= $renderer->_xmlEntities($match); break;+ + $search = array("&",""", "<", ">","\","'"," ");+ $replace = array("&","\"", "<", ">","\\","\'", " ");+ $input_code = str_replace($search, $replace, $input_code);+ + $descriptorspec = array(+ 0 => array("pipe", "r"), // stdin is a pipe that the child will read from+ 1 => array("pipe", "w") // stdout is a pipe that the child will write to+ );+ + $hl_cmd_str = $hl_options['hl_binary'];+ $hl_cmd_str .= ' --inline-css -f ';+ + if ($hl_options['line-numbers']){+ $hl_cmd_str .= " -l -m ";+ $hl_cmd_str .= $hl_options['linenumber-start'];+ if ($hl_options['linenumber-zeroes']){+ $hl_cmd_str .= " -z -j ";+ $hl_cmd_str .= $hl_options['linenumber-length'];+ }+ }+ + if ($hl_options['replace-tabs']) {+ $hl_cmd_str .= " -t ";+ $hl_cmd_str .= $hl_options['replace-tabs'];+ }+ + if ($hl_options['wrap-style']){+ $hl_cmd_str .= ($hl_options['wrap-style'] == 1)? ' -V ':' -W ';+ $hl_cmd_str .= " -J ";+ $hl_cmd_str .= $hl_options['wrap-line-length'];+ }+ + if ($hl_options['reformat-style']){+ $hl_cmd_str .= " -F ";+ $hl_cmd_str .= $hl_options['reformat-style'];+ }+ + if ($hl_options['theme']){+ $hl_cmd_str .= " -s ";+ $hl_cmd_str .= $hl_options['theme'];+ }++ $hl_cmd_str .= " -S $lang ";+ + $process = proc_open($hl_cmd_str, $descriptorspec, $pipes);+ + if (is_resource($process)) {+ + fwrite($pipes[0], $input_code);+ fclose($pipes[0]);+ + $output = stream_get_contents($pipes[1]);+ fclose($pipes[1]);+ + // It is important that you close any pipes before calling+ // proc_close in order to avoid a deadlock+ proc_close($process);+ }+ if (!strlen($output)) {+ $renderer->doc .= "<small>ERROR: Execution of highlight ($hl_cmd_str) failed or missing input. Check binary path.</small>"; + $renderer->doc .= "<pre style=\"font-size:9pt;\">";+ $renderer->doc .= $renderer->_xmlEntities($input_code); + $renderer->doc .= "</pre>"; + + } else {+ $renderer->doc .= "<pre style=\"font-size:9pt;\">";+ $renderer->doc .= $output;+ $renderer->doc .= "</pre>"; + }++ //$renderer->doc .= "<br>cmd=".$hl_cmd_str;++ break;+ case DOKU_LEXER_EXIT :+ break;+ }+ return true;+ }+ return false;+ }+}+
examples/web_plugins/movabletype/README
@@ -0,0 +1,35 @@+Plugin Name: Highlight+Plugin URI: http://www.andre-simon.de+Description: Plugin which uses the highlight utility to generate coloured source code+Author: André Simon+Version: 1.2+Author URI: http://www.andre-simon.de/++== Description ==++The highlight utility converts source code of 120 programming languages to HTML +with syntax highlighting. This plugin pipes the content of <highlight>-Tags associated+with a lang parameter to highlight, and returns the output code which is finally included+in the MT page.++Usage:++Paste the following in the edit section of the MT blog editing form:++<highlight lang="cpp">#include <stdio.h>++int main (void){+ printf("This is some random code");+ return 0;+}</highlight>++Use the lang parameter to define the programming language (c, php, py, xml, etc).+See the highlight documentation to learn all possible languages.+See the syntax.php file for some formatting options (line numbering, code+indentation, line wrapping etc).++== Installation ==++1. Install highlight (www.andre-simon.de) on your host+2. Unzip the mt_highlight.zip file and upload the content to the + `plugins/` directory
examples/web_plugins/movabletype/highlight.pl
@@ -0,0 +1,88 @@+#Plugin Name: Highlight+#Plugin URI: http://www.andre-simon.de+#Description: Plugin which uses the highlight utility to generate coloured source code+#Author: André Simon+#Version: 1.2+#Author URI: http://www.andre-simon.de/++#This file is part of Highlight.+#+#Highlight is free software: you can redistribute it and/or modify+#it under the terms of the GNU General Public License as published by+#the Free Software Foundation, either version 3 of the License, or+#(at your option) any later version.+#+#Highlight is distributed in the hope that it will be useful,+#but WITHOUT ANY WARRANTY; without even the implied warranty of+#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+#GNU General Public License for more details.+#+#You should have received a copy of the GNU General Public License+#along with Highlight. If not, see <http://www.gnu.org/licenses/>.++package MT::Plugin::Highlight;++use strict;+use IPC::Open3;+use MT;+use MT::Entry;+use MT::Plugin;+use MT::Template::Context;+use MT::WeblogPublisher;++my $plugin = new MT::Plugin();+$plugin->name("MT Highlight");+$plugin->description('Source code highlighter using highlight (http://www.andre-simon.de)');+$plugin->doc_link('http://wiki.andre-simon.de/');+$plugin->author_name('Andre Simon');+$plugin->author_link('http://www.andre-simon.de/');+$plugin->plugin_link('http://wiki.andre-simon.de/');+$plugin->version('1.3');++MT->add_callback("BuildPage", 1, $plugin, \&highlight_callback);+MT->add_plugin($plugin);++sub highlight_callback+{+ my ($cb, %args) = @_;+ use Data::Dumper;+ my $html = ${$args{'Content'}};+ $html =~ s/<highlight([^>]*?)lang="([^"]+?)"([^>]*?)>(.*?)<\/highlight>/highlight_code($2,$4)/ges;+ ${$args{'Content'}} = $html;+ return 1;+}++sub highlight_code+{+ my ($lang, $source) = @_;++ $lang =~ s/[^a-zA-Z]//g; # delete special chars in user input+ $source =~ s/\<br \/\>//g; # get rid of <br> Tags inserted by MT+ $source =~ s/\<\/?p\>//g; # MT inserts <p> Tags if <, > are present in input code++ local(*HIS_IN, *HIS_OUT, *HIS_ERR);++ my @hl_args = ('-f', "-S$lang");+ push (@hl_args, '--inline-css'); # use inline css definitions+ push (@hl_args, '-sedit-kwrite'); # coloring theme+ push (@hl_args, '-l'); # linenumbers+ push (@hl_args, '-j2'); # linenumber length+ push (@hl_args, '-z'); # linenumber zeroes+ push (@hl_args, '-Fgnu'); # reformat+ push (@hl_args, '-t4'); # replace tabs+ my $childpid = IPC::Open3::open3(*HIS_IN, *HIS_OUT, *HIS_ERR, 'highlight', @hl_args);+ print HIS_IN $source;+ close(HIS_IN); # Give end of file to kid.+ my @outlines = <HIS_OUT>; # Read till EOF.++ close HIS_OUT;+ close HIS_ERR;+ waitpid($childpid, 0);++ my $htext = join "", @outlines;++ return "<pre>".$htext."</pre>";+}+++
examples/web_plugins/serendipity_event_highlight/lang_de.inc.php
@@ -0,0 +1,32 @@+<?php ++@define('PLUGIN_EVENT_HIGHLIGHT_NAME', 'Markup: Highlight');+@define('PLUGIN_EVENT_HIGHLIGHT_DESC', 'Farbige Syntax-Hervorhebung mit dem highlight tool. Einbindung mit dem Tag: [highlight lang=langName ] code [/highlight]');+@define('PLUGIN_EVENT_HIGHLIGHT_TRANSFORM', 'Benutzen Sie <b>[highlight lang=langName][/highlight]</b> Tags, um Sourcecode farbig hervorzuheben.');+@define('PLUGIN_EVENT_HIGHLIGHT_VERSION','01');++@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR','Highlight Pfad');+@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR_DESC','Pfad der highlight Programdatei');+@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR','Highlight Datenverzeichnis');+@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR_DESC','Dieses Verzeichnis enthält die Programmdaten, z.B. die Unterverzeichnisse langDefs, themes etc');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS', 'Ausgabe Zeilennummern');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS_DESC','Sollen Zeilennummern ausgegeben werden?');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES', 'Zeilennummern füllen');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES_DESC','Sollen Zeilennummern mit Nullen aufgefüllt werden?');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART', 'Beginn der Nummerierung');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART_DESC','Wo soll die Nummerierung beginnen?');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN', 'Zeilennnummernbreite');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN_DESC','Mit wievielen Stellen soll die Nummerierung ausgegeben werden?');+@define('PLUGIN_EVENT_HIGHLIGHT_THEMES', 'Farbschema');+@define('PLUGIN_EVENT_HIGHLIGHT_THEMES_DESC','Wähle ein Farbschema aus, das zu deinem Blog-Style passt.');+@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT', 'Neuformatierung und Einrückung');+@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT_DESC','Wähle ein Schema aus, um C, C++, C# und Java Code einheitlich zu formatieren.');++@define('PLUGIN_EVENT_HIGHLIGHT_WRAP', 'Zeilenumbruch');+@define('PLUGIN_EVENT_HIGHLIGHT_WRAP_DESC','Bestimme, ob Zeilen umgebrochen werden sollen. WRAP INTELLIGENT bedeutet, dass Funktionsparameter und Zuweisungen nach dem Umbruch korrekt eingerückt werden.');+@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN', 'Zeilenlänge vor Umbruch');+@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN_DESC','Gib die maximale Zeilenlänge an (nur wirksam wenn obige Option Zeilenumbruch nicht deaktiviert ist).');+@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN', 'Tabulatorbreite');+@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN_DESC','Bestimme die Anzahl von Leerzeichen, die ein Tab ersetzen.');++?>
examples/web_plugins/serendipity_event_highlight/lang_en.inc.php
@@ -0,0 +1,32 @@+<?php ++@define('PLUGIN_EVENT_HIGHLIGHT_NAME', 'Markup: Highlight');+@define('PLUGIN_EVENT_HIGHLIGHT_DESC', 'Coloured Syntax Highlighting using the highlight utility. Tag usage: [highlight lang=langName ] code [/highlight]');+@define('PLUGIN_EVENT_HIGHLIGHT_TRANSFORM', 'You can use <b>[highlight lang=langName][/highlight]</b> tags to embed source code snippets');+@define('PLUGIN_EVENT_HIGHLIGHT_VERSION','01');++@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR','Path of highlight binary');+@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR_DESC','Path of the highlight binary');+@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR','Path of highlight data directory');+@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR_DESC','This directory contains the data files located in the subdirectories langDefs, themes etc');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS', 'Line number printout');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS_DESC','Define if the line numbers should be shown.');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES', 'Line number padding');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES_DESC','Define if the line numbers should be padded with zeroes.');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART', 'Line number start');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART_DESC','Define where the line numbering should start.');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN', 'Line number width');+@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN_DESC','Define the line number width.');+@define('PLUGIN_EVENT_HIGHLIGHT_THEMES', 'Color theme');+@define('PLUGIN_EVENT_HIGHLIGHT_THEMES_DESC','Choose a color theme which matches your blog.');+@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT', 'Code reformatting');+@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT_DESC','Choose a indentation and reformatting scheme to reformat C, C++, C# and Java code.');++@define('PLUGIN_EVENT_HIGHLIGHT_WRAP', 'Line wrapping');+@define('PLUGIN_EVENT_HIGHLIGHT_WRAP_DESC','Define if long lines should be wrapped. WRAP INTELLIGENT means that function parameters and assignments are intended after wrapping.');+@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN', 'Line length before wrapping');+@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN_DESC','Set the maximum line length (only available if line wrapping is not disabled above).');+@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN', 'Tab width');+@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN_DESC','Define how many spaces should replace a tab.');++?>
examples/web_plugins/serendipity_event_highlight/serendipity_event_highlight.php
@@ -0,0 +1,343 @@+<?php+/**++serendipity_event_highlight.php++=== Highlight plugin ===++This plugin uses highlight (http://www.andre-simon.de/) to add syntax highlighting to serendipity.++== Description ==++The highlight utility converts source code of 120 programming languages to HTML+with syntax highlighting. This plugin pipes the content of [highlight] tags associated+with a lang parameter to highlight, and returns the output code which is included+in the Serendipity blog entry.+The plugin configuration menu offers the most important options of the highlight utility.+The highlighted code is formatted with inline CSS to avoid complicated plugin setup.++Usage:++Paste the following in the code section of the blog editing form:++[highlight lang=c]#include <stdio.h>++int main (void){+ printf("This is some random code");+ return 0;+} [/highlight]++Normally the file extension can be used for the lang parameter (like pl, py, java, pas etc).+Execute 'highlight --list-langs' to get a list of all supported programming langauges.++== Installation ==++1. Install the highlight utility on your host (www.andre-simon.de)+2. Copy the serendipity_event_highlight dir into the serendipity plugin dir+3. Activate and configure the plugin in the serendipity administration menu++ IMPORTANT:+ To avoid insertion of superfluous <br> Tags by the nl2br plugin, add the+ string "highlight" to the "list of HTML-tags where no breaks shall be+ converted" in the nl2br configuration menu.++ */+++if (IN_serendipity !== true) {+ die ("Don't hack!");+}++// Probe for a language include with constants. Still include defines later on, if some constants were missing+$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';+if (file_exists($probelang)) {+ include $probelang;+}++include dirname(__FILE__) . '/lang_en.inc.php';++class serendipity_event_highlight extends serendipity_event+{+ var $title = PLUGIN_EVENT_HIGHLIGHT_NAME;+ // Top Level Configuration, requires name of the Plugin, description text, and configuration information in an array..+ function introspect(&$propbag)+ {+ global $serendipity;++ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_NAME);+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_DESC);+ $propbag->add('stackable', false);+ $propbag->add('author', 'Andre Simon');+ $propbag->add('requirements', array(+ 'serendipity' => '0.9',+ 'highlight' => '3.23'+ ));+ $propbag->add('version', '0.2');+ $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true));+ $propbag->add('groups', array('MARKUP'));++ $this->markup_elements = array(+ array(+ 'name' => 'ENTRY_BODY',+ 'element' => 'body',+ ),+ array(+ 'name' => 'EXTENDED_BODY',+ 'element' => 'extended',+ ),+ array(+ 'name' => 'COMMENT',+ 'element' => 'comment',+ ),+ array(+ 'name' => 'HTML_NUGGET',+ 'element' => 'html_nugget',+ )+ );++ #Colour themes of a highlight default installation+ $this->themes = array(+ "acid", "aiseered", "andes", "anotherdark", "autumn", "baycomb",+ "bclear", "biogoo", "bipolar", "blacknblue", "bluegreen", "breeze",+ "bright", "camo", "candy", "clarity", "dante", "darkblue",+ "darkbone", "darkness", "darkslategray", "darkspectrum", "denim",+ "dusk", "earendel", "easter", "edit-anjuta", "edit-eclipse",+ "edit-emacs", "edit-flashdevelop", "edit-gedit", "edit-jedit",+ "edit-kwrite", "edit-matlab", "edit-msvs2008", "edit-nedit",+ "edit-vim-dark", "edit-vim", "edit-xcode", "ekvoli", "fine_blue",+ "freya", "fruit", "golden", "greenlcd", "kellys", "leo",+ "lucretia", "manxome", "maroloccio", "matrix", "moe", "molokai",+ "moria", "navajo-night", "navy", "neon", "night", "nightshimmer",+ "nuvola", "olive", "orion", "oxygenated", "pablo", "peaksea",+ "print", "rand01", "rdark", "relaxedgreen", "rootwater",+ "seashell", "solarized-dark", "solarized-light", "tabula",+ "tcsoft", "the", "vampire", "whitengrey", "xoria256", "zellner",+ "zenburn", "zmrok"+ );++ #Reformatting schemes of a highlight default installation+ $this->reformatschemes = array ("disabled","allman", "ansi", "banner",+ "gnu", "google", "horstmann", "java", "kr", "linux", "lisp",+ "otbs", "pico", "stroustrup", "vtk", "whitesmith");++ #highlight output options+ $conf_array = array('hl_bin_dir','hl_data_dir','hl_linenumbers','hl_linenumberstart','hl_linenumberzeroes','hl_linenumberlen',+ 'hl_wrap','hl_wrap_len','hl_tab_len', 'hl_theme','hl_format');++ foreach($this->markup_elements as $element) {+ $conf_array[] = $element['name'];+ }+ $propbag->add('configuration', $conf_array);+ }++ function generate_content(&$title) {+ $title = $this->title;+ }+++ function introspect_config_item($name, &$propbag) {+ switch ($name) {+ case 'hl_bin_dir' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_HLBINDIR);+ $propbag->add('type', 'string');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_HLBINDIR_DESC);+ $propbag->add('default', 'highlight');+ break;+ case 'hl_data_dir' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_HLDATADIR);+ $propbag->add('type', 'string');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_HLDATADIR_DESC);+ $propbag->add('default', '/usr/share/highlight/');+ break;+ case 'hl_linenumbers' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS);+ $propbag->add('type', 'boolean');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS_DESC);+ $propbag->add('default', 'false');+ break;+ case 'hl_linenumberzeroes' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES);+ $propbag->add('type', 'boolean');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES_DESC);+ $propbag->add('default', 'false');+ break;+ case 'hl_linenumberstart' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART);+ $propbag->add('type', 'string');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART_DESC);+ $propbag->add('default', '1');+ $propbag->add('validate', 'number');+ break;++ case 'hl_linenumberlen' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN);+ $propbag->add('type', 'string');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN_DESC);+ $propbag->add('default', '2');+ $propbag->add('validate', 'number');+ break;++ case 'hl_theme' :+ $propbag->add('type', 'select');+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_THEMES);+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_THEMES_DESC);+ $propbag->add('select_values', $this->themes);+ $propbag->add('default', '1');+ break;++ case 'hl_format' :+ $propbag->add('type', 'select');+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_FORMAT);+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_FORMAT_DESC);+ $propbag->add('select_values', $this->reformatschemes);+ $propbag->add('default', '0');+ break;++ case 'hl_wrap' :+ $wrapstyles=array ('No wrap', 'Simple wrap','Intelligent wrap');+ $propbag->add('type', 'select');+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_WRAP);+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_WRAP_DESC);+ $propbag->add('select_values', $wrapstyles);+ $propbag->add('default', '0');+ break;+ case 'hl_wrap_len' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_WRAPLEN);+ $propbag->add('type', 'string');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_WRAPLEN_DESC);+ $propbag->add('default', '60');+ $propbag->add('validate', 'number');+ break;+ case 'hl_tab_len' :+ $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_TABLEN);+ $propbag->add('type', 'string');+ $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_TABLEN_DESC);+ $propbag->add('default', '4');+ $propbag->add('validate', 'number');+ break;+ default :+ $propbag->add('name', constant($name));+ $propbag->add('type', 'boolean');+ $propbag->add('default', 'true');+ $propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)));+ }+ return true;+ }++ function geshi($input) {+ $input = preg_replace_callback('/\[highlight(?:\s)*lang=([A-Za-z0-9_\-]+)(?:\s)*()?\](.*?)\[\/highlight\]/si', array(&$this, 'highlightcallback'), $input);+ return $input;+ }++ function event_hook($event, &$bag, &$eventData) {+ global $serendipity;++ $hooks = &$bag->get('event_hooks');++ if (isset($hooks[$event])) {+ switch($event) {+ case 'frontend_display':+ foreach ($this->markup_elements as $temp) {+ if (serendipity_db_bool($this->get_config($temp['name'], true)) && isset($eventData[$temp['element']]) &&+ !$eventData['properties']['ep_disable_markup_' . $this->instance] &&+ !isset($serendipity['POST']['properties']['disable_markup_' . $this->instance])) {+ $element = $temp['element'];+ $eventData[$element] = $this->geshi($eventData[$element]);+ }+ }+ return true;+ break;++ case 'frontend_comment':+ if (serendipity_db_bool($this->get_config('COMMENT', true))) {+ echo '<div class="serendipity_commentDirection serendipity_comment_geshi">' . PLUGIN_EVENT_HIGHLIGHT_TRANSFORM . '</div>';+ }+ return true;+ break;++ default:+ return false;+ }+ } else {+ return false;+ }+ }++ function highlightcallback($matches) {++ $search = array("&",""", "<", ">","\","'"," ");+ $replace = array("&","\"", "<", ">","\\","\'", " ");+ $input_code = str_replace($search, $replace, $matches[3]);++ $descriptorspec = array(+ 0 => array("pipe", "r"), // stdin is a pipe that the child will read from+ 1 => array("pipe", "w") // stdout is a pipe that the child will write to+ );++ $hl_cmd_str = $this->get_config('hl_bin_dir');+ $hl_cmd_str .= ' --inline-css -f ';++ if ( $this->get_config('hl_linenumbers')){+ $hl_cmd_str .= " -l -m ";+ $hl_cmd_str .= $this->get_config('hl_linenumberstart');+ if ($this->get_config('hl_linenumberzeroes')){+ $hl_cmd_str .= " -z ";+ }+ $hl_cmd_str .= ' -j ';+ $hl_cmd_str .= $this->get_config('hl_linenumberlen');+ }++ if ($this->get_config('hl_tab_len')) {+ $hl_cmd_str .= " -t ";+ $hl_cmd_str .= $this->get_config('hl_tab_len');+ }++ if ($this->get_config('hl_wrap')>0){+ $hl_cmd_str .= ($this->get_config('hl_wrap') == 1)? ' -V ':' -W ';+ $hl_cmd_str .= " -J ";+ $hl_cmd_str .= $this->get_config('hl_wrap_len');+ }++ if ($this->get_config('hl_format')>1){+ $hl_cmd_str .= " -F ";+ $hl_cmd_str .= $this->reformatschemes[$this->get_config('hl_format')];+ }+++ $hl_cmd_str .= " -s ";+ $hl_cmd_str .= $this->themes[$this->get_config('hl_theme')];+++ $lang = strtolower($matches[1]);+ $hl_cmd_str .= " -S $lang ";++ $process = proc_open($hl_cmd_str, $descriptorspec, $pipes);+ if (is_resource($process)) {++ fwrite($pipes[0], $matches[3]);+ fclose($pipes[0]);++ $output = stream_get_contents($pipes[1]);+ fclose($pipes[1]);++ // It is important that you close any pipes before calling+ // proc_close in order to avoid a deadlock+ proc_close($process);+ }+ $result='';+ if (!strlen($output)) {+ $result .= "<small>ERROR: Execution of highlight ($hl_cmd_str) failed or missing input. Check binary path.</small>";+ $result .= "<pre style=\"font-size:9pt;\">";+ $result .= $input_code;+ $result .= "</pre>";++ } else {+ $result .= "<pre style=\"font-size:9pt;\">";+ $result .= $output;+ $result .= "</pre>";+ }+ return $result;+ }+}++?>
examples/web_plugins/wordpress/README
@@ -0,0 +1,39 @@+=== Highlight plugin ===++This plugin uses highlight (http://www.andre-simon.de) to add syntax highlighting to WordPress.++== Description ==++The highlight utility converts source code of 190 programming languages to HTML+with syntax highlighting. This plugin pipes the content of <pre>-Tags associated+with a lang parameter to highlight, and returns the output code which is included+in the WordPress blog entry.++Usage:++Paste the following in the code section of the blog editing form (HTML mode !):++<pre lang="c">#include <stdio.h>++int main (void){+ printf("This is some random code");+ return 0;+}</pre>++Use the lang parameter to define the programming language (c, php, py, xml, etc).+See the highlight documentation to learn all possible languages.+See the highlight.php file for some formatting options (line numbering, code+indentation, line wrapping etc).++== Installation ==++1. Install highlight (www.andre-simon.de) on your host++2. Unzip the wp_highlight.zip file and upload the content to the+ `/wp-content/plugins/` directory++ OR++ Copy the highlight.php file to the `/wp-content/plugins/` directory++3. Activate the plugin in the WordPress backend
examples/web_plugins/wordpress/highlight.php
@@ -0,0 +1,144 @@+<?php+/*+Plugin Name: Highlight+Plugin URI: http://www.andre-simon.de+Description: Plugin which uses the highlight utility to generate coloured source code.+Author: Andre Simon+Version: 1.3+Author URI: http://www.andre-simon.de+++This file is part of Highlight.++Highlight is free software: you can redistribute it and/or modify+it under the terms of the GNU General Public License as published by+the Free Software Foundation, either version 3 of the License, or+(at your option) any later version.++Highlight is distributed in the hope that it will be useful,+but WITHOUT ANY WARRANTY; without even the implied warranty of+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+GNU General Public License for more details.++You should have received a copy of the GNU General Public License+along with Highlight. If not, see <http://www.gnu.org/licenses/>.+*/++// Highlight options:++$hl_options=array();+$hl_options['hl_binary']='highlight'; // path to the highlight binary+$hl_options['theme']='edit-kwrite'; // set color theme+$hl_options['line-numbers']=false;+$hl_options['linenumber-start']=1;+$hl_options['linenumber-zeroes']=1; // set to 1 if line numbers should be padded with zeros+$hl_options['linenumber-length']=2;+$hl_options['reformat-style']="gnu"; // possible values for C, C++ and Java Code: ansi, gnu, java, kr, linux+$hl_options['replace-tabs']=4; // number of spaces which replace a tab+$hl_options['wrap-style']=0; // 0 -> disable, 1-> wrap, 2-> wrap and indent function names+$hl_options['wrap-line-length']=60; // if wrap-style <>0, this defines the line length before wrapping takes place++class as_highlight {+ + var $ch_is_excerpt = false;+ function __construct()+ {+ openlog("myScripLog", LOG_PID | LOG_PERROR, LOG_LOCAL0);+ add_filter('the_content',array(&$this, 'hl_the_content_filter'),1);+ }+ // PHP 4 Constructor+ function as_highlight ()+ {+ $this->__construct() ;+ }+ + function as_highlight_code($matches){+ + global $hl_options;+ + $lang = preg_replace("'[^a-zA-Z\-]'","",$matches[1]);+ // undo nl and p formatting+ $input_code = $matches[2];+ $input_code = preg_replace("'<br\s*\/?>\r?\n?'","\n",$input_code);+ $search = array("&",""", "<", ">","\","'"," ");+ $replace = array("&","\"", "<", ">","\\","\'", " ");+ $input_code = str_replace($search, $replace, $input_code);+ + $descriptorspec = array(+ 0 => array("pipe", "r"), // stdin is a pipe that the child will read from+ 1 => array("pipe", "w") // stdout is a pipe that the child will write to+ );+ + $hl_cmd_str = $hl_options['hl_binary'];+ $hl_cmd_str .= ' --inline-css -I -f ';+ + if ($hl_options['line-numbers']){+ $hl_cmd_str .= " -l -m ";+ $hl_cmd_str .= $hl_options['linenumber-start'];+ if ($hl_options['linenumber-zeroes']){+ $hl_cmd_str .= " -z -j ";+ $hl_cmd_str .= $hl_options['linenumber-length'];+ }+ }+ + if ($hl_options['replace-tabs']) {+ $hl_cmd_str .= " -t ";+ $hl_cmd_str .= $hl_options['replace-tabs'];+ }+ + if ($hl_options['wrap-style']){+ $hl_cmd_str .= ($hl_options['wrap-style'] == 1)? ' -V ':' -W ';+ $hl_cmd_str .= " -J ";+ $hl_cmd_str .= $hl_options['wrap-line-length'];+ }+ + if ($hl_options['reformat-style']){+ $hl_cmd_str .= " -F ";+ $hl_cmd_str .= $hl_options['reformat-style'];+ }++ if ($hl_options['theme']){+ $hl_cmd_str .= " -s ";+ $hl_cmd_str .= $hl_options['theme'];+ }+ + $hl_cmd_str .= " -S $lang ";+ + $process = proc_open($hl_cmd_str, $descriptorspec, $pipes);+++ if (is_resource($process)) {++ fwrite($pipes[0], $input_code);+ fclose($pipes[0]);+ if (function_exists("stream_get_contents"))+ {+ $output = $output . stream_get_contents($pipes[1]);+ }+ else+ {+ $output = "";+ while (!feof($pipes[1])) $output .= fgets($pipes[1]);+ }+ fclose($pipes[1]);++ // It is important that you close any pipes before calling+ // proc_close in order to avoid a deadlock+ $return_value = proc_close($process);+ }+ $newContent = "<pre>". $output ."</pre>";+ return $newContent;+ }+ + function hl_the_content_filter($content) {++ return preg_replace_callback("/<pre\s+lang=\"(.*?)\">(.*)<\/pre>/siU",+ array(&$this, "as_highlight_code"),+ $content);+ }+}++if (!function_exists('as_highlight'))+ $as_highlight = new as_highlight();++?>
@@ -0,0 +1,132 @@+-- File extension and shebang mapping++-- Add an entry for a language syntax which is occupied by multiple source file extensions.+-- Extensions can be configured for multiple languages (see "asm"):+-- - CLI: the first association listed here will be used+-- - GUI: a syntax selection prompt will be shown++-- If a filename has no extension by convention (ie. makefile), it also may be listed as "Shebang"++-- Since release 3.36 you can assign filenames to syntax types:+-- { Lang="abc", Filenames={"test.xyz"} }++-- The first filetypes.conf found in a highlight search directory wins.++FileMapping = {++ { Lang="ada", Extensions={"adb", "ads", "a", "gnad"} },+ { Lang="algol", Extensions={"alg"} },+ { Lang="ampl", Extensions={"dat", "run"} },+ { Lang="amtrix", Extensions={"s4", "s4t", "s4h", "hnd", "t4"} },+ { Lang="assembler", Extensions={"asm", "a51", "29k", "68s", "68x", "x86"} },+ { Lang="fasm", Extensions={"asm", "inc"} },+ { Lang="asp", Extensions={"aspx", "ashx", "ascx"} },+ { Lang="ats", Extensions={"dats"} },+ { Lang="aspect", Extensions={"was", "wud"} },+ { Lang="bat", Extensions={"cmd"} },+ { Lang="c", Extensions={"c++", "cpp", "cxx", "cc", "h", "hh", "hxx", "hpp", "cu"} },+ { Lang="charmm", Extensions={"inp"} },+ { Lang="coldfusion", Extensions={"cfc","cfm"} },+ { Lang="cobol", Extensions={"cob", "cbl"} },+ { Lang="diff", Extensions={"patch"} },+ { Lang="dts", Extensions={"dtsi"} },+ { Lang="eiffel", Extensions={"e", "se"} },+ { Lang="erlang", Extensions={"hrl", "erl"} },+ { Lang="euphoria", Extensions={"ex", "exw", "wxu", "ew", "eu"} },+ { Lang="fortran77", Extensions={"f", "for", "ftn"} },+ { Lang="fortran90", Extensions={"f95", "f90"} },+ { Lang="gambas", Extensions={"class"} },+ { Lang="gdscript", Extensions={"gd"} },+ { Lang="haskell", Extensions={"hs"} },+ { Lang="ini", Extensions={"doxyfile", "desktop"} },+ { Lang="java", Extensions={"groovy", "grv"} },+ { Lang="julia", Extensions={"jl"} },+ { Lang="kotlin", Extensions={"kt"} },+ { Lang="limbo", Extensions={"b"} },+ { Lang="lisp", Extensions={"cl", "clisp", "el", "lsp", "sbcl", "scom"} },+ { Lang="make", Extensions={"mak", "mk", "makefile"} },+ { Lang="snmp", Extensions={"mib", "smi"} },+ { Lang="ocaml", Extensions={"ml","mli"} },+ { Lang="mod2", Extensions={"mod", "def"} },+ { Lang="mod3", Extensions={"m3", "i3"} },+ { Lang="oberon", Extensions={"ooc"} },+ { Lang="php", Extensions={"php3", "php4", "php5", "php6"} },+ { Lang="pike", Extensions={"pmod"} },+ { Lang="pl1", Extensions={"ff", "fp", "fpp", "rpp","sf", "sp", "spb",+ "spp","sps", "wp", "wf", "wpp","wps","wpb","bdy","spe"} },+ { Lang="perl", Extensions={"pl","perl", "cgi", "pm", "plx", "plex"} },+ { Lang="progress", Extensions={"p", "i", "w"} },+ { Lang="ruby", Extensions={"rb","ruby", "pp", "rjs", "gemfile", "rakefile"} },+ { Lang="rexx", Extensions={"rex", "rx", "the"} },+ { Lang="sh", Extensions={"bash", "zsh", "ebuild", "eclass"} },+ { Lang="smalltalk", Extensions={"st", "gst", "sq"} },+ { Lang="sybase", Extensions={"sp"} },+ { Lang="tcl", Extensions={"wish", "itcl"} },+ { Lang="tex", Extensions={"sty", "cls"} },+ { Lang="vb", Extensions={"bas", "basic", "bi", "vbs"} },+ { Lang="verilog", Extensions={"v"} },+ { Lang="html", Extensions={"htm", "xhtml"} },+ { Lang="xml", Extensions={"sgm", "sgml", "nrm", "ent","hdr", "hub", "dtd", "glade",+ "wml","vxml", "wml", "tld", "csproj","xsl", "ecf", "jnlp", "xsd", "resx"} },+ { Lang="fsharp", Extensions={"fs","fsx"} },+ { Lang="informix", Extensions={"4gl"} },+ { Lang="blitzbasic", Extensions={"bb"} },+ { Lang="innosetup", Extensions={"iss"} },+ { Lang="lotus", Extensions={"ls"} },+ { Lang="ascend", Extensions={"a4c"} },+ { Lang="actionscript", Extensions={"as"} },+ { Lang="express", Extensions={"exp"} },+ { Lang="haxe", Extensions={"hx"} },+ { Lang="pyrex", Extensions={"pyx"} },++ { Lang="abap4", Extensions={"abp"} },+ { Lang="csharp", Extensions={"cs"} },+ { Lang="interlis", Extensions={"ili"} },+ { Lang="logtalk", Extensions={"lgt"} },+ { Lang="matlab", Extensions={"m"} },+ { Lang="nsis", Extensions={"nsi", "nsh"} },+ { Lang="bison", Extensions={"y"} },+ { Lang="squirrel", Extensions={"nut"} },+ { Lang="luban", Extensions={"lbn"} },+ { Lang="maya", Extensions={"mel"} },+ { Lang="nemerle", Extensions={"n"} },+ { Lang="paradox", Extensions={"sc"} },+ { Lang="netrexx", Extensions={"nrx"} },+ { Lang="clearbasic", Extensions={"cb"} },+ { Lang="graphviz", Extensions={"dot"} },+ { Lang="small", Extensions={"sma"} },+ { Lang="autoit", Extensions={"au3"} },+ { Lang="chill", Extensions={"chl"} },+ { Lang="autohotkey", Extensions={"ahk"} },+ { Lang="fame", Extensions={"fame"} },+ { Lang="modelica", Extensions={"mo"} },+ { Lang="maple", Extensions={"mpl"} },+ { Lang="jasmin", Extensions={"j"} },+ { Lang="snobol", Extensions={"sno"} },+ { Lang="icon", Extensions={"icn"} },+ { Lang="felix", Extensions={"flx"} },+ { Lang="lindenscript", Extensions={"lsl"} },+ { Lang="lilypond", Extensions={"ly"} },+ { Lang="nasal", Extensions={"nas"} },+ { Lang="clean", Extensions={"icl"} },+ { Lang="bibtex", Extensions={"bib"} },+ { Lang="python", Extensions={"py"} },+ { Lang="txt", Extensions={"text"} },+ { Lang="n3", Extensions={"ttl", "nt"} },+ { Lang="biferno", Extensions={"bfr"} },+ { Lang="scilab", Extensions={"sci", "sce"} },+ { Lang="msl", Extensions={"nbs"} },+ { Lang="yaml", Extensions={"yml"} },+ { Lang="vimscript", Extensions={"vim", "vimrc"} },+ { Lang="purebasic", Extensions={"pb", "pbi"} },++ { Lang="xml", Shebang=[[^\s*<\?xml\s+version=\"1\.0\"\s+[^(\?>)]*?>\s*$]] },+ { Lang="sh", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?([bd]ash|t?csh|[akz]?sh)]] },+ { Lang="make",Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?make]] },+ { Lang="awk", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?[gnm]?awk]] },+ { Lang="perl", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?perl]] },+ { Lang="python", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?python]] },+ { Lang="ruby", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?ruby]] },+ { Lang="php", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?php]] }+}+
gui_files/ext/fileopenfilter.conf
@@ -0,0 +1,213 @@+All source files (*)+ABAP/4 (*.abp)+ABC (*.abc)+ABNF (*.abnf)+ActionScript (*.as)+Ada95 (*.a *.adb *.ads *.gnad)+Agda (*.agda)+ALGOL (*.alg)+AMPL (*.mod *.dat *.run)+AMTrix (*.s4 *.s4t *.s4h *.hnd *.t4)+Ansible/YAML (*.yaml)+Applescript (*.applescript)+Arc (*.arc)+ARM (*.arm)+AS400-CL (*.as400cl)+Ascend (*.a4c)+ASP (*.asp *.aspx *.ashx *.ascx)+Aspect (*.was *.wud)+Assembler (*.asm)+ATS (*.ats *.dats)+AutoHotKey (*.ahk)+AutoIt3 (*.au3)+Avenue (*.avenue)+AWK (*.awk)+Bash (*.sh)+Batch (*.bat)+BBCode (*.bbcode)+BCPL (*.bcpl)+BibTeX (*.bib)+Biferno (*.bfr)+Bison (*.y)+BlitzBasic (*.bb)+BMScript (*.bms)+BNF (*.bnf)+Boo (*.boo)+C/C++ (*.cpp *.cc *.c *.C *.hpp *.h *.cu)+C# (*.cs)+Charmm (*.inp)+CHILL (*.chl)+Ceylon (*.ceylon)+Chapel (*.chpl)+Clean (*.icl)+ClearBasic (*.cb)+Clipper (*.clipper)+Clips (*.clp)+Clojure (*.clojure)+COBOL (*.cob)+Coffeescript (*.coffee)+Coldfusion-MX (*.cfc *.cfm)+Configfile (*.conf)+Crack (*.crk)+CSS (*.css)+D (*.d)+Dart (*.dart)+Delphi (*.pas)+Diff (*.diff *.patch)+DeviceTree (*.dts *.dtsi)+Dylan (*.dylan)+EBNF (*.ebnf)+Eiffel (*.e *.ecf *.se)+Erlang (*.erl)+Euphoria (*.ex *.exw *.exu *.ew *.eu)+Express (*.exp)+Fame (*.fame)+FASM (*.asm *.inc)+Felix (*.flx)+F# (*.fs *.fsx)+Fortran77 (*.f *.f77 *.for *.ftn)+Fortran90 (*.f95 *.f90)+Frink (*.frink)+Gambas (*.class)+GDB (*.gdb)+GithubMarkdown (*.md)+Go (*.go)+GDScript (*.gd)+Graphviz (*.dot)+Groovy (*.groovy *.grv)+Haskell (*.hs *.sbcl)+HaskellLHS (*.lhs)+haXe (*.hx)+Hecl (*.hcl)+HTML (*.html *.htm *.xhtml)+Httpd (*.httpd)+Icon (*.icn)+IDL (*.idl)+Informix (*.4gl)+INI (*.ini)+InnoSetup (*.iss)+InteractiveDataLanguage (*.idlang)+Interlis (*.ili)+IO (*.io)+Jasmin (*.j)+JavaFX (*.fx)+Java (*.java)+Javascript (*.js)+JSON (*.json)+JSP (*.jsp)+JSX (*.jsx)+Julia (*.jl)+Kotlin (*.kt)+LaTeX (*.tex)+LDAP (*.ldif)+LESS (*.less)+Lilypond (*.ly)+Limbo (*.b)+LindenScript (*.lsl)+Lisp (*.cl *.clisp *.el *.lsp *.sbcl *.scom)+Logtalk (*.lgt)+Lotos (*.lotos)+LotusScript (*.ls)+Lua (*.lua)+Luban (*.lbn)+Make (*.mak *.mk)+Maple (*.mpl)+MagicExtensibleMarkup (*.mxml)+Markup (*.html *.htm *.xhtml *.sgml *.dtd *.tld *.wml *.xml *.xsl *.xsd)+Matlab (*.m)+MaxScript (*.ms)+Maya (*.mel)+Mercury (*.mercury)+mIRC (*.msl)+Modelica (*.mo)+Modula2 (*.mod *.def)+Modula3 (*.m3 *.i3)+MoonScript (*.moon)+MS-SQL (*.mssql)+MXML (*.mxml)+Nasal (*.nas)+NBC (*.nbc)+Nemerle (*.n)+NetRexx (*.nrx)+Nginx (*.nginx)+Nice (*.nice)+Nim (*.nim)+Notation3 (*.n3 *.nt *.ttl)+NSIS (*.nsi)+NXC (*.nxc)+Oberon (*.ooc)+Objective-Caml (*.ml *.mli)+Objective-C (*.objc)+ObjectScript (*.os)+Octave (*.octave)+OpenObjectRexx (*.oorexx)+Oz (*.oz)+Paradox (*.sc)+Pascal (*.pas)+Patrol (*.psl)+PDF (*.pdf)+Perl (*.pl *.perl *.cgi *.pm *.plx *.plex *.04)+PHP (*.php *.php3)+Pike (*.pike *.pmod)+PL/1 (*.pl1)+PL/Perl (*.plperl)+PL/Python (*.plpython)+PL/SQL (*.sql)+PL/Tcl (*.pltcl)+PO (*.po)+Pony (*.pony)+PostScript (*.ps)+POV-Ray (*.pov)+PowerPC-Assembler (*.s)+PowerShell (*.ps1)+Progress (*.p *.i *.w)+Prolog (*.pro)+Pure (*.pure)+PureBasic (*.pb *.pbi)+Pyrex (*.pyx)+Python (*.py)+QML (*.qml)+Qore (*.q)+Qu (*.qu)+Rebol (*.rebol)+Relax-NG-Compact (*.rnc)+Rexx (*.rexx)+RPG (*.rpg)+RPM-Spec (*.spec)+R (*.r)+Ruby (*.rb *.pp *.rjs)+Rust (*.rs)+SAS (*.sas)+SASS/SCSS (*.scss)+Scala (*.scala)+Scilab (*.sci *.sce)+Small (*.sma)+Smalltalk (*.st *.gst *.sq)+SML (*.sml)+SNMP (*.mib *.smi)+Snobol (*.sno)+Spin-SQL (*.spn)+Squirrel (*.nut)+Stylus (*.styl)+SuperX++ (*.xpp)+SVG (*.svg)+Swift (*.swift)+Sybase (*.sp)+Tcl/Tk (*.tcl)+TCSH (*.tcsh)+TeX (*.tex)+Text (*.txt)+Transact-SQL (*.tsql)+TTCN3 (*.ttcn3)+TypeScript (*.ts)+UPC (*.upc)+Vala (*.vala)+Verilog (*.verilog)+VHDL (*.vhd)+Vimscript (*.vim *.vimrc)+VisualBasic/Basic (*.bas *.bi *.b)+Whiley (*.whiley)+XML (*.xml)+Yaiff (*.yaiff)+Yang (*.yang)+Zonnon (*.znn)
gui_files/l10n/highlight_cs_CZ.qm
gui_files/l10n/highlight_de_DE.qm
gui_files/l10n/highlight_es_ES.qm
gui_files/l10n/highlight_zh_CN.qm
@@ -0,0 +1,10 @@+[Desktop Entry]+Version=1.0+Name=Highlight+Type=Application+Comment=Converts source code to formatted text (HTML, RTF, TeX, LaTeX, SVG, BBCode, Pango Markup, XML) with syntax highlighting+Exec=highlight-gui+TryExec=highlight-gui+Icon=highlight+Categories=Utility;TextTools;+StartupNotify=true
highlight/.easiboxrc
@@ -1,33 +0,0 @@-boxFormats = ['tar.gz', 'tar.bz2']-archiveDestination = "~/archive/"--include("*") -include(".easiboxrc") -include("examples/*", SUBDIRS) -include("src/*", SUBDIRS) -exclude("src/*.o", SUBDIRS)-include("themes/*") -include("plugins/*")-include("langDefs/*") -include("man/*") -include("gui_files/*", SUBDIRS) --exclude("*.kdevelop*")-exclude("*.kdev4*")-exclude("*.kdevses")-exclude("*.cbp")-exclude("*.layout")-exclude("src/highlight")-exclude("src/highlight-gui")-exclude("src/libhighlight*")-exclude("src/gui-qt/qrc*")-exclude("*.css")-exclude("*.html")--exclude(".svn/", SUBDIRS)-exclude("*.Debug", SUBDIRS)-exclude("*.Release", SUBDIRS)-exclude("*.pro.user", SUBDIRS)-exclude("src/gui-qt/highlight-gui.gch/*")--exclude("*~", SUBDIRS)
highlight/.kdev4/highlight3.kdev4
@@ -1,15 +0,0 @@-[Buildset]-BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00)--[CustomDefinesAndIncludes][ProjectPath0]-Defines=\x00\x00\x00\x00-Includes=\x00\x00\x00\x01\x00\x00\x00€\x00/\x00h\x00o\x00m\x00e\x00/\x00a\x00n\x00d\x00r\x00e\x00/\x00P\x00r\x00o\x00j\x00e\x00k\x00t\x00e\x00/\x00s\x00y\x00n\x00t\x00a\x00x\x00h\x00i\x00g\x00h\x00l\x00i\x00g\x00h\x00t\x00-\x00c\x00o\x00d\x00e\x00/\x00h\x00i\x00g\x00h\x00l\x00i\x00g\x00h\x00t\x00/\x00s\x00r\x00c\x00/\x00i\x00n\x00c\x00l\x00u\x00d\x00e\x00/-Path=.--[Defines And Includes][Compiler]-Name=GCC-Path=gcc-Type=GCC--[Project]-VersionControlSupport=kdevsubversion
highlight/AUTHORS
@@ -1,81 +0,0 @@-Developer/Maintainer:-André Simon <andre.simon1 at gmx de>--Developer of the Diluculum Lua Wrapper:-Leandro Motta Barros--Developer of the Artistic Style:-Tal Davidson <davidsont at bigfoot com>-Jim Pattee <jimp03 at email com>--Developer of Regex classes:-Jeffery Stuart <mail_address>--Developer of xterm 256 colour best matching functions:-Wolfgang Frisch <wf at frexx de>--Developer of the argparser class:-Antonio Diaz Diaz--Language definitions:-Christian Perle (Povray)-Andreas Schoenberg (AWK)-Olivier Girondel (Pike)-Christian Siefkes (NG Relax Compact)-Paul Connell (Coldfusion MX)-Peter Bartke (Miranda)-Joerg Walter (Smalltalk)-Pierre Larochelle (Arc, Clojure)-Roberto Mendoza (IDL)-Paulo Moura (Logtalk)-Sandro Bilbeisi (Biferno)-Frank Seidinger (RPL)-Viraj Sinha (UPC)-A. Aniruddha (GDB, Yang)-Roland Hieber (PDF)-Conrad Steenberg (Crack)-Victor Ananjevsky (conf.lang)-Raphael Droz (Ansible YAML)-Lydia Duncan (Chapel)-Tristano Ajmone (GDScript)-Max Christian Pohle (VIMScript)-Jess Austin (Coffeescript)-Tristano Ajmone (PureBasic, GDScript)--Colour themes:-David (matlab)-Mark Hessling (THE)-Alexandre Bonneau (Acid)-Sunrise Telephone Systems Ltd. (ide-xcode)-Joerg Walter (moe)-Roger Sperberg (andes, oxygenated)-Tristano Ajmone (edit-godot)---Patches:-Marc Duponcheel (gcc 3.x compatibility)-Jonas Fonseca (Ruby language definition)-Georg Young (gcc 3.x compatibility)-weasel@debian.org (suppress compile warnings of Debian package)-Jeremy Weinberger (RTF bugfix)-Alan Briolat (shebang recognition with stdin stream)-Jeremy Bopp (makefile prefix/destdir variables)-Antonio Diaz Diaz (argparser replacement for getopt_long)-Samuli Suominen (various makefile bugfixes)-Detlef Reichelt (gcc 4.3 compatibility)-Jochen Schmitt (gcc 4.4 compatibility)-Nathaniel Gray (makefile bugfix)-David Bremner (makefiles and SWIG scripts)-Georgios M. Zarkadas (fixed file suffix recognition)-MENG Wei (fixed memory leak in astyle's ASFormatter)-Yimin Li (fontenc package in LaTeX output)-Michael Enßlin (--wrap-no-numbers option)-G. Wijaya (SWIG PHP binding)-Troy Sankey (Javascript regex)-Andrew Fuller (xterm256 bold and italic attributes)-Dominik Schmidt (Pango markup)-Ingo Krabbe (cweb LaTeX output)-Victor Ananjevsky (various)-Andrew Fuller (xterm256 font attributes)-Dominik Schmidt (Pango markup)-Troy Sankey (JS regex)
highlight/COPYING
@@ -1,674 +0,0 @@- GNU GENERAL PUBLIC LICENSE- Version 3, 29 June 2007-- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>- Everyone is permitted to copy and distribute verbatim copies- of this license document, but changing it is not allowed.-- Preamble-- The GNU General Public License is a free, copyleft license for-software and other kinds of works.-- The licenses for most software and other practical works are designed-to take away your freedom to share and change the works. By contrast,-the GNU General Public License is intended to guarantee your freedom to-share and change all versions of a program--to make sure it remains free-software for all its users. We, the Free Software Foundation, use the-GNU General Public License for most of our software; it applies also to-any other work released this way by its authors. You can apply it to-your programs, too.-- When we speak of free software, we are referring to freedom, not-price. Our General Public Licenses are designed to make sure that you-have the freedom to distribute copies of free software (and charge for-them if you wish), that you receive source code or can get it if you-want it, that you can change the software or use pieces of it in new-free programs, and that you know you can do these things.-- To protect your rights, we need to prevent others from denying you-these rights or asking you to surrender the rights. Therefore, you have-certain responsibilities if you distribute copies of the software, or if-you modify it: responsibilities to respect the freedom of others.-- For example, if you distribute copies of such a program, whether-gratis or for a fee, you must pass on to the recipients the same-freedoms that you received. You must make sure that they, too, receive-or can get the source code. And you must show them these terms so they-know their rights.-- Developers that use the GNU GPL protect your rights with two steps:-(1) assert copyright on the software, and (2) offer you this License-giving you legal permission to copy, distribute and/or modify it.-- For the developers' and authors' protection, the GPL clearly explains-that there is no warranty for this free software. For both users' and-authors' sake, the GPL requires that modified versions be marked as-changed, so that their problems will not be attributed erroneously to-authors of previous versions.-- Some devices are designed to deny users access to install or run-modified versions of the software inside them, although the manufacturer-can do so. This is fundamentally incompatible with the aim of-protecting users' freedom to change the software. The systematic-pattern of such abuse occurs in the area of products for individuals to-use, which is precisely where it is most unacceptable. Therefore, we-have designed this version of the GPL to prohibit the practice for those-products. If such problems arise substantially in other domains, we-stand ready to extend this provision to those domains in future versions-of the GPL, as needed to protect the freedom of users.-- Finally, every program is threatened constantly by software patents.-States should not allow patents to restrict development and use of-software on general-purpose computers, but in those that do, we wish to-avoid the special danger that patents applied to a free program could-make it effectively proprietary. To prevent this, the GPL assures that-patents cannot be used to render the program non-free.-- The precise terms and conditions for copying, distribution and-modification follow.-- TERMS AND CONDITIONS-- 0. Definitions.-- "This License" refers to version 3 of the GNU General Public License.-- "Copyright" also means copyright-like laws that apply to other kinds of-works, such as semiconductor masks.-- "The Program" refers to any copyrightable work licensed under this-License. Each licensee is addressed as "you". "Licensees" and-"recipients" may be individuals or organizations.-- To "modify" a work means to copy from or adapt all or part of the work-in a fashion requiring copyright permission, other than the making of an-exact copy. The resulting work is called a "modified version" of the-earlier work or a work "based on" the earlier work.-- A "covered work" means either the unmodified Program or a work based-on the Program.-- To "propagate" a work means to do anything with it that, without-permission, would make you directly or secondarily liable for-infringement under applicable copyright law, except executing it on a-computer or modifying a private copy. Propagation includes copying,-distribution (with or without modification), making available to the-public, and in some countries other activities as well.-- To "convey" a work means any kind of propagation that enables other-parties to make or receive copies. Mere interaction with a user through-a computer network, with no transfer of a copy, is not conveying.-- An interactive user interface displays "Appropriate Legal Notices"-to the extent that it includes a convenient and prominently visible-feature that (1) displays an appropriate copyright notice, and (2)-tells the user that there is no warranty for the work (except to the-extent that warranties are provided), that licensees may convey the-work under this License, and how to view a copy of this License. If-the interface presents a list of user commands or options, such as a-menu, a prominent item in the list meets this criterion.-- 1. Source Code.-- The "source code" for a work means the preferred form of the work-for making modifications to it. "Object code" means any non-source-form of a work.-- A "Standard Interface" means an interface that either is an official-standard defined by a recognized standards body, or, in the case of-interfaces specified for a particular programming language, one that-is widely used among developers working in that language.-- The "System Libraries" of an executable work include anything, other-than the work as a whole, that (a) is included in the normal form of-packaging a Major Component, but which is not part of that Major-Component, and (b) serves only to enable use of the work with that-Major Component, or to implement a Standard Interface for which an-implementation is available to the public in source code form. A-"Major Component", in this context, means a major essential component-(kernel, window system, and so on) of the specific operating system-(if any) on which the executable work runs, or a compiler used to-produce the work, or an object code interpreter used to run it.-- The "Corresponding Source" for a work in object code form means all-the source code needed to generate, install, and (for an executable-work) run the object code and to modify the work, including scripts to-control those activities. However, it does not include the work's-System Libraries, or general-purpose tools or generally available free-programs which are used unmodified in performing those activities but-which are not part of the work. For example, Corresponding Source-includes interface definition files associated with source files for-the work, and the source code for shared libraries and dynamically-linked subprograms that the work is specifically designed to require,-such as by intimate data communication or control flow between those-subprograms and other parts of the work.-- The Corresponding Source need not include anything that users-can regenerate automatically from other parts of the Corresponding-Source.-- The Corresponding Source for a work in source code form is that-same work.-- 2. Basic Permissions.-- All rights granted under this License are granted for the term of-copyright on the Program, and are irrevocable provided the stated-conditions are met. This License explicitly affirms your unlimited-permission to run the unmodified Program. The output from running a-covered work is covered by this License only if the output, given its-content, constitutes a covered work. This License acknowledges your-rights of fair use or other equivalent, as provided by copyright law.-- You may make, run and propagate covered works that you do not-convey, without conditions so long as your license otherwise remains-in force. You may convey covered works to others for the sole purpose-of having them make modifications exclusively for you, or provide you-with facilities for running those works, provided that you comply with-the terms of this License in conveying all material for which you do-not control copyright. Those thus making or running the covered works-for you must do so exclusively on your behalf, under your direction-and control, on terms that prohibit them from making any copies of-your copyrighted material outside their relationship with you.-- Conveying under any other circumstances is permitted solely under-the conditions stated below. Sublicensing is not allowed; section 10-makes it unnecessary.-- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.-- No covered work shall be deemed part of an effective technological-measure under any applicable law fulfilling obligations under article-11 of the WIPO copyright treaty adopted on 20 December 1996, or-similar laws prohibiting or restricting circumvention of such-measures.-- When you convey a covered work, you waive any legal power to forbid-circumvention of technological measures to the extent such circumvention-is effected by exercising rights under this License with respect to-the covered work, and you disclaim any intention to limit operation or-modification of the work as a means of enforcing, against the work's-users, your or third parties' legal rights to forbid circumvention of-technological measures.-- 4. Conveying Verbatim Copies.-- You may convey verbatim copies of the Program's source code as you-receive it, in any medium, provided that you conspicuously and-appropriately publish on each copy an appropriate copyright notice;-keep intact all notices stating that this License and any-non-permissive terms added in accord with section 7 apply to the code;-keep intact all notices of the absence of any warranty; and give all-recipients a copy of this License along with the Program.-- You may charge any price or no price for each copy that you convey,-and you may offer support or warranty protection for a fee.-- 5. Conveying Modified Source Versions.-- You may convey a work based on the Program, or the modifications to-produce it from the Program, in the form of source code under the-terms of section 4, provided that you also meet all of these conditions:-- a) The work must carry prominent notices stating that you modified- it, and giving a relevant date.-- b) The work must carry prominent notices stating that it is- released under this License and any conditions added under section- 7. This requirement modifies the requirement in section 4 to- "keep intact all notices".-- c) You must license the entire work, as a whole, under this- License to anyone who comes into possession of a copy. This- License will therefore apply, along with any applicable section 7- additional terms, to the whole of the work, and all its parts,- regardless of how they are packaged. This License gives no- permission to license the work in any other way, but it does not- invalidate such permission if you have separately received it.-- d) If the work has interactive user interfaces, each must display- Appropriate Legal Notices; however, if the Program has interactive- interfaces that do not display Appropriate Legal Notices, your- work need not make them do so.-- A compilation of a covered work with other separate and independent-works, which are not by their nature extensions of the covered work,-and which are not combined with it such as to form a larger program,-in or on a volume of a storage or distribution medium, is called an-"aggregate" if the compilation and its resulting copyright are not-used to limit the access or legal rights of the compilation's users-beyond what the individual works permit. Inclusion of a covered work-in an aggregate does not cause this License to apply to the other-parts of the aggregate.-- 6. Conveying Non-Source Forms.-- You may convey a covered work in object code form under the terms-of sections 4 and 5, provided that you also convey the-machine-readable Corresponding Source under the terms of this License,-in one of these ways:-- a) Convey the object code in, or embodied in, a physical product- (including a physical distribution medium), accompanied by the- Corresponding Source fixed on a durable physical medium- customarily used for software interchange.-- b) Convey the object code in, or embodied in, a physical product- (including a physical distribution medium), accompanied by a- written offer, valid for at least three years and valid for as- long as you offer spare parts or customer support for that product- model, to give anyone who possesses the object code either (1) a- copy of the Corresponding Source for all the software in the- product that is covered by this License, on a durable physical- medium customarily used for software interchange, for a price no- more than your reasonable cost of physically performing this- conveying of source, or (2) access to copy the- Corresponding Source from a network server at no charge.-- c) Convey individual copies of the object code with a copy of the- written offer to provide the Corresponding Source. This- alternative is allowed only occasionally and noncommercially, and- only if you received the object code with such an offer, in accord- with subsection 6b.-- d) Convey the object code by offering access from a designated- place (gratis or for a charge), and offer equivalent access to the- Corresponding Source in the same way through the same place at no- further charge. You need not require recipients to copy the- Corresponding Source along with the object code. If the place to- copy the object code is a network server, the Corresponding Source- may be on a different server (operated by you or a third party)- that supports equivalent copying facilities, provided you maintain- clear directions next to the object code saying where to find the- Corresponding Source. Regardless of what server hosts the- Corresponding Source, you remain obligated to ensure that it is- available for as long as needed to satisfy these requirements.-- e) Convey the object code using peer-to-peer transmission, provided- you inform other peers where the object code and Corresponding- Source of the work are being offered to the general public at no- charge under subsection 6d.-- A separable portion of the object code, whose source code is excluded-from the Corresponding Source as a System Library, need not be-included in conveying the object code work.-- A "User Product" is either (1) a "consumer product", which means any-tangible personal property which is normally used for personal, family,-or household purposes, or (2) anything designed or sold for incorporation-into a dwelling. In determining whether a product is a consumer product,-doubtful cases shall be resolved in favor of coverage. For a particular-product received by a particular user, "normally used" refers to a-typical or common use of that class of product, regardless of the status-of the particular user or of the way in which the particular user-actually uses, or expects or is expected to use, the product. A product-is a consumer product regardless of whether the product has substantial-commercial, industrial or non-consumer uses, unless such uses represent-the only significant mode of use of the product.-- "Installation Information" for a User Product means any methods,-procedures, authorization keys, or other information required to install-and execute modified versions of a covered work in that User Product from-a modified version of its Corresponding Source. The information must-suffice to ensure that the continued functioning of the modified object-code is in no case prevented or interfered with solely because-modification has been made.-- If you convey an object code work under this section in, or with, or-specifically for use in, a User Product, and the conveying occurs as-part of a transaction in which the right of possession and use of the-User Product is transferred to the recipient in perpetuity or for a-fixed term (regardless of how the transaction is characterized), the-Corresponding Source conveyed under this section must be accompanied-by the Installation Information. But this requirement does not apply-if neither you nor any third party retains the ability to install-modified object code on the User Product (for example, the work has-been installed in ROM).-- The requirement to provide Installation Information does not include a-requirement to continue to provide support service, warranty, or updates-for a work that has been modified or installed by the recipient, or for-the User Product in which it has been modified or installed. Access to a-network may be denied when the modification itself materially and-adversely affects the operation of the network or violates the rules and-protocols for communication across the network.-- Corresponding Source conveyed, and Installation Information provided,-in accord with this section must be in a format that is publicly-documented (and with an implementation available to the public in-source code form), and must require no special password or key for-unpacking, reading or copying.-- 7. Additional Terms.-- "Additional permissions" are terms that supplement the terms of this-License by making exceptions from one or more of its conditions.-Additional permissions that are applicable to the entire Program shall-be treated as though they were included in this License, to the extent-that they are valid under applicable law. If additional permissions-apply only to part of the Program, that part may be used separately-under those permissions, but the entire Program remains governed by-this License without regard to the additional permissions.-- When you convey a copy of a covered work, you may at your option-remove any additional permissions from that copy, or from any part of-it. (Additional permissions may be written to require their own-removal in certain cases when you modify the work.) You may place-additional permissions on material, added by you to a covered work,-for which you have or can give appropriate copyright permission.-- Notwithstanding any other provision of this License, for material you-add to a covered work, you may (if authorized by the copyright holders of-that material) supplement the terms of this License with terms:-- a) Disclaiming warranty or limiting liability differently from the- terms of sections 15 and 16 of this License; or-- b) Requiring preservation of specified reasonable legal notices or- author attributions in that material or in the Appropriate Legal- Notices displayed by works containing it; or-- c) Prohibiting misrepresentation of the origin of that material, or- requiring that modified versions of such material be marked in- reasonable ways as different from the original version; or-- d) Limiting the use for publicity purposes of names of licensors or- authors of the material; or-- e) Declining to grant rights under trademark law for use of some- trade names, trademarks, or service marks; or-- f) Requiring indemnification of licensors and authors of that- material by anyone who conveys the material (or modified versions of- it) with contractual assumptions of liability to the recipient, for- any liability that these contractual assumptions directly impose on- those licensors and authors.-- All other non-permissive additional terms are considered "further-restrictions" within the meaning of section 10. If the Program as you-received it, or any part of it, contains a notice stating that it is-governed by this License along with a term that is a further-restriction, you may remove that term. If a license document contains-a further restriction but permits relicensing or conveying under this-License, you may add to a covered work material governed by the terms-of that license document, provided that the further restriction does-not survive such relicensing or conveying.-- If you add terms to a covered work in accord with this section, you-must place, in the relevant source files, a statement of the-additional terms that apply to those files, or a notice indicating-where to find the applicable terms.-- Additional terms, permissive or non-permissive, may be stated in the-form of a separately written license, or stated as exceptions;-the above requirements apply either way.-- 8. Termination.-- You may not propagate or modify a covered work except as expressly-provided under this License. Any attempt otherwise to propagate or-modify it is void, and will automatically terminate your rights under-this License (including any patent licenses granted under the third-paragraph of section 11).-- However, if you cease all violation of this License, then your-license from a particular copyright holder is reinstated (a)-provisionally, unless and until the copyright holder explicitly and-finally terminates your license, and (b) permanently, if the copyright-holder fails to notify you of the violation by some reasonable means-prior to 60 days after the cessation.-- Moreover, your license from a particular copyright holder is-reinstated permanently if the copyright holder notifies you of the-violation by some reasonable means, this is the first time you have-received notice of violation of this License (for any work) from that-copyright holder, and you cure the violation prior to 30 days after-your receipt of the notice.-- Termination of your rights under this section does not terminate the-licenses of parties who have received copies or rights from you under-this License. If your rights have been terminated and not permanently-reinstated, you do not qualify to receive new licenses for the same-material under section 10.-- 9. Acceptance Not Required for Having Copies.-- You are not required to accept this License in order to receive or-run a copy of the Program. Ancillary propagation of a covered work-occurring solely as a consequence of using peer-to-peer transmission-to receive a copy likewise does not require acceptance. However,-nothing other than this License grants you permission to propagate or-modify any covered work. These actions infringe copyright if you do-not accept this License. Therefore, by modifying or propagating a-covered work, you indicate your acceptance of this License to do so.-- 10. Automatic Licensing of Downstream Recipients.-- Each time you convey a covered work, the recipient automatically-receives a license from the original licensors, to run, modify and-propagate that work, subject to this License. You are not responsible-for enforcing compliance by third parties with this License.-- An "entity transaction" is a transaction transferring control of an-organization, or substantially all assets of one, or subdividing an-organization, or merging organizations. If propagation of a covered-work results from an entity transaction, each party to that-transaction who receives a copy of the work also receives whatever-licenses to the work the party's predecessor in interest had or could-give under the previous paragraph, plus a right to possession of the-Corresponding Source of the work from the predecessor in interest, if-the predecessor has it or can get it with reasonable efforts.-- You may not impose any further restrictions on the exercise of the-rights granted or affirmed under this License. For example, you may-not impose a license fee, royalty, or other charge for exercise of-rights granted under this License, and you may not initiate litigation-(including a cross-claim or counterclaim in a lawsuit) alleging that-any patent claim is infringed by making, using, selling, offering for-sale, or importing the Program or any portion of it.-- 11. Patents.-- A "contributor" is a copyright holder who authorizes use under this-License of the Program or a work on which the Program is based. The-work thus licensed is called the contributor's "contributor version".-- A contributor's "essential patent claims" are all patent claims-owned or controlled by the contributor, whether already acquired or-hereafter acquired, that would be infringed by some manner, permitted-by this License, of making, using, or selling its contributor version,-but do not include claims that would be infringed only as a-consequence of further modification of the contributor version. For-purposes of this definition, "control" includes the right to grant-patent sublicenses in a manner consistent with the requirements of-this License.-- Each contributor grants you a non-exclusive, worldwide, royalty-free-patent license under the contributor's essential patent claims, to-make, use, sell, offer for sale, import and otherwise run, modify and-propagate the contents of its contributor version.-- In the following three paragraphs, a "patent license" is any express-agreement or commitment, however denominated, not to enforce a patent-(such as an express permission to practice a patent or covenant not to-sue for patent infringement). To "grant" such a patent license to a-party means to make such an agreement or commitment not to enforce a-patent against the party.-- If you convey a covered work, knowingly relying on a patent license,-and the Corresponding Source of the work is not available for anyone-to copy, free of charge and under the terms of this License, through a-publicly available network server or other readily accessible means,-then you must either (1) cause the Corresponding Source to be so-available, or (2) arrange to deprive yourself of the benefit of the-patent license for this particular work, or (3) arrange, in a manner-consistent with the requirements of this License, to extend the patent-license to downstream recipients. "Knowingly relying" means you have-actual knowledge that, but for the patent license, your conveying the-covered work in a country, or your recipient's use of the covered work-in a country, would infringe one or more identifiable patents in that-country that you have reason to believe are valid.-- If, pursuant to or in connection with a single transaction or-arrangement, you convey, or propagate by procuring conveyance of, a-covered work, and grant a patent license to some of the parties-receiving the covered work authorizing them to use, propagate, modify-or convey a specific copy of the covered work, then the patent license-you grant is automatically extended to all recipients of the covered-work and works based on it.-- A patent license is "discriminatory" if it does not include within-the scope of its coverage, prohibits the exercise of, or is-conditioned on the non-exercise of one or more of the rights that are-specifically granted under this License. You may not convey a covered-work if you are a party to an arrangement with a third party that is-in the business of distributing software, under which you make payment-to the third party based on the extent of your activity of conveying-the work, and under which the third party grants, to any of the-parties who would receive the covered work from you, a discriminatory-patent license (a) in connection with copies of the covered work-conveyed by you (or copies made from those copies), or (b) primarily-for and in connection with specific products or compilations that-contain the covered work, unless you entered into that arrangement,-or that patent license was granted, prior to 28 March 2007.-- Nothing in this License shall be construed as excluding or limiting-any implied license or other defenses to infringement that may-otherwise be available to you under applicable patent law.-- 12. No Surrender of Others' Freedom.-- If conditions are imposed on you (whether by court order, agreement or-otherwise) that contradict the conditions of this License, they do not-excuse you from the conditions of this License. If you cannot convey a-covered work so as to satisfy simultaneously your obligations under this-License and any other pertinent obligations, then as a consequence you may-not convey it at all. For example, if you agree to terms that obligate you-to collect a royalty for further conveying from those to whom you convey-the Program, the only way you could satisfy both those terms and this-License would be to refrain entirely from conveying the Program.-- 13. Use with the GNU Affero General Public License.-- Notwithstanding any other provision of this License, you have-permission to link or combine any covered work with a work licensed-under version 3 of the GNU Affero General Public License into a single-combined work, and to convey the resulting work. The terms of this-License will continue to apply to the part which is the covered work,-but the special requirements of the GNU Affero General Public License,-section 13, concerning interaction through a network will apply to the-combination as such.-- 14. Revised Versions of this License.-- The Free Software Foundation may publish revised and/or new versions of-the GNU General Public License from time to time. Such new versions will-be similar in spirit to the present version, but may differ in detail to-address new problems or concerns.-- Each version is given a distinguishing version number. If the-Program specifies that a certain numbered version of the GNU General-Public License "or any later version" applies to it, you have the-option of following the terms and conditions either of that numbered-version or of any later version published by the Free Software-Foundation. If the Program does not specify a version number of the-GNU General Public License, you may choose any version ever published-by the Free Software Foundation.-- If the Program specifies that a proxy can decide which future-versions of the GNU General Public License can be used, that proxy's-public statement of acceptance of a version permanently authorizes you-to choose that version for the Program.-- Later license versions may give you additional or different-permissions. However, no additional obligations are imposed on any-author or copyright holder as a result of your choosing to follow a-later version.-- 15. Disclaimer of Warranty.-- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.-- 16. Limitation of Liability.-- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF-SUCH DAMAGES.-- 17. Interpretation of Sections 15 and 16.-- If the disclaimer of warranty and limitation of liability provided-above cannot be given local legal effect according to their terms,-reviewing courts shall apply local law that most closely approximates-an absolute waiver of all civil liability in connection with the-Program, unless a warranty or assumption of liability accompanies a-copy of the Program in return for a fee.-- END OF TERMS AND CONDITIONS-- How to Apply These Terms to Your New Programs-- If you develop a new program, and you want it to be of the greatest-possible use to the public, the best way to achieve this is to make it-free software which everyone can redistribute and change under these terms.-- To do so, attach the following notices to the program. It is safest-to attach them to the start of each source file to most effectively-state the exclusion of warranty; and each file should have at least-the "copyright" line and a pointer to where the full notice is found.-- <one line to give the program's name and a brief idea of what it does.>- Copyright (C) <year> <name of author>-- This program is free software: you can redistribute it and/or modify- it under the terms of the GNU General Public License as published by- the Free Software Foundation, either version 3 of the License, or- (at your option) any later version.-- This program is distributed in the hope that it will be useful,- but WITHOUT ANY WARRANTY; without even the implied warranty of- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the- GNU General Public License for more details.-- You should have received a copy of the GNU General Public License- along with this program. If not, see <http://www.gnu.org/licenses/>.--Also add information on how to contact you by electronic and paper mail.-- If the program does terminal interaction, make it output a short-notice like this when it starts in an interactive mode:-- <program> Copyright (C) <year> <name of author>- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.- This is free software, and you are welcome to redistribute it- under certain conditions; type `show c' for details.--The hypothetical commands `show w' and `show c' should show the appropriate-parts of the General Public License. Of course, your program's commands-might be different; for a GUI interface, you would use an "about box".-- You should also get your employer (if you work as a programmer) or school,-if any, to sign a "copyright disclaimer" for the program, if necessary.-For more information on this, and how to apply and follow the GNU GPL, see-<http://www.gnu.org/licenses/>.-- The GNU General Public License does not permit incorporating your program-into proprietary programs. If your program is a subroutine library, you-may consider it more useful to permit linking proprietary applications with-the library. If this is what you want to do, use the GNU Lesser General-Public License instead of this License. But first, please read-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
highlight/ChangeLog
@@ -1,1824 +0,0 @@-CHANGELOG Highlight---highlight 3.36--xx.03.2017---fixed code folding plugin to support more Ruby conditional modifiers (thanks to Jens Schleusener)--fixed Perl quoted string highlighting (thanks to Jens Schleusener)--added new GeneratorOverride syntax definition parameter--added Filenames parameter in filetypes.conf to assign input filenames to syntax types- (suggested by Andy)--added FASM definition and edit-fasm theme (thanks to Tristano Ajmone)--added outhtml_ie7_webctrl plug-in (suggested by Tristano Ajmone)--GUI: file extensions can be configured for multiple languages, triggers syntax selection prompt------highlight 3.35--28.02.2017---fixed code folding plugin to support Ruby conditional modifiers--fixed JSON definition (thanks to Timothee Cour)--fixed output of unknown syntax warning with applied force switch (thanks to Andy)--added state trace parameter to Decorate plug-in function --added GDScript definition and edit-godot theme (thanks to Tristano Ajmone)--updated SWIG code samples--updated Artistic Style lib (SVN Rev. 553)--revised docs--CLI: fixed creation of hidden files if output filename is prepended by its input path--CLI: added switch --stdout (https://sourceforge.net/p/syntaxhighlight/bugs/14/)------highlight 3.34--27.12.2016---fixed segfault with --skip applied on a single file input list (thanks to Jens Schleusener)--added support for Python 3.6 syntax--added Github and Sourceforge themes------highlight 3.33--02.11.2016---fixed highlighting of nested section delimiters--fixed PHP definition (thanks to Christoph Burschka)--fixed font family declaration in SVG--fixed user defined encoding in ODT--fixed unnecessary output of style file with --inline-css (thanks to Jens Schleusener)--added vimscript language definition (thanks to Max Christian Pohle)--added Coffeescript language definition (thanks to Jess Austin)--added PureBasic definition and theme (thanks to Tristano Ajmone)--added JSX language definition (suggested by Max Stoiber)--added PO translation definition--added plug-in outhtml_add_figure.lua--updated js definition--updated Artistic Style lib (SVN Rev. 521)--improved various color themes and syntax definitions------highlight 3.32--24.09.2016---added support for true color escape codes (--out-format truecolor)--fixed xterm256 output for paging with less (thanks to Fylwind)--fixed operator regex in rnc.lang, crk.lang and yaml.lang (thanks to Joe Klauza)--added Pony and Whiley definitions--updated Ceylon, Julia and TypeScript definitions--added Go, AutoHotKey, TypeScript and R to the foldable list in the - outhtml_codefold.lua plug-in--removed plugins/bash_ref_linuxmanpages_com.lua--GUI: fixed README, ChangeLog and License file paths on Linux------highlight 3.31--01.08.2016---revised documentation--GUI: fixed minor layout issues------highlight 3.30--30.06.2016---the data directory can be defined with the HIGHLIGHT_DATADIR environment variable--fixed RTF output of UTF-8 input; needs input encoding set to utf-8 - (thanks to Kamigishi Rei)--fixed XML comment recognition (thanks to Mani)--data search directories were appended to the result of --list-scripts--revised older syntax definitions--updated base URLs of bash_ref_linuxmanpages and cpp_ref_qtproject plug-ins--GUI: added system copy and paste shortcuts for clipboard functions - (suggested by Kamigishi Rei)------highlight 3.29--24.05.2016---added Ansible Yaml definition (thanks to Raphael Droz)--added Chapel definition (thanks to Lydia Duncan)--fixed gcc 6 warnings about deprecated auto_ptr usage--src/makefile: added -std=c++11 because of auto_ptr to unique_ptr transition- (thanks to Jens Schleusener)--GUI: fixed style file output if "write to source directory" option is- checked (thanks to Jim Pattee)------highlight 3.28--15.02.2016---added support of Pascal, Lua, Ruby and C# regions in outhtml_codefold.lua--improved outhtml_codefold.lua to handle embedded languages--added string delimiters in the Ruby definition--added new AssertEqualLength flag in string section of language definitions--improved heredoc parsing--fixed Lua multiline string recognition--improved SVG whitespace output (patch by Paul de Vrieze)--added Nim and mIRC Scripting definitions------highlight 3.27--19.01.2016---improved outhtml_codefold.lua to ignore brackets on the same line--added RTF output to mark_lines.lua --fixed Powershell and NSIS definitions--added JSON and Github Markdown definitions--CLI: added --keep-injections option to force plugin injection output with -f--GUI: added keep injections checkbox--GUI: fixed crash after removing selected plugins------highlight 3.26--13.01.2016---added HL_REJECT state to be used in a OnStateChange function--added DecorateLineBegin and DecorateLineEnd hooks--added mark_lines.lua, outhtml_codefold.lua, comment_links.lua plug-ins--fixed font face in ODT output--fixed Operators parameter in frink.lang and oorexx.lang--fixed regular expression parsing within strings for JS, Perl and Ruby--CLI: added --page-color option to include a page color in RTF output--GUI: added RTF page color checkbox------highlight 3.25--18.12.2015---added new SVG definition to support embedded scripting--improved js.lang, css.lang, scss.lang, less.lang, tsql.lang--modified HTML ordered list output to work better with new plug-ins--renamed plug-in variable HL_INPUT_FILE to HL_PLUGIN_PARAM--CLI: renamed --plug-in-read option to --plug-in-param--GUI: updated plug-in parameter label and tool-tips--GUI: fixed minor issues------highlight 3.24--02.11.2015---fixed TeX output for cweb documents (patch by Ingo Krabbe)--fixed string interpolation in bat.lang--added reduce_filesize.lua, outhtml_add_shadow.lua, - outhtml_add_background_svg.lua, outhtml_add_background_stripes.lua, - outhtml_add_line.lua plug-ins --added TCL extension in examples/tcl--added kotlin.lang, nginx.lang and julia.lang--updated php.lang to include version 7 keywords --updated ceylon.lang to include version 1.2 keywords --updated scripts in examples directory--CLI: style-infile option marked as deprecated--GUI: shortened paths in file input lists------highlight 3.23--16.07.2015---added rs.lang--added conf.lang (thanks to Victor Ananjevsky)--added some extensions in filetypes.conf (patch by Victor Ananjevsky)--fixed Matlab definition and style (thanks to Justin Pearson)--CLI: fixed --list-scripts with unknown argument (thanks to Jens Schleusener)------highlight 3.22--17.02.2015---updated astyle code to release 2.05.1--fixed shebang recognition (thanks to Victor Ananjevsky)--GUI: added option to define line numbering start------highlight 3.21--02.02.2015---added support for LESS, SASS and Stylus CSS processors (suggested by Marcel Bischoff)--added support for Lua 5.3, removed LUA52 makefile option--fixed heredoc matching in perl.lang (thanks to cornucopia)--fixed Haskell lang (thanks to Daan Michiels)--fixed RNC lang (thanks to Daan Michiels)--fixed regex pattern in js.lang------highlight 3.20--28.11.2014---updated astyle code to release 2.05--added astyle reformatting style vtk------highlight 3.19--05.09.2014---added bold, italic and underline attributes to xterm256 ANSI output- (patch by Andrew Fuller)--fixed assembler mapping in filetypes.conf (thanks to Jens Schleusener)--added Swift definition--improved ASP, F#, OCaml and Lisp syntax definitions--added interpolation patterns to several definitions--updated base URLs in cpp_ref_gtk_gnome and cpp_ref_qtproject plug-ins--CLI: added Pango markup output option (patch by Dominik Schmidt)------highlight 3.18--28.03.2014---filenames without extension (ie. makefile) can be mapped in filetypes.conf- (suggested by Sam Craig)--fixed Rexx highlighting--added GDB language definition (thanks to A. Aniruddha)--added the.theme (thanks to Mark Hessling)------highlight 3.17--06.01.2014---updated astyle code to release 2.04--added astyle reformatting styles google, pico and lisp--improved raw string parsing in cs.lang (patch by smdn.jp)--added regex recognition in js.lang (patch by Troy Sankey)--added PDF language definition (thanks to Roland Hieber)------highlight 3.16.1--01.11.2013---fixed debug output in sh.lang (https://sourceforge.net/p/syntaxhighlight/bugs/9/)------highlight 3.16--30.09.2013---updated astyle code to release 2.03--added heredoc string literal parsing for Lisp, Perl, PHP, Ruby and Bash--revised several language definitions--added DataDir::searchDataDir for the Perl SWIG bindings (thanks to David Bremner)--added SWIG PHP binding (patch by G. Wijaya)------highlight 3.15--27.06.2013---updated Diluculum code to release 1.0 (support of Lua 5.2)--patched Diluculum to support Lua 5.1 and 5.2--added support for Yang (thanks to A. Aniruddha)--fixed Ruby definition------highlight 3.14--31.04.2013---added HeaderInjection and FooterInjection variables for syntax plug-ins--fixed handling of CRLF files on Linux (suggested by William Bell)--replaced single data directory by a dynamic config file search; see README- (suggested by Daniel)--added plug-ins outhtml_parantheses_matcher.lua, outhtml_keyword_matcher.lua--CLI: added --list-scripts option--CLI: marked --data-dir, --list-langs, --list-themes options as deprecated--CLI: removed --add-config-dir option------highlight 3.13--05.02.2013---added support for Crack (thanks to Conrad Steenberg)--added XML shebang regex (thanks to Ferry Huberts)--added hints to makefile to deal with Lua 5.1 and LuaJIT system libs--updated cpp_ref_gtk_gnome.lua plug-in--updated cpp_ref_cplusplus_com.lua plug-in--CLI: fixed segfault if --force was applied and unknown files were parsed- (thanks to Jussi Judin)--GUI: fixed unselected theme after first program start------highlight 3.12--05.10.2012---CSS class name is omitted in HTML output if class-name option is set to NONE--added support for highlighting of string interpolation--added support for Dart and TypeScript--fixed SWIG module--GUI: added Simplified Chinese translation (thanks to Love NoAny)------highlight 3.11 beta--21.08.2012---replaced Pattern/Matcher classes by the Boost xpressive library- (now swig example is broken)--updated Relax NG syntax (thanks to Roger Sperberg)--added new oxygenated theme (thanks to Roger Sperberg)--fixed highlight.pro to include correct lua5.1 paths--GUI: fixed shebang recognition------highlight 3.10 beta--21.07.2012---fixed HTML ordered lists to improve copy&paste in browsers (suggested by Nash)--changed default output from HTML 4.01 to HTML5--changed default HTML font family to include the generic monospace font--added ODT Flat XML output format (--out-format=odt)--added fontenc package in LaTeX output (patch by Yimin Li)--fixed RTF hyperlink output in several plug-ins--removed ctags option (functionality was replaced by plug-in)--CLI: added --wrap-no-numbers option (patch by Michael Enßlin)--GUI: replaced Qt file dialogs by native dialogs------highlight 3.9--01.05.2012---enhanced the plug-in interface (added Decorator function and Injections property)--added several example plug-ins which show how to add keyword links to online- references (e.g. cplusplus.com, perldoc.perl.org, qtproject_org)--added ctags plugin (ctags_html_tooltips.lua)--improved Perl and N3 definitions (thanks to Heiko Jansen)--CLI: marked --ctags-file option as deprecated--CLI: added --plug-in-read option to define an input file for plug-ins--CLI: fixed file suffix recognition--GUI: added input field for a plug-in input file--GUI: fixed initial input tab selection--GUI: set initial font selection to Courier------highlight 3.8--24.02.2012---updated astyle code to release 2.02.1--fixed SWIG perl binding makefile (patch by David Bremner)--fixed shebang recognition (patch by Georgios M. Zarkadas)--fixed file suffix recognition (patch by Georgios M. Zarkadas)--fixed memory leak in astyle's ASFormatter (patch by MENG Wei)------highlight 3.7--03.01.2012---added support for Biferno (thanks to Sandro Bilbeisi)--added support for RPL (thanks to Frank Seidinger)--added support for Ceylon--fixed Ruby definition--HTML font string may contain a list of fonts, which is not enclosed in quotes- (suggested by Sebastiano Poggi)--GUI: added --portable command line option to save config files in the current- working directory instead of the user directory (suggested by Royi Avital)--GUI: fixed some language mappings------highlight 3.6--05.10.2011---added support for UPC (thanks to Viraj Sinha)--added support for N3, N-Triples, Turtle, SPARQL (suggested by Heiko Jansen)--added Solarized color theme (thanks to Steve Huff)--fixed OCaml definition (thanks to Kakadu Hafanana)--fixed camo colour theme--removed sienna and desertEx colour themes--CLI: fixed segfault with --print-style option--GUI: added "Dock floating panels" checkbox in the main menu------highlight 3.5--02.06.2011---updated astyle code to release 2.02--fixed --force option (thanks to Stefan Bühler)------highlight 3.4--31.03.2011---added support for ABC, Algol, AS/400 CL, BCPL, Limbo, Gambas, JavaFX,- RPG, Transact-SQL, PL/Perl, PL/Tcl, PL/Python, Charmm--fixed web plugins (Serendipity, DokuWiki, Wordpress)--fixed BBCode closing tag order--GUI: Updated Czech translation (thanks to Pavel Fric)------highlight 3.3--28.12.2010---updated astyle code to release 2.01--fixed overwriting of files with the same name in recursive batch mode- (thanks to Ramanathan U.)--added DataDir class to SWIG interface (patch by David Bremner)--added Andes theme (thanks to Roger Sperberg)--enabled deprecated @highlight pass-through (suggested by David Bremner)--dropped oceandeep theme--updated documentation------highlight 3.2--08.11.2010---added plug-in function AddKeyword (suggested by Michael Serrano)--language definitions are cached instead of being reloaded if input syntax- changes--added keyword group ID parameter to the plug-in function OnStateChange--added plug-in script bash_functions.lua--added theme description in output style's comment--added enum and union keywords in c.lang (thanks to Thiago)--added dl linking flag in Makefile to fix Debian build error- (thanks to Michael Serrano)--added NDEBUG flag in makefile to disable asserts--GUI: Added Czech translation (thanks to Pavel Fric)------highlight 3.1--24.08.2010---updated Diluculum to version 0.5.3--fixed README--fixed conversion without highlighting (--syntax txt)--fixed msxml definition (thanks to Andrei Rosca)--added edit-flashdevelop theme (thanks to Andrei Rosca)--CLI: fixed minor bugs------highlight 3.1 beta3--12.08.2010---added --config-file option--CLI: fixed minor bugs--GUI: renamed output specific options tab--GUI: remember state of the dock panel------highlight 3.1 beta2--08.07.2010---moved plugin scripts from examples to new plugins directory--fixed web_plugin path in makefile (thanks to Jochen Schmitt)--fixed SWIG interface and example scripts--improved converted VIM colour themes--improved several language definitions (Fortran77, Zonnon,- Basic, Verilog, Squirrel, R)--added new plugins (java_library.lua, theme_invert.lua)--GUI: added plug-in description label--GUI: moved setting controls into a dock panel------highlight 3.1 beta1--21.06.2010---enabled loading of multiple plugins--added MXML language definition (suggested by Neal Delfeld)--fixed HTML, XML, CSS, Actionscript and JavaScript definitions--converted 60 popular VIM colour themes------highlight 3.0 beta--03.06.2010---language definitions, themes, filetypes.conf were converted to Lua scripts- (try examples/*2to3.py to convert old files)--added --plug-in option to enable user scripts--renamed *.style files to *.theme--moved include files from src/core to src/include--moved examples/plugins to examples/web_plugins--renamed --linenumbers to --line-numbers--renamed several language definitions and themes--fixed several string delimiter issues (Ruby, Lua)--changed default theme for xterm256 output to edit-vim-dark--changed short options: -O is --out-format, -d is --out-dir, -T is --doc-title--disabled --mark-line feature--disabled --add-data-dir feature--disabled separate output format options (use --out-format instead)--disabled XML output (use SVG or XHTML)--New dependencies: Lua5.1-devel, Boost Headers (Bind)------highlight 2.16--29-03-2010---updated astyle code to release 1.24--added indentation styles 1tbs and horstmann--added --no-trailing-nl switch (suggested by Adiel Mittmann)--added Modula2 definition (thanks to Benjamin Kowarsch)--added EBNF definition (thanks to Mate Ory)--added ABNF, AutoHotKey, BBCode and Clean language definitions--updated C++ definition to support C++0x syntax--added StartupNotify switch in desktop file (patch by Jochen Schmitt)------highlight 2.15--25-02-2010---improved HTML nested language patterns (thanks to Simone)--improved Rexx and PL1 definitions (thanks to Robert Prins)--added support for NXC and NBC--GUI: added copy and paste support (thanks to Torsten Flammiger)--GUI: fixed preview of UTF-8 input------highlight 2.14--04-01-2010---fixed Rexx output (thanks to Marc Hessling)--added support for Go and Pure--added support for BNF (thanks to Julien Fontanet)--updated Logtalk definition (thanks to Paulo Moura)--updated THE theme (thanks to Marc Hessling)--CLI: --quiet switch supresses "Unknown source file extension" error- (suggested by Nathan Gray)------highlight 2.13--02-10-2009---fixed SVG output (thanks to Xico)--GUI: added new icon------highlight 2.12--07-09-2009---fixed bug with $INCLUDE statement--fixed ctags file parsing--added nested language recognition within a source file (suggested by Pavel Striz)--added $NESTED statement to language definitions (pas, html, tex)--added support for F# (fs.lang)--added support for haXe (hx.lang)--improved various language definitions--revised documentation--LIB: added version to shared lib output name--CLI: added options --start-nested and --print-style------highlight 2.11--23-07-2009---added BBCode output option (--bbcode, suggested by Qui Peccavit)--added new --delim-cr option to cope with MacOS 9 files- (suggested by Steven Haddock)--added shared lib target (make lib-shared, suggested by Dario Teixeira)--list of installed languages (--list-langs) was enhanced to include mapped file- extensions (suggested by Martin Kammerlander)--improved many colour themes using Agave (agave.sf.net)------highlight 2.10--24-06-2009---fixed CR parsing bug on MacOS (thanks to Shiro Wilde)--fixed SWIG makefile (thanks to David Bremner)--license changed from GPLv2 to GPLv3 (incl. included libs)--updated Artistic Style lib to version 1.23--new indentation schemes: stroustrup, whitesmith, banner--removed indentSchemes and helpmsg directories--removed README_INDENT--replaced ide-devcpp theme by a new jedit theme--added support for Interactive Data Language (idlang, thanks to Roberto- Mendoza)--added support for Rebol, Oz, Mercury, Zonnon, ATS (Applied Type System),- CHILL, NetRexx, Inno Setup and INTERLIS--added pp, rjs, jnlp, groovy, gnad, es, sblc, ooc, gst, sq extensions- to filetypes.conf--improved Prolog, Pike, Oberon, Nice, Java, Lisp, Lua, Haskell, C# and SML- definitions--improved spec.lang for RPM (thanks to Luoyi Ly)--CLI: option --help-lang is deprecated--API: dropped setSpecialOptions(), renamed initializing methods to init*------highlight 2.9--30-April-2009---added more customized boxes for the LaTeX --pretty-symbols switch- (thanks to Romain Francois)--GUI: fixed makefile to pass costum paths to the Qt project makefile- (thanks to Joerg Germeroth)--GUI: reduced window height (thanks to Fidel Barrera)--GUI: added Spanish translation (thanks to Fidel Barrera)--GUI: added drag and drop for input files------highlight 2.8--30-March-2009---added --pretty-symbols option to improve LaTeX output quality of tilde and- braces (thanks to Romain Francois)--omitted warning message if --syntax parameter is contained in the --skip list- (thanks to Bob Smith)--included language descriptions in --list-langs output--dropped dependency of --replace-quotes and --fragment options--enhanced Python SWIG example (testmod.py)--added qmake language definition--fixed SWIG scripts (thanks to David Bremner)--fixed gcc 4.4 compilation (patch by Jochen Schmitt)--dropped core/html32generator.*--dropped src/gui (wxWidgets based interface)--GUI: rewrote the user interface using Qt------highlight 2.7--12-January-2009---changed versioning scheme to major.minor--fixed infinite loop in the W32 build when outputting LaTeX/TeX as UTF-8- (thanks to Christophe Bal)--fixed VHDL and Scilab definitions (thanks to Frederik Teichert)--fixed XML definition (thanks to Edin)--fixed -r switch (thanks to Frederik Teichert)--fixed default number recognition regex--added Clojure language definition (thanks to Pierre Larochelle)--added wrapping arrow in LaTeX/HTML output if --wrap/--wrap-simple is set- (suggested by Frederik Teichert)--updated ide-msvcpp.style to match current Visual Studio appearance- (suggested by Pieter Kruger)--added make targets "lib" and "cli"--organized sources in subdirectories (core, cli, gui) and adjusted makefiles------highlight 2.6-14--21-October-2008---added --ctags-file option to add tooltips with meta information in HTML output--added options to improve compatibility with GNU source-highlight:- --doc, --no-doc, --tab, --css, --output-dir, --failsafe, --out-format,- --src-lang, --line-number, --line-number-ref--fixed ADA95, C#, Eiffel, Fortran, TCL, Bash definitions--added Vala language definition--added several file suffixes to filetypes.conf--fixed gcc 4.3 compilation issues (patch by Detlef Reichelt)--fixed race condition in makefile (patch by Jochen Schmitt)--added exit condition if input path matches output path- (suggested by James Haefner)--GUI: added ctags file selection options (only wx2.9 version)------highlight 2.6-13--29-September-2008---added --skip option to ignore unknown file types (suggested by Bob Smith)--added Haskell LHS language definition (suggested by Sebastian Roeder)--added regex description for Perl and Ruby definitions--improved Bison, Paradox, SML, Snobol, Verilog definitions--renamed snobol.lang to sno.lang--updated Artistic Style lib to version 1.22--replaced dirstream lib by a faster file globbing method- (invoked with --batch-recursive)--support for USE_FN_MATCH compile flag was dropped--Makefile generates libhighlight.a (suggested by Adiel Mittmann)--Updated SWIG makefile and documentation------highlight 2.6-12--04-August-2008---added RTF character stylesheet option (suggested by Klaus Nordby)--fixed filetypes.conf path in RPM specfile (thanks to Nikita Borodikhin)------highlight 2.6-11--09-July-2008---added SVG output option (--svg)--reassigned -G short option from --class-name to --svg--fixed various makefile issues (patches by Samuli Suominen)--added highlight.desktop file (suggested by Samuli Suominen)--GUI: added SVG and font selection options (only wx2.9 version)--GUI: reduced window height by hiding format specific input controls--updated highlight.spec to compile wx2.9 GUI------highlight 2.6-10--07-May-2008---fixed XHTML output (thanks to Allen McPherson)--added Logtalk definition (thanks to Paulo Moura)--added support for Eiffel ecf project files (thanks to Jérémie Blaser)--various code improvements (patch by Antonio Diaz Diaz)------highlight 2.6-9--26-March-2008---fixed --validate-input option with input from stdin--fixed missing DESTDIR prefix in makefile (thanks to Bob Smith)--fixed handling of several keyword regexes using the same group name--added support for Lilypond--added support for Arc (thanks to Pierre Larochelle)--added support for embedded output instructions (see README)--added examples/highlight_pipe.* (PHP, Perl and Python interface scripts)--replaced getopt_long by argparser class--language definition parameters $kw_list and $kw_re are merged to $keywords--GUI: fixed preview of UTF-8 files (thanks to Victor Woo)--GUI: added all-gui-wx29 target in Makefile to compile with wxWidgets 2.9------highlight 2.6-8--01-February-2008---fixed highlighting issue with nested comments, if delimiters are distinct--fixed XML and CSS highlighting--fixed C escape sequence parsing of octal and hex sequences--language definition tag tag_delim was dropped--outdated file README_ES was dropped--gcc4.3 compilation support was added (patch by Jochen Schmitt)--font-family parameter is enclosed in apostrophes in HTML output--added --kw-case=capitalize option--added --enclose-pre option--added file README_LANGLIST--improved several language definitions--GUI: decreased window height--GUI: preview window is scrolled to last view position after a content update--GUI: windows saves and restores previous position and size------highlight 2.6-7--04-January-2008---support for RTF background colour was added--regex() in language definitions expression allows optional definition of- capturing group number--added --add-config-dir option to define config search path- (suggested by Nathaniel Gray)--allowed invocation of makefile with CFLAGS and LDFLAGS as parameters- (patch by Nathaniel Gray)--fixed OCaml definition (thanks to Nathaniel Gray)--fixed AutoIt definition--added case insensitive file suffix matching (thanks to Stefan Boumans)--GUI: added RTF mimetype to clipboard data (thanks to Stefan Boumans)--GUI: fixed preview update after tab width change (thanks to Stefan Boumans)------highlight 2.6-6--10-December-2007---added Smalltalk definition and moe theme (thanks to Joerg Walter)--added support for diff and patch files--GUI: added clipboard button (suggested by Klaus Schueller and Stefan Boumans)--fixed Matlab definition (thanks to Andreas Boehler)--fixed print.style (thanks to Albert Neu)--fixed output of lines with CR/LF (bug of 2.6.5)--fixed php and css definitions--updated ActionScript definition (thanks to Samuel Toulouse)--updated sql definition (thanks to Stefan Boumans)--dropped dull theme------highlight 2.6-5--02-October-2007---fixed compilation warning on 64 Bit OS (thanks to Uwe Sassenberg)--allowed embedded comments in Pascal definition (thanks to Helmut Giritzer)--fixed memory leak--improved performance--added serendipity plugin in examples/plugins--added support for diff (and patch) files (suggested by Dan Christensen)--adjusted SWIG makefiles and sample scripts--improved definitions of Bash, Ruby, Maya, Tcl, Agda and Haskell------highlight 2.6-4--13-September-2007---fixed TeX and LaTeX output (space after strings were omitted,- thanks to Andre Schade)--fixed Perl language definition (thanks to Jens Kadenbach)--fixed gui.cpp compilation with wxWigets unicode build (thanks to Dennis Veatch)--updated R language definition (thanks to Yihui Xie)------highlight 2.6-3--06-September-2007---added --inline-css option to output CSS within each tag element--renamed previewgenerator.* files to html32generator.*--GUI: changed GUI configuration format (using wx config classes)--GUI: added inline CSS option--binaries are no longer stripped by default (src/makefile)--added notes to makefiles and INSTALL concerning static linking- (thanks to Ken Poole)--improved MacOS X compatibility (thanks to Benjamin Kowarsch)--added ide-xcode theme (thanks to Benjamin Kowarsch)--README files were updated--updated plugin scripts to use the new --inline-css option------highlight 2.6-2--19-July-2007---dropped deprecated option --format-style--added --html option for plausibility (HTML output is still default)--reassigned -H option to --html--added option --kw-case to output keywords in upper case or lower case if- the language is not case sensitive--added option --mark-line to highlight several code lines in HTML output--added mark-line parameter to colour themes, renamed kw_group parameter- to kw-group--added option --validate-input to test if input file is text (if the input- is considered binary, no parsing takes place)--updated astyle code to release 1.21--improved PHP4 compatibility of the wordpress plugin (thanks to Thomas Keller)--added support for Open Object Rexx (oorexx.lang)--updated documentation------highlight 2.6-1--21-May-2007---support of HTML colour notation in theme files (ie #12aa00)--fixed bad formatting of single line comment and directive substrings after- line wrapping took place (multiline comments may still be screwed up)--enabled "highlight -c stdout" to print style definition to stdout--moved highlight/highlight subdir to highlight/src--removed examples/cgi--added examples/plugins--moved gui file directories ext and i18n to DATADIR/gui_files/--removed themes: berries-light, whatis--added themes: lucretia, orion--fixed SWIG interface files and scripts--fixed makefile and filetypes.conf (thanks to Axel Dyks)--improved ini.lang (thanks to Axel Dyks)--GUI: added Brazilian Portuguese translation (thanks to Yorick)------highlight 2.6-0--05-May-2007---fixed bug with line number count starting at zero by default--modified makefile to support PREFIX and DESTDIR variables (patch by Jeremy Bopp)------highlight 2.5-6 beta--20-April-2007---added new option --class-name (suggested by John Pye)--fixed XML output (thanks to Hilmar Bunjes)--updated README files------highlight 2.5-5 beta--05-April-2007---renamed --line-number-width to --line-number-length--added new option --line-length--fixed compilation error with gcc 4.3 (thanks to Martin Michlmayr)--added script shebang recognition with stdin input (patch by Alan Briolat)--added support for Boo scripting language--fixed translated help texts--added *.p, *.i, *.w as Progress file suffixes (thanks to Mark Reeves)------highlight 2.5-4 beta--07-March-2007---improved display quality of preview font (Courier New)--updated astyle to version 1.20.2------highlight 2.5-3 beta--03-March-2007---fixed bug in GUI preview update--reduced GUI height--added support for Linden script (Second Life)------highlight 2.5-2 beta--28-February-2007---added prefix and prefix_bin variables to makefile (suggested by Thomas Link)--removed LaTeX page dimension directives (suggested by Thomas Link)--improved several color themes--removed berries-dark, added seashell theme------highlight 2.5-1 beta--29-January-2007---fixed GTK GUI language file encoding to UTF 8--improved Ruby language definition--added gui subsection in the RPM specfile------highlight 2.5-0 beta--17-January-2007---added Miranda language definition (thanks to Peter Bartke)--added Powershell (Monad) language definition--fixed ignored conf_dir parameter in makefiles (thanks to Bob Smith)--included source files and additional make rules to compile a wxWidgets GUI- (binary: highlight-gui; make all-gui; needs wxWidgets 2.6+)------highlight 2.4-8--19-October-2006---added xterm 256 color output (-M, --xterm256) (thanks to Wolfgang Frisch)--prints warning if output format ignores the theme background colour--fixed Java and Python language definitions--revised README files------highlight 2.4-7--10-June-2006---fixed segfault in symbol parsing procedure (thanks to Veit Wedtstein)--updated Lua and Lisp definitions--added AutoIt, NSIS, Graphviz and Qore definitions--updated SWIG sample scripts------02-May-2006--highlight 2.4-6---fixed segfault when outputting ANSI (thanks to Philip Jenvey)------20-March-2006--highlight 2.4-5---fixed bug which caused segfault on x86_64 (thanks to Eric Hopper)--fixed wrong enumeration start when outputting text w/o highlighting- (thanks to Russell Yanofsky)--added anchor-prefix option (suggested by Peter Biechele)--added anchor-filename option (suggested by Mazy)--added $description entry to language file format--added D language file--updated regex classes to version 1.05.02------19-February-2006--highlight 2.4-4---added print-config option--added scilab definition (thanks to Gunnar Lindholm)--dropped support for XSL-FO (use XML instead for further processing)--dropped deprecated options (css-infile, css-outfile, include-css)--fixed line numbering (starting at 1, printed if syntax option is txt)- (thanks to Russell Yanofsky)--renamed extensions.conf to filetypes.conf--moved content of scriptre.conf into filetypes.conf--renamed option help-int to help-lang--renamed option format-style to reformat--updated regex classes to version 1.04--code cleanup--updated documentation------30-October-2005--highlight 2.4-3---added RTF page-size option (suggested by David Strip)--fixed bug in RTF output, which prevented italic and bold output- (patch by Jeremy Weinberger)--renamed colour theme parameter KW_CLASS to KW_GROUP------25-September-2005--highlight 2.4-2---added line-number-start switch (suggested by Roie Black)--added babel switch to make output compatible with LaTeX Babel- package (disables Babel shorthands)--fixed ampl.lang (thanks to David Strip)--fixed error message if language definition is unknown--added Nemerle definition (n.lang)--added SAS definition (thanks to Alexandre Detiste)--added TTCN3 definition (thanks to Peter Biechele)--added tcsh.lang (thanks to Igor Furlan)--Unix package: moved *.conf to /etc/highlight/- (suggested by Jochen Schmitt)------23-July-2005--highlight 2.4-1---dropped include-pkg option--added CSS style for list items (--ordered-list)--fixed default number regex--fixed VHDL event recognition--added missing KWD keyword style to several colour themes--added $STRING_UNEQUAL parameter for language definitions--added string CodeGenerator::generateString(const string &)--improved Ruby and Octave highlighting--added SWIG interface in examples/swig--removed examples/python-binding--removed themes: neon2 fluke greyish ide-jbuilder4 ide-jcreator2- ide-synedit neon2 rand02 ron whitenblue website------02-July-2005--highlight 2.3-6 beta---fixed crash in language definition loader--saved helpmsg/cs.help as iso-8859-2--added include-pkg option to define a list of LaTeX packages- which should be included--fixed output of UTF-8 characters (replaced isspace by iswspace)------26-June-2005--highlight 2.3-5 beta---fixed LaTeX and TeX output--added support for UTF-8 LaTeX output (suggested by Sungmin Cho)--dropped automatic conversion of ASCII characters > 127, package- latin1 is included instead------17-June-2005--highlight 2.3-4 beta---added font and fontsize options (submitted by Yves Bailly)--added line-number-width (suggested by Yves Bailly)--code cleanup------16-May-2005--highlight 2.3-3 beta---added kwd keyword class to most of the colour themes--added regular expressions to some language definitions------04-May-2005--highlight 2.3-2 beta---improved number regex--added --ordered-list option (suggested by Dominic Lchinger)--fixed tag parsing (broken in 2.3-1)--updated docs--added Brazilian help text (thanks to Adao Raul)--added Czech help text------23-April-2005--highlight 2.3-1 beta---added support for regular expressions in language definitions------25-March-2005--highlight 2.2-10---added support for PowerPC Assembler (thanks to Juergen Frank)--added support for AppleScript (thanks to Andreas Amann)--added encoding option to set proper output encoding type in XML and- HTML output formats (default encoding: ISO-8895-1)- Note: encoding name has to match input file encoding--style definitions are generated if only --fragment and --style-outpath- options are set--added simple recognition of scripts without file extension- (Bash, Perl, AWK, Python)--added config file scriptre.conf to configure script recognition--moved langDefs/extensions.conf to package base directory--added --force option to generate output if language type is unknown--fixed parsing of escape sequences outside of strings in Perl- (last six points suggested by Andreas Amann)--fixed output of CR line terminators--added classes pre.hl and body.hl in CSS definitions------27-February-2005--highlight 2.2-9---fixed --output option--fixed line number indentation in TeX and LaTeX output--fixed compilation error for Darwin (OSX) (thanks to Plumber)--fixed LaTeX compilation warnings (thanks to Tyranix)--fixed xml default file suffix--closing style tags are no longer printed in the following output line- (suggested by Yves Bailly)--fixed rb.lang (Ruby is case sensitive)--external style definitions and inclusion of user defined styles were- added to LaTeX and TeX output--installation directory configuration is improved in the makefiles- (all suggested by Thomas Link)--new options: style-outfile, style-infile, include-style--deprecated options: css-outfile, css-infile, include-css------20-February-2005--highlight 2.2-8---added XML output (suggested by Matteo Bertini)--added support for MS SQL (thanks to Magnus ?erg)--added support for Pyrex (thanks to Matteo Bertini)--added support for Hecl, Luban and Qu------12-January-2005--highlight 2.2-7---fixed compilation error on AMD64/gcc4.0 (thanks to Andreas Jochens)--fixed tab replacement (thanks to Adrian Bader)--fixed parsing of keywords with special characters as prefix ($ALLOWEDCHARS)- (thanks to Magnus ?erg)--single spaces in (La)TeX are no longer preceeded by backslash------03-December-2004--highlight 2.2-6---fixed compilation error with getopt and Solaris 5.8- (thanks to Philippe Cornu and Jean-Emmanuel Reynaud)--enabled css-infile option when include-css is set--improved IO and Perl language definitions--updated dirstram classes to release 0.4--W32 port: fixed installation path determination------31-October-2004--highlight 2.2-5---fixed some compiler warnings in various Debian builds (thanks to Ayman Negm)--fixed indentation error in LaTeX output and output of "--" in bold font- (thanks to Michael Suess)--added background colour attribute of body element to the CSS output to- improve compability with old browsers (NS Communicator 4.8)- (thanks to Wojciech Stryjewski)--in CSS output, user defined CSS definitions are now included after highlight- style definitions to make modifications easier--highlight returns EXIT_FAILURE after every IO failure--updated Spanish manual and help message (thanks to David Villa)------26-September-2004--highlight 2.2-4---changed ANSI output colours to vim style (suggested by David Villa)--added new acid indentation scheme and acid colour theme- (thanks to Alexandre "AciD" Bonneau)--highlight returns 1 (EXIT_FAILURE) if file operations failed- (suggested by David Villa)--fixed bug in LaTeX output: [ and * characters after a linebreak (\\) caused- latex compilation to stop (thanks to Christian Schilling)--improved error reports------10-September-2004--highlight 2.2-3---applied patch to suppress compiler warnings on several platforms- (thanks to weasel@debian.org)--renamed the /utils directory to /examples, which moved to- /usr/share/doc/highlight/ (suggested by Ayman Negm)--if --output is defined and output format is (X)HTML, the CSS file is stored in- the directory given by --output (suggested by Vicky Brown)--added spanish translations: README_ES and es.help (thanks to David Villa)--added support for SNMPv1 and SNMPv2 files: mib.lang (thanks to Roman Surma)--fixed highlighting of escape sequences in Pascal (thanks to Grzegorz Tworek)--added Pascal multi line comment delimiters: (*, *)--added a third keyword style (kwc) to all themes--added a third keyword group: ada.lang, gawk.lang, c.lang, java.lang, pas.lang--fixed some language definition with old $keyword entries------20-July-2004--highlight 2.2-2---removed $STRINGDELIMITERPAIR parameter--internal changes------11-July-2004--highlight 2.2-1---added content-type (iso-8859-1) to HTML output--added possibility to define custom keyword groups (suggested by Daniel Bonniot)--reformatting and indentation schemes are customizable, config files are located- in /indentSchemes (suggested by Petri Heiramo)--added new output format: ANSI terminal sequences (--ansi)- (suggested by David Villa)- assigned -A to --ansi, -g to --fop-compatible--added $SL-COMMENT parameter to colour themes (enables seperate highlighting- of single and multi line comments)--added option to fill linenumbers with zeroes--improved quality of colour themes--changed names of following command line options:- deletetabs -> replace-tabs- listthemes -> list-themes- listlangs -> list-langs- includecss -> include-css- printindex -> print-index--dropped support for C# member attributes (was a nasty workaround)--dropped support for Forth--removed unnecessary --batch (-b) option--removed utils/cgi/perl/README_CGI--fixed raw string highlighting bug: r"""\n""" in Python is parsed correctly--fixed some old parameters in language definitions--added source directory names to generated index file (-C)------20-June-2004--highlight 2.0-25---fixed quote replacement in LaTeX (\dq -> \dq{}) (thanks to Adrian Bader)--fixed crash if $HOME is not defined (thanks to Kostas Maistelis)--added compile flag CONFIG_FILE_PATH to define a custom path to the config file--added local copy of getopt, which is compiled if the system does not provide it- (removed win32cmdline.*)--fixed VHDL event parsing--removed some poor quality colour themes and improved some others--added ide-eclipse style------10-June-2004--highlight 2.0-24---improved VHDL support (thanks to Aaron D. Marasco)--added Coldfusion MX definition (thanks to Paul Connell)--added $REFORMATTING option to language definitions--added a Python binding in utils/python-binding--some code clean up------16-May-2004--highlight 2.0-23---fixed ABAP definition (thanks to Kevin Barter)--fixed Python definition--fixed parsing of methods applied to numerical literals (possible in Ruby)--fixed indentation of line numbers in LaTeX (thanks to Michael Berndt)--reduced LaTeX output file size--improved layout of LaTeX document--applied some patches to Artistic Style code (see astyle.sourceforge.net)--added updated phpwiki-plugin utils/cgi/php/SyntaxHighlighter.php- (thanks to Reini Urban)------19-April-2004--highlight 2.0-22---improved Fortran 77 parsing (thanks to Geraldo Veiga),- moved parsing information to f77.lang and f90.lang--added highlighting of float literals like .5--added new language definitions: ABAP/4, ARM, Bison, Dylan, FAME,Informix, Lisp,- Octave, R, Scala, Snobol, Verilog--removed -d option--added -P option to display a progress bar in batch mode------23-March-2004--highlight 2.0-21---added option (-r) to replace " by \dq in LaTeX (thanks to Nikolai Mikuszeit)--added option (-E) to define another search path, where language definitions- and themes may be stored (suggested by a Debian package tester)--fixed bug which disabled HTML anchors (thanks to Richard Beauchamp)--fixed wrong current working directory detection in W32 code (thanks to Ian Oliver)--improved fragmented TeX output--fixed man page--changed path of config file to ~/.highlightrc (Unix)--added options to config file--changed parameter prefix from "/" to the more convenient "$" in configuration files--changed "typesmods" parameter in language definitions to "types"--improved some colour themes--added $INCLUDE statement in language definitions to include content of other files------09-March-2004--highlight 2.0-20---added new parser options: TYPEDELIMITERS and KEYWORDDELIMITERS to enable- highlighting of variables like ${var}--changed RTF font to Courier New--added symbol highlighting (last two suggested by Anssi Lehtinen)--added new colour themes (darkblue, zellner, ron, peachpuff, pablo, nedit)--added a new directive to add a custom installation directory at compile time- (CUSTOM_INSTALL_DIR in highlight/makefile)--added Doxygen documentation--updated spec.lang, sh.lang and make.lang--fixed some case insensitive language files--replaced make by ${MAKE} in makefile (suggested by Thomas Dettbarn)--removed utils/frontend (see homepage for highlight-gui package)--moved German help to README_DE--moved documentation files to /usr/share/doc/highlight (suggested by Ayman Negm)------21-February-2004--highlight 2.0-19---improved whitespace indentation in TeX and LaTeX--fixed output of +, -, =, <, > in TeX--fixed output of blank lines in TeX- (all suggested by Milan Straka)--updated Java language definition to 1.5--added support for BibTex, Erlang, Icon, Lisp, Lotos, Maple, Objectice C,- Prolog, PostScript and RPM Spec------08-February-2004--highlight 2.0-18---changed hskip unit in LaTeX output vom mm to em--fixed different font width of spaces in TeX output- (thanks to Milan Straka)--added macros in TeX output to reduce file size--fixed bug which made first line number disappear (introduced in 2.0-17)--declared XSL-FO output as experimental, added a switch to provide- modified output for both Apache FOP and xmlto/xsltproc------01-February-2004--highlight 2.0-17---enabled multiple input file names and real batch processing wildcards--improved debugging output--added new PHP Wiki plugin (thanks to Alec Thomas)--fixed newlines at the beginning and the ending of HTML output--fixed Java and Nice language definitions (thanks to Daniel Bonniot)--general cleanup (code, makefiles, docs)------12-January-2004--highlight 2.0-16---added new options to wrap long lines (suggested by Johannes Wei�)--added new colour themes: vim, vim-dark and ide-codewarrior--improved Java, Nice and C parsing------04-January-2004--highlight 2.0-15---improved XSL-FO output (thanks to Daniel Bonniot)--reduced LaTeX output file size------21-December-2003--highlight 2.0-14---added XSL-FO output format (suggested by Daniel Bonniot)--fixed segfault when theme file was not found--improved makefiles--ported code to Solaris (thanks to Ade Fewings)------25-November-2003--highlight 2.0-13---fixed parsing of XML comments--fixed conversion of umlauts and accents--improved parsing of numbers (suffixes like 30L, 4.5f; exponents)--'@' in HTML output is replaced by HTML entity to confuse spam robots--fixed Avenue, Perl, Progress and Clipper language definitions--added support for Action Script, Objective Caml, Standard ML, Felix,- Frink, IO, Nasal, MaxScript, Oberon, Object Script--replaced AutoConf build process by customizable makefile (suggested by John Skaller)------09-November-2003--highlight 2.0-12---fixed parsing of subtractions (i.e: varName-1)--added support for SuperX++ (thanks to Kimanzi Mati)--added Relax NG Compact language definition (thanks to Christian Siefkes)------26-October-2003--highlight 2.0-11---fixed LaTeX and Squirrel language definitions- (thanks to Stephan Bhme and Alberto Dechemelis)--fixed number parsing (allow 'a'-'f' in Hex numbers only)--replaced double quotes by single quotes in fragmented LaTeX output--added a new subdirectory "utils/", moved "cgi/" there--added a new Python Qt-Frontend--added a PHP module (thanks to Philip Van Hoof)--added Nice language definition------21-September-2003--highlight 2.0-10---changed LaTeX font settings to \tt and \it--improved fragmented LaTeX output--fixed LaTeX language definition--fixed multi line compiler directive parsing with strings--added new Squirrel ans JSP language definitions------14-September-2003--highlight 2.0-9---trailing whitespace from input is ignored--modified LaTeX fragmented output to simplify inclusion of code in- existing documents--added support for multiple line compiler directives--added new THE style (thanks to Mark Hessling)------15-August-2003--highlight 2.0-8 Hot Summer Build---fixed bug which prevented highlighting of escape characters within strings- which start a new line--fixed XHTML line anchors attribute to "id"--added background colour support for plain TeX--improved recognition of strings with different open/close delimiters--added a reasonable 4th support--internal changes to improve speed--changed XHTML encoding from utf-8 to iso-8859-1 and xhtml version to 1.1--removed comment in XHTML header to enable highlighting when style- definition is included in output--added recognition of hex, octal and unicode escape sequences (\123, \xff)--improved Python and Tcl support------04-August-2003--highlight 2.0-7---fixed parsing of C# simplified strings (thanks to Cerda)--added support for C# member attributes (thanks to Gauthier)--added --listlangs option (suggested by Mark Hessling)--improved plausibility of --outdir option (thanks to Otto Barnes II)------27-July-2003--highlight 2.0-6---fixed bug in HTML and XHTML output, which caused insertion of too many- "</span>" tags (thanks to Mark Hessling)------20-July-2003--highlight 2.0-5---improved LaTeX, TeX and RTF colour output--fixed TeX output formatting errors--fixed LaTeX line number output (thanks to Johannes Nolte)--improved code portability (thanks to Gauthier)--added french help (thanks to Gauthier)------01-July-2003--highlight 2.0-4---improved Ada 95 output (thanks to Frank Piron)--added HTML index file option--simplified API--added some language definitions------28-May-2003--highlight 2.0-2---fixed bug causing lowercase output of case insensitive- languages (thanks to David and Mark Hessling)--added new Matlab colour theme (thanks to David)--improved Rexx language definition (thanks to Mark Hessling)--added plain text language definition------01-May-2003--highlight 2.0---fixed memory leak in DataDir::searchDataDir()--fixed configuration file parsing--added data-dir option--added batch-recursive option--changed CmdLineoptions.cpp to compile under Windows------27-April-2003--highlight 2.0b-9---improved integer literal and C++ multiline comment parsing- (both suggested by Benjamin Kaufmann)--improved directive line parsing------20-April-2003--highlight 2.0b-8---added Pike language definition (thanks to Olivier Girondel)--added support for Forth (suggested by Hans Bezemer)--fixed bugs in language definition loader method--fixed segfault------07-April-2003--highlight 2.0b-7---added Artistic Style indentation and reformatting------31-March-2003--highlight 2.0b-6---fixed fortran code parsing ( thanks to Henning Weber)--improved performance------highlight 2.0b-5---fixed theme files which had DOS line terminators--presets reader method was fixed--changed RTF output to Courier and 20 pt font size--help screen fixed------19-March-2003--highlight 2.0b-4---added css-infile and css-outfile options to make generation of customizable css- definitons clearer (suggested by Markus Werle)--fixed bug reading fontsize parameter of themes------16-March-2003--highlight 2.0b-3---improved RTF output------09-March-2003--highlight 2.0b-2---improved RTF output (added bold/italics/underline attributes)--improved TeX output (added theme colors [thanks to Markus Henning for TeX-URL],- bold and italics)--added a decription how to use the highlight parser in own applications------05-March-2003--highlight 2.0b--memory leak was fixed--the parser was rewritten to add more flexibility and stability--added ability to highlight code with tags (XML, HTML...)--added ability to highlight strings with prefixes- (variableprefix, keywordprefix)--different source file extensions are stored in a configuration file- (extensions.conf)--configuration reader was modified to allow storing parameter values- in multiple lines--added some more language definitions------30-January-2003--highlight 1.3.4-2---added option to disable directive line bug--added ability to search *.style and *.lang files in different directories,- which may be set as prefix option of ./configure- (suggested by Jose Santiago)------28-January-2003--highlight 1.3.4---fixed LaTeX output regarding escape characters outside of strings--fixed unmasked escape characters- (both bugs reported by Peter Albert)--added \ttfamily to LaTeX header (suggested by Peter Albert)--rpm-spec file allows relocatable builds (thanks to Dwight Engen)--added "CPP" to recogniced source file suffixes (suggested by Maniac)--replaced verb-|- by \textbar--fixed php.lang and py.lang------08-January-2003--highlight 1.3.3---fixed Asm.lang (lower case of keywords/types)--added option to specify target directory of the output files--fixed bug in LateX/RTF/TeX output; last opened tag being closed now--improved LaTeX output--added ability to read presets from the configuration file $HOME/.highlight.conf--added simple cgi script (Perl)------29-November-2002--highlight 1.3.2-2--- fixed LaTeX output of | and ~ characters (thanks to Martin Idelberger)------26-November-2002--highlight 1.3.2---fixed buffer overflow problem (thanks to Christian Perle)--added Rexx, Modula3, Agda, Haskell language definition--added (G)AWK language definition (thanks to Andreas Schoenberg)--added Bold and Italic font support, and background colour to LaTeX output--highlight compiles without warnings with gcc 3.2------20-November-2002--highlight 1.3.1-2---applied gcc 3.2 patch (thanks to Georg Young)------18-November-2002--highlight 1.3.1---fixed bug whioch disabled batch mode--added POV Ray Definition (thanks to Christian Perle)--added emacs and kwrite style------11-November-2002--highlight 1.3 (beta)---applied Ruby definition file patch (thanks to Jonas Fonseca)--introduced style definition files--added background colour to style definitions--added line anchors in HTML output------05-October-2002--highlight 1.2.1---applied patch to make highlight compile with gcc 3.x (thanks to Marc Duponcheel)--fixed LaTeX output of "^" and /hskip (thanks to Dan Muller)--fixed TeX output------26-August-2002--highlight 1.2---fixed bug which caused wrong output file suffixes in batch mode--fixed (X)HTML output of french characters--added frech character output (accent graphe, acute) to rtf, TeX and LaTeX output--ability to recognize keywords with "-"--added new language definitions (Ruby, COBOL, Fortran)------20-August-2002--highlight 1.1---TeX output--fixed documentation regarding LaTeX / TeX output (Thanks to Keith Briggs)--fixed bug which caused single line comments left unmasked--french letters like ? ?are masked------13-August-2002--highlight 1.0 <stable>---reduced tex output file size--Perl and Visual Basic definition file--fixed error in help msg (Thanks to Jan van Haarst)------25-July-2002--highlight 0.1---RTF and La(Tex) output--Lua definition file--header and footer part of output file may be omitted--changed path of language definitions to /usr/share/highlight------06-May-2002:--src2css 0.2---batch mode, converting all files matching a given wildcard--XHTML output--Python definition file------04-Apr-2002:--src2css 0.1---initial release
highlight/INSTALL
@@ -1,211 +0,0 @@-Highlight installation instructions--------------------------------------Content-=======--1. Package structure-2. Dependencies-3. Compilation and installation-4. Known compiler issues-5. LaTeX unicode support-6. Lazy pointer issue under MacOS X-7. Static linking (to run highlight as service)-8. Known distribution issues---1. Package structure-=====================--root of highlight-x.x-|-|-- examples # examples for highlight scripting-| |-- web_plugins # plugins for various web toolkits-| |-- tcl # TCL extension-| `-- swig # SWIG interface and sample code-|-- gui_files # supporting files for the optional GUI-| |-- ext # file open filter configuration-| `-- l10n # GUI translations-|-- langDefs # language definitions (*.lang)-|-- man # man page-|-- plugins # Lua plugin scripts (*.lua)-|-- src # source code-| |-- cli # command line interface code-| |-- core # highlight core code (builds the library)-| | |-- astyle # Artistic Style code-| | `-- Diliculum # Diliculum code-| `-- gui-qt # optional GUI code-| `-- include # Header files-| | |-- astyle # Artistic Style headers-| | `-- Diliculum # Diliculum headers-`-- themes # color themes (*.theme)--AUTHORS # contributors of code and patches-ChangeLog # list of changes-COPYING # license-Doxyfile # Doxygen configuration-filetypes.conf # file type extension configuration-highlight.desktop # desktop integration of optional GUI-INSTALL # this file-makefile # basic makefile-README # user manual-README_DE # German user manual-README_LANGLIST # list of supported languages-README_PLUGINS # plug-in manual-README_REGEX # regular expression manual-README_RELEASE # information for packagers-TODO # just ideas, no plans---2. Dependencies-===============--In order to compile highlight, you need to install Lua (5.x or LuaJIT as-devel package) and Boost (at least the header files).-The optional GUI requires Qt (4 or 5) and its development tools (qmake).---3. Compilation and installation-===============================--3.1 Linux------------ 1. tar xjf highlight-x.x.tar.bz2-- 2. cd highlight-x.x-- 3. make help-- 4. make / make cli (compile static library and the CLI interface)- make lib-static (optional, compile static library only)- make lib-shared (optional, compile shared library only)- make gui (optional, compile static library and the Qt GUI)-- 5, make install- (depending on your installation destination, you need to be root)-- 6. make install-gui (optional)- Install additional files if you have compiled the highlight GUI binary.- (depending on your installation destination, you need to be root)-- 7. make clean (optional)-- After the compilation of the CLI or GUI, a library (libhighlight.a) was- generated which may be used for other C++ projects.-- Highlight's default data directory is /usr/share/highlight.- You may alter this directory at compile time or at run time:- - See the makefile how to add a compiler directive which defines an- installation directory (data_dir variable)- - See the makefile to change the configuration file directory- (conf_dir variable)- - See section CONFIG FILE SEARCH in README for run time options---3.2 Windows--------------Install the following tools and libraries.--a) Install Qt Creator IDE (www.qt.io)--b) Install MingW (gcc toolchain)-- -Download Online-Installer: - https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/- -Start mingw-w64-install.exe and select default options- -Add bin directory of the downloaded files to the system PATH- -open cmd.exe and type "g++ --version" to check--c) Compile Qt:-- -Download and extract package from qt.io:- https://www.qt.io/download-open-source/ -> qt-everywhere-opensource-src-5.6.0.tar.gz- -Open cmd.exe and change into the Qt directory- -Configure Qt. Use static if you do not want to ship Qt DLLs:- configure -release -opensource -confirm-license -static -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-sql-sqlite -no-openssl -nomake examples -opengl desktop- -Compile Qt:- mingw32-make -k -j4--d) Add compiler and Qt paths (location of qmake.exe) in QtCreator--e) Install Boost-- -Download and extract package from boost.org (no compilation needed)--f) Compile Lua -- -Download source package: https://www.lua.org/download.html- -Open QtCreator and create a new Project ("without Qt")- -Import all c files of the Lua package except lua.c and luac.c- -Edit the project file like this: - - TEMPLATE = lib- CONFIG += console- CONFIG -= app_bundle- CONFIG -= qt- DEFINES -= UNICODE- SOURCES += $$files(../lua-5.3.0/src/*.c)- SOURCES -= ../lua-5.3.0/src/lua.c ../lua-5.3.0/src/luac.c-- -Compile the Lua library--g) Install upx from http://upx.sourceforge.net/--h) Open the pro files in src/w32-projects and src/gui_qt in QtCreator and - adjust the paths of libraries and tools. Compile the lib project first.--i) Ship highlight with libgcc_s_dw2-1.dll (32 bit) libgcc_s_seh-1.dll (64 bit) libstdc++-6.dll libwinpthread-1.dll- (all DLLs are located in the mingw32 installation)--4. Known compiler issues-========================--Highlight was tested with gcc > 4.8 and clang 3.9.0. It will not compile with gcc 2.x.-For gcc versions < 4.7, unique_ptr needs to be replaced by auto_ptr.---5. LaTeX unicode support-========================--To enable UTF-8 support in LaTeX, the ucs package has to be installed.-See the following package names or sources:--Fedora: tetex-unicode-SuSE: latex-ucs---6. Lazy pointer issue under MacOS X-===================================--Stripping the highlight binary causes program termination at runtime:--dyld: lazy symbol binding failed: lazy pointer not found-dyld: lazy pointer not found-Trace/BPT trap--To avoid this issue, edit the makefile to not strip the binary after-linkage (see src/makefile, LDFLAGS variable).---7. Static linking (to run highlight as service)-===============================================--If highlight cannot be run as service because of shared linkage, link-it with the -static option (see src/makefile, LDFLAGS variable).---8. Known distribution issues-============================--Linux Mint--There is a system script called highlight which is located in a preferenced path: --mintsystem provides: /usr/local/bin/highlight- highlight provides: /usr/bin/highlight--Calling this script with the true highlight command line options will have no effect. -See bug tracker items: https://bugs.launchpad.net/linuxmint/+bug/593583 and- https://bugs.launchpad.net/linuxmint/+bug/815005
highlight/README
@@ -1,921 +0,0 @@------------------------------------------------------------------------------------ HIGHLIGHT MANUAL - Version 3.35 --------------------------- March 2017 -------------------------------------------------------------------------------------OSI Certified Open Source Software--Deutsche Anleitung: README_DE--CONTENT----------------------------------------------------------------------------------1. OVERVIEW- 1.1 INTENDED PURPOSE- 1.2 FEATURE LIST- 1.3 SUPPORTED PROGRAMMING AND MARKUP LANGUAGES--2. USAGE AND OPTIONS- 2.1 QUICK INTRODUCTION- 2.2 CLI OPTIONS- 2.3 GUI OPTIONS- 2.4 INPUT AND OUTPUT- 2.5 GNU SOURCE-HIGHLIGHT COMPATIBILITY- 2.6 ADVANCED OPTIONS--3. CONFIGURATION- 3.1 FILE FORMAT- 3.2 LANGUAGE DEFINITIONS - 3.3 REGULAR EXPRESSIONS- 3.4 THEME DEFINITIONS- 3.5 KEYWORD GROUPS- 3.6 PLUG-INS- 3.7 FILE MAPPING- 3.8 CONFIG FILE SEARCH--4. EMBEDDING HIGHLIGHT- 4.1 SAMPLE SCRIPTS- 4.2 SWIG- 4.3 TCL- 4.4 THIRD PARTY SCRIPTS AND PLUG-INS--5. BUILDING AND INSTALLING- 5.1 PRECOMPILED PACKAGES- 5.2 BUILDING DEPENDENCIES--6. DEVELOPER CONTACT---1. OVERVIEW----------------------------------------------------------------------------------Highlight converts sourcecode to HTML, XHTML, RTF, ODT, LaTeX, TeX, SVG, BBCode, -Pango markup and terminal escape sequences with coloured syntax highlighting.-Language definitions and colour themes are customizable.---1.1 INTENDED PURPOSE----------------------------------------------------------------------------------Highlight was designed to offer a flexible but easy to use syntax highlighter-for several output formats. No syntax or colouring information is hardcoded,-instead all relevant data is stored in configuration scripts. These Lua scripts-may be altered and enhanced with plug-in scripts.---1.2 FEATURE LIST----------------------------------------------------------------------------------* highlighting of keywords, types, strings, numbers, escape sequences, comments,- operators and preprocessor directives-* coloured output in HTML, XHTML 1.1, RTF, TeX, LaTeX, SVG, BBCode, Pango Markup - and terminal escape sequences-* supports referenced stylesheet files for HTML, LaTeX, TeX or SVG output-* configuration files are Lua scripts-* supports plug-in scripts to tweak language definitions and themes-* syntax elements are defined as regular expressions or plain string lists-* customizable keyword groups-* recognition of nested languages within a file-* reformatting and indentation of C, C++, C# and Java source code-* wrapping of long lines-* configurable output of line numbers---1.3 SUPPORTED PROGRAMMING AND MARKUP LANGUAGES----------------------------------------------------------------------------------Please see README_LANGLIST for the current set of supported languages.-You may also run "highlight --list-scripts=langs" to get a list and associated-file extensions.---2. USAGE AND OPTIONS----------------------------------------------------------------------------------2.1 QUICK INTRODUCTION----------------------------------------------------------------------------------The following examples show how to produce a highlighted C++ file, using -main.cpp as input file:--- Generate HTML:- highlight -i main.cpp -o main.cpp.html- highlight < main.cpp > main.cpp.html --syntax cpp-- You will find the HTML file and highlight.css in the working directory.- If you use IO redirection (2nd example), you must define the programming- language with --syntax.--- Generate HTML with embedded CSS definitions and line numbers:- highlight -i main.cpp -o main.cpp.html --include-style --line-numbers--- Generate HTML with inline CSS definitions:- highlight -i main.cpp -o main.cpp.html --inline-css--- Generate LaTeX using "horstmann" source formatting style and "neon" colour- theme: - highlight -O latex -i main.cpp -o main.cpp.tex --reformat horstmann --style neon-- The following output formats may be defined with --out-format:- - html: HTML5 (default)- xhtml: XHTML 1.1- tex: Plain TeX- latex: LaTeX- rtf: RTF- odt: OpenDocument Text (Flat XML)- svg: SVG- bbcode: BBCode- pango: Pango markup- ansi: Terminal 16 color escape codes- xterm256: Terminal 256 color escape codes- truecolor: Terminal 16m color escape codes--- Customize font settings:- highlight --syntax ada --font-size 12 --font "'Courier New',monospace"- highlight --syntax ada --out-format=latex --font-size tiny --font sffamily--- Define an output directory:- highlight -d some/target/dir/ *.cpp *.h--See "highlight --help" or "man highlight" for more details.---2.2 CLI OPTIONS----------------------------------------------------------------------------------The command line version of highlight offers the following options:--USAGE: highlight [OPTIONS]... [FILES]...--General options:-- -B, --batch-recursive=<wc> convert all matching files, searches subdirs- (Example: -B '*.cpp')- -D, --data-dir=<directory> set path to data directory (deprecated)- --config-file=<file> set path to a lang or theme file- -d, --outdir=<directory> name of output directory- -h, --help print this help- -i, --input=<file> name of single input file- -o, --output=<file> name of single output file- -P, --progress print progress bar in batch mode- -q, --quiet supress progress info in batch mode- -S, --syntax=<type> specify type of source code- -v, --verbose print debug info- --force generate output if input syntax is unknown- --list-scripts=<type> list installed scripts- <type> = [langs, themes, plugins]- --plug-in=<script> execute Lua plug-in script; repeat option to- execute multiple plug-ins- --plug-in-param=<value> set plug-in input parameter- --print-config print path configuration- --print-style print stylesheet only (see --style-outfile)- --skip=<list> ignore listed unknown file types- (Example: --skip='bak;c~;h~')- --start-nested=<lang> define nested language which starts input- without opening delimiter- --stdout output to stdout (batch mode, --print-style)- --validate-input test if input is text, remove Unicode BOM- --version print version and copyright information---Output formatting options:-- -O, --out-format=<format> output file in given format- <format>=[html, xhtml, latex, tex, odt, rtf,- ansi, xterm256, truecolor, bbcode, pango, svg]- -c, --style-outfile=<file> name of style file- -e, --style-infile=<file> to be included in style-outfile (deprecated)- use a plug-in file instead- -f, --fragment omit document header and footer- -F, --reformat=<style> reformats and indents output in given style- <style> = [allman, banner, gnu,- horstmann, java, kr, linux, otbs, vtk,- stroustrup, whitesmith, google, pico, lisp]- -I, --include-style include style definition in output file- -J, --line-length=<num> line length before wrapping (see -V, -W)- -j, --line-number-length=<num> line number width incl. left padding (default: 5)- -k, --font=<font> set font (specific to output format)- -K, --font-size=<num?> set font size (specific to output format)- -l, --line-numbers print line numbers in output file- -m, --line-number-start=<cnt> start line numbering with cnt (assumes -l)- -s, --style=<style> set colour style (theme)- -t, --replace-tabs=<num> replace tabs by <num> spaces- -T, --doc-title=<title> document title- -u, --encoding=<enc> set output encoding which matches input file- encoding; omit encoding info if set to NONE- -V, --wrap-simple wrap lines after 80 (default) characters w/o- indenting function parameters and statements- -W, --wrap wrap lines after 80 (default) characters- --wrap-no-numbers omit line numbers of wrapped lines- (assumes -l)- -z, --zeroes pad line numbers with 0's- --delim-cr set CR as end-of-line delimiter (MacOS 9)- --keep-injections output plug-in injections in spite of -f- --kw-case=<case> change case of case insensitive keywords- <case> = [upper, lower, capitalize]- --no-trailing-nl omit trailing newline---(X)HTML output options:-- -a, --anchors attach anchor to line numbers- -y, --anchor-prefix=<str> set anchor name prefix- -N, --anchor-filename use input file name as anchor prefix- -C, --print-index print index with hyperlinks to output files- -n, --ordered-list print lines as ordered list items- --class-name=<name> set CSS class name prefix;- omit class name if set to NONE- --inline-css output CSS within each tag (verbose output)- --enclose-pre enclose fragmented output with pre tag - (assumes -f)---LaTeX output options:-- -b, --babel disable Babel package shorthands- -r, --replace-quotes replace double quotes by \dq{}- --pretty-symbols improve appearance of brackets and other symbols---RTF output options:-- --page-color include page color attributes- -x, --page-size=<ps> set page size - <ps> = [a3, a4, a5, b4, b5, b6, letter]- --char-styles include character stylesheets---SVG output options:-- --height set image height (units allowed)- --width set image width (see --height)---GNU source-highlight compatibility options:-- --doc create stand alone document- --no-doc cancel the --doc option- --css=filename the external style sheet filename- --src-lang=STRING source language- -t, --tab=INT specify tab length- -n, --line-number[=0] number all output lines, optional padding- --line-number-ref[=p] number all output lines and generate an anchor,- made of the specified prefix p + the line- number (default='line')- --output-dir=path output directory- --failsafe if no language definition is found for the- input, it is simply copied to the output-- -2.3 GUI OPTIONS----------------------------------------------------------------------------------The Graphical User Interface offers a subset of the CLI's features. It includes-a dynamic preview of the output file's apperarance. Please see screenshots and-screencasts on the project website.-Invoke highlight-gui with the --portable option to let it save its settings-in the binary's current directory (instead of using the registry).---2.4 INPUT AND OUTPUT----------------------------------------------------------------------------------If no input or output file name is defined by --input and --output options,-highlight will use stdin and stdout for file processing.--If no input filename is defined by --input or given at the prompt, highlight is-not able to determine the language type by means of the file extension (except-some scripting languages which are figured out by the shebang in the first input-line). In this case you have to pass highlight the given langage with --syntax-(this should be the file suffix of the source file in most cases).-Example: If you want to convert a Python file, highlight needs to load the-py.lang language definition. The correct argument of --syntax would be "py".--highlight test.py-highlight < test.py --syntax py # --syntax option necessary-cat test.py | highlight --syntax py--If there exist multiple suffixes (like C, cc, cpp, h for C++ - files),-they are mapped to a language definition in $CONF_DIR/filetypes.conf.--Highlight enters the batch processing mode if multiple input files are defined-or if --batch-recursive is set.-In batch mode, highlight will save the generated files using the original-filename, appending the extension of the chosen output type.-If files in the input directories happen to share the same name, the output-files will be prefixed with their source path name.-The --out-dir option is recommended in batch mode. Use --quiet to improve-performance (recommended for usage in shell scripts).--HTML, TeX, LaTeX and SVG output----------------------------------The HTML, TeX, LaTeX and SVG output formats allow to reference a stylesheet-file which contains the formatting information.--In HTML and SVG output, this file contains CSS definitions and is saved as-'highlight.css'. In LaTeX and TeX, it contains macro definitions, and is saved-as 'highlight.sty'.--Name and path of the stylesheet may be modified with --style-outfile.-If the --outdir option is given, all generated output, including stylesheets,-are stored in this directory.--Use --include-style to embed the style information in the output documents-without referencing a stylesheet.--Referenced stylesheets have the advantage to share all formatting information-in a single file, which affects all referencing documents.--With --style-infile you define a file to be included in the final formatting-information of the document. This way you enhance or redefine the default-highlight style definitions without editing generated code.-Note: Using a plug-in script is the preferred way to enhance styling.--Terminal output:-------------------Since there are limited colours defined for ANSI terminal output, there exists-only one hard coded colour theme with --out-format=ansi. You should therefore-use --out-format=xterm256 to enable output in 256 colours. The 256 colour mode-is supported by recent releases of xterm, rxvt and Putty (among others).-Recent terminal emulators also support 16m colors, this mode is enabled with---out-format=truecolors.--highlight --out-format=ansi <inputfile> | less -R-highlight --out-format=xterm256 <inputfile> | less -R--Text processing:-------------------If the language definition is specified as "txt", no highlighting takes place.--highlight -S txt --out-format=latex README > README.tex---Examples-----------highlight --out-format=xhtml --batch-recursive '*.cpp' --outdir ~/html_code/-This command converts all *.cpp files in the current directory and its sub--directories to xhtml files, and stores the output in /home/you/html_code.--highlight -out-format=latex * --outdir /home/you/latex_code/-This command onverts all files to LaTeX, stored in /home/you/latex_code/.--highlight --stdout -s seashell --print-style-This command prints only the CSS information to stdout (theme: Seashell).---2.5 GNU SOURCE-HIGHLIGHT COMPATIBILITY----------------------------------------------------------------------------------The command line interface is extensively harmonised with source-highlight-(http://www.gnu.org/software/src-highlite/).--The following highlight options have the same meaning as in source-highlight:- --input, --output, --help, --version, --out-format, --title, --data-dir,- --verbose, --quiet--These options were added to enhance compatibility:- --css, --doc, --failsafe, --line-number, --line-number-ref, --no-doc, --tab,- --output-dir, --src-lang--These switches provide a common highlighter interface for scripts, plugins etc.---2.6 ADVANCED OPTIONS----------------------------------------------------------------------------------Prevent parsing of binary input files----------------------------------------If highlight could be invoked with all kinds of input, you can disable parsing-of binary files using --validate-input. This flag causes highlight to match the-input file header with a list of magic numbers. If a binary file type is-detected, highlight quits with an error message. This switch also removes an-UTF-8 BOM in the output.--Highlight nested code without starting delimiter---------------------------------------------------If a file starts with an embedded code section which misses an appropriate opening-delimiter, the --start-nested option will switch to the nested language mode.-This can be useful with LuaTeX files:-highlight luatex.tex --latex --start-nested=inc_luatex--inc_luatex is a Lua language definition with TeX line comments.-Note that the nested code section has to end with the ending delimiter defined-in the host language definition.--Test new configuration scripts---------------------------------The option --config-file helps to test new config files before installing them.-The given file must be a lang or theme file.--highlight --config-file xxx.lang --config-file yyy.theme -I--Debug language definitions-----------------------------Use --verbose to display the Lua and syntax data.--Remove an UTF8 BOM:----------------------Use --validate-input to get rid of UTF8 byte order marks.--Force output to stdout-------------------------Use --stdout to write output files in batch mode to stdout.--Portable GUI (Windows build)-------------------------------Invoke highlight-gui.exe with the --portable switch to save its configuration-in text files instead of the registry.---3. CONFIGURATION----------------------------------------------------------------------------------3.1 FILE FORMAT----------------------------------------------------------------------------------Configuration files are Lua scripts. -Please refer to http://www.lua.org/manual/5.1/manual.html for more details-about the Lua syntax.--These constructs are sufficient to edit the scripts:--Variable assigment:-name = value-(variables have no type, only values have)--Strings:-string1="string literal with escape: \n"-string2=[[raw string without escape sequence]]--If raw string content starts with "[" or ends with "]", pad the paranthesis-with space to avoid a syntax error. Highlight will strip the string.-If the string is a regular expression containing a set with a character class-like [[:space:]], use string delimiters with a "filler": [=[ regex string ]=]--Comments:--- line comment---[[ block comment ]]--Arrays:-array = { first=1, second="2", 3, { 4,5 } }-Arrays may contain variables and can be nested.---3.2 LANGUAGE DEFINITIONS----------------------------------------------------------------------------------A language definition describes all elements of a programming language which-will be highlighted by different colours and font types.-Save the new file in $HL_DIR/langDefs, using the following name convention:-<usual extension of sourcecode files>.lang--Examples: PHP -> php.lang, Java -> java.lang-If there exist multiple suffixes, list them in $HL_DIR/filetypes.conf.---Syntax elements:--Keywords = { Id, List|Regex, Group? }-- Id: Integer, keyword group id (values 1-4, can be reused for several keyword- groups)- List: List, list of keywords- Regex: String, regular expression- Group: Integer, capturing group id of regular expression, defines part of regex- which should be returned as keyword (optional; if not set, the match- with the highest group number is returned (counts from left to right))---Comments = { {Block, Nested?, Delimiter={Open, Close?} }-- Block: Boolean, true if comment is a block comment- Nested: Boolean, true if block comments can be nested (optional)- Delimiter: List, contains open delimiter regex (line comment) or open and close- delimiter regexes (block comment)---Strings = { Delimiter|DelimiterPairs={Open, Close, Raw?}, Escape?, Interpolation?,- RawPrefix?, AssertEqualLength? }-- Delimiter: String, regular expression which describes string delimiters- DelimiterPairs: List, includes open and close delimiter expressions if not- equal, includes optional Raw flag as boolean which marks- delimiter pair to contain a raw string- Escape: String, regex of escape sequences (optional)- Interpolation: String, regex of interpolation sequences (optional)- RawPrefix: String, defines raw string indicator (optional)- AssertEqualLength: Boolean, set true if delimiters must have the same length---PreProcessor = { Prefix, Continuation? }-- Prefix: String, regular expression which describes open delimiter- Continuation: String, contains line continuation character (optional).---NestedSections = {Lang, Delimiter= {} }-- Lang: String, name of nested language- Delimiter: List, contains open and close delimiters of the code section- --Description: String, Defines syntax description--Digits: String, Regular expression which defines digits (optional)--Identifiers: String, Regular expression which defines identifiers- (optional)--Operators: String, Regular expression which defines operators--EnableIndentation: Boolean, set true if syntax may be reformatted and indented--IgnoreCase: Boolean, set true if keyword case should be ignored---Global variables:--The following variables are available within a language definition:--HL_LANG_DIR: path of language definition directory (use with Lua dofile function)--Identifiers: Default regex for identifiers-Digits: Default regex for numbers--The following integer variables represent the internal highlighting states:--HL_STANDARD-HL_STRING-HL_NUMBER-HL_LINE_COMMENT-HL_BLOCK_COMMENT-HL_ESC_SEQ-HL_PREPROC-HL_PREPROC_STRING-HL_OPERATOR-HL_INTERPOLATION-HL_LINENUMBER-HL_KEYWORD-HL_STRING_END-HL_LINE_COMMENT_END-HL_BLOCK_COMMENT_END-HL_ESC_SEQ_END-HL_PREPROC_END-HL_OPERATOR_END-HL_INTERPOLATION_END-HL_KEYWORD_END-HL_EMBEDDED_CODE_BEGIN-HL_EMBEDDED_CODE_END-HL_IDENTIFIER_BEGIN-HL_IDENTIFIER_END-HL_UNKNOWN-HL_REJECT--Hook functions: see README_PLUGINS.--Example:-----------Description="C and C++"--Keywords={- { Id=1,- List={"goto", "break", "return", "continue", "asm", "case", "default",- -- [..]- }- },- -- [..]-}--Strings = {- Delimiter=[["|']],- RawPrefix="R",-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] } },- { Block=false,- Delimiter = { [[//]] } }-}--IgnoreCase=false--PreProcessor = {- Prefix=[[#]],- Continuation="\\",-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~]]--EnableIndentation=true---3.3 REGULAR EXPRESSIONS----------------------------------------------------------------------------------Please see README_REGEX for the supported regex constructs.---3.4 THEME DEFINITIONS----------------------------------------------------------------------------------Colour themes contain the formatting information of the language elements which-are described in language definitions.--The files have to be stored as *.theme in HL_DIR/themes*.-Apply a theme with the --style option.---Format attributes:--Attributes = {Colour, Bold?, Italic?, Underline? }--Colour: String, defines colour in HTML hex notation ("#rrggbb")-Bold: Boolean, true if font should be bold (optional)-Italic: Boolean, true if font should be italic (optional)-Underline: Boolean, true if font should be underlined (optional)---Theme elements:--Description: String, Defines theme description--Default = Attributes (Colour of unspecified text)--Canvas = Attributes (Background colour )--Number = Attributes (Formatting of numbers)--Escape = Attributes (Formatting of escape sequences)--String = Attributes (Formatting of strings)--Interpolation = Attributes (Formatting of interpolation sequences)--PreProcessor = Attributes (Formatting of preprocessor directives)--StringPreProc = Attributes (Formatting of strings within- preprocessor directives)--BlockComment = Attributes (Formatting of block comments)--LineComment = Attributes (Formatting of line comments)--LineNum = Attributes (Formatting of line numbers)--Operator = Attributes (Formatting of operators)--Keywords= {- Attributes1,- Attributes2,- Attributes3,- Attributes4,-}--AttributesN: Formatting of keyword group N. There should be at least four items- to match the number of keyword groups defined in the language- definitions--Example:--Default = { Colour="#000000" }-Canvas = { Colour="#ffffff" }-Number = { Colour="#000000" }-Escape = { Colour="#bd8d8b" }-String = { Colour="#bd8d8b" }-StringPreProc = { Colour="#bd8d8b" }-BlockComment = { Colour="#ac2020", Italic=true }-PreProcessor = { Colour="#000000" }-LineNum = { Colour="#555555" }-Operator = { Colour="#000000" }-LineComment = BlockComment--Keywords = {- { Colour= "#9c20ee", Bold=true },- { Colour= "#208920" },- { Colour= "#0000ff" },- { Colour= "#000000" },-}---3.5 KEYWORD GROUPS----------------------------------------------------------------------------------You may define custom keyword groups and corresponding highlighting styles.-This is useful if you want to highlight functions of a third party library,-macros, constants etc.--You define a new group in two steps:-- 1. Define a new group in your language definition:-- Keywords = {- -- add your keyword description:- {Id=5, List = {"ERROR", "DEBUG", "WARN"} }- }-- 2. Add a corresponding highlighting style in your colour theme:-- Keywords= {- --add your keyword style as 5th item in the list:- { Colour= "#ff0000", Bold=true },- }--It is recommended to define keyword groups in user-defined plugin scripts to-avoid editing of original highlight files.-See the cpp_qt.lua sample plug-in script and README_PLUGINS for details.---3.6 PLUG-INS----------------------------------------------------------------------------------The --plug-in option receives the path of a Lua script which overrides or-enhances the settings of theme and language definition files. Plug-ins make-it possible to apply costum settings without the need to edit installed-configuration files.-You can apply multiple plugins by using the --plug-in option more than once.--See README_PLUGINS for a detailed description and examples of packaged plugins.---3.7 FILE MAPPING----------------------------------------------------------------------------------The script filetypes.conf assigns file extensions and shebang descriptions to-language definitions.-A configuration is mandatory only if multiple file extensions are linked to-one syntax or if a extension is ambiguous. Otherwise the syntax definition whose-name corresponds to the input file extension will be applied.--Format:--FileMapping={- { Lang, Filenames|Extensions|Shebang },-}--Lang: String, name of language definition-Filenames: list of strings, contains filenames referring to "Lang"-Extensions: list of strings, contains file extensions referring to "Lang"-Shebang: String, Regular expression which matches the first line of the input- file--Behaviour upon ambiguous file extensions:-- CLI: the first association listed here will be used-- GUI: a syntax selection prompt will be shown--Edit the file gui_files/ext/fileopenfilter.conf to add new syntax types to-the GUI's file open filter.---3.8 CONFIG FILE SEARCH----------------------------------------------------------------------------------Configuration scripts are searched in the following directories:--1. ~/.highlight/-2. value of the environment variable HIGHLIGHT_DATADIR-3. user defined directory set with --data-dir (deprecated option)-4. /usr/share/highlight/-5. /etc/highlight/ (location of filetypes.conf)-6. current working directory (fallback)--These subdirectories are expected to contain the corresponding scripts:--langDefs: *.lang--themes: *.theme--plugins: *.lua--A custom filetypes.conf may be placed directly in ~/.highlight/.-This search order enables you to enhance the installed scripts without the need-to copy preinstalled files somewhere else.-As the --plug-in option of older releases accepted absolute paths only, the -given plugin scripts will be searched in the directories above only if the-absolute file path access fails.---4. EMBEDDING HIGHLIGHT----------------------------------------------------------------------------------4.1 SAMPLE SCRIPTS----------------------------------------------------------------------------------See the examples subdirectory in the highlight package for some scripts in PHP,-Perl and Python which invoke highlight and retrieve its output as string.-These scripts may be used as reference to develop plug-ins for other apps.--4.2 SWIG----------------------------------------------------------------------------------A SWIG interface file is located in /examples/swig.-See README_SWIG for installation instructions and the example scripts as-programming reference.--4.3 TCL----------------------------------------------------------------------------------A TCL extension is located in /examples/tcl.-See README_TCL for installation instructions.---4.4 THIRD PARTY SCRIPTS AND PLUG-INS----------------------------------------------------------------------------------See the /examples/web_plugins subdirectory in the highlight package for-some plugins which integrate highlight in Wiki and Blogging software:---DokuWiki--MovableType--Wordpress--Serendipity--Other uses of highlight can be found online:-http://andre-simon.de/dokuwiki/doku.php?id=plugins_and_extensions--This site shows several use cases of highlight in projects like Webgit, -Evolution, Inkscape, Ranger and more.---5. BUILDING AND INSTALLING----------------------------------------------------------------------------------5.1 PRECOMPILED PACKAGES----------------------------------------------------------------------------------Highlight is written in ISO C++. The following packages are available:-- UNIX console and GUI application-- Windows console and GUI application-- statically and dynamically linked library--The website www.andre-simon.de offers links to precompiled packages for several-operating systems (like Debian, Arch Linux, Ubuntu, Darwin, FreeBSD).-The website distributes the latest upstream sources.-There is also a Sourceforge project: -http://sourceforge.net/projects/syntaxhighlight/--Source tarball-Windows and MacOS executables-http://www.andre-simon.de--Arch Linux-http://www.archlinux.org/packages/community/i686/highlight/--Debian GNU/Linux-https://packages.debian.org/search?keywords=highlight--Fedora-http://koji.fedoraproject.org/koji/packageinfo?packageID=2044--FreeBSD-http://www.freshports.org/textproc/highlight/--Gentoo Portage-https://packages.gentoo.org/packages/app-text/highlight--Mac OS X-http://braumeister.org/formula/highlight--Slackware-http://sotirov-bg.net/slackpack/search.cgi?q=highlight--SuSE-http://packman.links2linux.de/package/highlight--Ubuntu-http://packages.ubuntu.com/oneiric/allpackages--Windows Chocolatey-https://chocolatey.org/packages/highlight--The file INSTALL contains details about package contents and installation.---5.2 BUILDING DEPENDENCIES----------------------------------------------------------------------------------Highlight is known to compile with gcc and clang.-It depends on Boost headers and Lua 5.x/LuaJit developer packages.-The optional GUI depends on Qt5 developer packages.-Please see the makefile for further options.---6. DEVELOPER CONTACT----------------------------------------------------------------------------------Andre Simon-andre.simon1@gmx.de-http://www.andre-simon.de/--sf.net project with SVN repository, download mirror, bug tracker, help forum:-http://sourceforge.net/projects/syntaxhighlight/
highlight/README_DE
@@ -1,942 +0,0 @@------------------------------------------------------------------------------------ HIGHLIGHT MANUAL - Version 3.35 --------------------------- Maerz 2017 -------------------------------------------------------------------------------------OSI Certified Open Source Software--English manual: README--INHALT----------------------------------------------------------------------------------1. UEBERSICHT- 1.1 SINN UND ZWECK- 1.2 FUNKTIONSLISTE- 1.3 UNTERSTUETZTE PROGRAMMIER- UND AUSZEICHNUNGSSPRACHEN--2. GEBRAUCH UND OPTIONEN- 2.1 SCHNELLE EINFUEHRUNG- 2.2 CLI OPTIONEN- 2.3 GUI OPTIONEN- 2.4 EIN- UND AUSGABE- 2.5 GNU SOURCE-HIGHLIGHT KOMPATIBILITAET- 2.6 FORTGESCHRITTENE OPTIONEN--3. KONFIGURATION- 3.1 DATEIFORMAT- 3.2 SPRACHDEFINITIONEN- 3.3 REGULAERE AUSDRUECKE- 3.4 FARBDEFINITIONEN- 3.5 SCHLUESSELWORTGRUPPEN- 3.6 PLUG-INS- 3.7 DATEIZUORDNUNGEN- 3.8 PFADE DER KONFIG-DATEIEN--4. HIGHLIGHT INTEGRIEREN- 4.1 BEISPIELSKRIPTE- 4.2 SWIG- 4.3 TCL- 4.4 SKRIPTE UND PLUG-INS FUER DRITTSOFTWARE--5. KOMPILIEREN UND INSTALLIEREN- 5.1 VORKOMPILIERTE PAKETE- 5.2 KOMPILIER-ABHAENGIGKEITEN--6. ENTWICKLERKONTAKT---1. UEBERSICHT----------------------------------------------------------------------------------Highlight konvertiert Sourcecode in XHTML, HTML, RTF, ODT, TeX, LaTeX, SVG,-BBCode, Pango Markup und Terminal Escape-Sequenzen mit farbiger Syntaxhervorhebung.-Sprachdefinitionen und Farbstile sind konfigurierbar.---1.1 SINN UND ZWECK----------------------------------------------------------------------------------Highlight wurde mit dem Ziel entworfen, einen flexiblen und einfach zu-bedienenden Syntaxhighlighter fuer mehrere Ausgabeformate anzubieten.-Statt hartkodierter Sprachbeschreibungen und Farbschemata sind alle wichtigen-Informationen in Konfigurationsskripten enthalten. Diese Lua-Skripte koennen-mit Plug-Ins angepasst und erweitert werden.---1.2 FUNKTIONSLISTE----------------------------------------------------------------------------------* Hervorhebung von Schluesselwoertern, Typbezeichnern, Strings, Zahlen,- Escapesequenzen, Operatoren, Praeprozessor-Direktiven und Kommentaren-* Farbige Ausgabe in HTML, XHTML, RTF, TeX, LaTeX, SVG, BBCode, Pango Markup und - Terminal-Escapesequenzen-* Speichern von Stylesheets wahlweise in separater Datei oder innerhalb der- Ausgabedatei (HTML, LaTeX, TeX, SVG)-* Alle Konfigurationsdateien sind Lua-Skripte-* Unterstuetzt Plug-In Skripte zur Anpassung von Sprachdefinitionen und Themes-* Syntax-Elemente werden als regelaere Ausdruecke oder als Stringlisten- beschrieben-* Erweiterbare Schluesselwort-Gruppen-* Erkennung mehrerer Sprachen innerhalb einer Datei-* Neuformatierung und Einrueckung von C, C++, C# und Java Code-* Umbrechen von langen Zeilen-* Anpassbare Ausgabe von Zeilennummern---1.3 UNTERSTUETZTE PROGRAMMIER- UND AUSZEICHNUNGSSPRACHEN----------------------------------------------------------------------------------Die Liste aller unterstuetzten Sprachen befindet sich in README_LANGLIST.-Das Kommando "highlight --list-scripts=langs" zeigt ebenfalls eine Liste aller-Sprachen und den verknuepften Dateiendungen.---2. GEBRAUCH UND OPTIONEN----------------------------------------------------------------------------------2.1 SCHNELLE EINFUEHRUNG----------------------------------------------------------------------------------Folgende Beispiele zeigen, wie man die hervorgehobene Ausgabe einer C++-Datei-namens main.cpp erzeugt:--- HTML ausgeben:- highlight -i main.cpp -o main.cpp.html- highlight < main.cpp > main.cpp.html --syntax cpp-- Sie werden die HTML-Datei und die CSS-Datei highlight.css im aktuellen- Verzeichnis finden. Falls Sie Eingabe-Umleitung verwenden (siehe 2. Beispiel),- geben Sie den Typ der Programmiersprache mit --syntax an.--- HTML mit eingebetteter CSS Definition und Zeilennummerierung ausgeben:- highlight -i main.cpp -o main.cpp.html --include-style --line-numbers--- HTML mit direkter CSS-Formatierung ausgeben:- highlight -i main.cpp -o main.cpp.html --inline-css--- LaTeX mit Code-Formatierung im "horstmann"-Stil und dem Farbschema "Neon"- ausgeben:- highlight -O latex -i main.cpp -o main.cpp.tex --reformat horstmann --style neon-- Folgende Ausgabeformate koennen mit --out-format bestimmt werden:- - html: HTML5 (Standard)- xhtml: XHTML 1.1- tex: Plain TeX- latex: LaTeX- rtf: RTF- odt: OpenDocument Text (Flat XML)- svg: SVG- bbcode: BBCode- pango: Pango markup- ansi: Terminal 16 color escape codes- xterm256: Terminal 256 color escape codes- truecolor: Terminal 16m color escape codes--- Font und Schriftgroesse anpassen:- highlight --syntax ada --font-size 12 --font "'Courier New',monospace"- highlight --syntax ada --out-format=latex --font-size tiny --font sffamily--- Ausgabeverzeichnis definieren:- highlight -d some/target/dir/ *.cpp *.h---2.2 CLI OPTIONEN----------------------------------------------------------------------------------Die Kommandozeilenversion von highlight bietet folgende Optionen:--USAGE: highlight [OPTIONS]... [FILES]...--General options:-- -B, --batch-recursive=<wc> convert all matching files, searches subdirs- (Example: -B '*.cpp')- -D, --data-dir=<directory> set path to data directory (deprecated)- --config-file=<file> set path to a lang or theme file- -d, --outdir=<directory> name of output directory- -h, --help print this help- -i, --input=<file> name of single input file- -o, --output=<file> name of single output file- -P, --progress print progress bar in batch mode- -q, --quiet supress progress info in batch mode- -S, --syntax=<type> specify type of source code- -v, --verbose print debug info- --force generate output if input syntax is unknown- --list-scripts=<type> list installed scripts- <type> = [langs, themes, plugins]- --plug-in=<script> execute Lua plug-in script; repeat option to- execute multiple plug-ins- --plug-in-param=<value> set plug-in input parameter- --print-config print path configuration- --print-style print stylesheet only (see --style-outfile)- --skip=<list> ignore listed unknown file types- (Example: --skip='bak;c~;h~')- --start-nested=<lang> define nested language which starts input- without opening delimiter- --stdout output to stdout (batch mode, --print-style)- --validate-input test if input is text, remove Unicode BOM- --version print version and copyright information---Output formatting options:-- -O, --out-format=<format> output file in given format- <format>=[html, xhtml, latex, tex, odt, rtf,- ansi, xterm256, truecolor, bbcode, pango, svg]- -c, --style-outfile=<file> name of style file - -e, --style-infile=<file> to be included in style-outfile (deprecated)- use a plug-in file instead- -f, --fragment omit document header and footer- -F, --reformat=<style> reformats and indents output in given style- <style> = [allman, banner, gnu,- horstmann, java, kr, linux, otbs, vtk,- stroustrup, whitesmith, google, pico, lisp]- -I, --include-style include style definition in output file- -J, --line-length=<num> line length before wrapping (see -V, -W)- -j, --line-number-length=<num> line number width incl. left padding (default: 5)- -k, --font=<font> set font (specific to output format)- -K, --font-size=<num?> set font size (specific to output format)- -l, --line-numbers print line numbers in output file- -m, --line-number-start=<cnt> start line numbering with cnt (assumes -l)- -s, --style=<style> set colour style (theme)- -t, --replace-tabs=<num> replace tabs by <num> spaces- -T, --doc-title=<title> document title- -u, --encoding=<enc> set output encoding which matches input file- encoding; omit encoding info if set to NONE- -V, --wrap-simple wrap lines after 80 (default) characters w/o- indenting function parameters and statements- -W, --wrap wrap lines after 80 (default) characters- --wrap-no-numbers omit line numbers of wrapped lines- (assumes -l)- -z, --zeroes pad line numbers with 0's- --delim-cr set CR as end-of-line delimiter (MacOS 9)- --keep-injections output plug-in injections in spite of -f- --kw-case=<case> change case of case insensitive keywords- <case> = [upper, lower, capitalize]- --no-trailing-nl omit trailing newline---(X)HTML output options:-- -a, --anchors attach anchor to line numbers- -y, --anchor-prefix=<str> set anchor name prefix- -N, --anchor-filename use input file name as anchor prefix- -C, --print-index print index with hyperlinks to output files- -n, --ordered-list print lines as ordered list items- --class-name=<name> set CSS class name prefix;- omit class name if set to NONE- --inline-css output CSS within each tag (verbose output)- --enclose-pre enclose fragmented output with pre tag - (assumes -f)---LaTeX output options:-- -b, --babel disable Babel package shorthands- -r, --replace-quotes replace double quotes by \dq{}- --pretty-symbols improve appearance of brackets and other symbols---RTF output options:-- --page-color include page color attributes- -x, --page-size=<ps> set page size - <ps> = [a3, a4, a5, b4, b5, b6, letter]- --char-styles include character stylesheets---SVG output options:-- --height set image height (units allowed)- --width set image width (see --height)---GNU source-highlight compatibility options:-- --doc create stand alone document- --no-doc cancel the --doc option- --css=filename the external style sheet filename- --src-lang=STRING source language- -t, --tab=INT specify tab length- -n, --line-number[=0] number all output lines, optional padding- --line-number-ref[=p] number all output lines and generate an anchor,- made of the specified prefix p + the line- number (default='line')- --output-dir=path output directory- --failsafe if no language definition is found for the- input, it is simply copied to the output---2.3 GUI OPTIONEN----------------------------------------------------------------------------------Die graphische Oberflaeche bietet eine Teilmenge der CLI-Funktionen. Sie enthaelt-eine dynamische Vorschau der sichtbaren Ausgabe. Auf der Projekt-Webseite finden-Sie Screenshots und Screencasts.-Wird highlight-gui mit der Option --portable gestartet, speichert es die -Einstellungen im Programmverzeichnis (anstatt zB. die Registry zu benutzen).---2.4 EIN- UND AUSGABE----------------------------------------------------------------------------------Wenn kein Dateiname mit --input bzw. --output angegeben wird, benutzt highlight-stdin bzw. stdout fuer die Ein- und Ausgabe.--Wird die Eingabedatei nicht direkt auf der Kommandozeile als Argument bzw. mit---input angegeben, kann Highlight die passende Sprachinformation nicht-automatisch anhand der Dateiendung bestimmen. Lediglich einige Skriptsprachen-werden anhand des Shebangs in der ersten Zeile erkannt.-Mit der Option --syntax muss dann der Typ der Datei vom Benutzer angegeben-werden (das Argument ist normalerweise die fuer die Programmiersprache uebliche-Dateierweiterung).-Beispiel: Wenn Sie eine Python-Datei konvertieren wollen, muss highlight die-Sprachdefinition py.lang einlesen. Das korrekte Argument fuer --syntax ist-also "py".--highlight test.py # Option --syntax nicht noetig-highlight < test.py --syntax py # --syntax muss angegeben werden-cat test.py | highlight --syntax py--Sollte es mehrere Dateierweiterungen fuer Dateien einer Programmiersprache-geben (wie z.B. C, cc, cpp, h bei C++), werden diese in der Datei-$CONF_DIR/filetypes.conf einer Sprachdefinition zugewiesen.--Wenn mehrere Eingabedateien an Highlight uebergeben werden oder --batch-recursive-gesetzt ist, wechselt das Tool in den Batch-Modus. In diesem Modus werden die-Ausgabedateien unter dem Namen der Eingabedateien gespeichert, zusaetzlich wird-die Dateierweiterung des gewaehlten Ausgabeformats angehangen.-Sollte es in den Eingabeverzeichnissen Dateien mit identischem Namen geben, so-werden diese Ausgabedateien mit ihrem Quellverzeichnis als Praefix ausgegeben.-Die --outdir Option ist im Batch Modus besonders nuetzlich. In Skripten sollte---quiet angegeben werden, um die Geschwindigkeit der Verarbeitung zu erhoehen.---HTML, TeX, LaTeX und SVG Ausgabe:-----------------------------------Die HTML, TeX, LaTeX und SVG-Formate erlauben die Einbindung von Stylesheets,-welche die Formatierungsinformationen enthalten.--Bei der HTML- und SVG-Ausgabe enthaelt diese Datei CSS-Definitionen und wird, wenn-nicht anders angegeben, als "highlight.css" gespeichert. Bei TeX und LaTeX enthaelt-die Datei Makros, und wird per Default als "highlight.sty" gespeichert.--Name und Pfad des Stylesheets werden mit --style-outfile bestimmt.-Wenn --outdir definiert ist, wird auch das Stylesheet im angegebenen-Ausgabeverzeichnis gespeichert.--Mit --include-style fuegt Highlight die Formatierungsangaben direkt in die-Ausgabedokumente ein, statt einen Verweis auf externe Stylesheets zu setzen.--Der Verweis auf externe Dateien hat den Vorteil, die Formatierung an einer-zentralen Stelle verwalten zu koennen, auf die alle Ausgabedokumente verweisen.--Mit --style-infile kann eine Datei mit zusaetzlichen Formatierungsangaben in-die Ausgabedateien eingebunden werden, welche die vorgegebene highlight--Formatierung erweitert oder ueberschreibt.-Hinweis: Ein Plug-In Skript ist die bessere Methode das Styling anzupassen.---Terminal-Ausgabe:-----------------------Da es nur wenige Farben zur ANSI-Ausgabe im Terminal gibt, existiert nur ein-hartkodiertes Farbschema fuer --out-format=ansi. Daher sollte nach Moeglichkeit---out-format=xterm256 verwendet werden, um eine Ausgabe in 256 Farben zu erhalten.-Der 256 Farb-Modus wird z.B. von xterm, rxvt und Putty unterstuetzt.-Neuere Terminal-Emulatoren unterstuetzen auch 16 Millionen Farben, dies wird mit---out-format=truecolors aktiviert.--highlight --out-format=ansi <inputfile> | less -R-highlight --out-format=xterm256 <inputfile> | less -R--Text-Ausgabe:----------------Wird als Sprachdefinition txt angegeben, findet keine Syntaxhervorhebung statt.--Beispiel:--highlight -S txt --out-format=latex README > readme.tex---Beispiele:-------------highlight --out-format=xhtml --batch-recursive '*.cpp' --outdir ~/html_code/-Dieses Kommando konvertiert alle *.cpp Dateien im aktuellen Verzeichnis und den-Unterverzeichnissen in XHTML-Dateien, und speichert die Ausgabe in-/home/you/html_code.--highlight -out-format=latex * --outdir /home/you/latex_code/-Dieses Kommando konvertiert alle Dateien in LaTeX, und speichert sie in-/home/you/latex_code/.--highlight --stdout -s seashell --print-style-Dieses Kommando gibt nur die CSS-Informationen des angegebenen Stils (hier:-Seashell) nach stdout aus.---2.5 GNU SOURCE-HIGHLIGHT KOMPATIBILITAET----------------------------------------------------------------------------------Die Kommandozeilenschnittstelle ueberschneidet sich zu einem grossen Teil mit-source-highlight (http://www.gnu.org/software/src-highlite/).--Diese highlight-Optionen haben dieselbe Bedeutung wie bei source-highlight:- --input, --output, --help, --version, --out-format, --title, --data-dir,- --verbose, --quiet--Diese Optionen wurden hinzugefuegt, um die Kompatibilitaet zu verbessern:- --css, --doc, --failsafe, --line-number, --line-number-ref, --no-doc, --tab,- --output-dir, --src-lang--Die obigen Optionen bilden eine gemeinsame Highlighter-Schnittstelle fuer-Skripte, Plugins etc.---2.6 FORTGESCHRITTENE OPTIONEN----------------------------------------------------------------------------------Parsen von Binaerdaten vermeiden-----------------------------------Wird highlight mit unbekannten Eingabedaten aufgerufen, verhindert ---validate-input die Verarbeitung von binaeren Daten.-Dieser Schalter fuehrt zu einem Vergleich der Datei-Header mit einer Liste von-"Magic Numbers". Wenn ein Binaer-Typ erkannt wird, bricht highlight die-Verarbeitung mit einer Fehlermeldung ab.-Mit --validate-input wird zusaetzlich der UTF-8 BOM in der Ausgabe unterdrueckt.--Hervorbung von eingebettetem Code ohne oeffnenden Delimiter--------------------------------------------------------------Wenn eine Datei mit eingebettetem Code ohne einen fuer diese Syntax ueblichen-einleitenden Delimiter beginnt, kann mit der --start-nested Option in diese-Sprache gewechselt werden. Dies kann bei LuaTeX Dateien noetig sein:-highlight luatex.tex --latex --start-nested=inc_luatex--Die inc_luatex Definition ist eine Lua-Beschreibung mit TeX Kommentaren.--Neue Konfigurationsskripte testen:-------------------------------------Die Option --config-file ermoeglicht es, neue Skripte vor der Installation zu-testen. Die Datei muss eine lang- oder theme-Datei sein.--highlight --config-file xxx.lang --config-file yyy.theme -I--Sprachdefinitionen debuggen:-------------------------------Benutzen Sie --verbose, um Lua- und Syntax-Daten anzuzeigen.--UTF8 BOM entfernen:----------------------Geben Sie --validate-input an, um das UTF8 Byte Order Mark (Startsequenz) zu-entfernen.--Ausgabe in stdout erzwingen------------------------------Mit --stdout wird die Ausgabe auch im Batch-Modus nach stdout ausgegeben.--Portable GUI (Windows build)-------------------------------Starten Sie highlight-gui.exe mit der --portable Option, damit die-Konfiguration in Textdateien und nicht in der Registry gespeichert wird.---3. KONFIGURATION----------------------------------------------------------------------------------3.1 DATEIFORMAT----------------------------------------------------------------------------------Die Konfigurationsdateien sind Lua Skripte. Deutsche Einfuehrung in die Syntax:-http://www.fh-wedel.de/~si/seminare/ws09/Ausarbeitung/09.lua/lua1.htm-Das vollstaendige Lua-Handbuch befindet sich hier:-http://www.lua.org/manual/5.1/manual.html--Folgende Syntax-Elemente genuegen, um die Skripte anzupassen:--Wertzuweisung an Variablen:-name = value-(Variablen haben keinen Typ, nur Werte haben einen)--Strings:-string1="string-Literal mit Escape-Sequenzen: \n"-string2=[[Raw String ohne Escape-Sequenzen]]--Wenn ein Raw-String mit "[" beginnt oder mit "]" endet, muss die Klammer mit-Leerzeichen von den Begrenzern getrennt werden, um Syntaxfehler zu vermeiden.-Highlight entfernt diese Leerzeichen beim Einlesen.-Ist der String ein regulaerer Ausdruck mit einem Ausdruck wie [[:space:]],-muss der Stringbegrenzer mit einem "Fueller" verwendet werden: -[=[ regex string ]=]--Kommentare:--- Einzeiliger Kommentar---[[ Blockkommentar ]]--Arrays:-array = { first=1, second="2", 3, { 4,5 } }-Arrays koennen Variablen enthalten und geschachtelt sein.---3.2 SPRACHDEFINITIONEN----------------------------------------------------------------------------------Eine Sprachdefinition beschreibt die Elemente einer Programmiersprache, die-durch verschiedene Farben und Schrifttypen hervorgehoben werden.-Die Datei muss in $HL_DIR/langDefs/ unter folgendem Namen gespeichert werden:--<uebliche Erweiterung der Sourcecodedateien>.lang--Beispiele: PHP -> php.lang, Java -> java.lang--Sollte es mehrere gebrauechliche Erweiterungen geben, werden diese in der Datei-$HL_DIR/filetypes.conf einer Sprachdefinition zugeordnet.---Syntax-Elemente:--Keywords = { Id, List|Regex, Group? }-- Id: Integer, ID der Schluesselwortgruppe (Werte 1-4, die mehrfach verwendet- werden koennen)- List: Liste, Auflistung von Schluesselwoertern- Regex: String, Regulaerer Ausdruck- Group: Integer, Capturing Group ID der Regex, bestimmt den Teil des gefundenen- Ausdrucks, der als Schluesselwort hervorgehoben werden soll (optional,- wenn nicht gesetzt wird der Match mit der hoechsten Group-ID zurueck-- gegeben (gezaehlt wird von links nach rechts))---Comments = { {Block, Nested?, Delimiter} }-- Block: Boolean, true wenn der Kommentar ein Blockkommentar ist- Nested: Boolean, true wenn der Blockkommentar verschachtelt werden darf (optional)- Delimiter: Liste, enthaelt Regex der oeffnenden Begrenzer (Zeilenkommentar) oder- Regex des oeffnenden und des schliessenden Begrenzers (Blockkommentar)---Strings = { Delimiter|DelimiterPairs={Open, Close, Raw?}, Escape?, Interpolation?,- RawPrefix?, AssertEqualLength? }-- Delimiter: String, Regulaerer Ausdruck der Begrenzer- DelimiterPairs: Liste, enthaelt Ausdruecke der oeffnenden und der schliessenden- Begrenzer wenn diese nicht gleich sind und optional ein Raw-- String Flag- Escape: String, Regulaerer Ausdruck fuer Escapsesequenzen (optional)- Interpolation: String, Regulaerer Ausdruck fuer Interpolation (optional)- RawPrefix: String, definiert Raw String Prefix (optional)- AssertEqualLength: Boolean, True wenn die Begrenzer gleich lang sein muessen- --PreProcessor = { Prefix, Continuation? }-- Prefix: String, Regulaerer Ausdruck der oeffnenden Begrenzer- Continuation: String, Definiert Fortsetzungsindikator (optional)---NestedSections = {Lang, Delimiter= {} }-- Lang: String, Name der eingebetteten Sprache- Delimiter: Liste, Ausdruecke der oeffnenden und der schliessenden Begrenzer- --Description: String, Beschreibung der Syntax--Digits: String, Regulaerer Ausdruck fuer Zahlenliterale (optional)--Identifiers: String, Regulaerer Ausdruck fuer Bezeichner (optional)--Operators: String, Regulaerer Ausdruck fuer Operatoren--EnableIndentation: Boolean, True wenn Syntax formatiert und eingerueckt werden kann--IgnoreCase: Boolean, True wenn Sprache nicht case-sensitive ist---Globale Variablen:--Die folgenden Variablen sind in einer Sprachbeschreibung verfuegbar:--HL_LANG_DIR: Verzeichnis der Sprachdefinitionen (Parameter der Lua dofile-Funktion)--Identifiers: Default regex fuer Bezeichner-Digits: Default regex fuer Zahlenliterale--Diese Integer-Variablen beschreiben die internen Zustaende des highlight-Parsers:--HL_STANDARD-HL_STRING-HL_NUMBER-HL_LINE_COMMENT-HL_BLOCK_COMMENT-HL_ESC_SEQ-HL_PREPROC-HL_PREPROC_STRING-HL_OPERATOR-HL_INTERPOLATION-HL_LINENUMBER-HL_KEYWORD-HL_STRING_END-HL_LINE_COMMENT_END-HL_BLOCK_COMMENT_END-HL_ESC_SEQ_END-HL_PREPROC_END-HL_OPERATOR_END-HL_KEYWORD_END-HL_INTERPOLATION_END-HL_EMBEDDED_CODE_BEGIN-HL_EMBEDDED_CODE_END-HL_IDENTIFIER_BEGIN-HL_IDENTIFIER_END-HL_UNKNOWN-HL_REJECT--Hook-Funktionen: siehe README_PLUGINS.--Beispiel:------------Description="C and C++"--Keywords={- { Id=1,- List={"goto", "break", "return", "continue", "asm", "case", "default",- -- [..]- }- },- -- [..]-}--Strings = {- Delimiter=[["|']],- RawPrefix="R",-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] } },- { Block=false,- Delimiter = { [[//]] } }-}--IgnoreCase=false--PreProcessor = {- Prefix=[[#]],- Continuation="\\",-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-|\~]]--EnableIndentation=true---3.3 REGULAERE AUSDRUECKE----------------------------------------------------------------------------------Die Datei README_REGEX beschreibt alle unterstuetzten Ausdruecke.---3.4 FARBDEFINITIONEN----------------------------------------------------------------------------------Farbdefinitionen legen die Formatierung der Sprachelemente fest, die in den-Sprachdefinitionen beschrieben wurden.--Die Dateien muessen mit der Endung .theme in $HL_DIR/themes (siehe Abschnitt 1)-gespeichert werden. Mit der --style (-s) Option wird das Farbschema angewandt.--Formatattribute:--Attributes = {Colour, Bold?, Italic?, Underline? }--Colour: String, Farbe in Hex-Notation ("#rrggbb")-Bold: Boolean, True wenn Font bold sein soll (optional)-Italic: Boolean, True wenn Font kursiv sein soll (optional)-Underline: Boolean, True wenn Font unterstrichen sein soll (optional)---Theme-Elemente:--Description: String, Theme-Beschreibung--Default = Attributes (Farbe des nicht hervorgehobenen Texts)--Canvas = Attributes (Hintergrundfarbe)--Number = Attributes (Formatierung von Zahlen)--Escape = Attributes (Formatierung von Escape-Sequenzen)--String = Attributes (Formatierung von Strings)--Interpolation = Attributes (Formatierung von Interpolationen)--PreProcessor = Attributes (Formatierung von Praeprozessor-Direktiven)--StringPreProc = Attributes (Formatierung von Strings in- Praeprozessor-Direktiven)--BlockComment = Attributes (Formatierung von Blockkommentaren)--LineComment = Attributes (Formatierung von Zeilenkommentaren)--LineNum = Attributes (Formatierung von Zeilennummern)--Operator = Attributes (Formatierung von Operatoren)--Keywords= {- Attributes1,- Attributes2,- Attributes3,- Attributes4,-}--AttributesN: Liste, Formatierung von Schluesselwoertgruppen. Es sollten- mindestens vier Elemente angegeben werden, um mit der Anzahl- von Schluesselwortgruppen in den Sprachdefinitionen- uebereinzustimmen.--Beispiel:--Default = { Colour="#000000" }-Canvas = { Colour="#ffffff" }-Number = { Colour="#000000" }-Escape = { Colour="#bd8d8b" }-String = { Colour="#bd8d8b" }-StringPreProc = { Colour="#bd8d8b" }-BlockComment = { Colour="#ac2020", Italic=true }-PreProcessor = { Colour="#000000" }-LineNum = { Colour="#555555" }-Operator = { Colour="#000000" }-LineComment = BlockComment--Keywords = {- { Colour= "#9c20ee", Bold=true },- { Colour= "#208920" },- { Colour= "#0000ff" },- { Colour= "#000000" },-}---3.5 SCHLUESSELWORTGRUPPEN----------------------------------------------------------------------------------Sie koennen eigene Schluesselwort-Gruppen festlegen und jeder Gruppe eine eigene-Formatierung zuweisen. Das ist nuetzlich wenn Sie z.B. Bibliotheksfunktionen,-Makros oder Konstanten gesondert hervorheben moechten.--Eine Gruppe wird in zwei Schritten definiert:--- 1. Beschreibung der Gruppe in der Sprachdefinition:-- Keywords = {- -- fuegen Sie die Beschreibung an:- {Id=5, List = {"ERROR", "DEBUG", "WARN"} }- }-- 2. Festlegung des dazugehoerigen Farbstils im Farb-Schema:-- Keywords= {- --Stil als fuenften Eintrag hinterlegen:- { Colour= "#ff0000", Bold=true },- }--Es wird empfohlen, eigene Keyword-Gruppen in Plugin-Skripten zu definieren,-um keine Original-Dateien zu veraendern.-Weitere Infos finden sich im cpp_qt.lua Beispiel-Plugin sowie in README_PLUGINS.---3.6 PLUG-INS----------------------------------------------------------------------------------Die --plug-in Option erwartet den Pfad eines Lua Skripts, das Elemente einer-Sprachdefinition oder eines Themes ueberschreibt oder erweitert.-Mit Hilfe dieser Plugins kann die Ausgabe angepasst werden, ohne installierte-Konfigurations-Dateien zu aendern.-Man kann mehrere Plugins anwenden, indem die --plug-in Option wiederholt-angegeben wird.--Siehe README_PLUGINS um mehr darueber zu erfahren.---3.7 DATEIZUORDNUNGEN----------------------------------------------------------------------------------In filetypes.conf werden Dateizuordnungen und Shebang-Definitionen eingetragen.-Eine Konfiguration ist nur dann zwingend notwendig, wenn es mehrere Dateiendungen-fuer eine Syntax gibt oder eine Endung nicht eindeutig zugewiesen werden kann.-Ansonsten wird die Syntax geladen, deren Name mit der Dateiendung der Eingabedatei-uebereinstimmt.--Format:--FileMapping={- { Lang, Filenames|Extensions|Shebang },-}--Lang: String, Name der Sprachdefinition-Filenames: Liste, enthaelt alle Dateinamen, die "Lang" zugeordnet werden-Extensions: Liste, enthaelt alle Dateiendungen, die "Lang" zugeordnet werden-Shebang: String, Regulaerer Ausdruck der mit der ersten Zeile der Eingabe- verglichen wird--Verhalten der Software bei mehrdeutigen Endungen:-- CLI: die erste eingetragene Verknuepfung wird angewandt-- GUI: eine Syntax-Auswahl wird angezeigt--Tragen Sie neue Dateiendungen auch in gui_files/ext/fileopenfilter.conf ein,-damit diese im GUI-Dateiauswahldialog als Filter angezeigt werden.---3.8 PFADE DER KONFIG-DATEIEN----------------------------------------------------------------------------------Die Konfigurationsskripte in den folgenden Verzeichnissen gesucht:--1. ~/.highlight/-2. Wert der Umgebungsvariablen HIGHLIGHT_DATADIR-3. benutzerdefiniertes Verz., definiert mit --data-dir (deprecated)-4. /usr/share/highlight/-5. /etc/highlight/ (wegen filetypes.conf)-6. aktuelles Arbeitsverzeicnnis (Fallback)--Es wird erwartet, dass folgende Unterverzeichnisse die entsprechenden Skripte-enthalten:---langDefs: *.lang--themes: *.theme--plugins: *.lua--Eine eigene filetypes.conf kann direkt in in ~/.highlight/ gespeichert werden.-Diese Suchreihenfolge vereinfacht die Erweiterung und Anpassung bestehender-Skripte, ohne vorinstallierte Dateien umkopieren zu muessen.-Da die plug-in Option aelterer Versionen nur absolute Pfade akzeptierte, werden-die angegebenen Skripte nur dann in den obigen Verzeichnissen gesucht wenn-der Zugriff auf den absoluten Pfad fehlschlaegt.---4. HIGHLIGHT EINBETTEN----------------------------------------------------------------------------------4.1 BEISPIELSKRIPTE----------------------------------------------------------------------------------Im /examples Unterverzeichnis befinden sich Beispielskripte in PHP, Perl und-Python, die highlight aufrufen und die Ausgabe als String auswerten. Diese-Skripte koennen als Ausgangspunkt fuer neue Erweiterungen genutzt werden.--4.2 SWIG----------------------------------------------------------------------------------Eine SWIG Interface-Datei befindet sich in /examples/swig.-Installationshinweise finden Sie in README_SWIG, Programmierbeispiele in-den vorhandenen Skripten.--4.3 TCL----------------------------------------------------------------------------------Eine TCL-Erweiterung befindet sich in /examples/tcl.-Installationshinweise finden Sie in README_TCL.--4.4 SKRIPTE UND PLUG-INS FUER DRITTSOFTWARE----------------------------------------------------------------------------------Im /examples/web_plugins Unterverzeichnis der highlight-Installation befinden-sich einige Plugins, die Highlight in Webanwendungen integrieren:---DokuWiki--MovableType--Wordpress--Serendipity--Andere Anwendungen von highlight sind im Wiki aufgelistet:-http://andre-simon.de/dokuwiki/doku.php?id=plugins_and_extensions--Diese Seite verweist auf unterschiedliche Projekte die highlight integrieren, -z.B. Webgit, Evolution, Inkscape, Ranger, ...).---5. KOMPILIEREN UND INSTALLIEREN----------------------------------------------------------------------------------5.1 VORKOMPILIERTE PAKETE----------------------------------------------------------------------------------Highlight ist in ISO C++ geschrieben. Es existieren folgende Pakete:-- UNIX Kommandozeilen- und GUI-Anwendung-- Windows Kommandozeilen- und GUI-Anwendung-- Statische/dynamische Bibliothek--Auf der Website www.andre-simon.de sind Links auf vorkompilierte Pakete fuer-weitere Betriebssysteme vorhanden (z.B. Debian, Arch Linux, Ubuntu, Darwin,-FreeBSD).-Auf der Website sind immer die aktuellsten Source-Pakete (upstream) verfuegbar.--Source tarball-Windows und MacOS executables-http://www.andre-simon.de--Arch Linux-http://www.archlinux.org/packages/community/i686/highlight/--Debian GNU/Linux-https://packages.debian.org/search?keywords=highlight--Fedora-http://koji.fedoraproject.org/koji/packageinfo?packageID=2044--FreeBSD-http://www.freshports.org/textproc/highlight/--Gentoo Portage-https://packages.gentoo.org/packages/app-text/highlight--Mac OS X-http://braumeister.org/formula/highlight--Slackware-http://sotirov-bg.net/slackpack/search.cgi?q=highlight--SuSE-http://packman.links2linux.de/package/highlight--Ubuntu-http://packages.ubuntu.com/oneiric/allpackages--Windows Chocolatey-https://chocolatey.org/packages/highlight--In INSTALL befinden sich weitere Informationen zu Paketinhalt und Installation.---5.2 KOMPILIER-ABHAENGIGKEITEN----------------------------------------------------------------------------------Highlight kompiliert zumindest mit gcc und clang. Zum Kompilieren sind Boost-Header-Pakete und Lua5.x/LuaJit Development-Pakete noetig.-Die optionale GUI benoetigt Qt5 Development-Pakete.-Im Makefile finden Sie weitere Informationen.---6. ENTWICKLERKONTAKT----------------------------------------------------------------------------------Andre Simon-andre.simon1@gmx.de-http://www.andre-simon.de--sf.net Projekt mit SVN Repository, Download Mirror, Bugtracker, Foren:-http://sourceforge.net/projects/syntaxhighlight/
highlight/README_LANGLIST
@@ -1,224 +0,0 @@------------------------------------------------------------------------------------ HIGHLIGHT LANGUAGE LIST ------------------------------- September 2016 -------------------------------------------------------------------------------------All supported languages and the syntax definition file names are listed below.-The parens contain filename extensions configured in filetypes.conf.-By default, the *.lang files are located in /usr/share/highlight/langDefs/.-See README for other user defined locations.--Since release 2.12, it is possible to highlight source files with multiple-languages (ie HTML+PHP), see the NestedSections parameter in README.--Filetypes.conf contains also special filenames without extensions (like -makefile) and script shebang expressions.---Packaged language definitions (highlight --list-langs):--ABAP/4 : abap4 ( abp )-ABC : abc-Advanced Backus-Naur Form : abnf-ActionScript : actionscript ( as )-ADA95 : ada ( a adb ads gnad )-Agda : agda-ALGOL 68 : algol ( alg )-AMPL : ampl ( dat run )-AMTrix : amtrix ( hnd s4 s4h s4t t4 )-AppleScript : applescript-Arc : arc-ARM : arm-AS/400 CL : as400cl-ASCEND : ascend ( a4c )-Active Server Pages : asp ( ascx ashx aspx )-Abstract : aspect ( was wud )-Assembler : assembler ( 29k 68s 68x a51 asm s x86 )-Applied Type System : ats ( dats )-AutoHotKey : autohotkey ( ahk )-AutoIt : autoit ( au3 )-Avenue : avenue-(G)AWK : awk-DOS Batch : bat ( cmd )-BBcode : bbcode-BCPL : bcpl-BibTeX : bibtex ( bib )-Biferno : biferno ( bfr )-Bison : bison ( y )-Blitz Basic : blitzbasic ( bb )-BM Script : bms-Backus-Naur Form : bnf-Boo : boo-C and C++ : c ( c++ cc cpp cu cxx h hh hpp hxx )-Ceylon : ceylon-Charmm : charmm ( inp )-CHILL : chill ( chl )-Chapel : chpl-Clean : clean ( icl )-ClearBasic : clearbasic ( cb )-Clipper : clipper-Clojure : clojure-Clips : clp-COBOL : cobol ( cbl cob )-ColdFusion MX : coldfusion ( cfc cfm )-Generic config files : conf-Crack : crk-C# : csharp ( cs )-CSS : css-D : d-Dart : dart-Diff : diff ( patch )-Device Tree Source : dts ( dtsi )-Dylan : dylan-Extended Backus-Naur Form : ebnf-Eiffel : eiffel ( e se )-Erlang : erlang ( erl hrl )-Euphoria : euphoria ( eu ew ex exw wxu )-Express : express ( exp )-FAME : fame ( fame )-Felix : felix ( flx )-Fortran 77 : fortran77 ( f for ftn )-Fortran 90 : fortran90 ( f90 f95 )-Frink : frink-F# : fsharp ( fs fsx )-Java FX : fx-Gambas : gambas ( class )-gdb : gdb-Go : go-Graphviz : graphviz ( dot )-Haskell : haskell ( hs )-haXe : haxe ( hx )-Hecl : hcl-HTML : html ( htm xhtml )-Apache Config : httpd-Icon : icon ( icn )-IDL : idl-Interactive Data Language : idlang-Lua (for LuaTeX) : inc_luatex-Informix : informix ( 4gl )-INI : ini ( desktop doxyfile )-Inno Setup : innosetup ( iss )-INTERLIS : interlis ( ili )-IO : io-Jasmin : jasmin ( j )-Java : java ( groovy grv )-Javascript : js ( jsx )-JSON : json-JavaServer Pages : jsp-Julia : julia ( jl )-Kotlin : kotlin ( kt )-LDAP : ldif-LESS : less-Haskell LHS : lhs-Lilypond : lilypond ( ly )-Limbo : limbo ( b )-Linden Script : lindenscript ( lsl )-Lisp : lisp ( cl clisp el lsp sbcl scom )-Logtalk : logtalk ( lgt )-Lotos : lotos-Lotus : lotus ( ls )-Lua : lua-Luban : luban ( lbn )-Make : make ( mak makefile mk )-Maple : maple ( mpl )-Matlab : matlab ( m )-Maya : maya ( mel )-GitHub Flavored Markdown : md-Mercury : mercury-Miranda : miranda-Modula2 : mod2 ( def mod )-Modula3 : mod3 ( i3 m3 )-Modelica : modelica ( mo )-MoonScript : moon-MaxScript : ms-mIRC Scripting : msl ( nbs )-MSSQL : mssql-Magic eXtensible Markup : mxml-Notation3 (N3), N-Triples, Turtle, SPARQL: n3 ( nt ttl )-Nasal : nasal ( nas )-NeXT Byte Codes : nbc-Nemerle : nemerle ( n )-NetRexx : netrexx ( nrx )-Nginx configuration : nginx-Nice : nice-Nim : nim-NSIS : nsis ( nsh nsi )-Not eXactly C : nxc-Oberon : oberon ( ooc )-Objective C : objc-Objective Caml : ocaml ( ml mli )-Octave : octave-OpenObjectRexx : oorexx-Object Script : os-Oz : oz-Paradox : paradox ( sc )-Pascal : pas-Portable Document Format : pdf-Perl : perl ( cgi perl pl plex plx pm )-PHP : php ( php3 php4 php5 php6 )-Pike : pike ( pmod )-PL/1 : pl1 ( bdy ff fp fpp rpp sf sp spb spe spp sps wf wp wpb wpp wps )-PL/Perl : plperl-PL/Python : plpython-PL/Tcl : pltcl-Pony : pony-POV-Ray : pov-Prolog : pro-Progress : progress ( i p w )-PostScript : ps-Microsoft PowerShell : ps1-PATROL : psl-Pure : pure-Pyrex : pyrex ( pyx )-Python : python ( py )-Qore : q-QMake Project : qmake-QML : qml-Qu : qu-R : r-Rebol : rebol-Rexx : rexx ( rex rx the )-Relax NG : rnc-RPG : rpg-RPL Programming Language : rpl-Rust : rs-Ruby : ruby ( gemfile pp rakefile rb rjs ruby )-PowerPC Assembler : s-SAS : sas-Scala : scala-Scilab : scilab ( sce sci )-SASS/SCSS : scss-Bash : sh ( bash ebuild eclass zsh )-SMALL : small ( sma )-Smalltalk : smalltalk ( gst sq st )-Standard ML : sml-SNMP : snmp ( mib smi )-SNOBOL : snobol ( sno )-RPM Spec : spec-SPIN SQL : spn-PL/SQL : sql-Squirrel : squirrel ( nut )-Stylus : styl-SVG : svg-Swift : swift-Sybase SQL : sybase-Tcl/Tk : tcl ( itcl wish )-TCSH : tcsh-TeX and LaTeX : tex ( cls sty )-TypeScript : ts-Transact-SQL : tsql-TTCN3 : ttcn3-Plain text : txt ( text )-UPC (and C, technically) : upc-Vala : vala-Visual Basic : vb ( bas basic bi vbs )-Verilog : verilog ( v )-VHDL : vhd-Whiley : whiley-XML : xml ( csproj dtd ecf ent glade hdr hub jnlp nrm resx sgm sgml tld vxml wml xsd xsl )-SuperX++ : xpp-Yaiff : yaiff-Ansible YAML : yaml ( yml )-Yang : yang-Zonnon : znn--Use the name of the desired language with the --syntax option.
highlight/README_PLUGINS
@@ -1,453 +0,0 @@------------------------------------------------------------------------------------ HIGHLIGHT PLUGIN MANUAL - Version 3.35 ------------------ March 2017 -------------------------------------------------------------------------------------CONTENT----------------------------------------------------------------------------------1. ABOUT-2. SCRIPT STRUCTURE-3. SYNTAX CHUNK ELEMENTS- 3.1 FUNCTION ADDKEYWORD- 3.2 FUNCTION ONSTATECHANGE- 3.3 DECORATE FUNCTIONS-4. THEME CHUNK ELEMENTS-5. STEP BY STEP-6. EXAMPLES-7. PLUG-IN USAGE---1. ABOUT----------------------------------------------------------------------------------The plug-in interface allows modifications of syntax parsing and colouring.-The output's header or footer can be enhanced, and recognized syntax elements-may be outputted with additional information.-A common task would be to define a new set of syntax keywords, or to add items-to existing keyword groups. More advanced plug-ins add tooltips based on ctags -input or source code folding to the output (see section 6).---2. SCRIPT STRUCTURE----------------------------------------------------------------------------------The following script contains the basic plug-in structure which has no effect -on the output:--Description="Plugin Boilerplate"---- optional parameter: syntax description-function syntaxUpdate(desc)-end---- optional parameter: theme description-function themeUpdate(desc)-end--Plugins={- { Type="theme", Chunk=themeUpdate },- { Type="lang", Chunk=syntaxUpdate },-}--The first line contains a description which gives a short summary of the-plug-in effects.--The next lines contain function definitions:-The syntaxUpdate function is applied on syntax definition scripts (*.lang),-whereas the themeUpdate function is applied on colour themes (*.theme).-The desc parameter contains the description string of the loaded syntax-definition or colour theme. This information can be used to restrict-modifications to certain kinds of input (i.e. only C code should be-enhanced with syslog keywords).--Finally the Plugins array connects the functions to the Lua states which -are created when highlight loads a lang or theme script. In this example,-themeUpdate is connected to the theme state, and syntaxUpdate to the lang-state. It is not required to always define both connections if your plugin-only affects one of the config script types.---3. SYNTAX CHUNK ELEMENTS----------------------------------------------------------------------------------The following list includes all variables and constants you may use to adjust -the parser's syntax highlighting.--Syntax definition items:--Comments: table-Description: string-Digits: string-EnableIndentation: boolean-Identifiers: string-IgnoreCase: boolean-Keywords: table-NestedSections: table-Operators: string-PreProcessor: table-Strings: table--Document modification items:--HeaderInjection: string-FooterInjection: string--Read only (internal highlighting states):--HL_STANDARD: number-HL_BLOCK_COMMENT: number-HL_BLOCK_COMMENT_END: number-HL_EMBEDDED_CODE_BEGIN: number-HL_EMBEDDED_CODE_END: number-HL_ESC_SEQ: number-HL_ESC_SEQ_END: number-HL_IDENTIFIER_BEGIN: number-HL_IDENTIFIER_END: number-HL_KEYWORD: number-HL_KEYWORD_END: number-HL_LINENUMBER: number-HL_LINE_COMMENT: number-HL_LINE_COMMENT_END: number-HL_NUMBER: number-HL_OPERATOR: number-HL_OPERATOR_END: number-HL_PREPROC: number-HL_PREPROC_END: number-HL_PREPROC_STRING: number-HL_STRING: number-HL_STRING_END: number-HL_UNKNOWN: number-HL_REJECT: number--Read only (output document format):--HL_OUTPUT: number (selected format)-HL_FORMAT_HTML: number-HL_FORMAT_XHTML: number-HL_FORMAT_TEX: number-HL_FORMAT_LATEX: number-HL_FORMAT_RTF: number-HL_FORMAT_ANSI: number-HL_FORMAT_XTERM256: number-HL_FORMAT_SVG: number-HL_FORMAT_BBCODE: number-HL_FORMAT_PANGO: number-HL_FORMAT_ODT: number--Read only (other):--HL_PLUGIN_PARAM: string (set with --plug-in-param)-HL_LANG_DIR: string (path of language definition directory)--Functions:--AddKeyword: function-OnStateChange: function-Decorate: function-DecorateLineBegin: function-DecorateLineEnd: function--IMPORTANT: Functions will only be executed if they are defined as local-functions within the "lang" chunk referenced in the Plugins array. -They will be ignored when defined elsewhere in the script.---3.1 FUNCTION ADDKEYWORD----------------------------------------------------------------------------------This function will add a keyword to one of the the internal keyword lists.-It has no effect if the keyword was added before.-Keywords added with AddKeyword will remain active for all files of the same-syntax if highlight is in batch mode.--AddKeyword(keyword, kwGroupID)-- Parameters: keyword: string which should be added to a keyword list- kwGroupID: keyword group ID of the keyword- Returns: true if successfull- --3.2 FUNCTION ONSTATECHANGE----------------------------------------------------------------------------------This function is a hook which is called if an internal state changes (e.g. from-HL_STANDARD to HL_KEYWORD if a keyword is found). It can be used to alter-the new state or to manipulate syntax elements.--OnStateChange(oldState, newState, token, kwGroupID)-- Hook Event: Highlighting parser state change- Parameters: oldState: old state- newState: intended new state- token: the current token which triggered the new state- kwGroupID: if newState is HL_KEYWORD, the parameter- contains the keyword group ID- Returns: Correct state to continue OR HL_REJECT--Return HL_REJECT if the recognized token and state should be discarded; the -first character of token will be outputted and highlighted as oldState.--Examples:--function OnStateChange(oldState, newState, token, kwgroup)- if newState==HL_KEYWORD and kwgroup==5 then- AddKeyword(token, 5)- end- return newState-end--This function adds the current keyword to the internal keyword list if the -keyword belongs to keyword group 5. If keyword group 5 is defined by a regex,-this token will be recognized later as keyword even if the regular expression -does no longer match.--function OnStateChange(oldState, newState, token)- if token=="]]" and oldState==HL_STRING and newState==HL_BLOCK_COMMENT_END then- return HL_STRING_END- end- return newState-end--This function resolves a Lua parsing issue with the "]]" close delimiter which-ends both comments and strings.---3.3 DECORATE FUNCTIONS----------------------------------------------------------------------------------The Decorate function is a hook which is called if a syntax token has been -identified. It can be used to alter the token or to add additional text in the-target output format (e.g. hyperlinks). --Decorate(token, state, kwGroupID, stateTrace)-- Hook Event: Token identification- Parameters: token: current token- state: current state- kwGroupID: if state is HL_KEYWORD, the parameter- contains the keyword group ID- stateTrace: string containing past states of the current line;- separated by ';'; limited to 100 entries- Returns: Altered token string or nothing if original token should be - outputted--Examples:--function Decorate(token, state)- if (state == HL_KEYWORD) then- return string.upper(token)- end-end--This function converts all keywords to upper case.---The functions DecorateLineBegin and DecorateLineEnd are called if a new line-starts or ends. They can be used to add special formatting to lines of code.--DecorateLineBegin(lineNumber)-- Hook Event: output of a new line- Parameters: lineNumber: the current line number- Returns: A string to be prepended to a new line (or nothing) --DecorateLineEnd(lineNumber)-- Hook Event: output of a line ending- Parameters: lineNumber: the current line number- Returns: A string to be appended to a line (or nothing)- --IMPORTANT: The return value of Decorate functions will be embedded in the -formatting tags of the output format. The return values are not modified or -validated by highlight.-- -4. THEME CHUNK ELEMENTS----------------------------------------------------------------------------------The following list includes all items you may overwrite or extend to adjust-the formatting (colour and font attributes) of the output:--Output formatting items:--Default: table-Canvas: table-Number: table-Escape: table-String: table-StringPreProc: table-BlockComment: table-PreProcessor: table-LineNum: table-Operator: table-LineComment: table-Keywords: table--Read only (output document format)::--HL_OUTPUT: number-HL_FORMAT_HTML: number-HL_FORMAT_XHTML: number-HL_FORMAT_TEX: number-HL_FORMAT_LATEX: number-HL_FORMAT_RTF: number-HL_FORMAT_ANSI: number-HL_FORMAT_XTERM256: number-HL_FORMAT_SVG: number-HL_FORMAT_BBCODE: number-HL_FORMAT_PANGO: number-HL_FORMAT_ODT: number--Add additional stying information:--Injections: table---5. STEP BY STEP----------------------------------------------------------------------------------This example will add reference hyperlinks to Qt keywords:---- first add a description of what the plug-in does-Description="Add qtproject.org reference links to HTML, LaTeX or RTF output"---- the syntaxUpdate function contains code related to syntax recognition-function syntaxUpdate(desc)-- -- if the current file is no C++ file we exit- if desc~="C and C++" then- return- end- - -- this function returns a qt-project reference link of the given token- function getURL(token)- -- generate the URL- url='http://qt-project.org/doc/qt-4.8/'..string.lower(token).. '.html'- - -- embed the URL in a hyperlink according to the output format- -- first HTML, then LaTeX and RTF- if (HL_OUTPUT== HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then- return '<a class="hl" target="new" href="' - .. url .. '">'.. token .. '</a>'- elseif (HL_OUTPUT == HL_FORMAT_LATEX) then- return '\\href{'..url..'}{'..token..'}'- elseif (HL_OUTPUT == HL_FORMAT_RTF) then- return '{{\\field{\\*\\fldinst HYPERLINK "'- ..url..'" }{\\fldrslt\\ul\\ulc0 '..token..'}}}'- end- end-- -- the Decorate function will be invoked for every recognized token- function Decorate(token, state)-- -- we are only interested in keywords, preprocessor or default items- if (state ~= HL_STANDARD and state ~= HL_KEYWORD and - state ~=HL_PREPROC) then- return- end-- -- Qt keywords start with Q, followed by an upper and a lower case letter- -- if this pattern applies to the token, we return the URL- -- if we return nothing, the token is outputted as is- if string.find(token, "Q%u%l")==1 then- return getURL(token)- end-- end-end---- the themeUpdate function contains code related to the theme-function themeUpdate(desc)- -- the Injections table can be used to add style information to the theme- - -- HTML: we add additional CSS style information to beautify hyperlinks,- -- they should have the same color as their surrounding tags- if (HL_OUTPUT == HL_FORMAT_HTML or HL_OUTPUT == HL_FORMAT_XHTML) then- Injections[#Injections+1]=- "a.hl, a.hl:visited {color:inherit;font-weight:inherit;}"-- -- LaTeX: hyperlinks require the hyperref package, so we add this here- -- the colorlinks and pdfborderstyle options remove ugly boxes in the output- elseif (HL_OUTPUT==HL_FORMAT_LATEX) then- Injections[#Injections+1]=- "\\usepackage[colorlinks=false, pdfborderstyle={/S/U/W 1}]{hyperref}"- end-end---- let highlight load the chunks-Plugins={- { Type="lang", Chunk=syntaxUpdate },- { Type="theme", Chunk=themeUpdate },-}---6. EXAMPLES----------------------------------------------------------------------------------The plugins directory contains example scripts, including: --bash_functions.lua-Description: Add function names to keyword list-Features: Adds new keyword group based on a regex, defines OnStateChange,- uses AddKeyword--theme_invert.lua-Description: Invert colours of the original theme-Features: Modifies all color attributes of the theme script, uses Lua- pattern matching- -cpp_ref_cplusplus_com.lua-Description: Add qtproject.org reference links to HTML, LaTeX or RTF output of- C++ code-Features: Uses Decorate to add hyperlinks for a defined set of C++ keywords.- Adds CSS styles with Injections.--ctags_html_tooltips.lua-Description: Add tooltips based on a ctags file (default input file: tags)-Features: Uses file input (defined by cli option --plug-in-param) and- parses tags data before Decorate is called.- -outhtml_curly_brackets_matcher.lua-Description: Shows matching curly brackets in HTML output.-Features: Uses Decorate to add span tags with unique ids to opening and - closing brackets.- Adds JavaScript with HeaderInjection variable.- Inserts additional CSS styles with Injections variable.- -outhtml_keyword_matcher.lua-Description: Shows matching keywords in HTML output.-Features: Uses Decorate to add span tags with unique ids to opening and - closing brackets.- Uses OnStateChange to assign an internal ID to each keyword.- Adds JavaScript with HeaderInjection variable.- Inserts additional CSS styles with Injections variable.- -outhtml_codefold.lua-Description: Adds code folding for C style languages, Pascal, Lua and Ruby to - HTML output-Features: Uses DecorateLineBegin and DecorateLineEnd to add ID-spans to each - line.- Applies Decorate to each code block delimiter to add onClick event - handlers.- Adds JavaScript with HeaderInjection and FooterInjection variables.- Inserts additional CSS styles with Injections variable.- - -7. PLUG-IN USAGE----------------------------------------------------------------------------------Command line interface:-Run highlight --list-scripts=plugins to show all installed plug-ins.--Use --plug-in to load a plug-in script file. This option can be applied -more than once to apply several plug-ins. Omit the .lua suffix.-You can store your plug-in scripts for testing in ~/.highlight/plugins.--Example:-highlight my.cpp -Ilz --plug-in=html_curly_brackets_matcher > ~/test_out/my.html---GUI:-Add the plug-in scripts in the plug-in selection tab and enable them using the-checkboxes.
highlight/README_REGEX
@@ -1,395 +0,0 @@------------------------------------------------------------------------------------ HIGHLIGHT REGULAR EXPRESSIONS MANUAL ------------------------------------------------------------------------------------------------------------------------This file is based on the original Boost API documentation:-http://www.boost.org/doc/libs/1_32_0/libs/regex/doc/syntax.html--Regular expressions can be applied in highlight's syntax definitions.-----------------------------------------------------------------------------------Literals-----------All characters are literals except: ".", "|", "*", "?", "+", "(", ")", "{", "}",-"[", "]", "^", "$" and "\". These characters are literals when preceded by a-"\". A literal is a character that matches itself, or matches the result of-traits_type::translate(), where traits_type is the traits template parameter to-class basic_regex.-Wildcard--The dot character "." matches any single character except : when-match_not_dot_null is passed to the matching algorithms, the dot does not match-a null character; when match_not_dot_newline is passed to the matching-algorithms, then the dot does not match a newline character.---Repeats----------A repeat is an expression that is repeated an arbitrary number of times. An-expression followed by "*" can be repeated any number of times including zero.-An expression followed by "+" can be repeated any number of times, but at least-once, if the expression is compiled with the flag regex_constants::bk_plus_qm-then "+" is an ordinary character and "\+" represents a repeat of once or more.-An expression followed by "?" may be repeated zero or one times only, if the-expression is compiled with the flag regex_constants::bk_plus_qm then "?" is an-ordinary character and "\?" represents the repeat zero or once operator. When it-is necessary to specify the minimum and maximum number of repeats explicitly,-the bounds operator "{}" may be used, thus "a{2}" is the letter "a" repeated-exactly twice, "a{2,4}" represents the letter "a" repeated between 2 and 4-times, and "a{2,}" represents the letter "a" repeated at least twice with no-upper limit. Note that there must be no white-space inside the {}, and there is-no upper limit on the values of the lower and upper bounds. When the expression-is compiled with the flag regex_constants::bk_braces then "{" and "}" are-ordinary characters and "\{" and "\}" are used to delimit bounds instead. All-repeat expressions refer to the shortest possible previous sub-expression: a-single character; a character set, or a sub-expression grouped with "()" for-example.--Examples:--"ba*" will match all of "b", "ba", "baaa" etc.--"ba+" will match "ba" or "baaaa" for example but not "b".--"ba?" will match "b" or "ba".--"ba{2,4}" will match "baa", "baaa" and "baaaa".-Non-greedy repeats--Whenever the "extended" regular expression syntax is in use (the default) then-non-greedy repeats are possible by appending a '?' after the repeat; a-non-greedy repeat is one which will match the shortest possible string.--For example to match html tag pairs one could use something like:--"<\s*tagname[^>]*>(.*?)<\s*/tagname\s*>"--In this case $1 will contain the text between the tag pairs, and will be the-shortest possible matching string. ---Parenthesis--------------Parentheses serve two purposes, to group items together into a sub-expression,-and to mark what generated the match. For example the expression "(ab)*" would-match all of the string "ababab". The matching algorithms regex_match and-regex_search each take an instance of match_results that reports what caused the-match, on exit from these functions the match_results contains information both-on what the whole expression matched and on what each sub-expression matched. In-the example above match_results[1] would contain a pair of iterators denoting-the final "ab" of the matching string. It is permissible for sub-expressions to-match null strings. If a sub-expression takes no part in a match - for example-if it is part of an alternative that is not taken - then both of the iterators-that are returned for that sub-expression point to the end of the input string,-and the matched parameter for that sub-expression is false. Sub-expressions are-indexed from left to right starting from 1, sub-expression 0 is the whole-expression.---Non-Marking Parenthesis--------------------------Sometimes you need to group sub-expressions with parenthesis, but don't want the-parenthesis to spit out another marked sub-expression, in this case a-non-marking parenthesis (?:expression) can be used. For example the following-expression creates no sub-expressions:--"(?:abc)*"-Forward Lookahead Asserts --There are two forms of these; one for positive forward lookahead asserts, and-one for negative lookahead asserts:--"(?=abc)" matches zero characters only if they are followed by the expression-"abc".--"(?!abc)" matches zero characters only if they are not followed by the-expression "abc".-Independent sub-expressions--"(?>expression)" matches "expression" as an independent atom (the algorithm will-not backtrack into it if a failure occurs later in the expression).---Alternatives---------------Alternatives occur when the expression can match either one sub-expression or-another, each alternative is separated by a "|", or a "\|" if the flag-regex_constants::bk_vbar is set, or by a newline character if the flag-regex_constants::newline_alt is set. Each alternative is the largest possible-previous sub-expression; this is the opposite behavior from repetition-operators.--Examples:--"a(b|c)" could match "ab" or "ac".--"abc|def" could match "abc" or "def".---Sets-------A set is a set of characters that can match any single character that is a-member of the set. Sets are delimited by "[" and "]" and can contain literals,-character ranges, character classes, collating elements and equivalence classes.-Set declarations that start with "^" contain the complement of the elements that-follow.--Examples:--Character literals:--"[abc]" will match either of "a", "b", or "c".--"[^abc] will match any character other than "a", "b", or "c".--Character ranges:--"[a-z]" will match any character in the range "a" to "z".--"[^A-Z]" will match any character other than those in the range "A" to "Z".--Note that character ranges are highly locale dependent if the flag-regex_constants::collate is set: they match any character that collates between-the endpoints of the range, ranges will only behave according to ASCII rules-when the default "C" locale is in effect. For example if the library is compiled-with the Win32 localization model, then [a-z] will match the ASCII characters-a-z, and also 'A', 'B' etc, but not 'Z' which collates just after 'z'. This-locale specific behavior is disabled by default (in perl mode), and forces-ranges to collate according to ASCII character code.--Character classes are denoted using the syntax "[:classname:]" within a set-declaration, for example "[[:space:]]" is the set of all whitespace characters.-Character classes are only available if the flag regex_constants::char_classes-is set. The available character classes are:- --alnum Any alpha numeric character. -alpha Any alphabetical character a-z and A-Z. Other characters may- also be included depending upon the locale. -blank Any blank character, either a space or a tab. -cntrl Any control character. -digit Any digit 0-9. -graph Any graphical character. -lower Any lower case character a-z. Other characters may also be- included depending upon the locale. -print Any printable character. -punct Any punctuation character. -space Any whitespace character. -upper Any upper case character A-Z. Other characters may also be- included depending upon the locale. -xdigit Any hexadecimal digit character, 0-9, a-f and A-F. -word Any word character - all alphanumeric characters plus the- underscore. -Unicode Any character whose code is greater than 255, this- applies to the wide character traits classes only. --There are some shortcuts that can be used in place of the character classes,-provided the flag regex_constants::escape_in_lists is set then you can use:--\w in place of [:word:]-\s in place of [:space:]-\d in place of [:digit:]-\l in place of [:lower:]-\u in place of [:upper:] --Collating elements take the general form [.tagname.] inside a set declaration,-where tagname is either a single character, or a name of a collating element,-for example [[.a.]] is equivalent to [a], and [[.comma.]] is equivalent to [,].-The library supports all the standard POSIX collating element names, and in-addition the following digraphs: "ae", "ch", "ll", "ss", "nj", "dz", "lj", each-in lower, upper and title case variations. Multi-character collating elements-can result in the set matching more than one character, for example [[.ae.]]-would match two characters, but note that [^[.ae.]] would only match one-character. --Equivalence classes take the generalform[=tagname=] inside a set declaration,-where tagname is either a single character, or a name of a collating element,-and matches any character that is a member of the same primary equivalence class-as the collating element [.tagname.]. An equivalence class is a set of-characters that collate the same, a primary equivalence class is a set of-characters whose primary sort key are all the same (for example strings are-typically collated by character, then by accent, and then by case; the primary-sort key then relates to the character, the secondary to the accentation, and-the tertiary to the case). If there is no equivalence class corresponding to-tagname ,then[=tagname=] is exactly the same as [.tagname.]. Unfortunately there-is no locale independent method of obtaining the primary sort key for a-character, except under Win32. For other operating systems the library will-"guess" the primary sort key from the full sort key (obtained from strxfrm), so-equivalence classes are probably best considered broken under any operating-system other than Win32. --To include a literal "-" in a set declaration then: make it the first character-after the opening "[" or "[^", the endpoint of a range, a collating element, or-if the flag regex_constants::escape_in_lists is set then precede with an escape-character as in "[\-]". To include a literal "[" or "]" or "^" in a set then-make them the endpoint of a range, a collating element, or precede with an-escape character if the flag regex_constants::escape_in_lists is set.---Line anchors---------------An anchor is something that matches the null string at the start or end of a-line: "^" matches the null string at the start of a line, "$" matches the null-string at the end of a line.---Back references------------------A back reference is a reference to a previous sub-expression that has already-been matched, the reference is to what the sub-expression matched, not to the-expression itself. A back reference consists of the escape character "\"-followed by a digit "1" to "9", "\1" refers to the first sub-expression, "\2" to-the second etc. For example the expression "(.*)\1" matches any string that is-repeated about its mid-point for example "abcabc" or "xyzxyz". A back reference-to a sub-expression that did not participate in any match, matches the null-string: NB this is different to some other regular expression matchers. Back-references are only available if the expression is compiled with the flag-regex_constants::bk_refs set.---Word operators-----------------The following operators are provided for compatibility with the GNU regular-expression library.--"\w" matches any single character that is a member of the "word" character-class, this is identical to the expression "[[:word:]]".--"\W" matches any single character that is not a member of the "word" character-class, this is identical to the expression "[^[:word:]]".--"\<" matches the null string at the start of a word.--"\>" matches the null string at the end of the word.--"\b" matches the null string at either the start or the end of a word.--"\B" matches a null string within a word.--The start of the sequence passed to the matching algorithms is considered to be-a potential start of a word unless the flag match_not_bow is set. The end of the-sequence passed to the matching algorithms is considered to be a potential end-of a word unless the flag match_not_eow is set.---Buffer operators-------------------The following operators are provided for compatibility with the GNU regular-expression library, and Perl regular expressions:--"\`" matches the start of a buffer.--"\A" matches the start of the buffer.--"\'" matches the end of a buffer.--"\z" matches the end of a buffer.--"\Z" matches the end of a buffer, or possibly one or more new line characters-followed by the end of the buffer.--A buffer is considered to consist of the whole sequence passed to the matching-algorithms, unless the flags match_not_bob or match_not_eob are set.---Escape operator------------------The escape character "\" has several meanings.--Inside a set declaration the escape character is a normal character unless the-flag regex_constants::escape_in_lists is set in which case whatever follows the-escape is a literal character regardless of its normal meaning.--The escape operator may introduce an operator for example: back references, or a-word operator.--The escape operator may make the following character normal, for example "\*"-represents a literal "*" rather than the repeat operator.-Single character escape sequences--The following escape sequences are aliases for single characters:- -Escape sequence Character code Meaning -\a 0x07 Bell character. -\f 0x0C Form feed. -\n 0x0A Newline character. -\r 0x0D Carriage return. -\t 0x09 Tab character. -\v 0x0B Vertical tab. -\e 0x1B ASCII Escape character. -\0dd 0dd An octal character code, where dd is one or more octal- digits. -\xXX 0xXX A hexadecimal character code, where XX is one or more- hexadecimal digits. -\x{XX} 0xXX A hexadecimal character code, where XX is one or more- hexadecimal digits, optionally a Unicode character. -\cZ z-@ An ASCII escape sequence control-Z, where Z is any ASCII- character greater than or equal to the character code for '@'.---Miscellaneous escape sequences:----------------------------------The following are provided mostly for perl compatibility, but note that there-are some differences in the meanings of \l \L \u and \U:- --\w Equivalent to [[:word:]]. -\W Equivalent to [^[:word:]]. -\s Equivalent to [[:space:]]. -\S Equivalent to [^[:space:]]. -\d Equivalent to [[:digit:]]. -\D Equivalent to [^[:digit:]]. -\l Equivalent to [[:lower:]]. -\L Equivalent to [^[:lower:]]. -\u Equivalent to [[:upper:]]. -\U Equivalent to [^[:upper:]]. -\C Any single character, equivalent to '.'. -\X Match any Unicode combining character sequence, for example "a\x- 0301" (a letter a with an acute). -\Q The begin quote operator, everything that follows is treated as- a literal character until a \E end quote operator is found. -\E The end quote operator, terminates a sequence begun with \Q. -----------------------------------------------------------------------------------Examples:------------Regex=[[ [A-Z]\w+ ]]-Highlight identifiers beginning with a capital letter.--Regex=[[ [$@%]\w+ ]]-Highlight variables beginning with $, @ or %.--Regex=[[ \$\{(\w+)\}) ]]-or-Regex=[[ \$\{(\w+)\} ]], Group=1-Highlight variable names like ${name}. Only the name is highlighted as keyword.-A sub-expression is used to achieve this effect. If no sub-expression number-is defined (like in the first example above), the right-most sub match-(highest sub id) is returned.--Regex=[[ (\w+)\s*\( ]]-Highlight method names. Note that a sub expression is used again.--Regex=[[STO\xe2\x88\x91]]-Unicode characters in a keyword.------Andre Simon-andre.simon1@gmx.de-http://www.andre-simon.de/-http://wiki.andre-simon.de/
highlight/README_RELEASE
@@ -1,81 +0,0 @@------------------------------------------------------------------------------------ HIGHLIGHT IMPORTANT RELEASE AND PACKAGING INFORMATION -- February 2015 -------------------------------------------------------------------------------------TEST CASES-------------highlight --print-config--This will print the config file search paths and compilation options.---To test syntax definitions, run--highlight --list-scripts=langs--This command compiles all syntax scripts.--highlight --list-scripts=themes-highlight --list-scripts=plugins--These commands show installed files.---To quickly test highlighting on the command line, type:-highlight -ISc-Now type some C code and hit CTRL+D to quit.--Add --verbose to print additional syntax parsing information.---Test filetype recognition:--file suffix (default)--no suffix (i.e. makefile)--shebang (i.e. Bash script)--force syntax using -S---UNNEEDED FILES-----------------Remove src/gui-qt/.qmake.stash---THIRD PARTY COMPATIBILITY----------------------------The following options are used in third party applications:-- --input, -i- --output, -o- --encoding, -u- --font- --font-size- --force- --line-numbers, -l- --replace-tabs, -t- --syntax- --out-format- --include-style- --inline-css- --style- --failsafe- --validate-input--The following themes are used in third party applications:- - bclear (Evolution)--The following platform dependent classes are used in SWIG scripts (ikiwiki):- - DataDir---SO-LIB VERSION-----------------Increase SO_VERSION in src/makefile.- --See the makefiles and INSTALL for more packaging information.--
highlight/TODO
@@ -1,4 +0,0 @@-Planned for future releases:---OnChangeState: return keyword group as second retval--add localization support for command line interface (gettext)
highlight/examples/highlight_pipe.php
@@ -1,170 +0,0 @@-<?php--/**This PHP class serves as interface to the highlight utility.-Input and output streams are handled with pipes.-Command line parameters are validated before use.-*/--class HighlightPipe {-- // alter these members to control highlight output- // see manpage for the options-- var $hl_option = array(- 'hl_bin' => 'highlight', // configure path of highlight binary- 'syntax' => 'c',- 'theme' => 'kwrite',- 'force' => 1,- 'line-numbers' => 0,- 'line-number-length' => 4,- 'line-number-start' => 0,- 'zeroes' => 0,- 'wraptype' => 0,- 'line-length' => 0,- 'reformat' => '',- 'kw-case' => '',- 'replace-tabs' => 0,- 'encoding' => '',- 'enclose-pre' => 1,- 'inline-css' => 1,- 'fragment' => 1,- );-- // this member contains the input source code- var $input='';-- // this member will contain the command string after getResult() was called- var $hl_cmd_str='';-- function getInfo(){- return array(- 'author' => 'Andre Simon',- 'email' => 'andre.simon1@gmx.de',- 'date' => '2015-10-13',- 'url' => 'http://www.andre-simon.de/',- 'version' => '1.2',- );- }-- // call this method to generate highlighted HTML code- function getResult() {-- foreach ($this->hl_option as $key => $value) {- $this->hl_option[$key] = $this->validate( $value );- }-- $descriptorspec = array(- 0 => array("pipe", "r"),- 1 => array("pipe", "w")- );-- $this->hl_cmd_str = $this->hl_option['hl_bin'];-- if ($this->hl_option['line-numbers']){- $this->hl_cmd_str .= " -l -m 1";- /*$this->hl_cmd_str .= $this->get_config('hl_linenumbersberstart');*/- if ($this->hl_option['zeroes']){- $this->hl_cmd_str .= " -z ";- }- if ($this->hl_option['line-number-length']!='0' && is_numeric($this->hl_option['line-number-length'])) {- $this->hl_cmd_str .= ' -j ';- $this->hl_cmd_str .=$this->hl_option['line-number-length'];- }- }-- if (is_numeric($this->hl_option['replace-tabs']) and $this->hl_option['replace-tabs']>0) {- $this->hl_cmd_str .= " -t ";- $this->hl_cmd_str .= $this->hl_option['replace-tabs'];- }-- if ($this->hl_option['wraptype']>0){- $this->hl_cmd_str .= ($this->hl_option['wraptype'] == 1)? ' -V ':' -W ';- if ($this->hl_option['line-length']>0 && is_numeric($this->hl_option['line-length'])) {- $this->hl_cmd_str .= " -J ";- $this->hl_cmd_str .= $this->hl_option['line-length'];- }- }-- if (strlen($this->hl_option['reformat'])>1){- $this->hl_cmd_str .= " -F ";- $this->hl_cmd_str .= $this->hl_option['reformat'];- }-- if (strlen($this->hl_option['kw-case'])>1){- $this->hl_cmd_str .= " --kw-case ";- $this->hl_cmd_str .= $this->hl_option['kw-case'];- }-- if ($this->hl_option['force']){- $this->hl_cmd_str .= " --force ";- }-- if ($this->hl_option['inline-css']){- $this->hl_cmd_str .= " --inline-css ";- }-- if ($this->hl_option['fragment']){- $this->hl_cmd_str .= " -f ";- }-- if ($this->hl_option['theme']){- $this->hl_cmd_str .= " -s ";- $this->hl_cmd_str .= $this->hl_option['theme'];- }-- if ($this->hl_option['encoding']){- $this->hl_cmd_str .= " -u ";- $this->hl_cmd_str .= $this->hl_option['encoding'];- }-- if ($this->hl_option['enclose-pre']){- $this->hl_cmd_str .= " --enclose-pre ";- }-- $this->hl_cmd_str .= " -S ";- $this->hl_cmd_str .= $this->hl_option['syntax'];-- $process = proc_open($this->hl_cmd_str, $descriptorspec, $pipes);- if (is_resource($process)) {-- fwrite($pipes[0], $this->input);- fclose($pipes[0]);-- $output = stream_get_contents($pipes[1]);- fclose($pipes[1]);-- // It is important that you close any pipes before calling- // proc_close in order to avoid a deadlock- proc_close($process);- }- return $output;- }--- // PRIVATE STUFF- var $special = array(' ', '/','!','&','*','\\', '.', '|', '´','\'', '<', '>');-- function validate($string) {- return (strlen($string)>50)? "" : str_replace($this->special,"",$string);- }-- }--/*****************************************************************************/--/*--// Sample code:-- $generator = new HighlightPipe;- $generator->input='int main () { return 0; }';-- $generator->hl_option['theme']='neon';- $generator->hl_option['syntax']='c';-- $result= $generator->getResult();-- print $result;-*/--?>
highlight/examples/highlight_pipe.pm
@@ -1,65 +0,0 @@-package highlight_pipe;--# This Perl package serves as interface to the highlight utility.-# Input and output streams are handled with pipes.-# Command line parameter length is validated before use.--use IPC::Open3;--my $hl_bin='highlight';--sub new {- my $object = shift;- my $ref = {};- bless($ref,$object);- return($ref);-}--sub getResult {- my $object = shift;- my $src = shift;-- my @hl_args = ();- my $option;- while ( my ($key, $value) = each(%$object) ) {- $option =" --$key";- if ($value ne "1") {$option .= "=$value"};- if (length($option)<50) { push (@hl_args, $option); }- }- local(*HIS_IN, *HIS_OUT, *HIS_ERR);-- my $childpid = IPC::Open3::open3(\*HIS_IN, \*HIS_OUT, \*HIS_ERR, $hl_bin. join ' ', @hl_args)- or die ("error invoking highlight");-- print HIS_IN $src;- close(HIS_IN); # Give end of file to kid.-- my @outlines = <HIS_OUT>; # Read till EOF.- my @errlines = <HIS_ERR>; # Read till EOF.- close HIS_OUT;- close HIS_ERR;- waitpid($childpid, 0);-- if (@errlines) { die (join '\n', @errlines); }-- return join '', @outlines;-}--###############################################################################-# Sample code:--# insert use statement in other perl scripts:-#use highlight_pipe;--my $html = highlight_pipe -> new();--$html->{'syntax'} ='c';-$html->{'fragment'} = 1;-$html->{'inline-css'} = 1;-$html->{'enclose-pre'} = 1;-$html->{'style'} = 'edit-vim';--my $input='int main () { return 0; }';-my $output=$html->getResult($input);--print "$output\n";
highlight/examples/highlight_pipe.py
@@ -1,46 +0,0 @@-from subprocess import *--class HighlightPipe:- """ This Python package serves as interface to the highlight utility.- Input and output streams are handled with pipes.- Command line parameter length is validated before use."""-- def __init__(self):- self.cmd = 'highlight'- self.src=''- self.options=dict()- self.success=False-- def getResult(self):- cmd = self.cmd- for k, v in self.options.iteritems():- option=" --%s" % k- if ( v != '1'): option += "=%s" % v- if (len(option)<50): cmd += option- p = Popen(cmd, shell=True, bufsize=512, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True)- (child_stdin, child_stdout, child_stderr) = (p.stdin, p.stdout, p.stderr)-- child_stdin.write(self.src)- child_stdin.close()- err_msg = child_stderr.readlines()- if (len(err_msg)>0): return err_msg- self.success=True- return child_stdout.readlines()---###############################################################################--def main():- gen = HighlightPipe();- gen.options['syntax'] = 'c'- gen.options['style'] = 'edit-vim'- gen.options['enclose-pre'] = '1'- gen.options['fragment'] = '1'- gen.options['inline-css'] = '1'- gen.src = 'int main ()\n{ return 0; }'-- print gen.getResult()- if not gen.success: print "Execution failed."--if __name__=="__main__":- main()
highlight/examples/swig/README_SWIG
@@ -1,24 +0,0 @@--HIGHLIGHT SWIG INTERFACE GENERATION--------------------------------------SWIG (http://www.swig.org/) is a tool to generate interfaces for more than 10-programming languages, inluding Python, Perl, Java and C#.-The interface file highlight.i contains all information to generate wrapper code-for the highlight::CodeGenerator class. The output module gives you access to-the highlight parser from within your favorite (scripting) language.-See src/include/codegenerator.h for the library interface.---See the makefile how to compile Python, Perl or PHP modules:--1. make python- make perl- make php --2. Run the test scripts- python testmod.py (use 2.x interpreter)- perl testmod.pl- php testmod.php--See http://wiki.andre-simon.de/ for more information.
highlight/examples/swig/highlight.i
@@ -1,19 +0,0 @@-%module highlight-%include stl.i-%include std_string.i---%{-#include "../../src/include/datadir.h"-#include "../../src/include/enums.h"-#include "../../src/include/syntaxreader.h"-#include "../../src/include/codegenerator.h"-%}--%apply const std::string& { const string& };-%apply std::string { string };--%include "../../src/include/datadir.h"-%include "../../src/include/enums.h"-%include "../../src/include/syntaxreader.h"-%include "../../src/include/codegenerator.h"
highlight/examples/swig/makefile
@@ -1,48 +0,0 @@--CXX=g++-CFLAGS=-g -O2 -fPIC--HL_INC=../../src/include/-HL_SRC=../../src/--LUA_CFLAGS=$(shell pkg-config --cflags lua)-LUA_LIBS=$(shell pkg-config --libs lua)-PYTHON_CFLAGS=$(shell pkg-config --cflags python-2.7)-PERL_INC=$(shell perl -MExtUtils::Embed -eccopts)-PHP_INC=$(shell php-config --includes)--lib-stamp:- make -C ${HL_SRC} -f ./makefile clean- PIC=1 make -C ${HL_SRC} -f ./makefile CFLAGS="${CFLAGS}" libhighlight.a- touch $@--python: lib-stamp- swig -c++ -python -o highlight_wrap.cpp highlight.i- ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PYTHON_CFLAGS} -I${HL_INC} - ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -lpython2.7 -o _highlight.so--perl: lib-stamp- swig -c++ -perl -o highlight_wrap.cpp highlight.i- ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PERL_INC} -I${HL_INC} - ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so--php: lib-stamp- swig -c++ -php -o highlight_wrap.cpp highlight.i- ${CXX} ${CFLAGS} -c highlight_wrap.cpp ${LUA_CFLAGS} ${PHP_INC} -I${HL_INC}- ${CXX} -shared -s highlight_wrap.o -L${HL_SRC} -lhighlight ${LUA_LIBS} -o highlight.so--clean: python-clean perl-clean php-clean- rm -f *-stamp- rm -f highlight.py--python-clean:- rm -f _highlight.so *.pyc- rm -rf __pycache__--perl-clean:- rm -f highlight.so highlight_wrap.cpp highlight.pm *.o--php-clean:- rm -f highlight.so highlight_wrap.cpp highlight.php *.o php_highlight.h--.PHONY: python python-clean perl perl-clean php php-clean clean
highlight/examples/swig/testmod.php
@@ -1,183 +0,0 @@-<?php--/* Set enable_dl = On in your php.ini and copy highlight.so in /usr/lib/php/modules/ */--if (!extension_loaded('highlight')){- if (!dl('highlight.so')) {- exit;- }-}--/**- * return value options- *- * @param $options array $options- * @param $short_opts string key short_opts- * @param $long_opts string key short_opts- * @return string value of short_opts or long_opts or false if not set- */-function valueOptions($options,$short_opts,$long_opts) {- if (isset($options[$short_opts])) {- if ($options[$short_opts]==false) {- return true;- } else {- return $options[$short_opts];- }-- } else if (isset($options[$long_opts])) {- if ($options[$long_opts]==false) {- return true;- } else {- return $options[$long_opts];- }-- } else {- return false;- }-}-$help = <<<HELP-General Options:---i, --input <file> name of single input file--S, --syntax <type> specify type of source code--Output formatting options:---O, --outformat <format> output file in given format- <format>=[HTML,XHTML,LATEX,TEX- ODT,RTF,ANSI,XTERM256,BBCODE,SVG]--f, --fragment omit document header and footer--F, --reformat <style> reformats and indents output in given style- <style>=[allman, banner, gnu,horstmann,java- kr,linux,otb,sstroustrup, whitesmith]- --inlinecss output CSS within each tag (verbose output)--I, --includestyle include style definition--l, --linenumbers print line numbers in output file--m, --linenumberstart <cnt> start line numbering with cnt (assumes -l)--s, --style <style> set colour style-HELP;--$short_opts = '';-$short_opts .= 'f';-$short_opts .= 'F:';-$short_opts .= 'i:';-$short_opts .= 'I';-$short_opts .= 'l';-$short_opts .= 'm:';-$short_opts .= 'O:';-$short_opts .= 's:';-$short_opts .= 'S:';--$long_opts = array(- 'fragment',- 'inlinecss',- 'input:',- 'includestyle',- 'linenumbers',- 'linenumberstart:',- 'outputformat:',- 'reformat:',- 'style:',- 'syntax:'-);-$options = getopt($short_opts,$long_opts);--if (empty($options)) {- echo $help."\n";- exit;-}--$outformat = valueOptions($options,'O','outformat');-$outformat = strtolower($outformat);-$out = 0; // default, HTML---if($outformat) {- switch ($outformat) {- case 'xhtml': $out = 1; break;- case 'tex': $out = 2; break;- case 'latex': $out = 3; break;- case 'rtf': $out = 4; break;- case 'ansi': $out = 5; break;- case 'xterm256': $out = 6; break;- case 'html32': $out = 7; break;- case 'svg': $out = 8; break;- case 'bbcode': $out = 9; break;- case 'pango': $out = 10; break;- case 'odt': $out = 11; break;- default: $out = 0;- }-}--$gen = codegenerator_getinstance($out);--// Initialize DataDir instance-$data_dir = new_datadir();-$highlight_data = datadir_lsb_data_dir_get();--// -F, --reformat <style>-$reformat = valueOptions($options,'F','reformat');-if ($reformat) {- codegenerator_initindentationscheme($gen,$reformat);-}--// --inlinecss-$inlinecss = valueOptions($options,'inlinecss','inlinecss');-if($inlinecss) {- codegenerator_sethtmlinlinecss($gen,true);-}--// -s, --style <style>-$style = valueOptions($options,'s','style');-if ($style) {- $theme_path = datadir_getthemepath($data_dir,$style.".theme");--} else {- $theme_path = datadir_getthemepath($data_dir,"seashell.theme");-}-codegenerator_inittheme($gen,$highlight_data.$theme_path);--// -i, --input <file>-$input = valueOptions($options,'i','input');-$handle = fopen($input,"r");-$filename = fread($handle,filesize($input));--// -S, --syntax <type>-$syntax = valueOptions($options,'S','syntax');-if (!$syntax) {- $ext_temp = explode('.',$input);- $syntax = end($ext_temp);-}-$lang_path = datadir_getlangpath($data_dir,$syntax.".lang");-codegenerator_loadlanguage($gen,$highlight_data.$lang_path);--// -I, --includestyle-$includestyle = valueOptions($options,'I','includestyle');-if($includestyle) {- codegenerator_setincludestyle($gen,true);-}--// -f, --fragment-$fragment = valueOptions($options,'f','fragment');-if ($fragment) {- codegenerator_setfragmentcode($gen,true);-}--// -l, --linenumbers-$linenumbers = valueOptions($options,'l','linenumbers');-if($linenumbers) {- codegenerator_setprintlinenumbers($gen,true);-}--// -m, --linenumberstart <cnt>-$linenumberstart = valueOptions($options,'m','linenumberstart');-if ($linenumberstart) {- $linenumberstart = (int) $linenumberstart; // make sure it's integer- codegenerator_setprintlinenumbers($gen,true,$linenumberstart);-}----//print!!!-echo codegenerator_generatestring($gen,$filename);-
highlight/examples/swig/testmod.pl
@@ -1,36 +0,0 @@-# Perl SWIG module test script-#-# Import highlight.pm, which is the interface for the highlight.so module.-# See highlight.pm for all available attributes and class members.--use highlight;--#get a generator instance (for HTML output)-my $gen = highlight::CodeGenerator::getInstance($highlight::CodeGenerator::HTML);- -my $dir = new highlight::DataDir();--#$dir->searchDataDir("");-$dir->initSearchDirectories("");---my $themepath=$dir->getThemePath("seashell.theme");-my $langpath=$dir->getLangPath("c.lang");--#initialize the generator with a colour theme and the language definition-$gen->initTheme($themepath);-$gen->loadLanguage($langpath);--#set some parameters-$gen->setIncludeStyle(1);-$gen->setEncoding("ISO-8859-1");--#get output string-my $output=$gen->generateString("int main(int argc, char **argv) {\n".- " HighlightApp app;\n".- " return app.run(argc, argv);\n".- "}\n");-print $output;--# clear the instance-highlight::CodeGenerator::deleteInstance($gen);
highlight/examples/swig/testmod.py
@@ -1,92 +0,0 @@-# -*- coding: utf-8 -*--# More advanced SWIG module test script-#-# Import highlight.py, which is the interface for the _highlight.so module.-# See highlight.py for all available attributes and class members.-#-# Example: python2.7 testmod.py -Sperl -O odt testmod.pl testmod.pl.odt--import highlight-import sys-from optparse import OptionParser--formatList = { "html": highlight.HTML,- "xhtml": highlight.XHTML,- "latex": highlight.LATEX,- "rtf": highlight.RTF,- "tex": highlight.TEX,- "ansi": highlight.ESC_ANSI,- "xterm256": highlight.ESC_XTERM256,- "truecolor": highlight.ESC_TRUECOLOR,- "odt": highlight.ODTFLAT,- "bbcode": highlight.BBCODE,- "svg": highlight.SVG,- "pango": highlight.PANGO- }--HL_DIR="/usr/share/highlight/"--def highlightFile():-- parser = OptionParser("usage: %prog [options] input-file output-file")- parser.add_option("-O", "--format", default="html",- choices=("html","xhtml","latex","tex","rtf","ansi","xterm256", "svg", "odt", "bbcode", "pango"),- help="Output format (html, xhtml, latex, tex, rtf, ansi, xterm256, odt, bbcode, svg, pango)")- parser.add_option("-d", "--doc-title", default="Source file",- help="document title")- parser.add_option("-f", "--fragment", action="store_true", default = False, - help="omit file header and footer")- parser.add_option("-F", "--reformat",- choices=('allman','gnu','java','kr','linux', 'banner','stroustrup','whitesmith', 'google', 'pico', 'lisp', 'vtk'),- help="reformats and indents output in given style")- parser.add_option("-l", "--linenumbers", action="store_true", default = False,- help="print line numbers in output file")- parser.add_option("-S", "--syntax",- help="specify type of source code")- parser.add_option("-s", "--theme", default="seashell",- help="defines colour theme")- parser.add_option("-u", "--encoding", default="ISO-8859-1",- help="define output encoding which matches input file encoding")-- (options, args) = parser.parse_args(sys.argv[1:])- if len(args)!=2:- parser.print_help()- return-- formatName=options.format.lower()- outFormat = formatName in formatList and formatList[formatName] or highlight.HTML-- (infile, outfile) = args-- gen=highlight.CodeGenerator.getInstance(outFormat)- datadir=highlight.DataDir()- datadir.initSearchDirectories(HL_DIR)-- #initialize the generator with a colour theme and the language definition- gen.initTheme(datadir.getThemePath("%s.theme" % options.theme))-- if options.reformat:- gen.initIndentationScheme(options.reformat)-- if (options.syntax):- syntax = options.syntax- else:- syntax = infile[infile.rindex(".")+1:]-- gen.loadLanguage(datadir.getLangPath("%s.lang" % syntax))-- gen.setIncludeStyle(True)- gen.setTitle(options.doc_title)- gen.setFragmentCode(options.fragment)- gen.setPrintLineNumbers(options.linenumbers)- gen.setEncoding(options.encoding)-- gen.generateFile(infile, outfile)-- # clear the instance- highlight.CodeGenerator.deleteInstance(gen)--###############################################################################-if __name__ == "__main__":- highlightFile()-
highlight/examples/tcl/README_TCL
@@ -1,13 +0,0 @@-HIGHLIGHT TCL EXTENSION--------------------------Run make to compile the TCL extension.--The extension provides these functions in the highlight namespace:-html, tex, latex, xterm256, truecolor, ansi, bbcode, pango--tclsh example:--% load tclhighlight.so-% ::highlight::html "int main()"-<span class="hl kwb">int</span> <span class="hl kwd">main</span><span class="hl opt">()</span>
highlight/examples/tcl/makefile
@@ -1,46 +0,0 @@-# Simple Makefile for tclansifilter-# This file will compile the tclansifilter shared object.--CC=g++--# default lua lib-LUA_LIBS=$(shell pkg-config --libs lua)--CFLAGS= -c -Wall -O2 -std=c++11 -fPIC -I ../../src/include--LDFLAGS= -shared -fPIC--SOURCES=stylecolour.cpp stringtools.cpp \-xhtmlgenerator.cpp latexgenerator.cpp texgenerator.cpp rtfgenerator.cpp \-htmlgenerator.cpp ansigenerator.cpp svggenerator.cpp codegenerator.cpp \-xterm256generator.cpp pangogenerator.cpp bbcodegenerator.cpp odtgenerator.cpp\-syntaxreader.cpp elementstyle.cpp themereader.cpp datadir.cpp preformatter.cpp platform_fs.cpp\-astyle/ASStreamIterator.cpp astyle/ASResource.cpp astyle/ASFormatter.cpp\-astyle/ASBeautifier.cpp astyle/ASEnhancer.cpp \-Diluculum/InternalUtils.cpp Diluculum/LuaExceptions.cpp Diluculum/LuaFunction.cpp\-Diluculum/LuaState.cpp Diluculum/LuaUserData.cpp Diluculum/LuaUtils.cpp Diluculum/LuaValue.cpp\-Diluculum/LuaVariable.cpp Diluculum/LuaWrappers.cpp--OBJECTS=$(SOURCES:.cpp=.o) tclhighlight.o-BINARY=tclhighlight.so--all: $(OBJECTS) $(BINARY)--$(BINARY): $(OBJECTS)- $(CC) $(LDFLAGS) $(OBJECTS) -o $@ ${LUA_LIBS}--%.o: ../../src/core/%.cpp- $(CC) $(CFLAGS) $< -o $@--astyle/%.o: ../../src/core/astyle/%.cpp- @mkdir -p $(@D)- $(CC) $(CFLAGS) $< -o $@--Diluculum/%.o: ../../src/core/Diluculum/%.cpp- @mkdir -p $(@D)- $(CC) $(CFLAGS) $< -o $@--clean:- @rm -f *.o- @rm -f $(BINARY)- @rm -rf astyle Diluculum
highlight/examples/tcl/pkgIndex.tcl
@@ -1,11 +0,0 @@-# Tcl package index file, version 1.1-# This file is generated by the "pkg_mkIndex" command-# and sourced either when an application starts up or-# by a "package unknown" script. It invokes the-# "package ifneeded" command to set up package-related-# information so that packages will be loaded automatically-# in response to "package require" commands. When this-# script is sourced, the variable $dir must contain the-# full path name of this file's directory.--package ifneeded highlight 0.1 [list load [file join $dir tclhighlight.so]]
highlight/examples/tcl/tclhighlight.c
@@ -1,109 +0,0 @@-/*- * tclhighlight.c -- a minimal Tcl wrapper for highlight- * based on the ansifilter extension of Martin Heinrich- *- * See README_TCL for compilation and usage- *- * Edit theme and syntax below- */--#include <tcl.h>-#include <memory>-#include "../../src/include/codegenerator.h"--// Tcl namespace-#define NS "highlight"--// highlight requires C++ compiler-extern "C" {--static int-Execute_Escape_Cmd(highlight::OutputType type, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- int i;- // XXX this creates and destroys new instances for every call!- unique_ptr<highlight::CodeGenerator> generator(highlight::CodeGenerator::getInstance(type));-- generator->initTheme ( "/usr/share/highlight/themes/edit-kwrite.theme" ); //EDIT theme- generator->loadLanguage ( "/usr/share/highlight/langDefs/c.lang" ); //EDIT language definition- generator->setFragmentCode(1); // -f- generator->disableTrailingNL(1);-- for (i = 1; i < objc; i++) {- Tcl_AppendResult(interp, generator->generateString(Tcl_GetString(objv[i])).c_str(), NULL);- }- return TCL_OK;-}--static int-LaTeXEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::LATEX, interp, objc, objv);-}--static int-TeXEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::TEX, interp, objc, objv);-}--static int-HtmlEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::HTML, interp, objc, objv);-}--static int-BBCodeEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::BBCODE, interp, objc, objv);-}--static int-PangoEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::PANGO, interp, objc, objv);-}--static int-AnsiEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::ESC_ANSI, interp, objc, objv);-}--static int-Xterm256Escape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::ESC_XTERM256, interp, objc, objv);-}-static int-TrueColorEscape_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])-{- return Execute_Escape_Cmd(highlight::ESC_TRUECOLOR, interp, objc, objv);-}-/*- * Tclhighlight_Init -- Called when Tcl loads your extension.- */-int DLLEXPORT-Tclhighlight_Init(Tcl_Interp *interp)-{- if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {- return TCL_ERROR;- }- // provide package- if (Tcl_PkgProvide(interp, "highlight", "0.1") == TCL_ERROR) {- return TCL_ERROR;- }- // create command- Tcl_CreateObjCommand(interp, NS "::tex", TeXEscape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::latex", LaTeXEscape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::html", HtmlEscape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::bbcode", BBCodeEscape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::pango", PangoEscape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::ansi", AnsiEscape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::xterm256", Xterm256Escape_Cmd, NULL, NULL);- Tcl_CreateObjCommand(interp, NS "::truecolor", TrueColorEscape_Cmd, NULL, NULL);- return TCL_OK;-}--} // extern "C"
highlight/examples/web_plugins/dokuwiki/syntax.php
@@ -1,242 +0,0 @@-<?php-/*-Plugin Name: Highlight-Plugin URI: http://www.andre-simon.de-Description: Plugin which uses the highlight utility to generate coloured source code-Author: André Simon-Version: 1.2-Author URI: http://www.andre-simon.de---This file is part of Highlight.--Highlight is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--Highlight is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with Highlight. If not, see <http://www.gnu.org/licenses/>.-*/--/*-== Description ==--The highlight utility converts source code of 120 programming languages to HTML -with syntax highlighting. This plugin pipes the content of <highlight>-Tags associated-with a lang parameter to highlight, and returns the output code which is included-in the Wiki page.--Usage:--Paste the following in the edit section of the wiki editing form:--<highlight cpp>#include <stdio.h>--int main (void){- printf("This is some random code");- return 0;-}</highlight>--Use the lang parameter to define the programming language (c, php, py, xml, etc).-See the highlight documentation to learn all possible languages.-See the syntax.php file for some formatting options (line numbering, code-indentation, line wrapping etc).--== Installation ==--1. Install highlight (www.andre-simon.de) on your host-2. Unzip the dokuwiki_highlight.zip file and upload the content to the - `lib/plugins/` directory- */- -if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');-if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');-require_once(DOKU_PLUGIN.'syntax.php');- -class syntax_plugin_highlight extends DokuWiki_Syntax_Plugin {-- function getInfo(){- return array(- 'author' => 'Andre Simon',- 'email' => 'andre.simon1@gmx.de',- 'date' => '2007-05-29',- 'name' => 'Highlight Plugin',- 'desc' => 'Plugin which uses the highlight utility (http://www.andre-simon.de) instead of Geshi for source code highlighting',- 'url' => 'http://wiki.splitbrain.org/wiki:plugins',- );- }- - /**- * What kind of syntax are we?- */- function getType(){- return 'formatting';- }- - /**- * What kind of syntax do we allow (optional)- */-// function getAllowedTypes() {-// return array();-// }- - /**- * What about paragraphs? (optional)- */- function getPType(){- return 'block';- }- - /**- * Where to sort in?- */ - function getSort(){- return 199;- }- - - /**- * Connect pattern to lexer- */- function connectTo($mode) {- $this->Lexer->addEntryPattern('<highlight(?=[^\r\n]*?>.*?</highlight>)',$mode,'plugin_highlight');- }- - function postConnect() {- $this->Lexer->addExitPattern('</highlight>','plugin_highlight');- }-- /**- * Handle the match- */- function handle($match, $state, $pos, &$handler){-- switch ($state) {- case DOKU_LEXER_ENTER :- break;- case DOKU_LEXER_UNMATCHED : - list($lang, $content) = preg_split('/>/u',$match,2);- $lang = trim($lang);- return array($state, $lang, $content);-- case DOKU_LEXER_EXIT :- break;- }- return array();- }- - /**- * Create output- */- function render($mode, &$renderer, $data) {- // Highlight options:- $hl_options=array();- $hl_options['hl_binary']='/highlight'; // path to the highlight binary- $hl_options['line-numbers']=false;- $hl_options['theme']='edit-kwrite'; // set color theme- $hl_options['linenumber-start']=1;- $hl_options['linenumber-zeroes']=1; // set to 1 if line numbers should be padded with zeros- $hl_options['linenumber-length']=2;- $hl_options['reformat-style']="gnu"; // possible values for C, C++ and Java Code: ansi, gnu, java, kr, linux- $hl_options['replace-tabs']=4; //number of spaces which replace a tab- $hl_options['wrap-style']=2; //0 -> disable, 1-> wrap, 2-> wrap and indent function names- $hl_options['wrap-line-length']=80; // if wrap-style <>0, this defines the line length before wrapping takes place--- if($mode == 'xhtml'){- list($state, $lang, $input_code) = $data;- $lang = preg_replace("'[^a-zA-Z]'","",$lang);- switch ($state) {- case DOKU_LEXER_ENTER :- break;- - case DOKU_LEXER_UNMATCHED : // $renderer->doc .= $renderer->_xmlEntities($match); break;- - $search = array("&",""", "<", ">","\","'"," ");- $replace = array("&","\"", "<", ">","\\","\'", " ");- $input_code = str_replace($search, $replace, $input_code);- - $descriptorspec = array(- 0 => array("pipe", "r"), // stdin is a pipe that the child will read from- 1 => array("pipe", "w") // stdout is a pipe that the child will write to- );- - $hl_cmd_str = $hl_options['hl_binary'];- $hl_cmd_str .= ' --inline-css -f ';- - if ($hl_options['line-numbers']){- $hl_cmd_str .= " -l -m ";- $hl_cmd_str .= $hl_options['linenumber-start'];- if ($hl_options['linenumber-zeroes']){- $hl_cmd_str .= " -z -j ";- $hl_cmd_str .= $hl_options['linenumber-length'];- }- }- - if ($hl_options['replace-tabs']) {- $hl_cmd_str .= " -t ";- $hl_cmd_str .= $hl_options['replace-tabs'];- }- - if ($hl_options['wrap-style']){- $hl_cmd_str .= ($hl_options['wrap-style'] == 1)? ' -V ':' -W ';- $hl_cmd_str .= " -J ";- $hl_cmd_str .= $hl_options['wrap-line-length'];- }- - if ($hl_options['reformat-style']){- $hl_cmd_str .= " -F ";- $hl_cmd_str .= $hl_options['reformat-style'];- }- - if ($hl_options['theme']){- $hl_cmd_str .= " -s ";- $hl_cmd_str .= $hl_options['theme'];- }-- $hl_cmd_str .= " -S $lang ";- - $process = proc_open($hl_cmd_str, $descriptorspec, $pipes);- - if (is_resource($process)) {- - fwrite($pipes[0], $input_code);- fclose($pipes[0]);- - $output = stream_get_contents($pipes[1]);- fclose($pipes[1]);- - // It is important that you close any pipes before calling- // proc_close in order to avoid a deadlock- proc_close($process);- }- if (!strlen($output)) {- $renderer->doc .= "<small>ERROR: Execution of highlight ($hl_cmd_str) failed or missing input. Check binary path.</small>"; - $renderer->doc .= "<pre style=\"font-size:9pt;\">";- $renderer->doc .= $renderer->_xmlEntities($input_code); - $renderer->doc .= "</pre>"; - - } else {- $renderer->doc .= "<pre style=\"font-size:9pt;\">";- $renderer->doc .= $output;- $renderer->doc .= "</pre>"; - }-- //$renderer->doc .= "<br>cmd=".$hl_cmd_str;-- break;- case DOKU_LEXER_EXIT :- break;- }- return true;- }- return false;- }-}-
highlight/examples/web_plugins/movabletype/README
@@ -1,35 +0,0 @@-Plugin Name: Highlight-Plugin URI: http://www.andre-simon.de-Description: Plugin which uses the highlight utility to generate coloured source code-Author: André Simon-Version: 1.2-Author URI: http://www.andre-simon.de/--== Description ==--The highlight utility converts source code of 120 programming languages to HTML -with syntax highlighting. This plugin pipes the content of <highlight>-Tags associated-with a lang parameter to highlight, and returns the output code which is finally included-in the MT page.--Usage:--Paste the following in the edit section of the MT blog editing form:--<highlight lang="cpp">#include <stdio.h>--int main (void){- printf("This is some random code");- return 0;-}</highlight>--Use the lang parameter to define the programming language (c, php, py, xml, etc).-See the highlight documentation to learn all possible languages.-See the syntax.php file for some formatting options (line numbering, code-indentation, line wrapping etc).--== Installation ==--1. Install highlight (www.andre-simon.de) on your host-2. Unzip the mt_highlight.zip file and upload the content to the - `plugins/` directory
highlight/examples/web_plugins/movabletype/highlight.pl
@@ -1,88 +0,0 @@-#Plugin Name: Highlight-#Plugin URI: http://www.andre-simon.de-#Description: Plugin which uses the highlight utility to generate coloured source code-#Author: André Simon-#Version: 1.2-#Author URI: http://www.andre-simon.de/--#This file is part of Highlight.-#-#Highlight is free software: you can redistribute it and/or modify-#it under the terms of the GNU General Public License as published by-#the Free Software Foundation, either version 3 of the License, or-#(at your option) any later version.-#-#Highlight is distributed in the hope that it will be useful,-#but WITHOUT ANY WARRANTY; without even the implied warranty of-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-#GNU General Public License for more details.-#-#You should have received a copy of the GNU General Public License-#along with Highlight. If not, see <http://www.gnu.org/licenses/>.--package MT::Plugin::Highlight;--use strict;-use IPC::Open3;-use MT;-use MT::Entry;-use MT::Plugin;-use MT::Template::Context;-use MT::WeblogPublisher;--my $plugin = new MT::Plugin();-$plugin->name("MT Highlight");-$plugin->description('Source code highlighter using highlight (http://www.andre-simon.de)');-$plugin->doc_link('http://wiki.andre-simon.de/');-$plugin->author_name('Andre Simon');-$plugin->author_link('http://www.andre-simon.de/');-$plugin->plugin_link('http://wiki.andre-simon.de/');-$plugin->version('1.3');--MT->add_callback("BuildPage", 1, $plugin, \&highlight_callback);-MT->add_plugin($plugin);--sub highlight_callback-{- my ($cb, %args) = @_;- use Data::Dumper;- my $html = ${$args{'Content'}};- $html =~ s/<highlight([^>]*?)lang="([^"]+?)"([^>]*?)>(.*?)<\/highlight>/highlight_code($2,$4)/ges;- ${$args{'Content'}} = $html;- return 1;-}--sub highlight_code-{- my ($lang, $source) = @_;-- $lang =~ s/[^a-zA-Z]//g; # delete special chars in user input- $source =~ s/\<br \/\>//g; # get rid of <br> Tags inserted by MT- $source =~ s/\<\/?p\>//g; # MT inserts <p> Tags if <, > are present in input code-- local(*HIS_IN, *HIS_OUT, *HIS_ERR);-- my @hl_args = ('-f', "-S$lang");- push (@hl_args, '--inline-css'); # use inline css definitions- push (@hl_args, '-sedit-kwrite'); # coloring theme- push (@hl_args, '-l'); # linenumbers- push (@hl_args, '-j2'); # linenumber length- push (@hl_args, '-z'); # linenumber zeroes- push (@hl_args, '-Fgnu'); # reformat- push (@hl_args, '-t4'); # replace tabs- my $childpid = IPC::Open3::open3(*HIS_IN, *HIS_OUT, *HIS_ERR, 'highlight', @hl_args);- print HIS_IN $source;- close(HIS_IN); # Give end of file to kid.- my @outlines = <HIS_OUT>; # Read till EOF.-- close HIS_OUT;- close HIS_ERR;- waitpid($childpid, 0);-- my $htext = join "", @outlines;-- return "<pre>".$htext."</pre>";-}---
highlight/examples/web_plugins/serendipity_event_highlight/lang_de.inc.php
@@ -1,32 +0,0 @@-<?php --@define('PLUGIN_EVENT_HIGHLIGHT_NAME', 'Markup: Highlight');-@define('PLUGIN_EVENT_HIGHLIGHT_DESC', 'Farbige Syntax-Hervorhebung mit dem highlight tool. Einbindung mit dem Tag: [highlight lang=langName ] code [/highlight]');-@define('PLUGIN_EVENT_HIGHLIGHT_TRANSFORM', 'Benutzen Sie <b>[highlight lang=langName][/highlight]</b> Tags, um Sourcecode farbig hervorzuheben.');-@define('PLUGIN_EVENT_HIGHLIGHT_VERSION','01');--@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR','Highlight Pfad');-@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR_DESC','Pfad der highlight Programdatei');-@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR','Highlight Datenverzeichnis');-@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR_DESC','Dieses Verzeichnis enthält die Programmdaten, z.B. die Unterverzeichnisse langDefs, themes etc');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS', 'Ausgabe Zeilennummern');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS_DESC','Sollen Zeilennummern ausgegeben werden?');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES', 'Zeilennummern füllen');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES_DESC','Sollen Zeilennummern mit Nullen aufgefüllt werden?');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART', 'Beginn der Nummerierung');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART_DESC','Wo soll die Nummerierung beginnen?');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN', 'Zeilennnummernbreite');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN_DESC','Mit wievielen Stellen soll die Nummerierung ausgegeben werden?');-@define('PLUGIN_EVENT_HIGHLIGHT_THEMES', 'Farbschema');-@define('PLUGIN_EVENT_HIGHLIGHT_THEMES_DESC','Wähle ein Farbschema aus, das zu deinem Blog-Style passt.');-@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT', 'Neuformatierung und Einrückung');-@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT_DESC','Wähle ein Schema aus, um C, C++, C# und Java Code einheitlich zu formatieren.');--@define('PLUGIN_EVENT_HIGHLIGHT_WRAP', 'Zeilenumbruch');-@define('PLUGIN_EVENT_HIGHLIGHT_WRAP_DESC','Bestimme, ob Zeilen umgebrochen werden sollen. WRAP INTELLIGENT bedeutet, dass Funktionsparameter und Zuweisungen nach dem Umbruch korrekt eingerückt werden.');-@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN', 'Zeilenlänge vor Umbruch');-@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN_DESC','Gib die maximale Zeilenlänge an (nur wirksam wenn obige Option Zeilenumbruch nicht deaktiviert ist).');-@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN', 'Tabulatorbreite');-@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN_DESC','Bestimme die Anzahl von Leerzeichen, die ein Tab ersetzen.');--?>
highlight/examples/web_plugins/serendipity_event_highlight/lang_en.inc.php
@@ -1,32 +0,0 @@-<?php --@define('PLUGIN_EVENT_HIGHLIGHT_NAME', 'Markup: Highlight');-@define('PLUGIN_EVENT_HIGHLIGHT_DESC', 'Coloured Syntax Highlighting using the highlight utility. Tag usage: [highlight lang=langName ] code [/highlight]');-@define('PLUGIN_EVENT_HIGHLIGHT_TRANSFORM', 'You can use <b>[highlight lang=langName][/highlight]</b> tags to embed source code snippets');-@define('PLUGIN_EVENT_HIGHLIGHT_VERSION','01');--@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR','Path of highlight binary');-@define('PLUGIN_EVENT_HIGHLIGHT_HLBINDIR_DESC','Path of the highlight binary');-@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR','Path of highlight data directory');-@define('PLUGIN_EVENT_HIGHLIGHT_HLDATADIR_DESC','This directory contains the data files located in the subdirectories langDefs, themes etc');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS', 'Line number printout');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS_DESC','Define if the line numbers should be shown.');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES', 'Line number padding');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES_DESC','Define if the line numbers should be padded with zeroes.');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART', 'Line number start');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART_DESC','Define where the line numbering should start.');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN', 'Line number width');-@define('PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN_DESC','Define the line number width.');-@define('PLUGIN_EVENT_HIGHLIGHT_THEMES', 'Color theme');-@define('PLUGIN_EVENT_HIGHLIGHT_THEMES_DESC','Choose a color theme which matches your blog.');-@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT', 'Code reformatting');-@define('PLUGIN_EVENT_HIGHLIGHT_FORMAT_DESC','Choose a indentation and reformatting scheme to reformat C, C++, C# and Java code.');--@define('PLUGIN_EVENT_HIGHLIGHT_WRAP', 'Line wrapping');-@define('PLUGIN_EVENT_HIGHLIGHT_WRAP_DESC','Define if long lines should be wrapped. WRAP INTELLIGENT means that function parameters and assignments are intended after wrapping.');-@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN', 'Line length before wrapping');-@define('PLUGIN_EVENT_HIGHLIGHT_WRAPLEN_DESC','Set the maximum line length (only available if line wrapping is not disabled above).');-@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN', 'Tab width');-@define('PLUGIN_EVENT_HIGHLIGHT_TABLEN_DESC','Define how many spaces should replace a tab.');--?>
highlight/examples/web_plugins/serendipity_event_highlight/serendipity_event_highlight.php
@@ -1,343 +0,0 @@-<?php-/**--serendipity_event_highlight.php--=== Highlight plugin ===--This plugin uses highlight (http://www.andre-simon.de/) to add syntax highlighting to serendipity.--== Description ==--The highlight utility converts source code of 120 programming languages to HTML-with syntax highlighting. This plugin pipes the content of [highlight] tags associated-with a lang parameter to highlight, and returns the output code which is included-in the Serendipity blog entry.-The plugin configuration menu offers the most important options of the highlight utility.-The highlighted code is formatted with inline CSS to avoid complicated plugin setup.--Usage:--Paste the following in the code section of the blog editing form:--[highlight lang=c]#include <stdio.h>--int main (void){- printf("This is some random code");- return 0;-} [/highlight]--Normally the file extension can be used for the lang parameter (like pl, py, java, pas etc).-Execute 'highlight --list-langs' to get a list of all supported programming langauges.--== Installation ==--1. Install the highlight utility on your host (www.andre-simon.de)-2. Copy the serendipity_event_highlight dir into the serendipity plugin dir-3. Activate and configure the plugin in the serendipity administration menu-- IMPORTANT:- To avoid insertion of superfluous <br> Tags by the nl2br plugin, add the- string "highlight" to the "list of HTML-tags where no breaks shall be- converted" in the nl2br configuration menu.-- */---if (IN_serendipity !== true) {- die ("Don't hack!");-}--// Probe for a language include with constants. Still include defines later on, if some constants were missing-$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';-if (file_exists($probelang)) {- include $probelang;-}--include dirname(__FILE__) . '/lang_en.inc.php';--class serendipity_event_highlight extends serendipity_event-{- var $title = PLUGIN_EVENT_HIGHLIGHT_NAME;- // Top Level Configuration, requires name of the Plugin, description text, and configuration information in an array..- function introspect(&$propbag)- {- global $serendipity;-- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_NAME);- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_DESC);- $propbag->add('stackable', false);- $propbag->add('author', 'Andre Simon');- $propbag->add('requirements', array(- 'serendipity' => '0.9',- 'highlight' => '3.23'- ));- $propbag->add('version', '0.2');- $propbag->add('event_hooks', array('frontend_display' => true, 'frontend_comment' => true));- $propbag->add('groups', array('MARKUP'));-- $this->markup_elements = array(- array(- 'name' => 'ENTRY_BODY',- 'element' => 'body',- ),- array(- 'name' => 'EXTENDED_BODY',- 'element' => 'extended',- ),- array(- 'name' => 'COMMENT',- 'element' => 'comment',- ),- array(- 'name' => 'HTML_NUGGET',- 'element' => 'html_nugget',- )- );-- #Colour themes of a highlight default installation- $this->themes = array(- "acid", "aiseered", "andes", "anotherdark", "autumn", "baycomb",- "bclear", "biogoo", "bipolar", "blacknblue", "bluegreen", "breeze",- "bright", "camo", "candy", "clarity", "dante", "darkblue",- "darkbone", "darkness", "darkslategray", "darkspectrum", "denim",- "dusk", "earendel", "easter", "edit-anjuta", "edit-eclipse",- "edit-emacs", "edit-flashdevelop", "edit-gedit", "edit-jedit",- "edit-kwrite", "edit-matlab", "edit-msvs2008", "edit-nedit",- "edit-vim-dark", "edit-vim", "edit-xcode", "ekvoli", "fine_blue",- "freya", "fruit", "golden", "greenlcd", "kellys", "leo",- "lucretia", "manxome", "maroloccio", "matrix", "moe", "molokai",- "moria", "navajo-night", "navy", "neon", "night", "nightshimmer",- "nuvola", "olive", "orion", "oxygenated", "pablo", "peaksea",- "print", "rand01", "rdark", "relaxedgreen", "rootwater",- "seashell", "solarized-dark", "solarized-light", "tabula",- "tcsoft", "the", "vampire", "whitengrey", "xoria256", "zellner",- "zenburn", "zmrok"- );-- #Reformatting schemes of a highlight default installation- $this->reformatschemes = array ("disabled","allman", "ansi", "banner",- "gnu", "google", "horstmann", "java", "kr", "linux", "lisp",- "otbs", "pico", "stroustrup", "vtk", "whitesmith");-- #highlight output options- $conf_array = array('hl_bin_dir','hl_data_dir','hl_linenumbers','hl_linenumberstart','hl_linenumberzeroes','hl_linenumberlen',- 'hl_wrap','hl_wrap_len','hl_tab_len', 'hl_theme','hl_format');-- foreach($this->markup_elements as $element) {- $conf_array[] = $element['name'];- }- $propbag->add('configuration', $conf_array);- }-- function generate_content(&$title) {- $title = $this->title;- }--- function introspect_config_item($name, &$propbag) {- switch ($name) {- case 'hl_bin_dir' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_HLBINDIR);- $propbag->add('type', 'string');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_HLBINDIR_DESC);- $propbag->add('default', 'highlight');- break;- case 'hl_data_dir' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_HLDATADIR);- $propbag->add('type', 'string');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_HLDATADIR_DESC);- $propbag->add('default', '/usr/share/highlight/');- break;- case 'hl_linenumbers' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS);- $propbag->add('type', 'boolean');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERS_DESC);- $propbag->add('default', 'false');- break;- case 'hl_linenumberzeroes' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES);- $propbag->add('type', 'boolean');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERZEROES_DESC);- $propbag->add('default', 'false');- break;- case 'hl_linenumberstart' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART);- $propbag->add('type', 'string');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERSTART_DESC);- $propbag->add('default', '1');- $propbag->add('validate', 'number');- break;-- case 'hl_linenumberlen' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN);- $propbag->add('type', 'string');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_LINENUMBERLEN_DESC);- $propbag->add('default', '2');- $propbag->add('validate', 'number');- break;-- case 'hl_theme' :- $propbag->add('type', 'select');- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_THEMES);- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_THEMES_DESC);- $propbag->add('select_values', $this->themes);- $propbag->add('default', '1');- break;-- case 'hl_format' :- $propbag->add('type', 'select');- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_FORMAT);- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_FORMAT_DESC);- $propbag->add('select_values', $this->reformatschemes);- $propbag->add('default', '0');- break;-- case 'hl_wrap' :- $wrapstyles=array ('No wrap', 'Simple wrap','Intelligent wrap');- $propbag->add('type', 'select');- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_WRAP);- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_WRAP_DESC);- $propbag->add('select_values', $wrapstyles);- $propbag->add('default', '0');- break;- case 'hl_wrap_len' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_WRAPLEN);- $propbag->add('type', 'string');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_WRAPLEN_DESC);- $propbag->add('default', '60');- $propbag->add('validate', 'number');- break;- case 'hl_tab_len' :- $propbag->add('name', PLUGIN_EVENT_HIGHLIGHT_TABLEN);- $propbag->add('type', 'string');- $propbag->add('description', PLUGIN_EVENT_HIGHLIGHT_TABLEN_DESC);- $propbag->add('default', '4');- $propbag->add('validate', 'number');- break;- default :- $propbag->add('name', constant($name));- $propbag->add('type', 'boolean');- $propbag->add('default', 'true');- $propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)));- }- return true;- }-- function geshi($input) {- $input = preg_replace_callback('/\[highlight(?:\s)*lang=([A-Za-z0-9_\-]+)(?:\s)*()?\](.*?)\[\/highlight\]/si', array(&$this, 'highlightcallback'), $input);- return $input;- }-- function event_hook($event, &$bag, &$eventData) {- global $serendipity;-- $hooks = &$bag->get('event_hooks');-- if (isset($hooks[$event])) {- switch($event) {- case 'frontend_display':- foreach ($this->markup_elements as $temp) {- if (serendipity_db_bool($this->get_config($temp['name'], true)) && isset($eventData[$temp['element']]) &&- !$eventData['properties']['ep_disable_markup_' . $this->instance] &&- !isset($serendipity['POST']['properties']['disable_markup_' . $this->instance])) {- $element = $temp['element'];- $eventData[$element] = $this->geshi($eventData[$element]);- }- }- return true;- break;-- case 'frontend_comment':- if (serendipity_db_bool($this->get_config('COMMENT', true))) {- echo '<div class="serendipity_commentDirection serendipity_comment_geshi">' . PLUGIN_EVENT_HIGHLIGHT_TRANSFORM . '</div>';- }- return true;- break;-- default:- return false;- }- } else {- return false;- }- }-- function highlightcallback($matches) {-- $search = array("&",""", "<", ">","\","'"," ");- $replace = array("&","\"", "<", ">","\\","\'", " ");- $input_code = str_replace($search, $replace, $matches[3]);-- $descriptorspec = array(- 0 => array("pipe", "r"), // stdin is a pipe that the child will read from- 1 => array("pipe", "w") // stdout is a pipe that the child will write to- );-- $hl_cmd_str = $this->get_config('hl_bin_dir');- $hl_cmd_str .= ' --inline-css -f ';-- if ( $this->get_config('hl_linenumbers')){- $hl_cmd_str .= " -l -m ";- $hl_cmd_str .= $this->get_config('hl_linenumberstart');- if ($this->get_config('hl_linenumberzeroes')){- $hl_cmd_str .= " -z ";- }- $hl_cmd_str .= ' -j ';- $hl_cmd_str .= $this->get_config('hl_linenumberlen');- }-- if ($this->get_config('hl_tab_len')) {- $hl_cmd_str .= " -t ";- $hl_cmd_str .= $this->get_config('hl_tab_len');- }-- if ($this->get_config('hl_wrap')>0){- $hl_cmd_str .= ($this->get_config('hl_wrap') == 1)? ' -V ':' -W ';- $hl_cmd_str .= " -J ";- $hl_cmd_str .= $this->get_config('hl_wrap_len');- }-- if ($this->get_config('hl_format')>1){- $hl_cmd_str .= " -F ";- $hl_cmd_str .= $this->reformatschemes[$this->get_config('hl_format')];- }--- $hl_cmd_str .= " -s ";- $hl_cmd_str .= $this->themes[$this->get_config('hl_theme')];--- $lang = strtolower($matches[1]);- $hl_cmd_str .= " -S $lang ";-- $process = proc_open($hl_cmd_str, $descriptorspec, $pipes);- if (is_resource($process)) {-- fwrite($pipes[0], $matches[3]);- fclose($pipes[0]);-- $output = stream_get_contents($pipes[1]);- fclose($pipes[1]);-- // It is important that you close any pipes before calling- // proc_close in order to avoid a deadlock- proc_close($process);- }- $result='';- if (!strlen($output)) {- $result .= "<small>ERROR: Execution of highlight ($hl_cmd_str) failed or missing input. Check binary path.</small>";- $result .= "<pre style=\"font-size:9pt;\">";- $result .= $input_code;- $result .= "</pre>";-- } else {- $result .= "<pre style=\"font-size:9pt;\">";- $result .= $output;- $result .= "</pre>";- }- return $result;- }-}--?>
highlight/examples/web_plugins/wordpress/README
@@ -1,39 +0,0 @@-=== Highlight plugin ===--This plugin uses highlight (http://www.andre-simon.de) to add syntax highlighting to WordPress.--== Description ==--The highlight utility converts source code of 190 programming languages to HTML-with syntax highlighting. This plugin pipes the content of <pre>-Tags associated-with a lang parameter to highlight, and returns the output code which is included-in the WordPress blog entry.--Usage:--Paste the following in the code section of the blog editing form (HTML mode !):--<pre lang="c">#include <stdio.h>--int main (void){- printf("This is some random code");- return 0;-}</pre>--Use the lang parameter to define the programming language (c, php, py, xml, etc).-See the highlight documentation to learn all possible languages.-See the highlight.php file for some formatting options (line numbering, code-indentation, line wrapping etc).--== Installation ==--1. Install highlight (www.andre-simon.de) on your host--2. Unzip the wp_highlight.zip file and upload the content to the- `/wp-content/plugins/` directory-- OR-- Copy the highlight.php file to the `/wp-content/plugins/` directory--3. Activate the plugin in the WordPress backend
highlight/examples/web_plugins/wordpress/highlight.php
@@ -1,144 +0,0 @@-<?php-/*-Plugin Name: Highlight-Plugin URI: http://www.andre-simon.de-Description: Plugin which uses the highlight utility to generate coloured source code.-Author: Andre Simon-Version: 1.3-Author URI: http://www.andre-simon.de---This file is part of Highlight.--Highlight is free software: you can redistribute it and/or modify-it under the terms of the GNU General Public License as published by-the Free Software Foundation, either version 3 of the License, or-(at your option) any later version.--Highlight is distributed in the hope that it will be useful,-but WITHOUT ANY WARRANTY; without even the implied warranty of-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-GNU General Public License for more details.--You should have received a copy of the GNU General Public License-along with Highlight. If not, see <http://www.gnu.org/licenses/>.-*/--// Highlight options:--$hl_options=array();-$hl_options['hl_binary']='highlight'; // path to the highlight binary-$hl_options['theme']='edit-kwrite'; // set color theme-$hl_options['line-numbers']=false;-$hl_options['linenumber-start']=1;-$hl_options['linenumber-zeroes']=1; // set to 1 if line numbers should be padded with zeros-$hl_options['linenumber-length']=2;-$hl_options['reformat-style']="gnu"; // possible values for C, C++ and Java Code: ansi, gnu, java, kr, linux-$hl_options['replace-tabs']=4; // number of spaces which replace a tab-$hl_options['wrap-style']=0; // 0 -> disable, 1-> wrap, 2-> wrap and indent function names-$hl_options['wrap-line-length']=60; // if wrap-style <>0, this defines the line length before wrapping takes place--class as_highlight {- - var $ch_is_excerpt = false;- function __construct()- {- openlog("myScripLog", LOG_PID | LOG_PERROR, LOG_LOCAL0);- add_filter('the_content',array(&$this, 'hl_the_content_filter'),1);- }- // PHP 4 Constructor- function as_highlight ()- {- $this->__construct() ;- }- - function as_highlight_code($matches){- - global $hl_options;- - $lang = preg_replace("'[^a-zA-Z\-]'","",$matches[1]);- // undo nl and p formatting- $input_code = $matches[2];- $input_code = preg_replace("'<br\s*\/?>\r?\n?'","\n",$input_code);- $search = array("&",""", "<", ">","\","'"," ");- $replace = array("&","\"", "<", ">","\\","\'", " ");- $input_code = str_replace($search, $replace, $input_code);- - $descriptorspec = array(- 0 => array("pipe", "r"), // stdin is a pipe that the child will read from- 1 => array("pipe", "w") // stdout is a pipe that the child will write to- );- - $hl_cmd_str = $hl_options['hl_binary'];- $hl_cmd_str .= ' --inline-css -I -f ';- - if ($hl_options['line-numbers']){- $hl_cmd_str .= " -l -m ";- $hl_cmd_str .= $hl_options['linenumber-start'];- if ($hl_options['linenumber-zeroes']){- $hl_cmd_str .= " -z -j ";- $hl_cmd_str .= $hl_options['linenumber-length'];- }- }- - if ($hl_options['replace-tabs']) {- $hl_cmd_str .= " -t ";- $hl_cmd_str .= $hl_options['replace-tabs'];- }- - if ($hl_options['wrap-style']){- $hl_cmd_str .= ($hl_options['wrap-style'] == 1)? ' -V ':' -W ';- $hl_cmd_str .= " -J ";- $hl_cmd_str .= $hl_options['wrap-line-length'];- }- - if ($hl_options['reformat-style']){- $hl_cmd_str .= " -F ";- $hl_cmd_str .= $hl_options['reformat-style'];- }-- if ($hl_options['theme']){- $hl_cmd_str .= " -s ";- $hl_cmd_str .= $hl_options['theme'];- }- - $hl_cmd_str .= " -S $lang ";- - $process = proc_open($hl_cmd_str, $descriptorspec, $pipes);--- if (is_resource($process)) {-- fwrite($pipes[0], $input_code);- fclose($pipes[0]);- if (function_exists("stream_get_contents"))- {- $output = $output . stream_get_contents($pipes[1]);- }- else- {- $output = "";- while (!feof($pipes[1])) $output .= fgets($pipes[1]);- }- fclose($pipes[1]);-- // It is important that you close any pipes before calling- // proc_close in order to avoid a deadlock- $return_value = proc_close($process);- }- $newContent = "<pre>". $output ."</pre>";- return $newContent;- }- - function hl_the_content_filter($content) {-- return preg_replace_callback("/<pre\s+lang=\"(.*?)\">(.*)<\/pre>/siU",- array(&$this, "as_highlight_code"),- $content);- }-}--if (!function_exists('as_highlight'))- $as_highlight = new as_highlight();--?>
highlight/filetypes.conf
@@ -1,132 +0,0 @@--- File extension and shebang mapping---- Add an entry for a language syntax which is occupied by multiple source file extensions.--- Extensions can be configured for multiple languages (see "asm"):--- - CLI: the first association listed here will be used--- - GUI: a syntax selection prompt will be shown---- If a filename has no extension by convention (ie. makefile), it also may be listed as "Shebang"---- Since release 3.36 you can assign filenames to syntax types:--- { Lang="abc", Filenames={"test.xyz"} }---- The first filetypes.conf found in a highlight search directory wins.--FileMapping = {-- { Lang="ada", Extensions={"adb", "ads", "a", "gnad"} },- { Lang="algol", Extensions={"alg"} },- { Lang="ampl", Extensions={"dat", "run"} },- { Lang="amtrix", Extensions={"s4", "s4t", "s4h", "hnd", "t4"} },- { Lang="assembler", Extensions={"asm", "a51", "29k", "68s", "68x", "x86"} },- { Lang="fasm", Extensions={"asm", "inc"} },- { Lang="asp", Extensions={"aspx", "ashx", "ascx"} },- { Lang="ats", Extensions={"dats"} },- { Lang="aspect", Extensions={"was", "wud"} },- { Lang="bat", Extensions={"cmd"} },- { Lang="c", Extensions={"c++", "cpp", "cxx", "cc", "h", "hh", "hxx", "hpp", "cu"} },- { Lang="charmm", Extensions={"inp"} },- { Lang="coldfusion", Extensions={"cfc","cfm"} },- { Lang="cobol", Extensions={"cob", "cbl"} },- { Lang="diff", Extensions={"patch"} },- { Lang="dts", Extensions={"dtsi"} },- { Lang="eiffel", Extensions={"e", "se"} },- { Lang="erlang", Extensions={"hrl", "erl"} },- { Lang="euphoria", Extensions={"ex", "exw", "wxu", "ew", "eu"} },- { Lang="fortran77", Extensions={"f", "for", "ftn"} },- { Lang="fortran90", Extensions={"f95", "f90"} },- { Lang="gambas", Extensions={"class"} },- { Lang="gdscript", Extensions={"gd"} },- { Lang="haskell", Extensions={"hs"} },- { Lang="ini", Extensions={"doxyfile", "desktop"} },- { Lang="java", Extensions={"groovy", "grv"} },- { Lang="julia", Extensions={"jl"} },- { Lang="kotlin", Extensions={"kt"} },- { Lang="limbo", Extensions={"b"} },- { Lang="lisp", Extensions={"cl", "clisp", "el", "lsp", "sbcl", "scom"} },- { Lang="make", Extensions={"mak", "mk", "makefile"} },- { Lang="snmp", Extensions={"mib", "smi"} },- { Lang="ocaml", Extensions={"ml","mli"} },- { Lang="mod2", Extensions={"mod", "def"} },- { Lang="mod3", Extensions={"m3", "i3"} },- { Lang="oberon", Extensions={"ooc"} },- { Lang="php", Extensions={"php3", "php4", "php5", "php6"} },- { Lang="pike", Extensions={"pmod"} },- { Lang="pl1", Extensions={"ff", "fp", "fpp", "rpp","sf", "sp", "spb",- "spp","sps", "wp", "wf", "wpp","wps","wpb","bdy","spe"} },- { Lang="perl", Extensions={"pl","perl", "cgi", "pm", "plx", "plex"} },- { Lang="progress", Extensions={"p", "i", "w"} },- { Lang="ruby", Extensions={"rb","ruby", "pp", "rjs", "gemfile", "rakefile"} },- { Lang="rexx", Extensions={"rex", "rx", "the"} },- { Lang="sh", Extensions={"bash", "zsh", "ebuild", "eclass"} },- { Lang="smalltalk", Extensions={"st", "gst", "sq"} },- { Lang="sybase", Extensions={"sp"} },- { Lang="tcl", Extensions={"wish", "itcl"} },- { Lang="tex", Extensions={"sty", "cls"} },- { Lang="vb", Extensions={"bas", "basic", "bi", "vbs"} },- { Lang="verilog", Extensions={"v"} },- { Lang="html", Extensions={"htm", "xhtml"} },- { Lang="xml", Extensions={"sgm", "sgml", "nrm", "ent","hdr", "hub", "dtd", "glade",- "wml","vxml", "wml", "tld", "csproj","xsl", "ecf", "jnlp", "xsd", "resx"} },- { Lang="fsharp", Extensions={"fs","fsx"} },- { Lang="informix", Extensions={"4gl"} },- { Lang="blitzbasic", Extensions={"bb"} },- { Lang="innosetup", Extensions={"iss"} },- { Lang="lotus", Extensions={"ls"} },- { Lang="ascend", Extensions={"a4c"} },- { Lang="actionscript", Extensions={"as"} },- { Lang="express", Extensions={"exp"} },- { Lang="haxe", Extensions={"hx"} },- { Lang="pyrex", Extensions={"pyx"} },-- { Lang="abap4", Extensions={"abp"} },- { Lang="csharp", Extensions={"cs"} },- { Lang="interlis", Extensions={"ili"} },- { Lang="logtalk", Extensions={"lgt"} },- { Lang="matlab", Extensions={"m"} },- { Lang="nsis", Extensions={"nsi", "nsh"} },- { Lang="bison", Extensions={"y"} },- { Lang="squirrel", Extensions={"nut"} },- { Lang="luban", Extensions={"lbn"} },- { Lang="maya", Extensions={"mel"} },- { Lang="nemerle", Extensions={"n"} },- { Lang="paradox", Extensions={"sc"} },- { Lang="netrexx", Extensions={"nrx"} },- { Lang="clearbasic", Extensions={"cb"} },- { Lang="graphviz", Extensions={"dot"} },- { Lang="small", Extensions={"sma"} },- { Lang="autoit", Extensions={"au3"} },- { Lang="chill", Extensions={"chl"} },- { Lang="autohotkey", Extensions={"ahk"} },- { Lang="fame", Extensions={"fame"} },- { Lang="modelica", Extensions={"mo"} },- { Lang="maple", Extensions={"mpl"} },- { Lang="jasmin", Extensions={"j"} },- { Lang="snobol", Extensions={"sno"} },- { Lang="icon", Extensions={"icn"} },- { Lang="felix", Extensions={"flx"} },- { Lang="lindenscript", Extensions={"lsl"} },- { Lang="lilypond", Extensions={"ly"} },- { Lang="nasal", Extensions={"nas"} },- { Lang="clean", Extensions={"icl"} },- { Lang="bibtex", Extensions={"bib"} },- { Lang="python", Extensions={"py"} },- { Lang="txt", Extensions={"text"} },- { Lang="n3", Extensions={"ttl", "nt"} },- { Lang="biferno", Extensions={"bfr"} },- { Lang="scilab", Extensions={"sci", "sce"} },- { Lang="msl", Extensions={"nbs"} },- { Lang="yaml", Extensions={"yml"} },- { Lang="vimscript", Extensions={"vim", "vimrc"} },- { Lang="purebasic", Extensions={"pb", "pbi"} },-- { Lang="xml", Shebang=[[^\s*<\?xml\s+version=\"1\.0\"\s+[^(\?>)]*?>\s*$]] },- { Lang="sh", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?([bd]ash|t?csh|[akz]?sh)]] },- { Lang="make",Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?make]] },- { Lang="awk", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?[gnm]?awk]] },- { Lang="perl", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?perl]] },- { Lang="python", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?python]] },- { Lang="ruby", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?ruby]] },- { Lang="php", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?php]] }-}-
highlight/gui_files/ext/fileopenfilter.conf
@@ -1,213 +0,0 @@-All source files (*)-ABAP/4 (*.abp)-ABC (*.abc)-ABNF (*.abnf)-ActionScript (*.as)-Ada95 (*.a *.adb *.ads *.gnad)-Agda (*.agda)-ALGOL (*.alg)-AMPL (*.mod *.dat *.run)-AMTrix (*.s4 *.s4t *.s4h *.hnd *.t4)-Ansible/YAML (*.yaml)-Applescript (*.applescript)-Arc (*.arc)-ARM (*.arm)-AS400-CL (*.as400cl)-Ascend (*.a4c)-ASP (*.asp *.aspx *.ashx *.ascx)-Aspect (*.was *.wud)-Assembler (*.asm)-ATS (*.ats *.dats)-AutoHotKey (*.ahk)-AutoIt3 (*.au3)-Avenue (*.avenue)-AWK (*.awk)-Bash (*.sh)-Batch (*.bat)-BBCode (*.bbcode)-BCPL (*.bcpl)-BibTeX (*.bib)-Biferno (*.bfr)-Bison (*.y)-BlitzBasic (*.bb)-BMScript (*.bms)-BNF (*.bnf)-Boo (*.boo)-C/C++ (*.cpp *.cc *.c *.C *.hpp *.h *.cu)-C# (*.cs)-Charmm (*.inp)-CHILL (*.chl)-Ceylon (*.ceylon)-Chapel (*.chpl)-Clean (*.icl)-ClearBasic (*.cb)-Clipper (*.clipper)-Clips (*.clp)-Clojure (*.clojure)-COBOL (*.cob)-Coffeescript (*.coffee)-Coldfusion-MX (*.cfc *.cfm)-Configfile (*.conf)-Crack (*.crk)-CSS (*.css)-D (*.d)-Dart (*.dart)-Delphi (*.pas)-Diff (*.diff *.patch)-DeviceTree (*.dts *.dtsi)-Dylan (*.dylan)-EBNF (*.ebnf)-Eiffel (*.e *.ecf *.se)-Erlang (*.erl)-Euphoria (*.ex *.exw *.exu *.ew *.eu)-Express (*.exp)-Fame (*.fame)-FASM (*.asm *.inc)-Felix (*.flx)-F# (*.fs *.fsx)-Fortran77 (*.f *.f77 *.for *.ftn)-Fortran90 (*.f95 *.f90)-Frink (*.frink)-Gambas (*.class)-GDB (*.gdb)-GithubMarkdown (*.md)-Go (*.go)-GDScript (*.gd)-Graphviz (*.dot)-Groovy (*.groovy *.grv)-Haskell (*.hs *.sbcl)-HaskellLHS (*.lhs)-haXe (*.hx)-Hecl (*.hcl)-HTML (*.html *.htm *.xhtml)-Httpd (*.httpd)-Icon (*.icn)-IDL (*.idl)-Informix (*.4gl)-INI (*.ini)-InnoSetup (*.iss)-InteractiveDataLanguage (*.idlang)-Interlis (*.ili)-IO (*.io)-Jasmin (*.j)-JavaFX (*.fx)-Java (*.java)-Javascript (*.js)-JSON (*.json)-JSP (*.jsp)-JSX (*.jsx)-Julia (*.jl)-Kotlin (*.kt)-LaTeX (*.tex)-LDAP (*.ldif)-LESS (*.less)-Lilypond (*.ly)-Limbo (*.b)-LindenScript (*.lsl)-Lisp (*.cl *.clisp *.el *.lsp *.sbcl *.scom)-Logtalk (*.lgt)-Lotos (*.lotos)-LotusScript (*.ls)-Lua (*.lua)-Luban (*.lbn)-Make (*.mak *.mk)-Maple (*.mpl)-MagicExtensibleMarkup (*.mxml)-Markup (*.html *.htm *.xhtml *.sgml *.dtd *.tld *.wml *.xml *.xsl *.xsd)-Matlab (*.m)-MaxScript (*.ms)-Maya (*.mel)-Mercury (*.mercury)-mIRC (*.msl)-Modelica (*.mo)-Modula2 (*.mod *.def)-Modula3 (*.m3 *.i3)-MoonScript (*.moon)-MS-SQL (*.mssql)-MXML (*.mxml)-Nasal (*.nas)-NBC (*.nbc)-Nemerle (*.n)-NetRexx (*.nrx)-Nginx (*.nginx)-Nice (*.nice)-Nim (*.nim)-Notation3 (*.n3 *.nt *.ttl)-NSIS (*.nsi)-NXC (*.nxc)-Oberon (*.ooc)-Objective-Caml (*.ml *.mli)-Objective-C (*.objc)-ObjectScript (*.os)-Octave (*.octave)-OpenObjectRexx (*.oorexx)-Oz (*.oz)-Paradox (*.sc)-Pascal (*.pas)-Patrol (*.psl)-PDF (*.pdf)-Perl (*.pl *.perl *.cgi *.pm *.plx *.plex *.04)-PHP (*.php *.php3)-Pike (*.pike *.pmod)-PL/1 (*.pl1)-PL/Perl (*.plperl)-PL/Python (*.plpython)-PL/SQL (*.sql)-PL/Tcl (*.pltcl)-PO (*.po)-Pony (*.pony)-PostScript (*.ps)-POV-Ray (*.pov)-PowerPC-Assembler (*.s)-PowerShell (*.ps1)-Progress (*.p *.i *.w)-Prolog (*.pro)-Pure (*.pure)-PureBasic (*.pb *.pbi)-Pyrex (*.pyx)-Python (*.py)-QML (*.qml)-Qore (*.q)-Qu (*.qu)-Rebol (*.rebol)-Relax-NG-Compact (*.rnc)-Rexx (*.rexx)-RPG (*.rpg)-RPM-Spec (*.spec)-R (*.r)-Ruby (*.rb *.pp *.rjs)-Rust (*.rs)-SAS (*.sas)-SASS/SCSS (*.scss)-Scala (*.scala)-Scilab (*.sci *.sce)-Small (*.sma)-Smalltalk (*.st *.gst *.sq)-SML (*.sml)-SNMP (*.mib *.smi)-Snobol (*.sno)-Spin-SQL (*.spn)-Squirrel (*.nut)-Stylus (*.styl)-SuperX++ (*.xpp)-SVG (*.svg)-Swift (*.swift)-Sybase (*.sp)-Tcl/Tk (*.tcl)-TCSH (*.tcsh)-TeX (*.tex)-Text (*.txt)-Transact-SQL (*.tsql)-TTCN3 (*.ttcn3)-TypeScript (*.ts)-UPC (*.upc)-Vala (*.vala)-Verilog (*.verilog)-VHDL (*.vhd)-Vimscript (*.vim *.vimrc)-VisualBasic/Basic (*.bas *.bi *.b)-Whiley (*.whiley)-XML (*.xml)-Yaiff (*.yaiff)-Yang (*.yang)-Zonnon (*.znn)
highlight/gui_files/l10n/highlight_cs_CZ.qm
highlight/gui_files/l10n/highlight_de_DE.qm
highlight/gui_files/l10n/highlight_es_ES.qm
highlight/gui_files/l10n/highlight_zh_CN.qm
highlight/highlight.desktop
@@ -1,10 +0,0 @@-[Desktop Entry]-Version=1.0-Name=Highlight-Type=Application-Comment=Converts source code to formatted text (HTML, RTF, TeX, LaTeX, SVG, BBCode, Pango Markup, XML) with syntax highlighting-Exec=highlight-gui-TryExec=highlight-gui-Icon=highlight-Categories=Utility;TextTools;-StartupNotify=true
highlight/highlight3.kdev4
@@ -1,3 +0,0 @@-[Project]-Manager=KDevCustomMakeManager-Name=highlight
highlight/langDefs/abap4.lang
@@ -1,68 +0,0 @@--Description="ABAP/4"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Keywords={- { Id=1,- List={"abs", "acos", "add", "add-corresponding", "adjacent", "all", "and",- "analyzer", "append", "ascending", "asin", "at", "atan", "authority-check",- "avg", "back", "begin", "between", "binary", "blank", "block", "break-point",- "by", "ca", "call", "case", "catch", "ceil", "centered", "change", "check",- "checkbox", "clear", "clear:", "close", "cn", "cnt", "co", "collect", "color",- "commit", "communication", "compute", "concatenate", "condense", "constants",- "constants:", "continue", "control", "controls", "convert", "copy", "cos",- "cosh", "count", "country", "cp", "currency", "customer-function", "data",- "data:", "dataset", "decimals", "define", "default", "delete", "descending",- "describe", "dialog", "distinct", "div", "divide", "divide-", "corresponding",- "do", "duplicates", "editor-call", "else", "elseif", "end", "endcatch",- "end-of-definition", "end-of-page", "end-of-selection", "endat", "endcase",- "enddo", "endform", "endfunction", "endif", "endloop", "endmodule", "endon",- "endprovide", "endselect", "endwhile", "entries", "eq", "exceptions", "exec",- "exit", "exp", "exponent", "export", "exporting", "extended", "extract",- "fetch", "field-group", "field-symbols", "field-symbols:", "floor", "for",- "form", "format", "frac", "frame", "free", "from", "function", "function-",- "pool", "ge", "generate", "get", "gt", "hide", "hotspot", "header", "heading.",- "heading", "icon", "if", "import", "importing", "in", "include", "index",- "infotypes", "initial", "initialization", "input", "insert", "into",- "intensified", "inverse", "is", "key", "language", "le", "leave",- "left-justified", "like", "line", "line-count", "line-size", "lines",- "list-processing", "load", "local", "local", "locale", "log", "log10", "loop",- "lt", "message-id", "message", "m", "margin", "max", "min", "mod", "mode",- "modify", "module", "move", "move-corresponding", "multiply",- "multiply-corresponding", "na", "ne", "new-line", "new-page", "no-gap",- "no-heading", "no-scrolling", "no-sign", "no-title", "no-zero", "not", "np",- "ns", "no", "standard", "page", "heading", "o", "obligatory", "occurs", "of",- "off", "on", "open", "or", "order", "output", "overlay", "pack", "parameters",- "parameters:", "perform", "pf-status", "position", "print", "print-", "control",- "program", "provide", "put", "page", "radiobutton", "raise", "raising",- "ranges", "read", "receive", "refresh", "reject", "replace", "report",- "reserve", "reset", "right-", "justified", "rollback", "round", "run", "scan",- "screen", "scroll", "scroll-boundary", "search", "select", "select-options",- "select-options:", "selection-screen", "selection-", "screen:",- "selection-table", "set", "shift", "sign", "sin", "select", "single", "sinh",- "skip", "sort", "space", "split", "sql", "sqrt", "standard",- "start-of-selection", "statics", "stop", "strlen", "structure", "submit",- "substract", "substract-corresponding", "sum", "suppress", "dialog", "symbol",- "syntax-check", "syntax-trace", "system-exceptions", "table", "tables",- "tables:", "tan", "tanh", "then", "time", "title", "titlebar", "to",- "top-of-page", "transaction", "transfer", "translate", "trunc", "type-pools",- "type-pool", "types", "type", "uline", "under", "unit", "unpack", "update",- "user-command", "using", "value", "when", "where", "while", "window", "with",- "with-title", "work", "write", "write-to"},- },-}--Strings={- Delimiter=[[']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[\*]], [[\"]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
highlight/langDefs/abc.lang
@@ -1,30 +0,0 @@--Description="ABC"--Keywords={- { Id=1,- List={- "WRITE", "READ", "EG", "RAW", "PUT", "IN", "SET", "RANDOM", "REMOVE", "FROM",- "INSERT", "DELETE", "PASS", "KEYWORD", "CHECK", "IF", "SELECT", "WHILE", "FOR",- "HOW", "TO", "RETURN", "REPORT", "SHARE", "QUIT", "FAIL", "SUCCEED", "AND",- "OR", "NOT", "SOME", "HAS", "NO"- }- },- { Id=2,- List= {- "exactly", "exact", "root", "abs", "round", "mod", "random", "exp", "log",- "pi", "sin", "cos", "tan", "arctan", "angle", "now", "lower", "upper",- "stripped", "split", "keys", "min", "max", "train", "choice"- }- }- - }--Strings = {- Delimiter=[["]]-}--IgnoreCase=false---Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/abnf.lang
@@ -1,31 +0,0 @@-Description="Advanced Backus-Naur Form"--Keywords={- { Id=1,- Regex=[[^\s*([^=]+)\s*=]],- },- { Id=2,- Regex=[[ [?][^?]+[?] ]],- },- { Id=3,- Regex=[[ [a-zA-Z][-a-zA-Z0-9]* ]],- },- { Id=4,- List={"ALPHA", "DIGIT", "HEXDIG", "DQUOTE", "SP", "HTAB", "WSP", "LWSP", "VCHAR", "CHAR", "OCTET", "CTL", "CR", "LF", "CRLF", "BIT"},- },-}--Strings={- Delimiter=[["|']],-}--Comments={- { Block=true,- Nested=false,- Delimiter= { [[\(\*]],[[\*\)]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
highlight/langDefs/actionscript.lang
@@ -1,127 +0,0 @@-Description="ActionScript"--Keywords={- { Id=1,- List={"class", "extends", "implements", "import", "interface", "new", - "case", "do", "while", "else", "if", "for", "in", "switch", "throw", "get", - "set", "function", "var", "try", "catch", "finally", "while", "with", "default", - "break", "continue", "delete", "return", "each", "const", "namespace", - "package", "include", "use", "is", "as", "instanceof", "typeof"},- },- { Id=2,- List={"null", "Infinity", "-Infinity", "NaN", "undefined", "true", "false"},- },- { Id=3,- List={"dynamic", "private", "public", "static", "intrinsic", "internal", - "native", "override", "protected", "AS3", "final", "super", "this", - "arguments"},- },- { Id=4,- List={"AVM1Movie", "AccImpl", "Accessibility", "AccessibilityProperties", - "ActionScriptVersion", "ActivityEvent", "Animator", "AntiAliasType", - "ApplicationDomain", "ArgumentError", "Array", "AsyncErrorEvent", - "AutoLayoutEvent", "Back", "BaseButton", "BaseScrollPane", "BevelFilter", - "BezierEase", "BezierSegment", "Bitmap", "BitmapData", "BitmapDataChannel", - "BitmapFilter", "BitmapFilterQuality", "BitmapFilterType", "BlendMode", - "Blinds", "BlurFilter", "Boolean", "Bounce", "BrowserInvokeEvent", "Button", - "ButtonAccImpl", "ButtonLabelPlacement", "ByteArray", "CSMSettings", "Camera", - "Capabilities", "CapsStyle", "CaptionChangeEvent", "CaptionTargetEvent", - "CellRenderer", "CheckBox", "CheckBoxAccImpl", "Circular", "Class", "Clipboard", - "ClipboardFormats", "ClipboardTransferMode", "Color", "ColorMatrixFilter", - "ColorPicker", "ColorPickerEvent", "ColorTransform", "ComboBox", - "ComboBoxAccImpl", "ComponentEvent", "CompressionAlgorithm", "ContextMenu", - "ContextMenuBuiltInItems", "ContextMenuEvent", "ContextMenuItem", "ConvolutionFilter", "Cubic", "CuePointType", "CustomActions", - "CustomEase", "DRMAuthenticateEvent", "DRMErrorEvent", "DRMStatusEvent", - "DataChangeEvent", "DataChangeType", "DataEvent", "DataGrid", "DataGridAccImpl", - "DataGridCellEditor", "DataGridColumn", "DataGridEvent", "DataGridEventReason", - "DataProvider", "Date", "DefinitionError", "DeleteObjectSample", "Dictionary", - "DisplacementMapFilter", "DisplacementMapFilterMode", "DisplayObject", - "DisplayObjectContainer", "DockIcon", "DropShadowFilter", "EOFError", "Elastic", - "EncryptedLocalStore", "Endian", "Error", "ErrorEvent", "EvalError", "Event", - "EventDispatcher", "EventPhase", "Exponential", "ExternalInterface", - "FLVPlayback", "FLVPlaybackCaptioning", "Fade", "File", "FileFilter", - "FileListEvent", "FileMode", "FileReference", "FileReferenceList", "FileStream", - "Fly", "FocusDirection", "FocusEvent", "FocusManager", "Font", "FontStyle", - "FontType", "FrameLabel", "FullScreenEvent", "Function", "FunctionEase", - "GlowFilter", "GradientBevelFilter", "GradientGlowFilter", "GradientType", "Graphics", - "GridFitType", "HTMLHistoryItem", "HTMLHost", "HTMLLoader", "HTMLPDFCapability", - "HTMLUncaughtScriptExceptionEvent", "HTMLWindowCreateOptions", - "HTTPStatusEvent", "HeaderRenderer", "IBitmapDrawable", "ICellRenderer", - "ID3Info", "IDataInput", "IDataOutput", "IDynamicPropertyOutput", - "IDynamicPropertyWriter", "IEventDispatcher", "IExternalizable", - "IFocusManager", "IFocusManagerComponent", "IFocusManagerGroup", "IME", - "IMEConversionMode", "IMEEvent", "INCManager", "IOError", "IOErrorEvent", - "ITween", "IVPEvent", "Icon", "IllegalOperationError", "ImageCell", - "IndeterminateBar", "InteractionInputType", "InteractiveIcon", - "InteractiveObject", "InterpolationMethod", "InvalidSWFError", - "InvalidationType", "InvokeEvent", "Iris", "JointStyle", "KeyLocation", - "Keyboard", "KeyboardEvent", "Keyframe", "Label", "LabelButton", - "LabelButtonAccImpl", "LayoutEvent", "LineScaleMode", "Linear", "List", - "ListAccImpl", "ListData", "ListEvent", "LivePreviewParent", "Loader", "LoaderContext", "LoaderInfo", "LocalConnection", - "Locale", "Math", "Matrix", "MatrixTransformer", "MemoryError", "MetadataEvent", - "Microphone", "MorphShape", "Motion", "MotionEvent", "Mouse", "MouseEvent", - "MovieClip", "NCManager", "NCManagerNative", "Namespace", "NativeApplication", - "NativeDragActions", "NativeDragEvent", "NativeDragManager", - "NativeDragOptions", "NativeMenu", "NativeMenuItem", "NativeWindow", - "NativeWindowBoundsEvent", "NativeWindowDisplayState", - "NativeWindowDisplayStateEvent", "NativeWindowInitOptions", - "NativeWindowResize", "NativeWindowSystemChrome", "NativeWindowType", - "NetConnection", "NetStatusEvent", "NetStream", "NewObjectSample", "None", - "NotificationType", "Null", "Number", "NumericStepper", "Object", - "ObjectEncoding", "OutputProgressEvent", "Photo", "PixelDissolve", - "PixelSnapping", "Point", "PrintJob", "PrintJobOptions", "PrintJobOrientation", - "ProgressBar", "ProgressBarDirection", "ProgressBarMode", "ProgressEvent", - "Proxy", "QName", "Quadratic",- "Quartic", "Quintic", "RadioButton", "RadioButtonAccImpl", "RadioButtonGroup", - "RangeError", "Rectangle", "ReferenceError", "RegExp", "Regular", "Responder", - "RevocationCheckSettings", "Rotate", "RotateDirection", "SQLCollationType", - "SQLColumnNameStyle", "SQLColumnSchema", "SQLConnection", "SQLError", - "SQLErrorEvent", "SQLErrorOperation", "SQLEvent", "SQLIndexSchema", "SQLMode", - "SQLResult", "SQLSchema", "SQLSchemaResult", "SQLStatement", "SQLTableSchema", - "SQLTransactionLockType", "SQLTriggerSchema", "SQLUpdateEvent", "SQLViewSchema", - "SWFVersion", "Sample", "Scene", "Screen", "ScreenMouseEvent", - "ScriptTimeoutError", "ScrollBar", "ScrollBarDirection", "ScrollEvent", - "ScrollPane", "ScrollPolicy", "Security", "SecurityDomain", "SecurityError", - "SecurityErrorEvent", "SecurityPanel", "SelectableList", - "SelectableListAccImpl", "ServiceMonitor", "Shape", "SharedObject", - "SharedObjectFlushStatus", "SignatureStatus", "SignerTrustSettings", - "SimpleButton", "SimpleCollectionItem", "SimpleEase", "Sine", "SkinErrorEvent", "Slider", "SliderDirection", "SliderEvent", - "SliderEventClickTarget", "Socket", "SocketMonitor", "Sound", "SoundChannel", - "SoundEvent", "SoundLoaderContext", "SoundMixer", "SoundTransform", "Source", - "SpreadMethod", "Sprite", "Squeeze", "StackFrame", "StackOverflowError", - "Stage", "StageAlign", "StageDisplayState", "StageQuality", "StageScaleMode", - "StaticText", "StatusEvent", "String", "Strong", "StyleManager", "StyleSheet", - "SyncEvent", "SyntaxError", "System", "SystemTrayIcon", "TextArea", - "TextColorType", "TextDisplayMode", "TextEvent", "TextField", - "TextFieldAutoSize", "TextFieldType", "TextFormat", "TextFormatAlign", - "TextInput", "TextLineMetrics", "TextRenderer", "TextSnapshot", "TileList", - "TileListAccImpl", "TileListCollectionItem", "TileListData", "Timer", - "TimerEvent", "Transform", "Transition", "TransitionManager", "Tween", - "TweenEvent", "Tweenables", "TypeError", "UIComponent", "UIComponentAccImpl", - "UILoader", "UIScrollBar", "URIDereferencer", "URIError", "URLLoader", "URLLoaderDataFormat", "URLMonitor", "URLRequest", "URLRequestDefaults", - "URLRequestHeader", "URLRequestMethod", "URLStream", "URLVariables", "Updater", - "VerifyError", "Video", "VideoAlign", "VideoError", "VideoEvent", "VideoPlayer", - "VideoProgressEvent", "VideoScaleMode", "VideoState", "Wipe", "XML", - "XMLDocument", "XMLList", "XMLNode", "XMLNodeType", "XMLSignatureValidator", - "XMLSocket", "XMLUI", "Zoom", "int", "uint", "void"},- }-}---Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|.]]
highlight/langDefs/ada.lang
@@ -1,55 +0,0 @@--Description="ADA95"--Keywords={- { Id=1,- List={"abort", "else", "new", "return", "abs", "elsif", "not", "reverse", - "abstract", "end", "null", "accept", "entry", "select", "access", "exception", - "separate", "aliased", "exit", "of", "subtype", "all", "or", "and", "for", - "others", "tagged", "array", "function", "out", "task", "at", "terminate", - "generic", "package", "then", "begin", "goto", "pragma", "type", "body", - "private", "if", "procedure", "case", "in", "protected", "until", "constant", - "is", "use", "raise", "declare", "range", "when", "delay", "limited", "record", - "while", "delta", "loop", "rem", "with", "digits", "renames", "do", "mod", - "requeue", "xor"},- },- { Id=2,- List={"boolean", "integer", "natural", "positive", "float", "character", - "string", "duration", "short_integer", "long_integer", "short_float", - "long_float"},- },- { Id=3,- List={"wide_character", "wide_string", "short_short_integer", "long_long_integer", - "short_short_float", "long_long_float"},- },- { Id=4,- List={"true", "false"},- },- { Id=4,- Regex=[[ [\w\)]+('\w+) ]],- },- { Id=4,- Regex=[[''']],- }-}---- Workaround: distinguish string delimiters and event markers--- (same eymbol: ')----workaround for special string '''--Strings={- Delimiter=[["|']],- Escape = [[ \\[^'] ]]-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[\-\-]] },- },- }--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]-
highlight/langDefs/agda.lang
@@ -1,35 +0,0 @@--Description="Agda"--Keywords={- { Id=1,- List={"abstract", "case", "concrete", "data", "do", "in", "interface", - "let", "module", "mutual", "of", "open", "native", "package", "postulate", - "private", "public", "sig", "struct", "type", "use", "set", "type", "abstract", - "data", "forall", "hiding", "import", "in", "infix", - "infixl", "infixr", "let","module", "mutual", "open", - "postulate", "primitive", "private","public","record", "renaming", - "using", "where", "with"},- },- { Id=2,- List={"integer", "int", "float", "double", "bool", "char"},- },- }--Strings={- Delimiter=[["]],- }--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[--]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\{\-]],[[\-\}]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.|\']]
highlight/langDefs/algol.lang
@@ -1,36 +0,0 @@--Description="ALGOL 68"--Keywords={- { Id=1,- List={"mode", "op", "prio", "proc", "flex", "heap", "loc", "long", "ref",- "short", "bits", "bool", "bytes", "char", "compl", "int", "real", "sema",- "string", "void", "channel", "file", "format", "struct", "union", "of", "at",- "is", "isnt", "true", "false", "empty", "nil", "skip", "co", "comment", "pr",- "pragmat", "case", "in", "ouse", "in", "out", "esac", "for", "from", "to", "by",- "while", "do", "od", "if", "then", "elif", "then", "else", "fi", "par", "begin",- "end", "go", "to", "goto", "exit"- }- },-- { Id=4,- Regex=[[(\w+)\s*\(]]- }--}--Comments = {-- {- Block=false,- Delimiter = { [[#]] }- }-}--Strings = {- Delimiter=[["]]-}--IgnoreCase=true--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/ampl.lang
@@ -1,45 +0,0 @@--Description="AMPL"--Keywords={- { Id=1,- List={"and", "arc", "by", "check", "cross", "close", "diff", "difference", - "div", "data", "display", "drop", "else", "exists", "end", "forall", "fix", - "function", "if", "in", "inter", "intersection", "interval", "include", "less", - "let", "maximize", "minimize", "min", "max", "mod", "model", "node", "not", - "or", "objective", "option", "param", "prod", "product", "print", "printf", - "quit", "reset", "restore", "set", "setof", "subject", "subj", "s.t.", - "symdiff", "sum", "shell", "solution", "then", "to", "union", "update", "unfix", - "var", "write", "binary", "circular", "coeff", "coef", "cover", "dimen", - "dimension", "default", "display_1col", "display_eps", "display_max_2d_cols", - "display_precison", "display_round", "display_transpose", "display_width", - "from", "gutter_width", "integer", "Infinity", "ordered", "obj", - "objective_precision", "omit_zero_cols", "omit_zero_rows", "output_precision", - "print_precision", "print_round", "print_seperator", "symbolic", "within"},- },- { Id=2,- List={"abs", "acos", "acosh", "alias", "asin", "asinh", "atan", "atan2", - "atanh", "Beta", "ceil", "cos", "card", "Cauchy", "exp", "Exponential", "floor", - "first", "Gamma", "Irand224", "int", "log", "log10", "last", "member", "Normal", - "next", "nextw", "ord", "ord0", "Poisson", "precision", "prev", "prevw", - "round", "sin", "sinh", "sqrt", "tan", "tanh", "trunc", "Uniform", "Uniform01"},- },- }--Strings={- Delimiter=[["|']],- }--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/amtrix.lang
@@ -1,50 +0,0 @@--Description="AMTrix"--Keywords={- { Id=1,- List={"argument", "amtrix_logid", "and", "append", "arg_list", "arg_opt", - "argumentcount", "arraysize", "as", "assignment", "begin", "binary", "bit_and", - "bit_not", "bit_or", "bit_shift", "bit_xor", "block", "bounded", "break", "by", - "call", "case", "catch", "center", "char", "charset", "close", "comments", - "commit", "composite", "conditional", "constant", "constants", "continue", - "control", "convert", "copy", "count", "currentdate", "data", "database", - "date", "debug", "declare", "delete", "destination", "dir_close", "dir_open", - "dir_read", "dir_rewind", "edi", "edi_charset", "edi_read_charset", - "edi_read_interchange", "edi_truncate", "element", "else", "error", "exec", - "execute", "exit", "export", "expressions", "file", "float", "for", "format", - "from", "from_iso8859", "function", "getopt", "group", "if", "import", - "include", "input", "insert", "integer", "into", "left", "lock", "log", "logid", - "loop", "mandatory", "module", "move", "ndec", "nolog", "on", "open", - "optdta_read", "optdta_write", "optional", "or", "order", "others", "output", - "pragma", "print", "raw_close", "raw_flush", "raw_open", "raw_read", "raw_seek", - "raw_tell", "raw_write", "read", "readtag", "receive", "regexp", "relation", - "release", "repeat", "reserved", "return", "right", "rollback", "scan", - "segment", "select", "send", "sequence", "set", "sleep", "source", "sourcefile", - "sourceline", "sourcemodule", "sourceprocedure", "split", "sql", "statement", - "str_field", "str_fields", "str_lower", "str_upper", "strcnv", "strfield", - "strfields", "string", "strlen", "strmid", "sub", "switch", "system", "table", - "text", "throw", "to", "to_iso8859", "trunc", "truncate", "try", "type", - "types", "unbounded", "unique_id", "unique_name", "unlock", "update", "values", - "variable", "variables", "while", "when", "where", "work", "writetag"},- },- }--Strings={- Delimiter=[["]],- }--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[#]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/applescript.lang
@@ -1,55 +0,0 @@--Description="AppleScript"--Keywords={- { Id=1,- List={"and", "as", "at", "beginning", "considering", "contain", "contains", - "does", "div", "else", "end", "equal", "error", "every", "exit", "first", - "from", "get", "global", "greater", "if", "ignoring", "in", "is", "last", - "local", "me", "mod", "my", "not", "of", "on", "or", "property", "reopen", - "repeat", "return", "script", "set", "tell", "than", "the", "then", "to", - "transaction", "try", "with", "without", "which", "while", "whose"},- },- { Id=3,- List={"AppleScript", "access", "activate", "after", "alias", "application", - "ascending", "ASCII", "at", "attached", "before", "box", "button", - "buttons", "case", "cell", "cells", "character", "characters", "choose", - "class", "close", "column", "columns", "content", "contents", "control", - "controls", "copy", "count", "current", "data", "date", "day", "default", - "delay", "delete", "delimiter", "descending", "desktop", "dialog", - "display", "document", "documents", "domain", "duplicate", "enabled", "ends", - "eof", "equal", "entry", "entries", "exists", "false", "field", "fields", - "file", "files", "folder", "folders", "for", "icon", "icons", "indicator", - "indicators", "item", "items", "length", "list", "load", "location", - "localized", "make", "matrix", "menu", "menus", "missing", "month", - "months", "name", "new", "number", "offset", "open", "order", "panel", "panels", - "path", "popup", "print", "process", "progress", "properties", "quit", - "read", "response", "row", "rows", - "scroll", "select", "selected", "selection", "sheet", "size", "sort", - "sorted", "source", "specification", "start", "starting", "stop", "string", - "table", "text", "title", "true", "Unicode", "update", "user", "value", - "visible", "view", "views", "window", "windows", "write", "year", "years"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["]],- Escape=[=[ \\\d{3}|\\u\d{4}|\\x[[:xdigit:]]{2}|\\[ntvbrfa\\\?'"] ]=]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[--]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\(\*]],[[\*\)]],}- }-}--EnableIndentation=false
highlight/langDefs/arc.lang
@@ -1,77 +0,0 @@--Description="Arc"--Identifiers=[[ [a-zA-Z_][\w\-\/]* ]]--Keywords={- { Id=1,- List={"def", "defhook", "defmem", "defop", "defops", "defset", "deftem", "mac"},- },- { Id=2,- List={"drain", "each", "for", "forlen", "loop", "noisy-each", "on", "ontable", "while", "whiler", "whilet", "until"},- },- { Id=3,- List={"case", "caselet", "check", "if", "iflet", "when", "whenlet", "unless"},- },- { Id=4,- List={"aand", "abs", "accum", "acons", "addtem", "adjoin", "afn", "after", - "aif", "alist", "all", "alphadig", "alref", "and", "andf", "annotate", "apply", - "assert", "assoc", "atend", "atlet", "atom", "atomic", "atomic-invoke", - "atwith", "atwiths", "avg", "awhen", "bar*", "before", "begins", "best", - "bestn", "blank", "bound", "break-threadcaar", "cache", "cadr", "call-w/stdin", - "call-w/stdout", "car", "carif", "caris", "catch", "ccc", "cddr", "cdr", - "client-ip", "close", "coerce", "commonest", "compare", "complement", "compose", - "consif", "conswhen", "copy", "count", "counts", "current-gc-milliseconds", - "current-process-milliseconds", "cut", "date", "days-since", "dead", "dedup", - "deq", "details", "dir", "dir-exists", "disp", "do", "do1", "dotted", - "downcase", "ellipsize", "empty", "endmatch", "enq", "enq-limit", "ensure-dir", - "ero", "err", "errsafe", "eval", "even", "exact", "expand-metafn-call", - "expand=", "expand=list", "expt", "file-exists", "fill-table", "find", - "findsubseq", "firstn", "firstn-that", "flat", "fn", "for", "forlen", - "fromstring", "headmatch", "hook", "hooks*", "hours-since", "idfn", "in", - "infile", "insert-sorted", "inside", "insort", "insortnew", "inst", "instring", - "intersperse", "is", "isa", "isnt", "iso", "join", "jtime", "keep", "keys", - "kill-thread", "last", "len", "len<", "len>", "let", "list", "listtab", - "litmatch", "load", "load-table", "load-tables", "macex", "macex1", "map", - "map1", "mappend", "maptable", "max", "median", "mem", "memo", "memtable", - "merge", "mergesort", "metafn", "min", "mismatch", "mod", "most", "msec", - "multiple", "multisubst", "n-of", "new-thread", "newstring", "no", "nonwhite", - "nor", "nthcdr", "num", "number", "obj", "odd", "on-err", "only", "ontree", - "open-socket", "or", "orf", "outfile", "outstring", "pair", "parse-format", - "peekc", "pipe-from", "plural", "point", "pop", "pos", "positive", "posmatch", - "pr", "prall", "prf", "prn", "protect", "prs", "pull", "punc", "push", - "pushnew", "qlen", "qlist", "quasiquote", "queue", "quit", "quote", "rand", - "rand-choice", "rand-string", "random-elt", "range", "read", "read-table", - "readall", "readb", "readc", "readfile", "readfile1", "readline", "readstring1", - "reclist", "recstring", "reduce", "reinsert-sorted", "rem", "rep", "repeat", - "rev", "rfn", "rmfile", "rotate", "round", "roundup", "rreduce", - "safe-load-table", "saferead", "safeset", "save-table", "scar", "scdr", - "seconds", "set", "setforms", "setter", "sig", "since", "single", "sleep", - "socket-accept", "some", "sort", "split", "sqrt", "sread", "sref", "ssexpand", - "ssyntax", "stderr", "stdin", "stdout", "string", "subst", "summing", "swap", - "sym", "system", "table", "tablist", "temload", "temloadall", "templates*", - "templatize", "temread", "testify", "thread", "time", "time10", "to-nearest", - "tokens", "tostring", "trav", "tree-subst", "treewise", "trim", "trues", - "trunc", "tuples", "type", "union", "uniq", "upcase", "urldecode", "vals", - "w/appendfile", "w/bars", "w/infile", "w/instring", "w/outfile", "w/outstring", - "w/socket", "w/stdin", "w/stdout", "w/table", "w/uniq", "warn", "whitec", - "wipe", "with", "withs", "write", "write-table", "writeb", "writec", - "writefile1", "zap"},- },- }--Strings={- Delimiter=[["]],- }--Comments={- { Block=false,- Delimiter= { [[;]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\;\|]],[[\|\;]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\+|\=|\/|\*|\']]
highlight/langDefs/arm.lang
@@ -1,49 +0,0 @@--Description="ARM"--Keywords={- { Id=1,- List={"AND", "and", "EOR", "eor", "SUB", "sub", "RSB", "rsb", "ADD", "add", - "ADC", "adc", "SBC", "sbc", "RSC", "rsc", "TST", "tst", "TEQ", "teq", "CMP", - "cmp", "CMN", "cmn", "ORR", "orr", "MOV", "mov", "BIC", "bic", "MVN", "mvn", - "LSL", "lsl", "LSR", "lsr", "ASL", "asl", "ASR", "asr", "ROR", "ror", "RRX", - "rrx", "NEG", "neg", "MUL", "mul", "MLA", "mla", "SMULL", "smull", "UMULL", - "umull", "SMLAL", "smlal", "UMLAL", "umlal", "LDR", "ldr", "STR", "str", "LDM", - "ldm", "STM", "stm", "SWP", "swp", "PUSH", "push", "POP", "pop", "SWI", "swi", - "BKPT", "bkpt", "CLZ", "clz", "MRS", "mrs", "MSR", "msr", "CDP", "cdp", "MRC", - "mrc", "MCR", "mcr", "LDC", "ldc", "STC", "stc", "OPT", "EXT", "EQU", "DC", - "ALIGN", "ADR", "RN", "FN", "DIV", "SQR", "SWAP", "VDU", "NOP", "BRK", "SMUL", - "UMUL", "SMLA", "UMLA", "LDF", "STF", "ASSERT", "FILL", "FILE", "COND", "HEAD", - "ORG", "CN", "CP", "DN", "EXPORT", "GLOBAL", "EXTERN", "FN", "GBL", "IMPORT", - "KEEP", "LCL", "RLIST", "RN", "SET", "SN", "ALIGN", "DATA", "DC", "FIELD", - "LTORG", "MAP", "SPACE", "ELSE", "ENDIF", "GET", "INCLUDE", "IF", "INCBIN", - "MACRO", "MEND", "MEXIT", "WEND", "WHILE", "ENDFUNC", "ENDP", "FRAME", - "ADDRESS", "POP", "PUSH", "REGISTER", "RESTORE", "SAVE", "STATE", "REMEMBER", - "RESTORE", "FUNCTION", "PROC", "AREA", "ASSERT", "CODE16", "CODE32", "END", - "ENTRY", "INFO", "NOFP", "OPT", "REQUIRE", "ROUT", "SUBT", "TTL", "VFPASSERT", - "SCALAR", "VECTOR", "ADR", "FLD", "LDF", "NOP"},- },- { Id=2,- List={"A1", "A2", "A3", "A4", "F0", "F1", "F2", "F3", "F4", "F5", "F6", - "F7", "FP", "IP", "LR", "PC", "R0", "R1", "R10", "R11", "R12", "R13", "R14", - "R15", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "SL", "SP", "V1", "V2", - "V3", "V4", "V5", "V6", "a1", "a2", "a3", "a4", "f0", "f1", "f2", "f3", "f4", - "f5", "f6", "f7", "fp", "ip", "lr", "pc", "r0", "r1", "r10", "r11", "r12", - "r13", "r14", "r15", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "sl", "sp", - "v1", "v2", "v3", "v4", "v5", "v6"},- },- }--Strings={- Delimiter=[["]],- }--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\|/\;|rem|REM|Rem]] },- },- }--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/as400cl.lang
@@ -1,366 +0,0 @@--Description="AS/400 CL"--Keywords={- { Id=1,- List={"addacc", "addaje", "addalracne", "addalrd", "addalrslte", "addaspcpyd",- "addautle", "addbkp", "addbnddire", "addcadmre", "addcadnode", "addccsclt",- "addcfgle", "addcicscvt", "addcicsdct", "addcicsfct", "addcicsglt",- "addcicsjct", "addcicspct", "addcicsppt", "addcicssit", "addcicstcs",- "addcicstct", "addcicstst", "addckmksfe", "addclunode", "addcmdcrqa", "addcmne",- "addcomsnmp", "addcrgdeve", "addcrgnode", "addcrqa", "adddevdmne", "adddire",- "adddirshd", "adddloaut", "adddprreg", "adddprsub", "adddprsubm", "adddstclge",- "adddstle", "adddstq", "adddstrte", "adddstsysn", "adddtadfn", "adddwdfn",- "addemlcfge", "addenvvar", "addewcbcde", "addewcm", "addewcptce", "addewlm",- "addexitpgm", "addfcte", "addfnttble", "addhdbdlfm", "addicfdeve", "addimgclge",- "addipsifc", "addipsloc", "addipsrte", "addjobjs", "addjobqe", "addjobscde",- "addjwdfn", "addkrbkte", "addkrbtkt", "addlanadpi", "addlfm", "addlible",- "addliccrqa", "addlickey", "addlnk", "addmedbrm", "addmedibrm", "addmfs",- "addmlmbrm", "addmsgd", "addmstpart", "addnck", "addnetjobe", "addnettble",- "addnodle", "addnwsstgl", "addobjcrqa", "addoptctg", "addoptsvr", "addospfara",- "addospfifc", "addospflnk", "addospfrng", "addpcltble", "addpexdfn",- "addpexftr", "addpfcst", "addpfm", "addpftrg", "addpfvlm", "addpfxdlfm",- "addpgm", "addpje", "addprbacne", "addprbslte", "addprdcrqa", "addprdlici",- "addptfcrqa", "addrdbdire", "addrexbuf", "addrjecmne", "addrjerdre",- "addrjewtre", "addrmtdfn", "addrmtjrn", "addrptond", "addrpyle", "addrsccrqa",- "addrtge", "addschidxe", "addsmtple", "addsoce", "addsrvtble", "addsvraute",- "addtapctg", "addtcphte", "addtcpifc", "addtcpport", "addtcpptp", "addtcprsi",- "addtcprte", "addtcpsvr", "addtrc", "addtrcftr", "addwse", "alcobj", "anslin",- "ansqst", "anzcmdpfr", "anzdbf", "anzdbfkey", "anzdftpwd", "anzdprjrn",- "anzjvapgm", "anzjvm", "anzlibbrm", "anzobjcvn", "anzpfrdta", "anzpgm",- "anzprb", "anzprfact", "anzqry", "anzusrobj", "aping", "apyjrnchg",- "apyjrnchgx", "apyptf", "apyrmtptf", "arexec", "askqst", "bchjob", "call",- "callprc", "callsubr", "cd", "cfgaccweb2", "cfgdevmlb", "cfgdstsrv",- "cfghttpsch", "cfgips", "cfgpfrcol", "cfgpm400", "cfgpmagt", "cfgpmlin",- "cfgrpds", "cfgsyssec", "cfgtcp", "cfgtcpapp", "cfgtcpbp", "cfgtcpftp",- "cfgtcphttp", "cfgtcplpd", "cfgtcpptp", "cfgtcprtd", "cfgtcprxc", "cfgtcpsmtp",- "cfgtcpsnmp", "cfgtcpteln", "chdir", "chgacgcde", "chgactprfl", "chgactscde",- "chgaje", "chgalracne", "chgalrd", "chgalrslte", "chgalrtbl", "chgaspa",- "chgaspact", "chgaspcpyd", "chgaspssn", "chgatr", "chgaud", "chgaut",- "chgautjs", "chgautle", "chgbckup", "chgbpa", "chgcad", "chgccsa", "chgcdefnt",- "chgcfgl", "chgcfgle", "chgcicscvt", "chgcicsdct", "chgcicsfct", "chgcicsgrp",- "chgcicsjct", "chgcicspct", "chgcicsppt", "chgcicssit", "chgcicssts",- "chgcicstcs", "chgcicstct", "chgcicstst", "chgclnup", "chgcls", "chgclu",- "chgclunode", "chgclurcy", "chgcluver", "chgcmd", "chgcmdcrqa", "chgcmddft",- "chgcmne", "chgcntinf", "chgcomsnmp", "chgcosd", "chgcrg", "chgcrgdeve",- "chgcrgpri", "chgcrqa", "chgcrqd", "chgcsi", "chgctlappc", "chgctlasc",- "chgctlbsc", "chgctlfnc", "chgctlhost", "chgctllws", "chgctlnet", "chgctlrtl",- "chgctlrws", "chgctltap", "chgctlvws", "chgcurdir", "chgcurlib", "chgdbg",- "chgddmf", "chgddmtcpa", "chgdevappc", "chgdevasc", "chgdevasp", "chgdevbsc",- "chgdevcrp", "chgdevdsp", "chgdevfnc", "chgdevhost", "chgdevintr", "chgdevmlb",- "chgdevnet", "chgdevnwsh", "chgdevopt", "chgdevprt", "chgdevrtl", "chgdevsnpt",- "chgdevsnuf", "chgdevtap", "chgdhcpa", "chgdire", "chgdirshd", "chgdirsvra",- "chgdljs", "chgdloaud", "chgdloaut", "chgdloown", "chgdlopgp", "chgdnsa",- "chgdocd", "chgdspf", "chgdsta", "chgdstd", "chgdstl", "chgdstpwd", "chgdstq",- "chgdstrte", "chgdta", "chgdtaara", "chgdtajs", "chgemlcfge", "chgenvvar",- "chgewcbcde", "chgewcm", "chgewcptce", "chgewlm", "chgexpscde", "chgfcnara",- "chgfcnusg", "chgfct", "chgfcte", "chgfntrsc", "chgfnttble", "chgftpa",- "chgftr", "chggphfmt", "chggphpkg", "chggrpa", "chghllptr", "chghttpa",- "chgicfdeve", "chgicff", "chgimgclg", "chgimgclge", "chgipla", "chgipsifc",- "chgipsloc", "chgipstos", "chgjob", "chgjobd", "chgjobjs", "chgjobmlba",- "chgjobq", "chgjobqe", "chgjobscde", "chgjobtyp", "chgjrn", "chgjrna",- "chgjrnobj", "chgjvapgm", "chgkbdmap", "chgkrbpwd", "chglanadpi", "chglf",- "chglfm", "chglib", "chglibl", "chgliccrqa", "chglicinf", "chglinasc",- "chglinbsc", "chglinddi", "chglineth", "chglinfax", "chglinfr", "chglinppp",- "chglinsdlc", "chglintdlc", "chglintrn", "chglinwls", "chglinx25", "chglnklbrm",- "chglpda", "chgmedbrm", "chgmgdsysa", "chgmgrsrva", "chgmgtcol", "chgmnu",- "chgmod", "chgmodd", "chgmsgd", "chgmsgf", "chgmsgq", "chgnck", "chgneta",- "chgnetjobe", "chgnfsexp", "chgnfyjs", "chgnodgrpa", "chgntbd", "chgntpa",- "chgnwifr", "chgnwsa", "chgnwscfg", "chgnwsd", "chgnwsstg", "chgnwsusra",- "chgobjaud", "chgobjcrqa", "chgobjd", "chgobjown", "chgobjpgp", "chgopta",- "chgoptvol", "chgospfa", "chgospfara", "chgospfifc", "chgospflnk", "chgospfrng",- "chgoutq", "chgown", "chgpcoprf", "chgpdgprf", "chgpdmdft", "chgpexdfn",- "chgpf", "chgpfcst", "chgpfm", "chgpftrg", "chgpgm", "chgpgmvar", "chgpgp",- "chgpgrjs", "chgpj", "chgpje", "chgpldond", "chgpopa", "chgprb", "chgprbacne",- "chgprbslte", "chgprdcrqa", "chgprdobjd", "chgprf", "chgprtf", "chgprxcmd",- "chgpsfcfg", "chgptfcrqa", "chgptr", "chgpwd", "chgpwrscd", "chgpwrscde",- "chgqrya", "chgqstdb", "chgrcyap", "chgrdbdire", "chgrjecmne", "chgrjerdre",- "chgrjewtre", "chgrmtdfn", "chgrmtjrn", "chgrpyle", "chgrsccrqa", "chgrtda",- "chgrtge", "chgrwspwd", "chgrxca", "chgs36", "chgs36a", "chgs36msgl",- "chgs36pgma", "chgs36prca", "chgs36srca", "chgsavf", "chgsbsd", "chgscdbrm",- "chgschidx", "chgseca", "chgsecaud", "chgshrpool", "chgsmtpa", "chgsnmpa",- "chgsplfa", "chgsrcpf", "chgsrva", "chgsrvagt", "chgsrvagta", "chgsrvcfg",- "chgsrvpgm", "chgsrvpvda", "chgssnd", "chgssnmax", "chgsvraute", "chgsysdira",- "chgsysjob", "chgsyslibl", "chgsysval", "chgtapctg", "chgtapf", "chgtcpa",- "chgtcpdmn", "chgtcphte", "chgtcpifc", "chgtcprte", "chgtcpsvr", "chgtelna",- "chgtftpa", "chgtimzon", "chgusraud", "chgusrprf", "chgusrprti", "chgusrtrc",- "chgvar", "chgvtmap", "chgwse", "chgwtr", "chkaspbal", "chkcmntrc", "chkdlo",- "chkdnscfg", "chkdnszne", "chkexpbrm", "chkigctbl", "chkin", "chkmstkvv",- "chkobj", "chkobjitg", "chkoptvol", "chkout", "chkpfrcol", "chkprdopt",- "chkpwd", "chkrcdlck", "chktap", "clof", "close", "clrjobq", "clrlib",- "clrmsgq", "clrmstkey", "clroutq", "clrpfm", "clrpool", "clrsavf", "clrsvrsec",- "clrtrcdta", "cmd", "cmpjrnimg", "cmppfm", "cnlrjerdr", "cnlrjewtr", "commit",- "copy", "copyright", "cprobj", "cpy", "cpyaudjrne", "cpycfgl", "cpydoc",- "cpydstrpso", "cpyf", "cpyfcnara", "cpyfrmdir", "cpyfrmimpf", "cpyfrmldif",- "cpyfrmpcd", "cpyfrmpcff", "cpyfrmqryf", "cpyfrmstmf", "cpyfrmtap", "cpygphfmt",- "cpygphpkg", "cpyigcsrt", "cpyigctbl", "cpyjobjs", "cpylib", "cpymedibrm",- "cpyopt", "cpypfrcol", "cpyptf", "cpyptfcvr", "cpyptfgrp", "cpyptfsavf",- "cpysplf", "cpysrcf", "cpytcpht", "cpytodir", "cpytoimpf", "cpytoldif",- "cpytopcd", "cpytopcff", "cpytostmf", "cpytotap", "crtafpdta", "crtalrtbl",- "crtauthlr", "crtautl", "crtbndc", "crtbndcbl", "crtbndcl", "crtbndcpp",- "crtbnddir", "crtbndrpg", "crtcad", "crtcblmod", "crtcblpgm", "crtcfgl",- "crtcicsc", "crtcicscbl", "crtcicsgrp", "crtcicsmap", "crtckmksf", "crtcld",- "crtclmod", "crtclpgm", "crtcls", "crtclu", "crtcmd", "crtcmod", "crtcosd",- "crtcppmod", "crtcrg", "crtcrqd", "crtcsi", "crtctlappc", "crtctlasc",- "crtctlbsc", "crtctlfnc", "crtctlhost", "crtctllws", "crtctlnet", "crtctlrtl",- "crtctlrws", "crtctltap", "crtctlvws", "crtddmf", "crtdevappc", "crtdevasc",- "crtdevasp", "crtdevbsc", "crtdevcrp", "crtdevdsp", "crtdevfnc", "crtdevhost",- "crtdevintr", "crtdevmlb", "crtdevnet", "crtdevnwsh", "crtdevopt", "crtdevprt",- "crtdevrtl", "crtdevsnpt", "crtdevsnuf", "crtdevtap", "crtdfudspf", "crtdir",- "crtdoc", "crtdprtbl", "crtdspf", "crtdstl", "crtdtaara", "crtdtadct",- "crtdtaq", "crtdupobj", "crtedtd", "crtfcnara", "crtfct", "crtflr", "crtfmwprd",- "crtfntrsc", "crtfnttbl", "crtformdf", "crtftr", "crtgdf", "crtgphfmt",- "crtgphpkg", "crtgss", "crthstdta", "crticff", "crtigcdct", "crtimgclg",- "crtjobd", "crtjobq", "crtjrn", "crtjrnrcv", "crtjvapgm", "crtlf", "crtlib",- "crtlinasc", "crtlinbsc", "crtlinddi", "crtlineth", "crtlinfax", "crtlinfr",- "crtlinppp", "crtlinsdlc", "crtlintdlc", "crtlintrn", "crtlinwls", "crtlinx25",- "crtlocale", "crtmnu", "crtmodd", "crtmsgf", "crtmsgfmnu", "crtmsgq",- "crtnodgrp", "crtnodl", "crtntbd", "crtnwifr", "crtnwscfg", "crtnwsd",- "crtnwsstg", "crtoutq", "crtovl", "crtpagdfn", "crtpagseg", "crtpdfmap",- "crtpdg", "crtpexdta", "crtpf", "crtpfrdta", "crtpfrsum", "crtpgm", "crtpnlgrp",- "crtprddfn", "crtprdlod", "crtprtf", "crtprxcmd", "crtpsfcfg", "crtptf",- "crtptfpkg", "crtqmform", "crtqmqry", "crtqstdb", "crtqstlod", "crtrjebscf",- "crtrjecfg", "crtrjecmnf", "crtrndccfg", "crtrpgmod", "crtrpgpgm", "crtrptpgm",- "crts36cbl", "crts36dspf", "crts36mnu", "crts36msgf", "crts36rpg", "crts36rpgr",- "crts36rpt", "crtsavf", "crtsbsd", "crtschidx", "crtspadct", "crtsqlcbl",- "crtsqlcbli", "crtsqlci", "crtsqlcppi", "crtsqlpkg", "crtsqlpli", "crtsqlrpg",- "crtsqlrpgi", "crtsrcpf", "crtsrvcfg", "crtsrvpgm", "crtssnd", "crttapcgy",- "crttapf", "crttbl", "crttimzon", "crtudfs", "crtusrprf", "crtvldl", "crtwscst",- "cvtclsrc", "cvtdat", "cvtdir", "cvtdlsnam", "cvtedu", "cvtipsifc", "cvtipsloc",- "cvtnamsmtp", "cvtoptbku", "cvtovlpfm", "cvtpagspfm", "cvtpcdpags",- "cvtpfmpags", "cvtpfrcol", "cvtpfrthd", "cvtrjedta", "cvtrpcsrc", "cvtrpgsrc",- "cvtsqlcpp", "cvttcpcl", "cvttoflr", "cvtusrcert", "data", "db2ldif", "dcl",- "dclf", "dclprcopt", "dcpobj", "del", "dep", "dig", "dlcobj", "dltalr",- "dltalrtbl", "dltapardta", "dltauthlr", "dltautl", "dltbnddir", "dltcad",- "dltcfgl", "dltchtfmt", "dltcicsgrp", "dltcld", "dltcls", "dltclu", "dltcmd",- "dltcmntrc", "dltcnnl", "dltcosd", "dltcrg", "dltcrgclu", "dltcrqd", "dltcsi",- "dltctld", "dltdevd", "dltdevmlb", "dltdfupgm", "dltdlo", "dltdocl", "dltdst",- "dltdstl", "dltdtaara", "dltdtadct", "dltdtaq", "dltedtd", "dltexpsplf", "dltf",- "dltfcnara", "dltfct", "dltfntrsc", "dltfnttbl", "dltformdf", "dltftr",- "dltgphfmt", "dltgphpkg", "dltgss", "dlthstdta", "dltigcdct", "dltigcsrt",- "dltigctbl", "dltimgclg", "dltipxd", "dltjobd", "dltjobq", "dltjrn",- "dltjrnrcv", "dltjvapgm", "dltkrbccf", "dltlib", "dltlicpgm", "dltlind",- "dltlnxsvr", "dltlocale", "dltmeddfn", "dltmgtcol", "dltmnu", "dltmod",- "dltmodd", "dltmsgf", "dltmsgq", "dltnetf", "dltnodgrp", "dltnodl", "dltntbd",- "dltnwid", "dltnwscfg", "dltnwsd", "dltnwsstg", "dltoutq", "dltovl", "dltovr",- "dltovrdeve", "dltpagdfn", "dltpagseg", "dltpdfmap", "dltpdg", "dltpexdta",- "dltpfrcol", "dltpgm", "dltpnlgrp", "dltprb", "dltprddfn", "dltprdlod",- "dltpsfcfg", "dltptf", "dltqmform", "dltqmqry", "dltqry", "dltqst", "dltqstdb",- "dltrjecfg", "dltrmtptf", "dltsbmcrq", "dltsbsd", "dltschidx", "dltsmgobj",- "dltspadct", "dltsplf", "dltsqlpkg", "dltsrvcfg", "dltsrvpgm", "dltssnd",- "dlttapcgy", "dlttbl", "dlttimzon", "dlttrc", "dltudfs", "dltusridx",- "dltusrprf", "dltusrq", "dltusrspc", "dltusrtrc", "dltvldl", "dltwntsvr",- "dltwscst", "dlyjob", "dlysrvagtp", "dmp", "dmpbrm", "dmpcics", "dmpclpgm",- "dmpclutrc", "dmpcmntrc", "dmpdlo", "dmpjob", "dmpjobint", "dmpjvm",- "dmpmeminf", "dmpobj", "dmpsysobj", "dmptap", "dmptrc", "dmpusrprf",- "dmpusrtrc", "do", "dofor", "dountil", "dowhile", "dscjob", "dspacc",- "dspaccaut", "dspactpj", "dspactprfl", "dspactscd", "dspappninf", "dspaspbrm",- "dspaspcpyd", "dspaspssn", "dspaspsts", "dspaudjrne", "dspaut", "dspauthlr",- "dspautl", "dspautldlo", "dspautlobj", "dspautusr", "dspbcksts", "dspbckup",- "dspbckupl", "dspbkp", "dspbkubrm", "dspbnddir", "dspccsa", "dspcdefnt",- "dspcfgl", "dspcht", "dspcicscvt", "dspcicsdct", "dspcicsfct", "dspcicsglt",- "dspcicsjct", "dspcicspct", "dspcicsppt", "dspcicssit", "dspcicssts",- "dspcicstcs", "dspcicstct", "dspcicstst", "dspckmksfe", "dspcls", "dspcluinf",- "dspcmd", "dspcnnl", "dspcnnsts", "dspcosd", "dspcpcst", "dspcrginf", "dspcsi",- "dspctld", "dspcurdir", "dspdbg", "dspdbgwch", "dspdbr", "dspddmf", "dspdevd",- "dspdire", "dspdlfa", "dspdloaud", "dspdloaut", "dspdlonam", "dspdoc",- "dspdstclge", "dspdstl", "dspdstlog", "dspdstsrv", "dspdta", "dspdtaara",- "dspdtadct", "dspdupbrm", "dspedtd", "dspewcbcde", "dspewcm", "dspewcptce",- "dspewlm", "dspexpscd", "dspf", "dspfcnusg", "dspfd", "dspffd", "dspflr",- "dspfmwsts", "dspfntrsca", "dspfnttbl", "dspgdf", "dsphdwrsc", "dsphfs",- "dsphlpdoc", "dsphstgph", "dsphstjs", "dspigcdct", "dspipla", "dspipxd",- "dspjob", "dspjobd", "dspjobjs", "dspjoblog", "dspjobtbl", "dspjrn",- "dspjrnrcva", "dspjvapgm", "dspjvmjob", "dspkbdmap", "dspkrbccf", "dspkrbkte",- "dsplanadpp", "dsplanmlb", "dsplansts", "dsplib", "dsplibd", "dsplibl",- "dsplickey", "dsplind", "dsplnk", "dsplog", "dsplogbrm", "dsplogjs",- "dspmfsinf", "dspmgdsysa", "dspmnua", "dspmod", "dspmodd", "dspmodsrc",- "dspmodsts", "dspmsg", "dspmsgd", "dspnck", "dspneta", "dspnodgrp", "dspntbd",- "dspnwid", "dspnwsa", "dspnwscfg", "dspnwsd", "dspnwsstg", "dspnwsusra",- "dspobjaut", "dspobjd", "dspopclnk", "dspopt", "dspoptlck", "dspoptsvr",- "dspospf", "dspovr", "dsppdfmape", "dsppdgprf", "dsppfm", "dsppfrdta",- "dsppfrgph", "dsppgm", "dsppgmadp", "dsppgmref", "dsppgmvar", "dspprb",- "dsppsfcfg", "dspptf", "dspptfcvr", "dsppwrscd", "dsprcdlck", "dsprcvcmd",- "dsprcyap", "dsprdbdire", "dsprjecfg", "dsprmtdfn", "dsps36", "dspsavf",- "dspsbmcrq", "dspsbmcrqa", "dspsbmcrqm", "dspsbsd", "dspseca", "dspsecaud",- "dspsfwrsc", "dspsocsts", "dspsplf", "dspsrva", "dspsrvagt", "dspsrvpgm",- "dspsrvpvda", "dspsrvsts", "dspsstusr", "dspsvraute", "dspsyssts", "dspsysval",- "dsptap", "dsptapcgy", "dsptapctg", "dsptapsts", "dsptm", "dsptrc", "dsptrcdta",- "dspudfs", "dspusrpmn", "dspusrprf", "dspusrprti", "dspvtmap", "dspwsusr",- "dupmedbrm", "dupopt", "duptap", "edtautl", "edtbckupl", "edtcpcst", "edtdlfa",- "edtdloaut", "edtdoc", "edtf", "edtigcdct", "edtlibl", "edtobjaut", "edtqst",- "edtrbdap", "edtrcyap", "edts36pgma", "edts36prca", "edts36srca", "edtwsoaut",- "ejtemlout", "elem", "else", "emlprtkey", "endaccweb2", "endagtsrv",- "endaspbal", "endaspssn", "endbchjob", "endcad", "endcbldbg", "endchtsvr",- "endcics", "endcicsusr", "endclnup", "endclunod", "endcmnsvr", "endcmntrc",- "endcmtctl", "endcpyscn", "endcrg", "endctlrcy", "enddbg", "enddbgsvr",- "enddbmon", "enddevrcy", "enddirshd", "enddo", "enddprapy", "enddprcap",- "enddskrgz", "enddw", "endepmenv", "endfntdwn", "endgrpjob", "endhostsvr",- "endhttpcrl", "endinp", "endipsifc", "endisdb", "endjob", "endjobabn",- "endjobtrc", "endjrn", "endjrnap", "endjrnlib", "endjrnobj", "endjrnpf",- "endjs", "endjw", "endlinrcy", "endlogsvr", "endmgdsys", "endmgrsrv", "endmod",- "endmonond", "endmsf", "endnfssvr", "endnwircy", "endpasthr", "endpex",- "endpfrcol", "endpfrtrc", "endpgm", "endpgmexp", "endpgmprf", "endpj",- "endprteml", "endrcv", "endrdr", "endrjessn", "endrmtspt", "endrpcbind",- "endrqs", "ends36", "endsbmcrqa", "endsbs", "endselect", "endsrvagt",- "endsrvjob", "endsubr", "endsys", "endsysmgr", "endtcp", "endtcpabn",- "endtcpcnn", "endtcpifc", "endtcpptp", "endtcpsvr", "endtfmmgr", "endtiessn",- "endtrc", "endtrpmgr", "endwch", "endwtr", "eof", "erase", "export", "exportfs",- "extmedibrm", "extpgminf", "fildoc", "fmtdta", "fndkeyond", "fndstrpdm", "ftp",- "gencat", "genckmksfe", "gencmddoc", "gencsrc", "genjvmdmp", "genlickey", "go",- "goto", "grtaccaut", "grtdpraut", "grtobjaut", "grtusraut", "grtusrpmn",- "grtwsoaut", "hldcmndev", "hlddstq", "hldjob", "hldjobjs", "hldjobq",- "hldjobscde", "hldoutq", "hldptf", "hldrdr", "hldsbmcrqa", "hldsplf", "hldwtr",- "host", "if", "include", "inscicsgrp", "inslnxsvr", "insptf", "insrmtprd",- "inswntsvr", "inzbrm", "inzcics", "inzdlfm", "inzdprcap", "inzdstq",- "inzmedbrm", "inznwscfg", "inzopt", "inzpcs", "inzpfm", "inzsys", "inztap",- "iterate", "java", "ldif2db", "leave", "lnkdtadfn", "lodimgclg", "lodimgclge",- "lodoptfmw", "lodptf", "lodqstdb", "lodrun", "lpr", "md", "mgrbrm",- "mgrmedrdar", "mkdir", "monmsg", "monswabrm", "mount", "mov", "movdoc", "move",- "movmedbrm", "movobj", "movsplfbrm", "mrgformd", "mrgmsgclg", "mrgmsgf",- "mrgsrc", "mrgtcpht", "netstat", "nslookup", "nsupdate", "opndbf", "opnqryf",- "ordsptptf", "otherwise", "ovrdbf", "ovrdspf", "ovricfdeve", "ovricff",- "ovrmsgf", "ovrprtf", "ovrsavf", "ovrtapf", "parm", "pgm", "ping", "pkginsobj",- "pkgprddst", "pkgprdopt", "pmlinmon", "pmtctl", "posdbf", "prtactrpt",- "prtadpobj", "prtafpdta", "prtcicstrc", "prtcmdusg", "prtcmnsec", "prtcmntrc",- "prtcptrpt", "prtdevadr", "prtdirinf", "prtdoc", "prtdskinf", "prterrlog",- "prtintdta", "prtipscfg", "prtjobdaut", "prtjobrpt", "prtjobtrc", "prtjvmjob",- "prtlblbrm", "prtlckrpt", "prtmedbrm", "prtmovbrm", "prtpexrpt", "prtpfddta",- "prtpolrpt", "prtprfint", "prtpubaut", "prtpvtaut", "prtqaut", "prtrptbrm",- "prtrptond", "prtrscrpt", "prtsbsdaut", "prtscdjs", "prtsqlinf", "prtswl",- "prtsysinf", "prtsysrpt", "prtsysseca", "prttcpptp", "prttnsrpt", "prttrc",- "prttrcrpt", "prttrgpgm", "prttxtond", "prtusrobj", "prtusrprf", "pwrdwnsys",- "qrydoclib", "qrydst", "qryprbsts", "qrytief", "qsh", "qual", "rclactgrp",- "rcldbxref", "rclddmcnv", "rcldlo", "rcllib", "rcllnk", "rclobjown", "rclopt",- "rclrsc", "rclsplstg", "rclstg", "rcltmpstg", "rcvdst", "rcvf", "rcvjrne",- "rcvmsg", "rcvnetf", "rcvtief", "rd", "readfile", "ren", "return", "rgzdlo",- "rgzpfm", "rlscmndev", "rlsdstq", "rlsifslck", "rlsjob", "rlsjobjs", "rlsjobq",- "rlsjobscde", "rlsoutq", "rlsptf", "rlsrdr", "rlsrmtphs", "rlssbmcrqa",- "rlssplf", "rlswtr", "rmdir", "rmvacc", "rmvaccweb2", "rmvaje", "rmvalrd",- "rmvaspcpyd", "rmvautle", "rmvbkp", "rmvbnddire", "rmvcadmre", "rmvcadnode",- "rmvccsclt", "rmvcfgle", "rmvcicscvt", "rmvcicsdct", "rmvcicsfct", "rmvcicsglt",- "rmvcicsjct", "rmvcicspct", "rmvcicsppt", "rmvcicssit", "rmvcicstcs",- "rmvcicstct", "rmvcicstst", "rmvckmksfe", "rmvclunode", "rmvcmne", "rmvcomsnmp",- "rmvcrgdeve", "rmvcrgnode", "rmvcrqda", "rmvdevdmne", "rmvdfrid", "rmvdir",- "rmvdire", "rmvdirshd", "rmvdloaut", "rmvdprreg", "rmvdprsub", "rmvdprsubm",- "rmvdstclge", "rmvdstle", "rmvdstq", "rmvdstrte", "rmvdstsysn", "rmvdwdfn",- "rmvemlcfge", "rmvenvvar", "rmvewcbcde", "rmvewcptce", "rmvexitpgm", "rmvfcte",- "rmvfnttble", "rmvftracne", "rmvftrslte", "rmvhstjs", "rmvicfdeve",- "rmvimgclge", "rmvipsifc", "rmvipsloc", "rmvipsrte", "rmvjobjs", "rmvjobqe",- "rmvjobscde", "rmvjrnchg", "rmvjwdfn", "rmvkrbkte", "rmvlanadpi", "rmvlanadpt",- "rmvlible", "rmvlickey", "rmvlnk", "rmvlogebrm", "rmvlogejs", "rmvm",- "rmvmedbrm", "rmvmedibrm", "rmvmfs", "rmvmsg", "rmvmsgd", "rmvnck",- "rmvnetjobe", "rmvnettble", "rmvnodle", "rmvnwsstgl", "rmvoptctg", "rmvoptsvr",- "rmvospfara", "rmvospfifc", "rmvospflnk", "rmvospfrng", "rmvpcltble",- "rmvpexdfn", "rmvpexftr", "rmvpfcst", "rmvpftrg", "rmvpgm", "rmvpje", "rmvptf",- "rmvrdbdire", "rmvrexbuf", "rmvrjecmne", "rmvrjerdre", "rmvrjewtre",- "rmvrmtdfn", "rmvrmtjrn", "rmvrmtptf", "rmvrptond", "rmvrpyle", "rmvrtge",- "rmvschidxe", "rmvsmtple", "rmvsoce", "rmvsrvtble", "rmvsvraute", "rmvtapctg",- "rmvtcphte", "rmvtcpifc", "rmvtcpport", "rmvtcpptp", "rmvtcprsi", "rmvtcprte",- "rmvtcpsvr", "rmvtcptbl", "rmvtrc", "rmvtrcftr", "rmvwse", "rndc", "rnm",- "rnmdire", "rnmdlo", "rnmdstl", "rnmjobjs", "rnmlanadpi", "rnmm", "rnmnck",- "rnmobj", "rnmtcphte", "rollback", "rpcbind", "rpcgen", "rpldoc", "rqsordast",- "rrtjob", "rsmbkp", "rsmctlrcy", "rsmdevrcy", "rsmhttpcrl", "rsmlinrcy",- "rsmnwircy", "rsmrtvbrm", "rst", "rstapardta", "rstaut", "rstautbrm", "rstbrm",- "rstcfg", "rstdfrobj", "rstdlo", "rstdlobrm", "rstlib", "rstlibbrm",- "rstlicpgm", "rstobj", "rstobjbrm", "rstpfrcol", "rsts36f", "rsts36libm",- "rstsysinf", "rstusrprf", "rtnsubr", "rtvautle", "rtvbckup", "rtvbndsrc",- "rtvcfgsrc", "rtvcfgsts", "rtvcldsrc", "rtvclnup", "rtvclsrc", "rtvcurdir",- "rtvdirinf", "rtvdloaut", "rtvdlonam", "rtvdoc", "rtvdskinf", "rtvdtaara",- "rtvgrpa", "rtvimgclg", "rtvjoba", "rtvjrne", "rtvlibd", "rtvmbrd", "rtvmsg",- "rtvneta", "rtvobjd", "rtvpdgprf", "rtvprd", "rtvptf", "rtvpwrscde",- "rtvqmform", "rtvqmqry", "rtvs36a", "rtvsmgobj", "rtvsrvagt", "rtvswlsrc",- "rtvsysinf", "rtvsysval", "rtvtblsrc", "rtvusrprf", "rtvusrprti", "rtvwscst",- "runbckup", "rundnsupd", "runjva", "runlpda", "runqry", "runrmtcmd",- "runrndccmd", "runsmgcmd", "runsmgobj", "runsqlstm", "rvkaccaut", "rvkdpraut",- "rvkobjaut", "rvkpubaut", "rvkusrpmn", "rvkwsoaut", "sav", "savapardta",- "savbrm", "savcfg", "savchgobj", "savcicsgrp", "savdlo", "savdlobrm",- "savflrlbrm", "savlib", "savlibbrm", "savlicpgm", "savmedibrm", "savobj",- "savobjbrm", "savobjlbrm", "savpfrcol", "savrst", "savrstcfg", "savrstchg",- "savrstdlo", "savrstlib", "savrstobj", "savs36f", "savs36libm", "savsavfbrm",- "savsavfdta", "savsecdta", "savstg", "savsys", "savsysbrm", "savsysinf",- "sbmcmdjs", "sbmcodejob", "sbmcrq", "sbmdbjob", "sbmfncjob", "sbmjob",- "sbmjobjs", "sbmnetjob", "sbmnwscmd", "sbmrjejob", "sbmrmtcmd", "select",- "setaspgrp", "setatnpgm", "setcstdta", "setdepjs", "setdljs", "setkbdmap",- "setmedbrm", "setmstkey", "setobjacc", "setpgminf", "setrtvbrm", "setstpjs",- "settapcgy", "setupgenv", "setusrbrm", "setvtmap", "setvttbl", "signoff",- "sltcmd", "sndbrkmsg", "snddst", "snddstjs", "snddstq", "sndf", "sndjrne",- "sndlic", "sndmsg", "sndnetf", "sndnetmsg", "sndnetsplf", "sndpgmmsg", "sndprd",- "sndptf", "sndptford", "sndrcvf", "sndrjecmd", "sndrptjs", "sndrpy",- "sndsmgobj", "sndsrvrqs", "sndtcpsplf", "sndtief", "sndusrmsg", "statfs",- "straccweb2", "strafpu", "stragtsrv", "strapf", "strarcbrm", "strasmond",- "straspbal", "straspssn", "strbalbrm", "strbgu", "strbkubrm", "strcad",- "strcbldbg", "strcgu", "strchtsvr", "strcics", "strcicsusr", "strclnup",- "strclunod", "strcmnsvr", "strcmntrc", "strcmtctl", "strcode", "strcodecmd",- "strcpyscn", "strcrg", "strdbg", "strdbgsvr", "strdbmon", "strdbrdr", "strdfu",- "strdigqry", "strdirshd", "strdnsqry", "strdprapy", "strdprcap", "strdskrgz",- "strdsmond", "strdw", "stredu", "streml3270", "strepmenv", "strexpbrm",- "strfma", "strfntdwn", "strgrpjs", "strhostqry", "strhostsvr", "strhttpcrl",- "stridd", "strimpond", "stripsifc", "strisdb", "stritf", "strjobtrc", "strjrn",- "strjrnap", "strjrnlib", "strjrnobj", "strjrnpf", "strjs", "strjw", "strlogsvr",- "strmgdsys", "strmgrbrm", "strmgrsrv", "strmntbrm", "strmod", "strmonond",- "strmsf", "strnfssvr", "strobjcvn", "strovlu", "strpasthr", "strpccmd",- "strpco", "strpdm", "strpex", "strpfrcol", "strpfrg", "strpfrt", "strpfrtrc",- "strpfu", "strpgmexp", "strpgmmnu", "strpgmprf", "strpj", "strprteml",- "strprtwtr", "strqm", "strqmprc", "strqmqry", "strqry", "strqsh", "strqst",- "strrcybrm", "strrexprc", "strrjecsl", "strrjerdr", "strrjessn", "strrjewtr",- "strrlu", "strrmtspt", "strrmtwtr", "strrsesvr", "strs36", "strs36prc",- "strsavsync", "strsbs", "strsbsbrm", "strschidx", "strsda", "strseu",- "strsplrcl", "strsptn", "strsql", "strsrvagt", "strsrvjob", "strsst",- "strsysmgr", "strtcp", "strtcpftp", "strtcpifc", "strtcpptp", "strtcpsvr",- "strtcpteln", "strtfmmgr", "strtiessn", "strtrc", "strtrpmgr", "strwch", "subr",- "telnet", "tfrbchjob", "tfrctl", "tfrgrpjob", "tfrjob", "tfrpasthr",- "tfrsecjob", "traceroute", "trcaspbal", "trccnn", "trccpic", "trcicf", "trcint",- "trcjob", "trcrex", "trctcpapp", "trctcprte", "trnckmksf", "unmount", "upddta",- "updpgm", "updptfinf", "updsrvpgm", "updsysinf", "vfyappccnn", "vfycmn",- "vfyimgclg", "vfylnklpda", "vfymovbrm", "vfyopccnn", "vfyopt", "vfyprt",- "vfysrvagt", "vfysrvcfg", "vfytap", "vfytcpcnn", "vrycfg", "wait", "when",- "wrkactjob", "wrkadmrdar", "wrkalr", "wrkalrd", "wrkalrtbl", "wrkappnsts",- "wrkarmjob", "wrkaspbrm", "wrkaspcpyd", "wrkaspjob", "wrkaut", "wrkautl",- "wrkbnddir", "wrkbnddire", "wrkbptbl", "wrkcalbrm", "wrkcfgl", "wrkcfgsts",- "wrkchtfmt", "wrkcicscvt", "wrkcicsdct", "wrkcicsfct", "wrkcicsglt",- "wrkcicsgrp", "wrkcicsjct", "wrkcicspct", "wrkcicsppt", "wrkcicssit",- "wrkcicssts", "wrkcicstcs", "wrkcicstct", "wrkcicstst", "wrkcls", "wrkclsbrm",- "wrkclu", "wrkcmd", "wrkcmtdfn", "wrkcnnl", "wrkcnrbrm", "wrkcntinf", "wrkcosd",- "wrkcrqd", "wrkcsi", "wrkctld", "wrkctlgbrm", "wrkdbfidd", "wrkddmf",- "wrkdevbrm", "wrkdevd", "wrkdevtbl", "wrkdire", "wrkdirloc", "wrkdirshd",- "wrkdoc", "wrkdoclib", "wrkdocprtq", "wrkdpcq", "wrkdsksts", "wrkdstclge",- "wrkdstl", "wrkdstq", "wrkdtaara", "wrkdtadct", "wrkdtadfn", "wrkdtaq",- "wrkedtd", "wrkenvvar", "wrkf", "wrkfcnara", "wrkfcnusg", "wrkfct", "wrkflr",- "wrkflrbrm", "wrkfntrsc", "wrkformdf", "wrkftr", "wrkftracne", "wrkftrslte",- "wrkgss", "wrkhdwprd", "wrkhdwrsc", "wrkhldoptf", "wrkhstjs", "wrkimgclg",- "wrkimgclge", "wrkipxd", "wrkjob", "wrkjobd", "wrkjobjs", "wrkjoblog",- "wrkjobq", "wrkjobqd", "wrkjobscde", "wrkjrn", "wrkjrna", "wrkjrnrcv",- "wrkjvmjob", "wrklanadpt", "wrklbrm", "wrklib", "wrklibpdm", "wrklicinf",- "wrklind", "wrklnk", "wrklnkbrm", "wrklocbrm", "wrkmbrpdm", "wrkmedbrm",- "wrkmedibrm", "wrkmedrdar", "wrkmgribrm", "wrkmlbbrm", "wrkmlbrscq",- "wrkmlbsts", "wrkmlmbrm", "wrkmnu", "wrkmod", "wrkmodd", "wrkmsg", "wrkmsgd",- "wrkmsgf", "wrkmsgq", "wrknamsmtp", "wrknck", "wrknetf", "wrknetjobe",- "wrknettble", "wrknodl", "wrknodle", "wrkntbd", "wrknwid", "wrknwscfg",- "wrknwsd", "wrknwsenr", "wrknwsstg", "wrknwssts", "wrkobj", "wrkobjbrm",- "wrkobjlck", "wrkobjown", "wrkobjpdm", "wrkobjpgp", "wrkobjpvt", "wrkopcact",- "wrkoptdir", "wrkoptf", "wrkoptvol", "wrkordinf", "wrkordrqs", "wrkoutq",- "wrkoutqd", "wrkovl", "wrkpagdfn", "wrkpagseg", "wrkpcltble", "wrkpcybrm",- "wrkpdfmape", "wrkpexdfn", "wrkpexftr", "wrkpfcst", "wrkpfdl", "wrkpgm",- "wrkpgmtbl", "wrkpmrmts", "wrkpmrpto", "wrkpmsch", "wrkpnlgrp", "wrkprb",- "wrkprdinf", "wrkprtsts", "wrkpsfcfg", "wrkptf", "wrkptfgrp", "wrkptford",- "wrkqmform", "wrkqmqry", "wrkqry", "wrkqst", "wrkrcvcrqa", "wrkrcybrm",- "wrkrdbdire", "wrkrdr", "wrkreginf", "wrkrjessn", "wrkrmtdfn", "wrkrpyle",- "wrkrtdcfg", "wrks36", "wrks36pgma", "wrks36prca", "wrks36srca", "wrksavfbrm",- "wrksbmcrq", "wrksbmcrqa", "wrksbmjob", "wrksbs", "wrksbsd", "wrksbsjob",- "wrkschidx", "wrkschidxe", "wrksecrdar", "wrksfwagr", "wrkshrpool", "wrksoc",- "wrkspadct", "wrksplf", "wrksplfa", "wrksplfbrm", "wrksptprd", "wrksrvagt",- "wrksrvpgm", "wrksrvpvd", "wrksrvrqs", "wrksrvtble", "wrkssnd", "wrksysact",- "wrksyssts", "wrksysval", "wrktapctg", "wrktbl", "wrktcpptp", "wrktcpsts",- "wrktie", "wrktimzon", "wrktrc", "wrkusrjob", "wrkusrprf", "wrkusrtbl",- "wrkwch", "wrkwtr"}- },--}--Strings = {- Delimiter=[[']]-}--IgnoreCase=true--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/ascend.lang
@@ -1,46 +0,0 @@--Description="ASCEND"--Keywords={- { Id=1,- List={ "ADD", "AND", "ALIASES", "ARE_ALIKE", "ARE_THE_SAME", - "ARE_NOT_THE_SAME", "ASSERT", "ATOM", "CALL", "CASE", "CARD", "CHECK", "CHOICE", - "CONSTANT", "CONDITIONAL", "CREATE", "DATA", "DEFAULT", "DEFINITION", "DO", - "ELSE", "FIX", "FOR", "FREE", "IF", "IN", "INPUT", "INTERSECTION", "IS_A", - "IS_REFINED_TO", "MAX", "MAXIMIZE", "MIN", "MINIMIZE", "NOTES", "OF", "OR", - "OTHERWISE", "OUTPUT", "PROVIDE", "PROD", "REPLACE", "REFINES", "RUN", - "SATISFIED", "SELECT", "SELF", "STUDY", "SUCH_THAT", "SUM", "SWITCH", "THEN", - "UNIVERSAL", "UNION", "UNITS", "USE", "WHEN", "WHERE", "WITH_VALUE", "WILL_BE", - "WILL_BE_THE_SAME", "WILL_NOT_BE_THE_SAME"},- },- { Id=2,- List={"FALSE", "TRUE", "real_constant", "integer_constant", "symbol_constant", - "boolean_constant", "real", "integer", "symbol", "boolean", "set"},- },- { Id=3,- List={"IMPORT", "REQUIRE", "MODEL", "END", "METHOD", "METHODS"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[[']],- DelimiterPairs= {- { Open=[[ \{ ]], Close=[[ \} ]] }- }-}--Comments={- { Block=true,- Nested=false,- Delimiter= { [[\(\*]],[[\*\)]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]--EnableIndentation=true
highlight/langDefs/asp.lang
@@ -1,37 +0,0 @@-Description="Active Server Pages"- -Keywords={- { Id=1,- Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-\.]+>?|[/?]?>]],- Group=0,- },- { Id=2,- Regex=[[([-\w\:]+)="]],- },- { Id=4,- Regex=[[\&\#?\w+;]],- },-}- -Strings={- Delimiter=[["]],-}- -IgnoreCase=true- -Comments={- { Block=true,- Nested=false,- Delimiter= { [[<[%!]\-\-]],[[\-\-%?>]] }- }-}- -NestedSections = {- { Lang="csharp", Delimiter= { [[<%(?!\-\-)[=#\$]?]], [[%>]] } },- { Lang="css", Delimiter= { [[<style\s+type\=[\'\"]text\/css[\'\"]>]], [[<\/style>]] } },- { Lang="js", Delimiter= { [[<script>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script\s+language\=\"[jJ]ava[sS]cript\"(?:\s+type\=\"text\/javascript\")?>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script\s+language=[\"\'][jJ]ava[sS]cript[\"\'](?:\s+type=[\"\']text/javascript[\"\'])?[^>]*>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script(?:\s+type=[\"\']text/javascript[\"\'])\s+language=[\"\'][jJ]ava[sS]cript[\"\']?[^>]*>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script(?:\s+type=[\"\']text/javascript[\"\'])>]], [[<\/script>]] } },-}
highlight/langDefs/aspect.lang
@@ -1,187 +0,0 @@--Description="Abstract"--Keywords={- { Id=1,- List={"addfilename", "alarm", "ansitokey", "ansitooem", "atof", "atoi", - "atol", "beep", "bitmap", "bitmapbkg", "break", "breakpoint", "call", "capture", - "capturestr", "case", "ceil", "chain", "chdir", "checkbox", "clear", - "clearxoff", "cliptofile", "cliptostr", "combobox", "comgetc", "commandmode", - "compile", "computc", "comread", "comwrite", "connect", "connectmanual", - "copyfile", "crc16", "ddeadvise", "ddeexecute", "ddeinit", "ddepoke", - "dderequest", "ddeterminate", "ddeunadvise", "decrypt", "default", "delfile", - "dial", "dialadd", "dialcancel", "dialclass", "dialcount", "dialcreate", - "dialdelete", "dialfind", "dialinsert", "dialload", "dialname", "dialnumber", - "dialogbox", "", "dialsave", "dialstats", "dir", "dirlistbox", "dirpath", - "disable", "disconnect", "diskfree", "dlgctrlwin", "dlgdestroy", "dlgevent", - "dlgexists", "dlglist", "dlgsave", "dlgshow", "dlgupdate", "dlgwin", - "dlgwinctrl", "dllcall", "dllfree", "dllload", "dllobject", "dllobjfile", - "dllobjupdt", "dos", "editbox", "elifdef", "has", "failed.", "else", "elseif", - "enable", "encrypt", "endcase", "enddialog", "endfor", "endfunc", "endgroup", - "endif", "endproc", "endswitch", "endwhile", "errormsg", "execute", "exit", - "exitfor", "exitswitch", "exitwhile", "exitwindows", "faxcancel", "faxlist", - "faxmodem", "faxpoll", "faxprint", "faxremove", "faxsend", "faxstatus", - "faxview", "fclear", "fclose", "fcombobox", "fdelblock", "feditbox", "feof", - "ferror", "fetch", "fflush", "fgetc", "fgets", "fileget", "fileset", - "filetoclip", "fileview", "findfirst", "findnext", "finsblock", "firsttask", - "flength", "flistbox", "float", "floor", "fopen", "for", "", "fputc", "fputs", - "fread", "fseek", "fstrfmt", "ftell", "ftext", "ftoa", "ftp", "ftruncate", - "fullpath", "func", "fwrite", "getcur", "getdir", "getenv", "getfile", - "getfilename", "getpathname", "getvolume", "goto", "groupbox", "halt", "hangup", - "help", "hotspot", "icon", "iconbutton", "if", "integer", "intsltime", "isfile", - "itemcount", "itemcreate", "itemfind", "itemname", "itemremove", "itoa", - "kermserve", "keyflush", "keyget", "keystate", "keytoansi", "keytooem", - "listbox", "locate", "long", "longjmp", "loopfor", "loopwhile", "ltimeelapsed", - "ltimeints", "ltimemisc", "ltimestring", "ltimestrs", "ltoa", "makepath", - "mapisend", "mciexec", "mcisend", "memaddress", "memalloc", "memavail", - "memchr", "memcmp", "memfree", "memgetc", "memicmp", "memmove", "memputc", - "memread", "memrealloc", "memset", "memsize", "memwrite", "menubar", - "menucheck", "menuitem", "menuitemcount", "menupopup", "menupopupid", - "menuselect", "menushow", "menushowpopup", "menustate", "metafile", - "metafilebkg", "metakey", "mkdir", "monthstr", "mspause", "nexttask", "nullstr", - "numtostr", "objcoord", "objhide", "objmove", "objpaint", "objpointid", - "objremove", "objshow", "oemtoansi", "oemtokey", "param", "pastetext", "pause", - "pkmode", "pkrecv", "pksend", "playback", "printalign", "printattr", - "printcapture", "printchar", "printer", "printfit", "printfont", "printmargin", - "printstr", "printtabs", "printtabstr", "proc", "", "profilerd", "profilewr", - "pushbutton", "putenv", "pwexit", "pwmode", "pwtitlebar", "radiobutton", - "radiogroup", "", "rand", "rename", "return", "rewind", "rget", "rmdir", - "rstrcmp", "run", "rxflush", "sbsave", "screentowin", "sdlgfopen", "sdlginput", - "sdlgmsgbox", "sdlgsaveas", "sendfile", "sendkey", "sendkeystr", "sendvkey", - "set", "setjmp", "setpointer", "setup", "shell", "shortpath", "snapshot", - "splitpath", "statclear", "statmsg", "strcat", "strchr", "strcmp", "strcpy", - "strcspn", "strdelete", "strextract", "strfind", "strfmt", "strgetc", "stricmp", - "string", "strinsert", "strlen", "strlwr", "strncmp", "strnicmp", "strputc", - "strquote", "strrchr", "strread", "strreplace", "strrev", "strright", - "strsearch", "strset", "strsltime", "strspn", "strtoclip", "strtok", "strtonum", - "strupdt", "strupr", "strwrite", "substr", "switch", "taskactivate", - "taskexists", "taskexit", "taskname", "taskpath", "taskwin", "termgetc", - "termgets", "termkey", "termmsg", "termputc", "termputs", "termreadc", - "termreads", "termreset", "termvkey", "termwritec", "termwrites", "text", - "transmit", "txflush", "usermsg", "uwincreate", "uwinpaint", "uwinremove", - "uwutowin", "waitfor", "waitquiet", "waituntil", "weekdaystr", "when", "while", - "winactivate", "winclose", "wincoord", "winenabled", "winexists", "winfocus", - "winhide", "winmaximize", "winminimize", "winmove", "winowner", "winrestore", - "winshow", "winsize", "winstate", "wintask", "wintext", "wintoscreen", - "wintouwu", "winvisible", "wizard", "xfercancel", "xlatin", "xlatout", - "xlatstr"},- },- { Id=2,- List={"abortdnld", "abortretry", "access", "action", "actionbar", - "adaptive19200", "adaptiveans", "addcallinfo", "address", "adds60", "adds90", - "adm31", "adm3a", "adm5", "alarmtime", "alt", "altctrl", "altctrlshift", - "alternate", "altshift", "always", "anonymouslogon", "ansibbs", "ansrings", - "append", "areacode", "ascii", "asciixlat", "aspdebug", "aspect", "aspectpath", - "aspfile", "aspline", "aspmenu", "aspversion", "att4410", "att605", "attribute", - "auto", "autoansoff", "autoanswer", "autobaud", "autodnld", "autologon", - "autoreliable", "autosize", "autostart", "background", "backspace", "baudrate", - "begin", "betweencalls", "binary", "binarymode", "bit8mode", "bit8quote", - "blankexpand", "blinkrate", "block", "blockcheck", "blockcursor", "blockmode", - "blockstart", "bold", "bottom", "breaklen", "by", "callerid", "calleridoff", - "calltype", "callwaiting", "callwaitoff", "cancel", "cardnum", "cdinxfer", - "cellular", "center", "character", "charpace", "charset", "chatmode", "cisb", - "class", "class1", "class2", "clipboard", "clipchar", "clipfilermv", "close", - "closed", "cmdsuffix", "cnctmsg", "code", "codepage", "colors", "columns", - "com1", "com2", "com3", "com4", "com5", "com6", "com7", "com8", "com9", - "company", "complete", "completed", "connectall", "connected", "connection", - "contents", "control", "conventional", "converter", "countrycode", "coversheet", - "cr", "crashrecover", "crc", "crc32", "create", "crlfxlat", "crlf_etx", "cr_lf", - "cslipcompress", "ctrl", "ctrlquote", "ctrlshift", "current", "cursorkeyapp", - "cursorpos", "data", "database", "databits", "datafax", "datakey", "date", - "dblclick", "dec", "decimal", "declinewrap", "delay", "delete", "delline", - "delpages", "dest", "device", "dgd100", "dgd200", "dgd210", "dialacalways", - "dialacforld", "dialcmd", "dialdir", "dialed", "dialentry", "dialingbox", - "dialog", "dialspeed", "dim", "direct", "disabled", "disk", "display", - "distinctring", "dlgctrl", "dnld", "dnldpath", "dnldprompt", "dnsaddress", - "downto", "dropdown", "dropdownlist", "dropdtr", "duplex", "dynamic", "echo", - "ecm", "editor", "elapsed", "endsequence", "enquiry", "enquirystr", "entercrlf", - "enterkey", "entry", "entrynum", "environment", "eolchar", "eolconvert", - "eolstr", "eot", "errorcorrect", "errordetect", "escapem", "esprit3", "etx", - "even", "exact", "exclamation", "expand", "extended", "f0", "f1", "f2", "f3", - "f4", "f5", "f6", "f7", "f8", "f9", "failure", "fast", "fax", "faxnumber", - "file", "filelist", "filetype", "filexfer", "filexferbox", "filter", "filtered", - "finish", "first", "fixed", "flowcontrol", "flush", "font", "fontname", - "fontsize", "footer", "forever", "frame", "full", "global", "group", "half", - "hardflow", "hardware", "header", "heath19", "helpfile", "hidden", "high", - "hold", "homepage", "host", "hostdir", "hostprint", "hosttype", "hotkeys", - "hscroll", "html", "i0", "i1", "i2", "i3", "i4", "i5", "i6", "i7", "i8", "i9", - "ibm3101", "ibm3161", "ibm3270", "ibmpc", "iconflash", "iconpath", "inbox", - "incnctlist", "incremental", "ind$file", "information", "init", "insert", - "internal", "internet", "intl", "intlprefix", "into", "ipaddress", - "ipaddresstype", "ipport", "iskey", "iso", "italic", "item", "keep", "kermit", - "keyboardfile", "keypadapp", "keys", "l0", "l1", "l2", "l3", "l4", "l5", "l6", - "l7", "l8", "l9", "landscape", "ldlineout", "ldprefix", "left", "length", "lf", - "linepace", "linetype", "linewrap", "lmouse", "local", "localdir", "locked", - "loclineout", "logging", "logonname", "logontimeout", "logout", "longdistance", - "longfilename", "low", "lrecl", "ltime", "mail", "manager", "margins", "mark", - "masked", "matchcase", "maximized", "maxlength", "medium", "memload", "memo", - "memory", "memtotal", "menu", "metakeyfile", "metakeys", "method", "minimized", - "misc", "miscnum", "mnp4", "mnp5", "mode", "modem", "mousecoord", "multiline", - "multiple", "multipleconnect", "music", "mvs_tso", "nameprefix", "negotiate", - "negotiation", "never", "newer", "news", "next", "no", "nocnctmsg", - "noerrorcorrect", "noncontig", "nondest", "none", "nopaint", "normal", "not", - "notes", "notesfile", "notespath", "nullsuppress", "numberprefix", "odd", "off", - "offdial", "offset", "ok", "okcancel", "on", "once", "onuntilcd", "onverify", - "open", "options", "organization", "orientation", "origtime", "other", "outbox", - "overwrite", "pacechar", "pacelines", "pacing", "packetsize", "padchar", - "padnum", "pagenumbers", "pageupdate", "paging", "parent", "parity", - "passivemode", "password", "path", "pattern", "pausechar", "permanent", - "phonecard", "phonenumber", "physical", "pinnum", "pixels", "playbackpace", - "popup", "port", "portrait", "ppp", "prefix", "print", "program", "prompt", - "proprietary", "protect", "protectattr", "protocol", "pulse", "pwmenu", "query", - "question", "quickoption", "quickselect", "quiet", "raw", "rawascii", - "rawprint", "read", "readappend", "readwrite", "reboot", "receive", "received", - "receiver", "recfm", "recordmode", "recvbaud", "recvcmd", "recvprint", - "recvview", "recycle", "relaxed", "remote", "remotecmd", "remove", "repaint", - "replyaddress", "reset", "restart", "restore", "resume", "retainfiles", - "retries", "retrycancel", "retrydelay", "reverse", "reversebit", "rgetchar", - "right", "ringmsg", "rip", "rmouse", "rmvpolled", "rows", "rxcr", "rxdata", - "s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s7cmd", "s8", "s9", "save", - "sbbuffer", "sbpages", "scale", "scheduled", "screen", "scriptfile", - "scriptpath", "scriptstart", "scroll", "scrollmethod", "search", "security", - "select", "send", "sendcmd", "sendcr", "sender", "sendpolled", "sent", - "separator", "serveraddress", "servicenum", "shared", "shift", "short", - "showfaxstatus", "sierra", "signaturefile", "simple", "single", "size", "skip", - "slip", "slow", "softflow", "software", "sort", "space", "spawn", "speaker", - "stationid", "statusattr", "statusline", "stop", "stopbits", "streaming", - "strip", "stripbit8", "style", "subnetmask", "success", "suffix", "suspend", - "tabexpand", "tabkey", "tabstops", "target", "telnet", "termcolors", "termfont", - "terminal", "terminalid", "tight", "tiled", "time", "timeout", "timestamp", - "timing", "tone", "tooltips", "top", "topic", "translate", "tty", "turnchar", - "tvi910", "tvi912", "tvi920", "tvi922", "tvi925", "tvi950", "tvi955", - "txmethod", "txpace", "type", "underline", "unselect", "until", "update", - "upld", "upldpace", "upldpath", "upto", "uselrecl", "usepacechar", - "usephonecard", "userecfm", "userexit", "userid", "username", "userwin", - "us_cr", "uwus", "v23", "v42", "variable", "vidtex", "viewcursor", "viewgif", - "viewgraphics", "virtual", "visual", "vm_cms", "voice", "voicenumber", "volume", - "vt100", "vt102", "vt220", "vt320", "vt52", "waitcnct", "wavefile", - "whensuspend", "whentarget", "wincolors", "window", "with", "word", "write", - "wyse100", "wyse50", "wyse60", "wyse75", "xfermode", "xferyield", "xmitbaud", - "xmodem", "xoff", "xwindow", "yes", "yesno", "yesnocancel", "ymodem", "ymodemg", - "zmodem"},- },-}--Strings={- Delimiter=[["|']],-Escape=[[ `\d{3}|`x\d{2}|^[ntvbrfa`\?'"] ]]-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\#comment]],[[\#endcomment]],}---FIXME number of delimiters nok- }-}--PreProcessor={- Prefix=[[#]],-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/assembler.lang
@@ -1,81 +0,0 @@--Description="Generic Assembler"--Digits=[[ (?:0x|0X|\$)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[bBhHlLuU]* ]]--Keywords={- { Id=1,- List={"aaa", "aad", "aam", "aas", "adc", "add", "and", "arpl", "bound", - "bsf", "bsr", "bswap", "bt", "btc", "btr", "bts", "call", "cbw", "cdq", "clc", - "cld", "cli", "clts", "cmc", "cmp", "cmps", "cmpsb", "cmpsd", "cmpsw", - "cmpxchg", "cwd", "cwde", "daa", "das", "dec", "div", "enter", "esc", "f2xm1", - "fabs", "fadd", "faddp", "fbld", "fbstp", "fchs", "fclex", "fcom", "fcomp", - "fcompp", "fcos", "fdecstp", "fdisi", "fdiv", "fdivp", "fdivr", "fdivrp", - "feni", "ffree", "fiadd", "ficom", "ficomp", "fidiv", "fidivr", "fild", "fimul", - "fincstp", "finit", "fist", "fistp", "fisub", "fisubr", "fld", "fld1", "fldcw", - "fldenv", "fldl2e", "fldl2t", "fldlg2", "fldln2", "fldpi", "fldz", "fmul", - "fmulp", "fnclex", "fndisi", "fneni", "fninit", "fnop", "fnsave", "fnstcw", - "fnstenv", "fnstsw", "fpatan", "fprem", "fprem1", "fptan", "frndint", "frstor", - "fsave", "fscale", "fsetpm", "fsin", "fsincos", "fsqrt", "fst", "fstcw", - "fstenv", "fstp", "fstsw", "fsub", "fsubp", "fsubr", "fsubrp", "ftst", "fucom", - "fucomp", "fucompp", "fwait", "fxam", "fxch", "fxtract", "fyl2x", "fyl2xp1", "hlt", "idiv", - "in", "inc", "insb", "insd", "insw", "int", "into", "invd", "invlpg", "iret", - "iretd", "ja", "jae", "jb", "jbe", "jc", "jcxz", "je", "jecxz", "jg", "jge", - "jl", "jle", "jmp", "jna", "jnae", "jnb", "jnbe", "jnc", "jne", "jng", - "jnge", "jnl", "jnle", "jno", "jnp", "jns", "jnz", "jo", "jp", "jpe", "jpo", - "js", "jz", "lahf", "lar", "lds", "lea", "leave", "les", "lfs", "lgdt", "lgs", - "lidt", "lldt", "lmsw", "lock", "lods", "lodsb", "lodsd", "lodsw", "loop", - "loopd", "loopde", "loopdne", "loopdnz", "loopdz", "loope", "loopne", "loopnz", - "loopz", "lsl", "lss", "ltr", "mov", "movs", "movsb", "movsd", "movsw", "movsx", - "movzx", "mul", "neg", "nop", "not", "or", "out", "outsb", "outsd", "outsw", - "pop", "popa", "popad", "popf", "popfd", "push", "pusha", "pushad", "pushf", - "pushfd", "rcl", "rcr", "rep", "repe", "repne", "repnz", "repz", "ret", "retf", - "retn", "rol", "ror", "sahf", "sal", "sar", "sbb", "scas", "scasb", "scasd", - "scasw", "segcs", "segds", "seges", "segfs", "seggs", "segss", "seta", "setae", "setb", - "setbe", "setc", "sete", "setg", "setge", "setl", "setle", "setna", "setnae", - "setnb", "setnbe", "setnc", "setne", "setng", "setnge", "setnl", "setnle", - "setno", "setnp", "setns", "setnz", "seto", "setp", "setpe", "setpo", "sets", - "setz", "sgdt", "shl", "shld", "shr", "shrd", "sidt", "sldt", "smsw", "stc", - "std", "sti", "stos", "stosb", "stosd", "stosw", "str", "sub", "test", "verr", - "verw", "wait", "wbinvd", "xadd", "xchg", "xlat", "xor", "assume", "omment", - "db", "dd", "dq", "dt", "dw", "end", "endm", "endp", "ends", "eq", "equ", - "exitm", "ex", "trn", "far", "ge", "group", "gt", "include", "label", "large", - "le", "length", "local", "lt", "macro", "mask", "name", "near", "org", "page", - "proc", "public", "purge", "record", "rept", "seg", "segment", "short", "size", - "small", "struc", "subttl", "symtype", "this", "title", "width", "section", - "global", "align", "invoke" , "struct", "import", "entry"- },- },- { Id=2,- List={"ah", "al", "and", "ax", "bh", "bl", "bp", "bx", "byte", "ch", "cl", - "cs", "cx", "dh", "di", "dl", "ds", "dword", "dx", "eax", "ebp", "ebx", "ecx", - "edi", "edx", "eip", "es", "esi", "esp", "fs", "gs", "high", "low", "mod", - "not", "offset", "or", "ptr", "qword", "shl", "shr", "si", "sp", "ss", "st", - "tbyte", "type", "word", "xor"},- },- { Id=3,- Regex=[[ [\w@]+\: ]]- },- { Id=4,- Regex=[[ @[\w@]+ ]]- }-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\{]],[[\}]],}- }-}--Operators=[[\(|\)|\[|\]|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\?]]-
highlight/langDefs/ats.lang
@@ -1,58 +0,0 @@--Description="Applied Type System"--Digits=[[ (?:0x|0X|0b|0B)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]--Keywords={- { Id=1,- List={"and", "as", "assert", "asr", "begin", "", "class", "constraint", - "do", "done", "downto", "else", "end", "exception", "external", "false", "for", - "fun", "function", "functor", "if", "in", "include", "inherit", "initializer", - "land", "lazy", "let", "lor", "lsl", "lsr", "lxor", "match", "method", "mod", - "module", "mutable", "new", "object", "of", "open", "or", "private", "rec", - "sig", "struct", "then", "to", "true", "try", "type", "val", "virtual", "when", - "while", "with", "value", "staload", "macdef", "typedef", "static", "inline", - "return", "extern", "implement"},- },- { Id=2,- List={"bool", "string", "int", "real", "word", "float", "unit", "option", "ref"},- },- { Id=2,- Regex=[['[a-zA-Z0-9_']+]],- },-- { Id=3,- Regex=[[\b[A-Z][a-zA-Z0-9_']*(?=\.)]],- },-- { Id=4,- Regex=[[\b[A-Z][a-zA-Z0-9_']*]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- },- { Block=true,- Nested=true,- Delimiter= { [[\(\*]],[[\*\)]],}- }--}--PreProcessor={- Prefix=[[#]],-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\_|\*|\%|\+|\-|\.|\^]]
highlight/langDefs/autohotkey.lang
@@ -1,77 +0,0 @@--Description="AutoHotKey"--Keywords={- { Id=1,- List={"autotrim", "blockinput", "break", "click", "clipwait", "continue", - "control", "controlclick", "controlfocus", "controlget", "controlgetfocus", - "controlgetpos", "controlgettext", "controlmove", "controlsend", - "controlsettext", "coordmode", "critical", "detecthiddentext", - "detecthiddenwindows", "dllcall", "drive", "driveget", "drivespacefree", "edit", - "else", "envadd", "envdiv", "envget", "envmult", "envset", "envsub", - "envupdate", "exit", "exitapp", "fileappend", "filecopy", "filecopydir", - "filecreatedir", "filecreateshortcut", "filedelete", "fileinstall", - "filegetattrib", "filegetshortcut", "filegetsize", "filegettime", - "filegetversion", "filemove", "filemovedir", "fileread", "filereadline", - "filerecycle", "filerecycleempty", "fileremovedir", "fileselectfile", - "fileselectfolder", "displays", "filesetattrib", "filesettime", "formattime", - "getkeystate", "gosub", "goto", "groupactivate", "groupadd", "groupclose", - "groupdeactivate", "gui", "guicontrol", "guicontrolget", "hideautoitwin,", - "hotkey", "if", "ifequal/ifnotequal", "ifexist", "ifgreater", "ifgreaterorequal", - "ifinstring", "ifless/iflessorequal", "ifmsgbox", "ifwinactive", "ifwinexist", - "imagesearch", "inidelete", "iniread", "iniwrite", "input", "inputbox", - "keyhistory", "keywait", "leftclick", "leftclickdrag", "listhotkeys", - "listlines", "listvars", "loop", "loop", "loop", "loop", "loop", "menu", - "mouseclick", "mouseclickdrag", "mousegetpos", "mousemove", "msgbox", "onexit", - "onmessage", "outputdebug", "pause", "pixelgetcolor", "pixelsearch", - "postmessage", "process", "progress", "random", "regexmatch", "regexreplace", - "regdelete", "regread", "regwrite", "registercallback", "reload", "repeat", - "endrepeat", "return", "rightclick", "rightclickdrag", "run", "runas", - "runwait", "send", "sendmessage", "sendmode", "setbatchlines", - "setcapslockstate", "setcontroldelay", "setdefaultmousespeed", "setenv", - "setformat", "setkeydelay", "setmousedelay", "setnumlockstate", - "setscrolllockstate", "setstorecapslockmode", "settimer", "settitlematchmode", - "setwindelay", "setworkingdir", "shutdown", "sleep", "sort", "soundbeep", - "soundget", "soundgetwavevolume", "soundplay", "soundset", "soundsetwavevolume", - "splashimage", "splashtexton", "splashtextoff", "splitpath", "statusbargettext", - "statusbarwait", "stringcasesense", "stringgetpos", "stringleft", "stringlen", - "stringlower", "stringmid", "stringreplace", "stringright", "stringsplit", - "stringtrimleft", "stringtrimright", "stringupper", "suspend", "sysget", - "thread", "tooltip", "transform", "traytip", "urldownloadtofile", "var", "var", - "varsetcapacity", "while-loop", "winactivate", "winactivatebottom", "winclose", - "wingetactivestats", "wingetactivetitle", "wingetclass", "winget", "wingetpos", - "wingettext", "wingettitle", "winhide", "winkill", "winmaximize", - "winmenuselectitem", "winminimize", "winminimizeall", "winminimizeallundo", - "winmove", "winrestore", "winset", "winsettitle", "winshow", "winwait", - "winwaitactive", "winwaitclose", "winwaitnotactive"},- },--- if :: follows, # is part of a hotkey- { Id=1,- Regex = [[\#\w+(?!\:\:)]]- },- { Id=2,- Regex=[[ [\#\!\^\+\&\<\>\*\~\$]*[\w\&\s]+?\:\: ]],- },- { Id=3,- Regex=[[%\w+?%]],- },- { Id=4,- Regex=[[\:.+?\:\:]],- }-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\\|\`|%|\.|\+|\-]]--EnableIndentation=true
highlight/langDefs/autoit.lang
@@ -1,109 +0,0 @@--- Language definition generated by lang2to3--Description="AutoIt"--Keywords={- { Id=1,- List={"continueloop", "dim", "global", "local", "const", "do", "until", - "exit", "exitloop", "for", "next", "func", "return", "endfunc", "if", "then", - "elseif", "else", "endif", "redim", "select", "case", "endselect", "while", - "wend"},- },- { Id=2,- List={"abs", "acos", "adlibdisable", "adlibenable", "asc", "asin", "assign", - "atan", "autoitsetoption", "autoitwingettitle", "autoitwinsettitle", "bitand", - "bitnot", "bitor", "bitshift", "bitxor", "blockinput", "break", "call", - "cdtray", "chr", "clipget", "clipput", "consolewrite", "controlclick", - "controlcommand", "controldisable", "controlenable", "controlfocus", - "controlgetfocus", "controlgethandle", "controlgetpos", "controlgettext", - "controlhide", "controllistview", "controlmove", "controlsend", - "controlsettext", "controlshow", "cos", "dec", "dircopy", "dircreate", - "dirgetsize", "dirmove", "dirremove", "dllcall", "dllclose", "dllopen", - "drivegetdrive", "drivegetfilesystem", "drivegetlabel", "drivegetserial", - "drivegettype", "drivemapadd", "drivemapdel", "drivemapget", "drivesetlabel", - "drivespacefree", "drivespacetotal", "drivestatus", "envget", "envset", - "envupdate", "eval", "exp", "filechangedir", "fileclose", "filecopy", - "filecreateshortcut", "filedelete", "fileexists", "filefindfirstfile", - "filefindnextfile", "filegetattrib", "filegetlongname", "filegetshortcut", - "filegetshortname", "filegetsize", "filegettime", "filegetversion", - "fileinstall", "filemove", "fileopen", "fileopendialog", "fileread", - "filereadline", "filerecycle", "filerecycleempty", "filesavedialog", - "fileselectfolder", "filesetattrib", "filesettime", "filewrite", - "filewriteline", "ftpsetproxy", "guicreate", "guictrlcreateavi", - "guictrlcreatebutton", "guictrlcreatecheckbox", "guictrlcreatecombo", - "guictrlcreatecontextmenu", "guictrlcreatedate", "guictrlcreatedummy", - "guictrlcreateedit", "guictrlcreategroup", "guictrlcreateicon", - "guictrlcreateinput", "guictrlcreatelabel", "guictrlcreatelist", - "guictrlcreatelistview", "guictrlcreatelistviewitem", "guictrlcreatemenu", - "guictrlcreatemenuitem", "guictrlcreatepic", "guictrlcreateprogress", - "guictrlcreateradio", "guictrlcreateslider", "guictrlcreatetab", - "guictrlcreatetabitem", "guictrlcreatetreeview", "guictrlcreatetreeviewitem", - "guictrlcreateupdown", "guictrldelete", "guictrlgetstate", "guictrlread", - "guictrlrecvmsg", "guictrlsendmsg", "guictrlsendtodummy", "guictrlsetbkcolor", - "guictrlsetcolor", "guictrlsetcursor", "guictrlsetdata", "guictrlsetfont", - "guictrlsetimage", "guictrlsetlimit", "guictrlsetonevent", "guictrlsetpos", - "guictrlsetresizing", "guictrlsetstate", "guictrlsetstyle", "guictrlsettip", - "guidelete", "guigetcursorinfo", "guigetmsg", "guisetbkcolor", "guisetcoord", - "guisetcursor", "guisetfont", "guisethelp", "guiseticon", "guisetonevent", - "guisetstate", "guistartgroup", "guiswitch", "hex", "hotkeyset", "httpsetproxy", - "inetget", "inetgetsize", "inidelete", "iniread", "inireadsection", - "inireadsectionnames", "iniwrite", "inputbox", "int", "isadmin", "isarray", - "isdeclared", "isfloat", "isint", "isnumber", "isstring", "log", "memgetstats", - "mod", "mouseclick", "mouseclickdrag", "mousedown", "mousegetcursor", - "mousegetpos", "mousemove", "mouseup", "mousewheel", "msgbox", "number", "ping", - "pixelchecksum", "pixelgetcolor", "pixelsearch", "processclose", - "processexists", "processlist", "processsetpriority", "processwait", - "processwaitclose", "progressoff", "progresson", "progressset", "random", - "regdelete", "regenumkey", "regenumval", "regread", "regwrite", "round", "run", - "runasset", "runwait", "send", "seterror", "setextended", "shutdown", "sin", - "sleep", "soundplay", "soundsetwavevolume", "splashimageon", "splashoff", - "splashtexton", "sqrt", "statusbargettext", "string", "stringaddcr", - "stringformat", "stringinstr", "stringisalnum", "stringisalpha", - "stringisascii", "stringisdigit", "stringisfloat", "stringisint", - "stringislower", "stringisspace", "stringisupper", "stringisxdigit", - "stringleft", "stringlen", "stringlower", "stringmid", "stringreplace", - "stringright", "stringsplit", "stringstripcr", "stringstripws", - "stringtrimleft", "stringtrimright", "stringupper", "tan", "timerdiff", - "timerinit", "tooltip", "traytip", "ubound", "winactivate", "winactive", - "winclose", "winexists", "wingetcaretpos", "wingetclasslist", - "wingetclientsize", "wingethandle", "wingetpos", "wingetprocess", "wingetstate", - "wingettext", "wingettitle", "winkill", "winlist", "winmenuselectitem", - "winminimizeall", "winminimizeallundo", "winmove", "winsetontop", "winsetstate", - "winsettitle", "winsettrans", "winwait", "winwaitactive", "winwaitclose", - "winwaitnotactive"},- },- { Id=3,- Regex=[[[@$]\w+]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\#comments-start]],[[\#comments-end]],}- },- { Block=true,- Nested=false,- Delimiter= { [[\#cs]],[[\#ce]],}- }-}--PreProcessor={- Prefix=[[#(?!cs|ce|comments\-start|comments\-end).*$]],- Group=0-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]-
highlight/langDefs/avenue.lang
@@ -1,588 +0,0 @@-Description="Avenue"--Keywords={- { Id=1,- List={"break", "continue", "CR", "each", "end", "exit", "false",- "for", "if", "in", "nil", "NL", "return", "TAB", "then", "true",- "while", "Abs", "ACos", "Activate", "Add", "AddAnnoFields",- "AddBatch", "AddBreak", "AddDefaultOwner", "AddDialog", "AddDoc",- "AddFields", "AddGUI", "AddListener", "AddMissingRules", "AddName",- "AddRecord", "AddScript", "AddTheme", "AddUser", "AdjustBlue",- "AdjustGreen", "AdjustRed", "AdjustSaturation", "AdjustValue",- "AlignSelected", "AllowIntersections", "AllYesNo", "Along", "And",- "Apply", "Area", "ArrangeIcons", "AsASCII", "AsChar", "AsDate",- "AsDays", "AsDegrees", "AsEncrypted", "AsEnum", "AsFileName",- "AsHexString", "AsHours", "ASin", "AsLine", "AsLineM", "AsLineZ",- "AsList", "AsMinutes", "AsMultiPoint", "AsMultiPointM",- "AsMultiPointZ", "AsNumber", "AsPattern", "AsPoint", "AsPointM",- "AsPointZ", "AsPolygon", "AsPolygonM", "AsPolygonZ", "AsPolyLine",- "AsPolyLineM", "AsPolyLineZ", "AsRadians", "AsRectM", "AsSeconds",- "AsSecondsOld", "AsSrcName", "AsString", "AsTemplate", "AsTokens",- "AsWeeks", "AsYears", "AutoComplete", "Banner", "BasicEcho",- "BasicPaste", "BasicProper", "BasicSetFasteners", "BasicTrim",- "BatchMatch", "Beep", "BeginClip", "BeginTransaction",- "BlinkRecord", "BlinkRow", "BreakExists", "BroadcastUpdate",- "BuildBandStatistics", "BuildQuery", "By", "CalcHorizon",- "Calculate", "CanAddFields", "CanAddRecord", "CancelEditing",- "CanConvertOverlappingLabels", "CanDelete", "CanDeleteFromView",- "CanDoCustom", "CanDoIntersections", "CanDoSpheroid", "CanEdit",- "CanEditText", "CanExportToFTab", "CanFindByPoint", "CanHotLink",- "CanLabel", "CanMake", "CanManageDataSet", "CanModifyIndex",- "CanProject", "CanRedo", "CanRemoveFields", "CanRemoveRecords",- "CanRestoreGraphic", "CanReturnClassCounts", "CanSelect",- "CanSetSize", "CanSetup", "CanSimplify", "CanTransform", "CanUndo",- "CanUndoErase", "CanUndoZoom", "CanUnload", "CanUnloadLibrary",- "CascadeWindows", "Ceiling", "Changed", "ChangedListeners",- "ChoiceAsString", "Clean", "Clear", "ClearAll", "ClearAllBreaks",- "ClearBreak", "ClearGlobals", "ClearMsg", "ClearRange",- "ClearSelected", "ClearSelection", "ClearStatus", "ClearStyles",- "ClearTransforms", "ClearUndoStack", "ClearWorkingStatus", "Click",- "ClipSelected", "Clone", "Close", "CloseAll", "ColumnChart",- "Commit", "Compile", "Connect", "ConstrainBounds", "Contains",- "ContainsCenter", "ContainsFile", "Context", "Convert",- "ConvertArea", "ConvertDecimalDegrees", "ConvertOverlappingLabels",- "ConvertRecordToRow", "ConvertRowToRecord", "Copy", "CopySelected",- "CopyThemes", "Cos", "Count", "CountLines", "CountParts",- "CreateIndex", "Customize", "CutSelected", "CutThemes",- "DeActivate", "DeepClone", "DefineFromDictionary",- "DefineFromInterval", "DefineFromList", "DefineFromVTab",- "DefineUniqueFromVTab", "DelayedRun", "Delete", "DeleteColumns",- "DeleteRows", "DeleteTheme", "DeleteUserPoint", "Depth",- "DetachFromExtension", "Difference", "DisableRedraw",- "DisableZoomUndo", "DisplayNoDataClass", "Distance", "DoIt", "Dot",- "DotProduct", "Draw", "DrawCircle", "DrawEllipse", "DrawGeoCurve",- "DrawHandles", "DrawIcon", "DrawLabeledRect", "DrawLegend",- "DrawLine", "DrawMultiPoint", "DrawOval", "DrawPoint",- "DrawPolygon", "DrawPolyLine", "DrawRect", "DrawSel", "DrawShape",- "DrawSymbolSample", "DrawText", "DrawTextLine", "DrawTextPolyLine",- "Echo", "Edit", "EditChartPart", "EditLegend", "EditMatch",- "EditName", "EditProfile", "EditProperties", "EditProps",- "EditSizeAndPos", "EditTable", "EditText", "EditValues", "Empty",- "EnableRedraw", "EnableZoomUndo", "EncryptScripts", "EndBatch",- "EndClip", "EndMatch", "EndTransaction", "Equals", "Erase",- "EraseWithPolygon", "Error", "ErrorHelp", "Execute", "Exists",- "ExistsInPaths", "ExpandBy", "Explode", "Export", "ExportClean",- "ExportEnd", "ExportProjected", "ExportStartFN",- "ExportStartParams", "ExportToBMP", "ExportToFile", "ExportToFTab",- "ExportToGeoJPEG", "ExportToGIF", "ExportToJPEG",- "ExportUnprojected", "Extract", "FileExists", "FillFrames", "Find",- "FindAllByClass", "FindAllByLocation", "FindAllByName",- "FindAllByObjectTag", "FindBestStyle", "FindByClass",- "FindByLocation", "FindByName", "FindByObjectTag", "FindByPoint",- "FindByScript", "FindByValue", "FindDialog", "FindDoc",- "FindField", "FindGUI", "FindGUIsFor", "FindProc", "FindScript",- "FindSize", "FindStr", "FindStyle", "FindTheme",- "FindThemeByClass", "FitColumns", "FitRows", "FixExtent",- "FlashShape", "Flip", "FlipPart", "Floor", "Flush", "Focus",- "FocusLost", "FormattedEquals", "FromList", "Get", "GetAbout",- "GetActionScript", "GetActionUpdateScript", "GetActivate",- "GetActive", "GetActiveDoc", "GetActiveField", "GetActiveGUI",- "GetActiveThemes", "GetActiveWin", "GetAlias", "GetAliasTable",- "GetAlignment", "GetAltitude", "GetAltSize", "GetAngle",- "GetAnnoAddFieldsPreference", "GetApply", "GetArch",- "GetAttrUpdateRules", "GetAutoLabels", "GetAuxIncrement",- "GetAvailableMemory", "GetAVFile", "GetAVProcessID",- "GetBackgroundSymbol", "GetBand", "GetBaseName",- "GetBaseTableClass", "GetBaseTableFileName", "GetBestCand",- "GetBgColor", "GetBgSym", "GetBlack", "GetBlue", "GetBlueBand",- "GetBottom", "GetBounds", "GetBoundsMax", "GetBoundsMin",- "GetBroadcaster", "GetButtonBar", "GetButtons",- "GetCanUnloadScript", "GetCapStyle", "GetChanged", "GetCharacter",- "GetCharSpacing", "GetChart", "GetChartDisplay", "GetChartLegend",- "GetChoice", "GetClass", "GetClassesFile", "GetClassifications",- "GetClassName", "GetClassType", "GetClick", "GetClose",- "GetCloseScript", "GetCodepage", "GetCodepageConvert", "GetColor",- "GetColorLock", "GetColumnCount", "GetColumnWidth", "GetComments",- "GetComponents", "GetConstraint", "GetControl", "GetControlPanel",- "GetControls", "GetControlSet", "GetCoordinatePrecision",- "GetCreationDate", "GetCreator", "GetCrossGroup", "GetCrossValue",- "GetCurrentColumn", "GetCurrentField", "GetCurrentLocation",- "GetCurrentRecord", "GetCurrentRow", "GetCurrentTopic",- "GetCurrentValue", "GetCWD", "GetCyan", "GetDataSetName",- "GetDataSource", "GetDateFormat", "GetDay", "GetDayOfMonth",- "GetDayOfYear", "GetDefAliasTable", "GetDefault",- "GetDefaultButton", "GetDefaultSymbol", "GetDefBitmap",- "GetDefFormat", "GetDefinition", "GetDefOffset", "GetDefSqueeze",- "GetDefStylesODB", "GetDensity", "GetDependencies", "GetDepth",- "GetDialog", "GetDialogs", "GetDictionary", "GetDigitTics",- "GetDimension", "GetDisplay", "GetDisplayField",- "GetDisplayQuality", "GetDistanceUnits", "GetDivisions",- "GetDocActivate", "GetDocBaseName", "GetDocs",- "GetDocsWithGroupGUI", "GetDocsWithGUI", "GetDocument",- "GetDotDensity", "GetDotSymbol", "GetDrag", "GetEditableTheme",- "GetEditString", "GetEmpty", "GetEnvVar", "GetEolType",- "GetErrorID", "GetErrorMsg", "GetErrorPos", "GetErrorReporting",- "GetErrorTopic", "GetEuler", "GetEventField", "GetEventRouteId",- "GetEventTable", "GetExplicitExtensions", "GetExtension",- "GetExtensions", "GetExtensionWin", "GetExtent", "GetExtVersion",- "GetFamily", "GetFeatureSymbol", "GetFeatureWeight", "GetField",- "GetFieldLabel", "GetFieldNames", "GetFieldNamesVisible",- "GetFields", "GetFile", "GetFileDescriptorLimit", "GetFileName",- "GetFiles", "GetFillObject", "GetFindString", "GetFixedSizeText",- "GetFlip", "GetFlushCount", "GetFocusLost", "GetFont", "GetFormat",- "GetFormatUseCount", "GetFramedDoc", "GetFramedDocClass",- "GetFrameObjs", "GetFromField", "GetFTab", "GetFullName",- "GetGraphics", "GetGray", "GetGreen", "GetGreenBand",- "GetGroupGap", "GetGroupGUI", "GetGroupLabel", "GetGUI",- "GetGUINames", "GetGUIs", "GetHAlign", "GetHeight", "GetHelp",- "GetHelpTopic", "GetHorizon", "GetHotField", "GetHotScriptName",- "GetHours", "GetIcon", "GetImgSrc", "GetIncrement", "GetIndex",- "GetIndexPath", "GetInstallScript", "GetIntensity",- "GetInteractiveSnapTolerance", "GetInterval", "GetIntervals",- "GetJobName", "GetJoinField", "GetJoinStyle", "GetJulianDate",- "GetJustification", "GetKey", "GetLabel", "GetLabelField",- "GetLabelPoint", "GetLabelSize", "GetLabelTextSym",- "GetLabelWeight", "GetLastAddress", "GetLastSelection",- "GetLastViewDoc", "GetLastZone", "GetLeft", "GetLegend",- "GetLegendEditorScript", "GetLegendLineFlatness", "GetLegendType",- "GetLengthsAtM", "GetLevel", "GetLibrarianName", "GetLicensedSite",- "GetLicensedUser", "GetLineOffset", "GetLinePlacement",- "GetLineSpacing", "GetList", "GetListeners", "GetLoadAverage",- "GetLoadBalance", "GetLoadScript", "GetLocation", "GetLockError",- "GetLook", "GetLower", "GetM", "GetMagenta", "GetMainIncrement",- "GetMajorGridSpacing", "GetMapDisplay", "GetMark", "GetMarkLayerX",- "GetMarkLayerY", "GetMatchFields", "GetMatchPref",- "GetMatchSource", "GetMatchSourceRec", "GetMatchSourceRec2",- "GetMAtLength", "GetMAtPosition", "GetMax", "GetMaxScore",- "GetMaxSize", "GetMaxUndoTransactionSize", "GetMaxValue",- "GetMean", "GetMeasureField", "GetMenuBar", "GetMForPoint",- "GetMilliseconds", "GetMin", "GetMinimum", "GetMinorGridSpacing",- "GetMinSize", "GetMinutes", "GetMinValue", "GetMKeyZone",- "GetModalResult", "GetMode", "GetMonth", "GetMonthOfYear",- "GetMouseLoc", "GetName", "GetNewScript", "GetNewUpdateScript",- "GetNext", "GetNextControl", "GetNextDoc", "GetNextRecord",- "GetNextSet", "GetNormFieldName", "GetNormType", "GetNthCand",- "GetNthField", "GetNull", "GetNullSymbol", "GetNullValue",- "GetNumBands", "GetNumberFormat", "GetNumCands", "GetNumClasses",- "GetNumColumns", "GetNumFields", "GetNumGroups", "GetNumImages",- "GetNumRecords", "GetNumRows", "GetNumSelRecords", "GetNumSeries",- "GetNumStdDev", "GetNumValues", "GetObjectTag", "GetODBGUINames",- "GetODBVersion", "GetOffset", "GetOffsetField", "GetOlColor",- "GetOlWidth", "GetOpen", "GetOpenScript", "GetOpenUpdateScript",- "GetOrigin", "GetOS", "GetOSVariant", "GetOutFileName",- "GetOverlapLabelColor", "GetOwner", "GetPalette", "GetPanel",- "GetPassword", "GetPath", "GetPenSize", "GetPi", "GetPixelWidth",- "GetPoint", "GetPointsFromDig", "GetPopups", "GetPos",- "GetPosition", "GetPositionsAtM", "GetPrecision", "GetPredefined",- "GetPref", "GetPreferences", "GetPreserveInterval", "GetPrevSet",- "GetProcs", "GetProject", "GetProjection", "GetProjections",- "GetProjectSaveScript", "GetPuckClick", "GetPuckLoc", "GetQuality",- "GetRadius", "GetRangeApply", "GetRangeSelect", "GetRangeType",- "GetRatRouteId", "GetRecordLabelField", "GetRed", "GetRedBand",- "GetRedImageLookup", "GetRefresh", "GetRefreshRate", "GetRefScale",- "GetRemainActiveState", "GetResolution", "GetResultBitmap",- "GetResultField", "GetRgbList", "GetRight", "GetRightToLeft",- "GetRmsDigErr", "GetRmsMapErr", "GetRotationFieldName",- "GetRouteSys", "GetRowCount", "GetRowHeight", "GetSaveAsUNIX",- "GetScore", "GetScript", "GetScripts", "GetSearchPaths",- "GetSearchString", "GetSeconds", "GetSelColor", "GetSelect",- "GetSelected", "GetSelectedDocs", "GetSelectedExtent",- "GetSelectedGUI", "GetSelection", "GetSelectionStyle",- "GetSelectMode", "GetSerialNumber", "GetSeriesColor",- "GetSeriesLabel", "GetSeriesOverlap", "GetServer",- "GetServerActivated", "GetServerClosed", "GetServerDeactivated",- "GetServerDefinitionChanged", "GetServerOpened",- "GetServerRecordsAdded", "GetServerRecordsDeleted",- "GetServerSelectionChanged", "GetShape", "GetShapeClass",- "GetShortcut", "GetShowStatus", "GetShutDown", "GetSiblingList",- "GetSiblings", "GetSide", "GetSize", "GetSizeFieldName",- "GetSizeInches", "GetSnapTolerance", "GetSource", "GetSpacing",- "GetSpheroid", "GetSpheroidName", "GetSqueeze", "GetSrcName",- "GetStandardDeviation", "GetStanRules", "GetStartUp", "GetStatus",- "GetStipple", "GetStyle", "GetStyles", "GetSubName", "GetSymbol",- "GetSymbols", "GetSymbolWin", "GetSysDefault", "GetTag",- "GetTemplate", "GetText", "GetTextPositioner", "GetTextRatio",- "GetTextType", "GetThemes", "GetThreshold", "GetTicDigList",- "GetTicMapList", "GetTimeAsSeconds", "GetTimeout", "GetTitle",- "GetTmpDir", "GetTOC", "GetTOCWidth", "GetTocWidthScale",- "GetToField", "GetToolBar", "GetTop", "GetTopic", "GetType",- "GetUNCFilename", "GetUndoStackSize", "GetUniformScaling",- "GetUninstallScript", "GetUnionRule", "GetUnits",- "GetUnloadScript", "GetUpdate", "GetUpdateScript", "GetUpper",- "GetUsed", "GetUserDefault", "GetUserField", "GetUserGroup",- "GetUserPart", "GetUserRecord", "GetUserRow", "GetUserScale",- "GetUserSeries", "GetVAlign", "GetValue", "GetValueIncrement",- "GetValuePercentage", "GetValueString", "GetVersion", "GetView",- "GetViewFrame", "GetVisibleGUIsWidth", "GetVisibleThemes",- "GetVTab", "GetWeekOfYear", "GetWeight", "GetWideness", "GetWidth",- "GetWin", "GetWorkDir", "GetX", "GetXAxis", "GetXDelimiter",- "GetXField", "GetXMatchFields", "GetXMaxScore", "GetXOffset",- "GetXSeparation", "GetY", "GetYAxis", "GetYear", "GetYOffset",- "GetYSeparation", "GetZoneField", "GetZoneKey", "GoColumn",- "GoDown", "GoField", "GoFirst", "GoFirstSelected", "GoLast",- "GoLeft", "GoNext", "GoNextSelected", "GoPrevious", "GoRecord",- "GoRecordField", "GoRight", "GoRow", "GoRowColumn", "GotoBeg",- "GotoEnd", "GoUp", "GroupSelected", "HasAttributes",- "HasControlFastener", "HasDoc", "HasError", "HasFastener",- "HasField", "HasHiddenText", "HasHorizontalScroll", "HasInstances",- "HasIntersection", "HasIntersections", "HasKindOf", "HasLabels",- "HasLockError", "HasOverlappingLabels", "HasScript", "HasSelected",- "HasSelection", "HasServer", "HasSiblings", "HasStepButtons",- "HasStyle", "HasTable", "HasTitleBar", "HasValidIndex",- "HasVerticalScroll", "HasVisibleBorder", "HasZ", "HasZone",- "HookupSymbol", "Identify", "Import", "ImportAILineSet",- "ImportAIShadeSet", "ImportFromFile", "IncrementByDays",- "IncrementByHours", "IncrementByMinutes", "IncrementByMonths",- "IncrementBySeconds", "IncrementByWeeks", "IncrementByYears",- "IndexOf", "Info", "InitGeoTheme", "Input", "Insert",- "InsertColumns", "InsertRows", "InsertText", "InsetBy",- "Intersects", "IntersectSelected", "IntersectWith", "Invalidate",- "InvalidateLegend", "InvalidateRect", "InvalidateTOC",- "InvalIndex", "Is", "Is32BitDLL", "Is8Dot3", "IsAccessControlled",- "IsActive", "IsActiveLocked", "IsADependency", "IsAltKeyDown",- "IsAlwaysOnTop", "IsAnno", "IsArcStorm", "IsAssumedBestCentury",- "IsAtEnd", "IsAvailable", "IsAxisVisible", "IsBase",- "IsBeingEditedWithRecovery", "IsBlockDisplayEnabled", "IsBold",- "IsBoundsUsed", "IsBtnLeftClick", "IsBtnLeftDblClick",- "IsBtnLeftDrag", "IsBtnMiddleClick", "IsBtnMiddleDblClick",- "IsBtnMiddleDrag", "IsBtnRightClick", "IsBtnRightDblClick",- "IsBtnRightDrag", "IsButtonAssignedForAction",- "IsCenterContainedIn", "IsChartScatter", "IsCloseable",- "IsClosing", "IsCodepageValid", "IsCompiled", "IsConnected",- "IsContainedIn", "IsControlKeyDown", "IsCrossValueUsed",- "IsCustomizable", "IsdBASE", "IsDir", "IsDisjoint", "IsDouble",- "IsDoubleClick", "IsDrawing", "IsEditable", "IsEmpty", "IsEnabled",- "IsEscapeEnabled", "IsExtentPreserved", "IsFieldIndexed", "IsFile",- "IsFileValid", "IsFilled", "IsFilledBy", "IsFixedFont",- "IsGeocoded", "IsGeoReferenced", "IsGridActive", "IsGridVisible",- "IsGroup", "IsHelping", "IsHit", "IsHooked", "IsHorizontal",- "IsInColor", "IsInfinity", "IsINFO", "IsInteractiveSnapping",- "IsItalic", "IsJoinedField", "IsLabelVisible", "IsLegendVisible",- "IsLibrary", "IsLinked", "IsListening", "IsLiveLinked", "IsLocked",- "IsLog", "IsMachine", "IsMajorGridVisible", "IsMarginVisible",- "IsMatchable", "IsMatched", "IsMaximumOn", "IsMeasured",- "IsMemoryAvailable", "IsMetaKeyDown", "IsMinimumOn",- "IsMinorGridVisible", "IsModal", "IsModified", "IsMonoSpaced",- "IsMoveable", "IsNoData", "IsNoDataClassDisplayed", "IsNowVisible",- "IsNull", "IsNumber", "IsOff", "IsOK", "IsOpen", "IsOutlined",- "IsOwnerActive", "IsPlotMarks", "IsPoint", "IsPortrait",- "IsQuoted", "IsReadOnly", "IsReady", "IsRedefined", "IsRequired",- "IsResizable", "IsRoot", "IsScaled", "IsScalePreserved",- "IsScratch", "IsSelected", "IsSelfIntersecting",- "IsSeriesFromRecords", "IsSeriesSeparated", "IsSerif",- "IsShiftKeyDown", "IsSnapping", "IsSubclassOf", "IsSuffixUsed",- "IsSymWinClient", "IsText", "IsTickLabelsVisible",- "IsTOCUnResizable", "IsTopic", "IsTouchedBy", "IsTracking",- "IsTransparent", "IsTypeNumber", "IsTypeShape", "IsTypeString",- "IsUnProjectable", "IsUsingPrinterMargins",- "IsUsingPrinterPageSize", "IsValid", "IsValidFileName",- "IsValueAxis", "IsVisible", "IsVisibleLocked", "IsWithin",- "IsWorldFileEnabled", "IsWritable", "Join", "KillLine", "Label",- "LabelThemes", "LCase", "Left", "LineIntersection", "Link",- "ListAsString", "ListEnd", "Ln", "Load", "LoadFromFile",- "LoadIcon", "LoadLibrary", "Log", "LongYesNo", "Lookup",- "LowerCase", "Make", "MakeBuffer", "MakeClipboard",- "MakeColorGray", "MakeColorWheel", "MakeDefault", "MakeDisjoint",- "MakeDocName", "MakeEmpty", "MakeExisting", "MakeField",- "MakeFileName", "MakeFromFile", "MakeFromNumber",- "MakeFromResName", "MakeFromSource", "MakeFromSrc",- "MakeFromTwoPoints", "MakeGeoRef", "MakeGrayScale", "MakeGUIName",- "MakeLine", "MakeNew", "MakeNominal", "MakeNull", "MakeRamp",- "MakeRandom", "MakeShort", "MakeSQL", "MakeStandard",- "MakeSysDefault", "MakeTmp", "MakeTmpIMS", "MakeUserDefault",- "MakeUsingDialog", "MakeWithGUI", "MakeXY", "Match", "MatchPoints",- "MatchRectangles", "Max", "Maximize", "Merge", "MergeFile",- "MergePath", "MergeSelected", "Middle", "Min", "Minimize",- "MiniYesNo", "Minus", "MMultiply", "Mod", "MOffset", "Move",- "MoveSelectedToBack", "MoveSelectedToFront", "MoveTo",- "MoveUserRect", "MultiInput", "Natural", "Negate", "New",- "Normalize", "Not", "NotRange", "Now", "Offset", "OffsetSelected",- "Open", "OpenAndInstall", "OpenIndex", "Or", "Pan", "PanTo",- "Password", "Paste", "Peek", "PieChart", "PixelOffset",- "PlaySound", "PointIntersection", "PointPosition", "Poke", "Pop",- "Print", "PrintDisplay", "PrintMemory", "PrintTOC", "PrintTopic",- "ProcessAllInvals", "ProjectedMove", "ProjectPt", "ProjectRect",- "PromoteSelection", "Proper", "PurgeObjects", "Push", "Quantile",- "Query", "QueryConnected", "QueryCrossProduct", "QueryDifference",- "QueryLocalMachineName", "QueryMinus", "QueryPlus",- "QueryPointDistance", "QueryShape", "Quit", "Quote", "RampColors",- "RampSavedColors", "RampSizes", "RampSubset", "RandomColors",- "RandomSymbols", "RangeApply", "RangeSelect", "Read", "ReadElt",- "ReadFiles", "Recalculate", "Redo", "Refresh", "RefreshPalette",- "RefreshScale", "RefreshWindows", "RegisterExtension",- "RegisterFormat", "RegTics", "RegTicsFromList",- "RememberSelection", "Remove", "RemoveDefaultOwner",- "RemoveDialog", "RemoveDoc", "RemoveDuplicates", "RemoveExtension",- "RemoveFields", "RemoveGraphic", "RemoveGUI", "RemoveIndex",- "RemoveListener", "RemoveObj", "RemovePrivateTmpDir",- "RemoveRangeApply", "RemoveRangeSelect", "RemoveRecord",- "RemoveRecords", "RemoveScript", "RemovingDuplicates", "Report",- "Request", "Reset", "ResetClasses", "ResetDocActivate",- "ResetGUIs", "ReShape", "Resize", "ResizeTo", "Restore",- "RestoreGraphic", "RestoreSymbols", "ReturnActiveLayers",- "ReturnAOI", "ReturnArea", "ReturnAxes", "ReturnAzimuth",- "ReturnAzimuthOfCentralLine", "ReturnBestDensity", "ReturnBox",- "ReturnBtnClick", "ReturnBuffered", "ReturnCenter",- "ReturnCentralLatitude", "ReturnCentralLongitude",- "ReturnCentralMeridian", "ReturnClassCounts", "ReturnClassInfo",- "ReturnClipExtent", "ReturnClipped", "ReturnCommonFamilyName",- "ReturnConnected", "ReturnCurrentSymbol", "ReturnDataSets",- "ReturnDefaultLegend", "ReturnDefaultRules", "ReturnDefaultSymbol",- "ReturnDensified", "ReturnDescription", "ReturnDialogBox",- "ReturnDifference", "ReturnDir", "ReturnEccentricity", "ReturnEnd",- "ReturnExportFormats", "ReturnExtensions", "ReturnExtent",- "ReturnFalseEasting", "ReturnFalseNorthing", "ReturnFamilies",- "ReturnFieldNames", "ReturnFiles", "ReturnFontName",- "ReturnFrameSymbol", "ReturnGeodesicAzimuth",- "ReturnIndexSrcNames", "ReturnInnerExtent", "ReturnInsertPos",- "ReturnIntersection", "ReturnKeys", "ReturnLabel",- "ReturnLatitudeOfTrueScale", "ReturnLayers", "ReturnLegendExt",- "ReturnLength", "ReturnLibrarians", "ReturnLocation",- "ReturnLowerStandardParallel", "ReturnMapExtent",- "ReturnMarginExtent", "ReturnMargins", "ReturnMaximum",- "ReturnMBB", "ReturnMerged", "ReturnMinimum", "ReturnNumberPoints",- "ReturnOffset", "ReturnOpenFilesAsList", "ReturnOrigin",- "ReturnPageExtent", "ReturnPageSize", "ReturnPattern",- "ReturnPhysicalBtnClick", "ReturnPixmap",- "ReturnPointAlongGeodesic", "ReturnPrjName", "ReturnProjected",- "ReturnProjectedEnd", "ReturnProjectedOrigin",- "ReturnProjectedStart", "ReturnProjection", "ReturnQuery",- "ReturnRadius", "ReturnRange", "ReturnRangeString",- "ReturnReferenceLatitude", "ReturnRelativeLocation",- "ReturnRhumbLine", "ReturnRotationAngle", "ReturnRouteMeasure",- "ReturnScale", "ReturnScreenSizeInches", "ReturnScreenSizePixels",- "ReturnSelectedExtent", "ReturnSelectedLayers", "ReturnShift",- "ReturnSize", "ReturnSrcNames", "ReturnStandardParallel",- "ReturnStart", "ReturnSymbols", "ReturnSymbolSize", "ReturnText",- "ReturnType", "ReturnTypeFromFileExt", "ReturnUnion",- "ReturnUniqueName", "ReturnUnprojected",- "ReturnUpperStandardParallel", "ReturnUserCircle",- "ReturnUserEllipse", "ReturnUserGeoCurve", "ReturnUserLine",- "ReturnUserPoint", "ReturnUserPolygon", "ReturnUserPolyLine",- "ReturnUserRect", "ReturnValue", "ReturnValueNumber",- "ReturnValueString", "ReturnVisExtent", "ReturnWorldFile", "Right",- "Rotate", "RotateBy", "Round", "Run", "Save", "SaveChanges",- "SaveEditsAs", "SaveGraphic", "SaveSelectedGraphics", "SaveStyles",- "SaveToFile", "Scale", "ScaleSymbols", "ScoreCandidates", "Search",- "SearchUsing", "Select", "SelectAll", "SelectByFTab",- "SelectByLine", "SelectByPoint", "SelectByPolygon",- "SelectByPolyLine", "SelectByRect", "SelectByShapes",- "SelectByTheme", "SelectCurrent", "SelectDefault", "SelectEdit",- "SelectFirst", "SelectLabels", "SelectRect", "SelectSymbol",- "SelectToEdit", "SelectToEditByPoint", "Set", "SetAbout",- "SetAccessControlled", "SetActionScript", "SetActionUpdateScript",- "SetActivate", "SetActive", "SetActiveField", "SetActiveLocked",- "SetAlias", "SetAliasTable", "SetAlignment", "SetAll",- "SetAltitude", "SetAltSize", "SetAlwaysOnTop", "SetAngle",- "SetAnnoAddFieldsPreference", "SetAOI", "SetApply",- "SetAssumedBestCentury", "SetAttrUpdateRules", "SetAuxIncrement",- "SetAVFile", "SetAxes", "SetAxisVisible", "SetAzimuth",- "SetAzimuthOfCentralLine", "SetBackgroundSymbol", "SetBand",- "SetBeep", "SetBgColor", "SetBgSym", "SetBlockDisplayEnable",- "SetBlueBand", "SetBlueImageLookup", "SetBounds", "SetBoundsMax",- "SetBoundsMin", "SetBoundsUsed", "SetCanUnloadScript",- "SetCapStyle", "SetCenter", "SetCentralLatitude",- "SetCentralLongitude", "SetCentralMeridian", "SetChanged",- "SetCharacter", "SetCharSpacing", "SetChecking", "SetChoice",- "SetClassesFile", "SetClassInfo", "SetCleanPreference", "SetClick",- "SetClipExtent", "SetClose", "SetCloseable", "SetCloseScript",- "SetCodepage", "SetCodepageConvert", "SetColor", "SetColorGray",- "SetColorLock", "SetColorMap", "SetColorMapSize", "SetColorWheel",- "SetColumnWidth", "SetComments", "SetConstraint",- "SetControlFasteners", "SetCoordinatePrecision",- "SetCoordsVisible", "SetCreator", "SetCrossGroup", "SetCrossValue",- "SetCrossValueUsed", "SetCurrentDocWin", "SetCurrentValue",- "SetCustomizable", "SetCWD", "SetDataSource", "SetDateFormat",- "SetDefAliasTable", "SetDefault", "SetDefaultButton",- "SetDefaultLegend", "SetDefaultSymbol", "SetDefBitmap",- "SetDefFormat", "SetDefinition", "SetDefOffset", "SetDefSqueeze",- "SetDensity", "SetDescription", "SetDialogBox", "SetDisplay",- "SetDisplayField", "SetDisplayQuality", "SetDistanceUnits",- "SetDivisions", "SetDocActivate", "SetDocBaseName",- "SetDotDensity", "SetDotSymbol", "SetDrag", "SetDynamicBreak",- "SetEditable", "SetEditableTheme", "SetEmpty", "SetEnabled",- "SetEnvVar", "SetEolType", "SetErrorReporting", "SetEscapeEnabled",- "SetExtension", "SetExtensionChecking", "SetExtensions",- "SetExtent", "SetExtentPreserved", "SetExtVersion",- "SetFalseEasting", "SetFalseNorthing", "SetFastener",- "SetFasteners", "SetFeatureWeight", "SetField", "SetFieldNames",- "SetFieldNamesVisible", "SetFile", "SetFileDescriptorLimit",- "SetFileName", "SetFillObject", "SetFixedFont", "SetFixedSizeText",- "SetFlip", "SetFlushCount", "SetFocusLost", "SetFont", "SetFormat",- "SetFormatPrecision", "SetGrayScale", "SetGreenBand",- "SetGreenImageLookup", "SetGridActive", "SetGridMesh",- "SetGridVisible", "SetGroupGap", "SetGroupGUI", "SetGroupLabel",- "SetGUI", "SetHAlign", "SetHeight", "SetHelp", "SetHelping",- "SetHelpTopic", "SetHiddenText", "SetHorizontal",- "SetHorizontalScroll", "SetHotField", "SetHotScriptName",- "SetIcon", "SetImageLookup", "SetInColor", "SetIncrement",- "SetInnerExtent", "SetInsertPos", "SetInstallScript",- "SetIntensity", "SetInteractiveSnapping",- "SetInteractiveSnappingPersistent", "SetInteractiveSnapTolerance",- "SetInterval", "SetIntervals", "SetJobName", "SetJoinField",- "SetJoinStyle", "SetJustification", "SetKey", "SetLabel",- "SetLabelField", "SetLabelSize", "SetLabelTextSym",- "SetLabelVisible", "SetLabelWeight", "SetLatitudeOfTrueScale",- "SetLegend", "SetLegendEditorScript", "SetLegendLineFlatness",- "SetLegendType", "SetLegendVisible", "SetLineEvent",- "SetLineOffset", "SetLinePlacement", "SetLineSpacing",- "SetListeners", "SetLoadScript", "SetLocked", "SetLog", "SetLook",- "SetLower", "SetLowerStandardParallel", "SetM", "SetMainIncrement",- "SetMajorAndMinorAxes", "SetMajorGridSpacing",- "SetMajorGridVisible", "SetMapExtent", "SetMargin",- "SetMarginVisible", "SetMark", "SetMarkLayer", "SetMatchPref",- "SetMatchSource", "SetMAtLength", "SetMAtPosition", "SetMax",- "SetMaximum", "SetMaximumOn", "SetMaxSize",- "SetMaxUndoTransactionSize", "SetMaxValue", "SetMean",- "SetMForPoint", "SetMin", "SetMinimum", "SetMinimumOn",- "SetMinorGridSpacing", "SetMinorGridVisible", "SetMinSize",- "SetMinValue", "SetModal", "SetModalResult", "SetMode",- "SetModified", "SetMToNil", "SetName", "SetNewScript",- "SetNewUpdateScript", "SetNextControl", "SetNominal",- "SetNormFieldName", "SetNormType", "SetNull", "SetNullSymbol",- "SetNullValue", "SetNumberFormat", "SetNumberPoints",- "SetNumValues", "SetObjectTag", "SetOffset", "SetOffsetField",- "SetOlColor", "SetOlWidth", "SetOpen", "SetOpenScript",- "SetOpenUpdateScript", "SetOrderLocked", "SetOrigin",- "SetOutFileName", "SetOutlined", "SetOverlapLabelColor",- "SetPageSize", "SetPanel", "SetPassword", "SetPattern",- "SetPenSize", "SetPixelWidth", "SetPlotMarks", "SetPointEvent",- "SetPos", "SetPosition", "SetPrecision", "SetPref", "SetPrefVal",- "SetPreserveInterval", "SetPrivateTmpDir", "SetProjection",- "SetProjectSaveScript", "SetQuality", "SetRadiusAndFlattening",- "SetRamp", "SetRandom", "SetRange", "SetRangeApply",- "SetRangeSelect", "SetRangeType", "SetReadOnly", "SetRedBand",- "SetRedImageLookup", "SetRedrawDeferred", "SetReferenceLatitude",- "SetRefresh", "SetRefScale", "SetRemainActiveState",- "SetResizable", "SetResolution", "SetResultBitmap",- "SetResultField", "SetRgbList", "SetRightToLeft",- "SetRotationAngle", "SetRotationFieldName", "SetRowHeight",- "SetSaveAsUNIX", "SetScale", "SetScalePreserved",- "SetScaleSymbols", "SetScaleVisible", "SetScratch",- "SetScreenSizeInches", "SetSearchPaths", "SetSelColor",- "SetSelect", "SetSelected", "SetSelectedControl", "SetSelectedDoc",- "SetSelectedExtent", "SetSelectedGUI", "SetSelectedLayers",- "SetSelection", "SetSelectionStyle", "SetSelectMode",- "SetSeriesColor", "SetSeriesOverlap", "SetSeriesSeparated",- "SetServer", "SetServerActivated", "SetServerClosed",- "SetServerDeactivated", "SetServerDefinitionChanged",- "SetServerOpened", "SetServerRecordsAdded",- "SetServerRecordsDeleted", "SetServerSelectionChanged", "SetShape",- "SetShift", "SetShowStatus", "SetShutDown", "SetSize",- "SetSizeFieldName", "SetSizeInches", "SetSnapping",- "SetSnapTolerance", "SetSource", "SetSpacing", "SetSpheroid",- "SetSqueeze", "SetStandardDeviation", "SetStandardParallel",- "SetStartUp", "SetStatus", "SetStipple", "SetStreamTolerance",- "SetStyle", "SetSubName", "SetSuffixUsed", "SetSwitchButton",- "SetSymbol", "SetSymbols", "SetTag", "SetTemplate", "SetText",- "SetTextRatio", "SetTextType", "SetThreshold",- "SetTickLabelsVisible", "SetTimeout", "SetTitle",- "SetTOCUnResizable", "SetTOCWidth", "SetTocWidthScale",- "SetTransparent", "SetType", "SetUndoStackSize",- "SetUniformScaling", "SetUninstallScript", "SetUnionRule",- "SetUnits", "SetUnloadScript", "Setup", "SetUpdate",- "SetUpdateScript", "SetUpper", "SetUpperStandardParallel",- "SetUserScale", "SetUsingPrinterMargins",- "SetUsingPrinterPageSize", "SetValue", "SetValueIncrement",- "SetValueNumber", "SetValuePercentage", "SetValues",- "SetValueString", "SetVerticalScroll", "SetViewFrame",- "SetVisible", "SetVisibleBorder", "SetVisibleGUIsWidth",- "SetVisibleLocked", "SetWidth", "SetWorkDir", "SetWorkingStatus",- "SetWorldFile", "SetWorldFileEnable", "SetX", "SetXDelimiter",- "SetXField", "SetXOffset", "SetXSeparation", "SetY", "SetZoneKey",- "Shift", "ShiftLeft", "ShiftRight", "Show", "ShowCandidate",- "ShowClass", "ShowCodepage", "ShowCurrent", "ShowGallery",- "ShowLibraries", "ShowMsg", "ShowRow", "ShowStepButtons",- "ShowStopButton", "ShowToleranceCursor", "ShowTopic",- "ShowUsingDefault", "ShowVariables", "ShowWithDefault", "Shuffle",- "SimplifySelection", "Sin", "SingleMatch", "SingleSymbol",- "SkipLine", "Snap", "Sort", "SortAscending", "SortDescending",- "Split", "SplitLines", "Sqrt", "Start", "StartEditingWithRecovery",- "StartListening", "StartNamed", "StdDev", "Step", "Stop",- "StopAllDraw", "StopDraw", "StopEditing",- "StopEditingWithRecovery", "StopListening", "StripFile",- "Substitute", "SubtractShape", "Summarize", "SupportsAOI",- "SuspendDraw", "Tan", "The", "TileWindows", "Translate", "Trim",- "Truncate", "UCase", "Undo", "UndoZoom", "UngroupSelected",- "UnHook", "UniformColor", "UnionSelected", "UnionWith", "Unique",- "UniqueInPaths", "UnjoinAll", "UnlinkAll", "Unload",- "UnloadLibrary", "UnProject", "UnProjectPt", "UnProjectRect",- "Unquote", "UnregisterExtension", "UnregisterFormat", "Unselect",- "UnselectAll", "UnselectAllExcept", "Update", "UpdateDefBitmap",- "UpdateLegend", "UpdateSelection", "UserSnapPoint", "UseTemplate",- "UseTitleBar", "UseWaitCursor", "Validate", "Warning", "Write",- "WriteAll", "WriteElt", "WriteMatch", "WriteQStr", "WriteUnMatch",- "Xor", "YesNo", "YesNoCancel", "ZoomIn", "ZoomOut", "ZoomToActual",- "ZoomToPage", "ZoomToRect", "ZoomToScale"},- },- { Id=2,- List={"AddressStyle", "Albers", "Annotation", "Application",- "AreaOfInterestDialog", "AttrRange", "AttrSingle", "AttrUpdate",- "AutoLabelDialog", "AV", "Axis", "BandStatistics", "BasicMarker",- "BasicPen", "Bitmap", "Boolean", "Button", "ButtonBar", "Cassini",- "Chart", "ChartDisplay", "ChartLegend", "ChartPart", "ChartSymbol",- "CheckBox", "Choice", "Circle", "Class", "Classification",- "Clipboard", "Codepage", "Collection", "Color", "ColorMap",- "ColumnChartSymbol", "ComboBox", "CompositeArcInfoPen",- "CompositeFill", "CompositeMarker", "CompositePen", "Control",- "ControlPanel", "ControlSet", "CoordSys", "Coverage", "Date",- "DDEClient", "DDEServer", "Dialog", "DialogEditor", "Dictionary",- "Digitizer", "Display", "DLL", "DLLProc", "Doc", "DocFrame",- "DocGUI", "DocumentExtension", "DocWin", "Duration", "DynName",- "Ellipse", "EncryptedScript", "EnumerationElt",- "EqualAreaAzimuthal", "EqualAreaCylindrical",- "EquidistantAzimuthal", "EquidistantConic",- "EquidistantCylindrical", "EventDialog", "Extension",- "ExtensionObject", "ExtensionWin", "Field", "File", "FileDialog",- "FileName", "Fill", "Font", "FontManager", "Frame", "FTab",- "FTheme", "GEdgeRec", "GenericPrinter", "GeocodeDialog",- "GeoCurve", "GeoName", "Gesamt", "GNodeRec", "Gnomonic", "Graphic",- "GraphicControl", "GraphicGroup", "GraphicLabel", "GraphicList",- "GraphicSet", "GraphicShape", "GraphicText", "GShapeRec", "Hammer",- "Help", "Icon", "IconBox", "IconMgr", "IdentifyWin",- "IdentityLookup", "ImageLegend", "ImageLookup", "ImageWin",- "ImgCat", "ImgDLL", "ImgSrc", "INFODir", "Interval",- "IntervalLookup", "ISrc", "ITheme", "LabelButton", "Labeler",- "Lambert", "Layer", "Layout", "Legend", "LegendExtension",- "LegendFrame", "Librarian", "Library", "Line", "LinearLookup",- "LineFile", "LineM", "LineZ", "List", "ListBox", "ListDisplay",- "LocateDialog", "LOCKMGR", "MapDisplay", "Marker", "MatchCand",- "MatchCase", "MatchField", "MatchKey", "MatchPref",- "MatchPrefDialog", "MatchSource", "Menu", "MenuBar", "Mercator",- "Miller", "ModalDialog", "Mollweide", "MsgBox", "MultiBandLegend",- "MultiPatch", "MultiPoint", "MultiPointM", "MultiPointZ",- "NameDictionary", "Nearside", "NewZealand", "NorthArrow",- "NorthArrowMgr", "Number", "Obj", "ObliqueMercator", "ODB",- "Orthographic", "Oval", "PageDisplay", "PageManager",- "PageSetupDialog", "Palette", "Pattern", "Pen", "Perspective",- "PictureFrame", "PieChartSymbol", "Pixmap", "Point", "PointM",- "PointTextPositioner", "PointZ", "Polygon", "PolygonM",- "PolygonTextPositioner", "PolygonZ", "PolyLine", "PolyLineM",- "PolyLineTextPositioner", "PolyLineZ", "Popup", "PopupSet",- "Printer", "Prj", "Project", "ProjectionDialog", "PropWin",- "QueryWin", "RadioButton", "RasterFill", "Rect", "RectM", "RectZ",- "ReMatchDialog", "Robinson", "RPCClient", "RPCServer", "RSO",- "ScaleBarFrame", "Script", "ScriptMgr", "SEd", "Shape",- "SingleBandLegend", "Sinusoid", "Slider", "SourceDialog",- "SourceManager", "Space", "Spheroid", "SplineText", "SQLCur",- "SQLWin", "SrcExtension", "SrcName", "Stack", "StanEditDialog",- "Stereographic", "Stipple", "String", "SummaryDialog", "Symbol",- "SymbolList", "SymbolWin", "System", "Table", "Template",- "TemplateGraphic", "TemplateMgr", "TextBox", "TextComposer",- "TextFile", "TextLabel", "TextLine", "TextPositioner",- "TextSymbol", "TextWin", "Theme", "ThemeExtension",- "ThemeOnThemeDialog", "Threshold", "Title", "TOC", "Tool",- "ToolBar", "ToolMenu", "TransverseMercator", "Units", "Value",- "Vector", "VectorFill", "VectorPen", "VectorPenArrow",- "VectorPenDiamond", "VectorPenDot", "VectorPenHash",- "VectorPenHollow", "VectorPenMarker", "VectorPenScallop",- "VectorPenScrub", "VectorPenSlant", "VectorPenVertexMarker",- "VectorPenZigZag", "View", "ViewFrame", "VpfName", "VTab",- "Window", "XAxis", "XYName", "YAxis"},- },-}--Strings={- Delimiter=[["]],- Escape=[[\\]]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[']] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/awk.lang
@@ -1,34 +0,0 @@--Description="(G)AWK"--Keywords={- { Id=1,- List={"begin", "break", "close", "continue", "delete", "do", "else", "end", - "exit", "for", "getline", "gsub", "if", "index", "length", "match", "next", - "print", "printf", "return", "split", "sprintf", "sub", "substr", "system", - "tolower", "toupper", "while"},- },- { Id=2,- List={"argc", "argind", "argv", "convfmt", "environ", "errno", - "fieldwidths", "filename", "fnr", "fs", "ignorecase", "nf", "nr", "ofmt", "ofs", - "ors", "rlength", "rs", "rstart", "rt", "subset"},- },- { Id=3,- List={"function"},- },-}--Strings={- Delimiter=[["|']],- Escape=[[ [\\%]\d{3}|[\\%]x\d{2}|[\\%][ntvbrfa\\\?'"%] ]]-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!\=|\/|\*|\||\+|\-]]
highlight/langDefs/bat.lang
@@ -1,61 +0,0 @@--- Language definition generated by lang2to3--Description="DOS Batch"--Keywords={- { Id=1,- List={"do", "else", "end", "errorlevel", "exist", "exit", "for", "goto", "if", "not", - "pause", "return", "say", "select", "then", "neq", "when"},- },- { Id=2,- List={"ansi", "append", "assign", "attrib", "autofail", "backup", "basedev", - "boot", "break", "buffers", "cache", "call", "cd", "chcp", "chdir", "chkdsk", - "choice", "cls", "cmd", "codepage", "command", "comp", "copy", "country", - "date", "ddinstal", "debug", "del", "detach", "device", "devicehigh", "devinfo", - "dir", "diskcoache", "diskcomp", "diskcopy", "doskey", "dpath", "dumpprocess", - "eautil", "endlocal", "erase", "exit_vdm", "extproc", "fcbs", "fdisk", - "fdiskpm", "files", "find", "format", "fsaccess", "fsfilter", "graftabl", - "iopl", "join", "keyb", "keys", "label", "lastdrive", "libpath", "lh", - "loadhigh", "makeini", "maxwait", "md", "mem", "memman", "mkdir", "mode", - "move", "net", "patch", "path", "pauseonerror", "picview", "pmrexx", "print", - "printmonbufsize", "priority", "priority_disk_io", "prompt", "protectonly", - "protshell", "pstat", "rd", "recover", "reipl", "ren", "rename", "replace", - "restore", "rmdir", "rmsize", "run", "set", "setboot", "setlocal", "shell", - "shift", "sort", "spool", "start", - "subst", "suppresspopups", "swappath", "syslevel", "syslog", "threads", "time", - "timeslice", "trace", "tracebuf", "tracefmt", "trapdump", "tree", "type", - "undelete", "unpack", "use", "ver", "verify", "view", "vmdisk", "vol", "xcopy", - "xcopy32", "xdfcopy", "echo"},- },- { Id=3,- Regex=[[%\w+%]],- },- { Id=4,- Regex=[[:\w+]],- },-}--Strings={- Delimiter=[["|']],- Interpolation=[[ %\w+% ]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[^(rem|Rem|REM).*]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]---- fix recognition of $-function OnStateChange(oldState, newState, token)- - if string.match(token, "%%.*%%") ~= nil and oldState==HL_STRING and newState==HL_KEYWORD then- return HL_INTERPOLATION- end- - return newState-end
highlight/langDefs/bbcode.lang
@@ -1,15 +0,0 @@--Description="BBcode"--Keywords={- { Id=1,- Regex=[[ \[\/?\w+|\] ]],- Group=0,- },- { Id=2,- Regex=[=[#[[:xdigit:]]{6}]=],- },-}--IgnoreCase=true-
highlight/langDefs/bcpl.lang
@@ -1,36 +0,0 @@--Description="BCPL"--Keywords={- { Id=1,- List={"NUMBER", "NAME", "STRINGCONST", "TRUE", "FALSE", "VALOF", "LV", "RV",- "DIV", "REM", "PLUS", "MINUS", "EQ", "NE", "LS", "GR", "LE", "GE", "NOT",- "LSHIFT", "RSHIFT", "LOGAND", "LOGOR", "EQV", "NEQV", "COND", "COMMA", "AND",- "ASS", "GOTO", "RESULTIS", "COLON", "TEST", "FOR", "IF", "UNLESS", "WHILE",- "UNTIL", "REPEAT", "REPEATWHILE", "REPEATUNTIL", "BREAK", "RETURN", "FINISH",- "SWITCHON", "CASE", "DEFAULT", "LET", "MANIFEST", "GLOBAL", "BE", "SECTBRA",- "SECTKET", "RBRA", "RKET", "SBRA", "SKET", "SEMICOLON", "INTO", "TO", "DO",- "OR", "VEC", "STAR"- }- },-- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["|']],- RawPrefix="R",-}--Comments = {- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/bibtex.lang
@@ -1,22 +0,0 @@--Description="BibTeX"--Keywords={- { Id=1,- List={"address", "annote", "author", "title", "type", "abstract", "volume", - "pages", "number", "note", "key", "organization", "school", "series", "chapter", - "month", "department", "keywords", "howpublished", "institution", "journal", - "publisher", "editon", "editor", "year", "booktitle"},- },-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[%]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-]]-
highlight/langDefs/biferno.lang
@@ -1,120 +0,0 @@--Description="Biferno"--Keywords={- { Id=1,- List={"exit", "stop", "for", "do", "while", "if", "else", "break", - "continue", "switch", "case", "default", "include", "lock", "unlock", "debug", - "goto", "function", "class", "return", "Eval", "print", "includeFile", - "includeFolder"},- },- { Id=2,- List={"void", "local", "global", "application", "session", "persistent", - "var", "const", "true", "false", "type", "scope", "this", "public", "private", - "protected", "static", "super", "obj", "extends"},- },- { Id=3,- List={"ansi", "array", "biferno", "boolean", "byte", "cacheItem", "char", - "classInfo", "client", "collection", "curApp", "curFile", "curScript", "db", - "double", "error", "file", "float", "folder", "header", "httpPage", "image", - "imageUtils", "int", "jclass", "long", "map", "mapquery", "memberInfo", - "multipart", "object", "paramInfo", "point", "ref", "regexp", "request", - "search", "serverInfo", "short", "smtp", "stackItem", "string", "time", "unix", - "unsigned", "XmlDoc", "XmlNode", "cookie", "folderExt", "headerExt", "httpExt", - "jclassExt", "mailAttach", "requestExt", "smtpExt", "utils"},- },- { Id=4,- List={"readline", "strstr", "strch", "strcmp", "strcspn", "strncat", - "strncmp", "strncpy", "strpbrk", "strrch", "strspn", "random", "srandom", - "GetElemClass", "SetElemClass", "Add", "SetDim", "Delete", "ToString", "Index", - "Reverse", "Swap", "Find", "Count", "Min", "Max", "Reset", "SubArray", "Insert", - "Sort", "Flush", "IsDef", "GetErrorDescription", "GetIndSID", "SessionVariable", - "Flush", "Reload", "Publish", "Unpublish", "GetPubVariable", "RegisterNewApp", - "Delay", "GetCustomOutput", "SetCustomOutput", "SetStandardOutput", - "GetIndVariable", "GetIndVariableRef", "GetTotVariables", "IsDef", "Undef", - "GetNumFormat", "SetNumFormat", "LaunchProcess", "ValueOf", "GetStack", "Exec", - "Call", "CallExt", "Prepare", "FreePrepare", "RowSetSize", "GetPrepared", - "Bind", "BindAll", "ExecPrepared", "GetCurRecs", "GetAffectedRecs", "FetchRec", - "Seek", "Tell", "Warning", "Free", "Escape", "RealEscape", "RealUnescape", - "Transaction", "Commit", "RollBack", "GetSpecific", "SetSpecific", "LobWrite", - "LobRead", "Pow", "Hex", "Abs", "Sqr", "Sqrt", "Sin", "Cos", "Int", "Round", - "Function", "State", "Suspend", "Resume", "ThrowException", "Update", "Open", - "Close", "Delete", "Get", "Put", "Append", "Move", "Copy", "Rename", "Exists", - "Flush", "CheckPath", "IsOpen", "MakeAlias", "IsAlias", "IsFolder", - "ResolvePath", "ResolveAlias", "fchmod", "fgetmod", "symlink", "NativePath", - "BifernoPath", "GetNextLine", "Lock", "Unlock", "Create", "Delete", "MakeAlias", - "Rename", "Walk", "fchmod", "fgetmod", "GetField", "SetField", "AddField", - "RemoveField", "Exec", "Pow", "Hex", "Abs", "Sqr", "Sqrt", "Sin", "Cos", "Pow", - "Hex", "Abs", "Sqr", "Sqrt", "Sin", "Cos", "IsDef", "ToFile", "Hide", "Show", - "Lock", "Unlock", "IsInitialized", "IsHidden", "ConstructorString", - "DebuggerString", "ValueOfInput", "Create", "GetTargetInfo", "Match", - "GetField", "Redirect", "SetOption", "ToSQL", "SendMail", "SendMailAsync", - "SendMailFile", "ParseMailFile", "GetMXRecords", "Encode", "Decode", "Escape", - "UrlEncode", "UrlDecode", "Find", "Begins", "Ends", "Contains", - "ContainsWordBegin", "ContainsWordEnd", "ContainsWordExact", "In", "Compare", - "UpToLower", "LowToUpper", "SubString", "ToArray", "IsEMail", "IsDate", - "IsNumeric", "Hilite", "Substitute", "Zap", "Pad", "HTUUEncode", "HTUUDecode", - "Capitalize", "RemoveSubString", "InsertSubString", "IsANSIStandard", "Log", - "Hex2Bin", "Bin2Hex", "MD5", "Hour", "Date", "ToSecs", "Strftime", "GMT", - "UString", "In", "Millisecs", "getenv", "putenv", "setenv", "unsetenv", - "getuser", "getgroup", "ToTime", "Pow", "Hex", "Abs", "Sqr", "Sqrt", "Sin", - "Cos", "GetIncludeStack", "GetSuper", "GetProperty", "SetProperty", "GetByName", - "Name", "ExtSubset", "NewMixedRoot", "NewRoot", "Save", "ValidateFile", - "GetAttr", "NewAttr", "NewChild", "NewMixedChild", "NewPI", "SetTreeFromString", - "new", "DoThumbnail", "GetAll", "GetArray", "Set", "SetPersistent", "SetTemp", - "GetErrMessage", "SendMailWithAttachments", "add_attach", "send", "set_async", - "set_from", "set_message_html", "set_message_txt", "set_subject", "set_timeout", - "set_to", "tostring", "ExecRemote", "IsParamDef", "AddHeader", "GetHeader", - "SetHeader", "Alert"},- },- { Id=5,- List={"name", "dim", "os", "version", "versionNum", "home", - "compilationFlags", "maxUsers", "poolFactor", "upSince", "applications", - "classes", "functions", "totExecTime", "minExecTime", "maxExecTime", - "lastExecTime", "averageExecTime", "hits", "currentUsers", "lastAccess", - "userPath", "ascii", "persistentAllowed", "cloneIsNeeded", "wantDestructor", - "extendedClass", "implem", "sourcePath", "methods", "properties", "constants", - "errors", "descr", "purpose", "seeAlso", "note", "ipAddress", "address", "user", - "password", "fromUser", "userAgent", "name", "home", "children", - "childrenHomes", "classes", "functions", "cacheTotItems", "cacheTotSize", - "cacheItems", "basePath", "path", "curLine", "fromCache", "cache", "basePath", - "timeout", "currentThreads", "maxThreads", "errNum", "name", "msg", "errClass", - "subErr", "subErrDescr", "classNote", "path", "lineNum", "fileOffset", "line", - "table", "descr", "resumable", "lastMultiStrLine", "path", "name", "permission", - "openMode", "length", "resForkLength", "creatTime", "modifTime", "isOpen", - "isAlias", "osType", "osCreator", "curLine", "user", "group", "curPos", "path", - "name", "openMode", "creatTime", "modifTime", "user", "group", "head", "body", - "name", "implem", "sourcePath", "className", "memberType", "returnClass", - "returnAeLevel", "returnAeClass", "purpose", "descr", "errors", "seeAlso", - "note", "returns", "prototype", "varArgs", "nonames", "isStatic", "isConst", - "visibility", "totParams", "paramName", "paramClass", "paramAeLevel", - "paramAeClass", "paramTarget", "paramDefault", "paramDescr", "data", "name", - "path", "contentType", "target", "notbol", "noteol", "soff", "eoff", - "contentType", "method", "url", "host", "filePath", "physicalPath", "fileName", - "searchArg", "referer", "protocol", "scheme", "port", "tot", "mode", "oper", - "group", "findType", "domain", "serverName", "root", "filePath", "line", - "prototype", "classOwner", "length", "char", "format", "year", "month", "day", - "hour", "minute", "second", "dayOfWeek", "includeIndex", "thisObj", "next", - "null", "async", "byRef", "APPLICATION_NAME", "ADMIN_PROTOCOL", "ADMIN_IP", - "ADMIN_PASSWORD"},- },-}---Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
highlight/langDefs/bison.lang
@@ -1,56 +0,0 @@--Description="Bison"--Keywords={- { Id=1,- List={"error", "YYABORT", "YYACCEPT", "YYBACKUP", "YYERROR", - "YYERROR_VERBOSE", "YYINITDEPTH", "YYLEX_PARAM", "YYLTYPE", "yyltype", - "YYMAXDEPTH", "YYPARSE_PARAM", "YYRECOVERING", "YYSTACK_USE_ALLOCA", "YYSTYPE", - "yychar", "yyclearin", "yydebug", "yyerrok", "yyerror", "yylex", "yylval", - "yylloc", "yynerrs", "yyparse"},- },- { Id=2,- List={"int", "long", "short", "char", "void", "signed", "unsigned", "float", - "double", "size_t", "wchar_t", "ptrdiff_t", "sig_atomic_t", "fpos_t", - "clock_t", "time_t", "va_list", "jmp_buf", "FILE", "DIR", "div_t", "ldiv_t", - "static", "const", "bool", "struct", "union", "enum", "size_t", "wchar_t", - "ptrdiff_t", "sig_atomic_t", "fpos_t", "clock_t", "time_t", "va_list", - "jmp_buf", "FILE", "DIR", "div_t", "ldiv_t", "mbstate_t", "wctrans_t", "wint_t", - "wctype_t", "bool", "complex", "int8_t", "int16_t", "int32_t", "int64_t", - "uint8_t", "uint16_t", "uint32_t", "uint64_t", "int_least8_t", "int_least16_t", - "int_least32_t", "int_least64_t", "uint_least8_t", "uint_least16_t", - "uint_least32_t", "uint_least64_t", "int_fast8_t", "int_fast16_t", - "int_fast32_t", "int_fast64_t", "uint_fast8_t", "uint_fast16_t", - "uint_fast32_t", "uint_fast64_t", "intptr_t", "uintptr_t", "intmax_t", - "uintmax_t", "string"},- },- { Id=3,- Regex=[[\$\w+]],- },- { Id=4,- Regex=[[^\w+:]],- },-}--Strings={- Delimiter=[["|']],---Escape=[[ \\[ntvbrfa\\\?'"] ]]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--PreProcessor={- Prefix=[[#]],-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-]]
highlight/langDefs/blitzbasic.lang
@@ -1,116 +0,0 @@--Description="Blitz Basic"--Keywords={- { Id=1,- List={"after", "and", "before", "case", "const", "data", "default", - "delete", "dim", "each", "else", "elseif", "end", "endif", "exit", "false", - "field", "first", "for", "forever", "function", "global", "gosub", "goto", - "handle", "if", "include", "insert", "last", "local", "new", "next", "not", - "null", "object", "or", "read", "repeat", "restore", "return", "select", "step", - "then", "to", "true", "type", "until", "wend", "while"},- },- { Id=2,- List={"acos", "asin", "atan", "atan2", "abs", "accepttcpstream", "apptitle", - "asc", "automidhandle", "availvidmem", "backbuffer", "banksize", "bin", "ceil", - "changedir", "channelpan", "channelpitch", "channelplaying", "channelvolume", - "chr", "closedir", "closefile", "closetcpserver", "closetcpstream", "cls", - "clscolor", "color", "colorblue", "colorgreen", "colorred", "commandline", - "copybank", "copyfile", "copyimage", "copypixel", "copypixelfast", "copyrect", - "copystream", "cos", "countgfxdrivers", "countgfxmodes", "createbank", - "createdir", "createimage", "createnetplayer", "createtcpserver", "createtimer", - "currentdate", "currentdir", "currenttime", "debuglog", "delay", "deletedir", - "deletefile", "deletenetplayer", "drawblock", "drawblockrect", "drawimage", - "drawimagerect", "eof", "execfile", "exp", "filepos", "filesize", "filetype", - "flip", "float", "floor", "flushjoy", "flushkeys", "flushmouse", "fontheight", - "fontwidth", "freebank", "freefont", "freeimage", "freesound", "freetimer", - "frontbuffer", "getcolor", "getjoy", "getkey", "getmouse", "gfxdrivername", "gfxmodedepth", - "gfxmodeexists", "gfxmodeheight", "gfxmodewidth", "grabimage", "graphics", - "graphicsbuffer", "graphicsdepth", "graphicsheight", "graphicswidth", - "handleimage", "hex", "hidepointer", "hostnetgame", "imagebuffer", - "imageheight", "imagerectcollide", "imagerectoverlap", "imagewidth", - "imagexhandle", "imageyhandle", "imagescollide", "imagesoverlap", "input", - "instr", "int", "joinnetgame", "joyhit", "joytype", "joyx", "joyy", "joyz", - "keydown", "keyhit", "left", "len", "line", "loadanimimage", "loadbuffer", - "loadfont", "loadimage", "loadsound", "lockbuffer", "log", "log10", "loopsound", - "lower", "lset", "maskimage", "mid", "midhandle", "millisecs", "mod", - "mousedown", "mousehit", "mousex", "mousexspeed", "mousey", "mouseyspeed", - "mousez", "mousezspeed", "movemouse", "netmsgdata", "netmsgfrom", "netmsgto", - "netmsgtype", "netplayerlocal", "netplayername", "nextfile", "openfile", - "opentcpstream", "origin", "oval", "pausechannel", "peekbyte", - "peekfloat", "peekint", "peekshort", "pi", "playcdtrack", "playmusic", - "playsound", "plot", "pokebyte", "pokefloat", "pokeint", "pokeshort", "print", - "rset", "rand", "readavail", "readbyte", "readbytes", "readdir", "readfile", - "readfloat", "readint", "readline", "readpixel", "readpixelfast", "readshort", - "readstring", "rect", "rectsoverlap", "recvnetmsg", "replace", "resizebank", - "resizeimage", "resumechannel", "right", "rnd", "rotateimage", "runtimeerror", - "sar", "savebuffer", "saveimage", "scaleimage", "scanline", "seedrand", - "seekfile", "setbuffer", "setfont", "setgfxdriver", "setnetmsg", "sgn", "shl", - "showpointer", "shr", "sin", "soundpan", "soundpitch", "soundvolume", "sqr", - "startnetgame", "stop", "stopchannel", "stopnetgame", "str", "string", - "stringheight", "stringwidth", "tcptimeouts", "tformfilter", "tformimage", - "tan", "text", "tileblock", "tileimage", "totalvidmem", "trim", "unlockbuffer", - "upper", "vwait", "viewport", "waitjoy", "waitkey", "waitmouse", "waittimer", - "write", "writebyte", - "writebytes", "writefile", "writefloat", "writeint", "writeline", "writepixel", - "writepixelfast", "writeshort", "writestring", "xor", "addanimseq", - "addtriangle", "addvertex", "aligntovector", "ambientlight", "animate", - "animatemd2", "animating", "animlength", "animseq", "animtime", "antialias", - "brushalpha", "brushblend", "brushcolor", "brushfx", "brushshininess", - "brushtexture", "cameraclscolor", "cameraclsmode", "camerafogcolor", - "camerafogmode", "camerafogrange", "camerapick", "cameraproject", "camerarange", - "cameraviewport", "camerazoom", "captureworld", "clearcollisions", - "clearsurface", "cleartexturefilters", "clearworld", "collisionentity", - "collisionnx", "collisionny", "collisionnz", "collisions", "collisionsurface", - "collisiontime", "collisiontriangle", "collisionx", "collisiony", "collisionz", - "copyentity", "countchildren", "countcollisions", "countsurfaces", - "counttriangles", "countvertices", "createbrush", "createcamera", "createcone", - "createcube", "createcylinder", "createlight", - "createlistener", "createmesh", "createmirror", "createpivot", "createplane", - "createsphere", "createsprite", "createsurface", "createterrain", - "createtexture", "dither", "emitsound", "entityalpha", "entityanimating", - "entityanimtime", "entityautofade", "entityblend", "entitybox", - "entitycollided", "entitycolor", "entitydistance", "entityfx", "entityinview", - "entityname", "entityorder", "entityparent", "entitypick", "entitypickmode", - "entitypitch", "entityradius", "entityroll", "entityshininess", "entitytexture", - "entitytype", "entityvisible", "entityx", "entityy", "entityyaw", "entityz", - "findchild", "findsurface", "fitmesh", "flipmesh", "freebrush", "freeentity", - "freetexture", "getchild", "getentitytype", "getparent", "getsurface", - "gfxdriver3d", "gfxmode3d", "graphics3d", "handlesprite", "hideentity", - "hwmultitex", "lightcolor", "lightconeangles", "lightmesh", "lightrange", - "linepick", "load3dsound", "loadanimmesh", "loadanimseq", "loadanimtexture", - "loadbrush", "loadermatrix", "loadmd2", "loadmesh", "loadsprite", - "loadterrain", "loadtexture", "md2animating", "md2animlength", - "md2animtime", "meshdepth", "meshesintersect", "meshheight", "meshwidth", - "modifyterrain", "moveentity", "nameentity", "paintentity", "paintmesh", - "paintsurface", "pickedentity", "pickednx", "pickedny", "pickednz", - "pickedsurface", "pickedtime", "pickedtriangle", "pickedx", "pickedy", - "pickedz", "pointentity", "positionentity", "positionmesh", "positiontexture", - "projectedx", "projectedy", "projectedz", "renderworld", "resetentity", - "rotateentity", "rotatemesh", "rotatesprite", "rotatetexture", "scaleentity", - "scalemesh", "scalesprite", "scaletexture", "setanimkey", "showentity", - "spriteviewmode", "terraindetail", "terrainheight", "terrainshading", - "terrainsize", "terrainx", "terrainy", "terrainz", "textureblend", - "texturebuffer", "texturecoords", "texturefilter", "textureheight", - "texturewidth", "tformedx", "tformedy", "tformedz", "tformnormal", "tformpoint", - "tformvector", "translateentity", "trianglevertex", "turnentity", - "updatenormals", "updateworld", "vertexblue", "vertexcolor", "vertexcoords", - "vertexgreen", "vertexnormal", "vertexnx", "vertexny", "vertexnz", "vertexred", - "vertextexcoords", "vertexu", "vertexv", "vertexw", "vertexx", "vertexy", - "vertexz", "wbuffer", "windowed3d", "wireframe"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/bms.lang
@@ -1,53 +0,0 @@--Description="BM Script"--Keywords={- { Id=1,- List={"advance", "aggregate_member", "action", "base_model", "commit", - "commit_zero", "computed_item", "computed_member", "cycle", "conversion", - "hange_model", "dimension", "dynamic_span", "decommission", "delete", - "delete_task", "delete_job", "end_command", "files", "item", "join_model", - "job", "load_conversion_data", "load_items", "load_time", "load_cycles", - "load_dimension", "load_model", "member", "model", "nullify", "period", - "queue_job", "route_file", "run_task", "specials", "spans", "start_job_queue", - "stop_job_queue", "span", "time", "task", "unit"},- },- { Id=2,- List={"aggregation", "average", "aggregate_members", "additive_only", - "ascii_extractor", "accumulator", "break_time", "bad_outputs", "cycles", - "consolidation", "computed_members", "consolidation", "commit_version", - "cycle_dimension", "converter", "displays", "dynamic_spans", "dimensions", - "default", "dimension_only", "display_set", "uplicator", "end_transformer", - "expander", "exclude", "full", "flatten", "fixed_extractor", "fielder", - "good_outputs", "gdl", "history", "hierarchic_subtractive", "hierarchic_only", - "holder", "items", "item_hierarchy", "include_all", "include", "inverted", - "incremental", "item_dimension", "incycle_dimension", "include_only", "joiner", - "keyed", "limited", "load_model_incremental", "logger", "members", "models", - "name", "normal", "no", "non_keyed", "none", "normal", "new_version", - "nullify_current", "nullify_from", "precompute", "periods", "pivot", - "qualifier", "retained", "restated", "repeated", "run_task_step", "synoyms", - "subtractive_only", "service", "sql_extractor", "stripper", "target", - "time_latest", "time_dimension", "top_incycle", "transformer", "timer", "yes", - "across_field", "by_field", "copy", "cycle_field", "data", "default_allowed", - "error", "file", "fields", "field_or_unit", "field", "input_0", "input_1", - "ignore", "item_specifier", "level", "meta", "numeric", "outputs", "output_0", - "output_1", "password", "prepend", "period_field", "query", "separator", - "short_records", "source", "to", "text", "user", "value", "warning", "business", - "end", "exclusive", "new", "shared", "sp"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/bnf.lang
@@ -1,28 +0,0 @@--Description="Backus-Naur Form"--Identifiers=[[ [-a-zA-Z_]+|<[-a-zA-Z_]+> ]]--Keywords={- { Id=1,- Regex=[[ ^[ \t]*([-a-zA-Z_]+|<[-a-zA-Z_]+>)\s*[:=] ]],- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\.|\:|\=]]
highlight/langDefs/boo.lang
@@ -1,40 +0,0 @@--Description="Boo"--Keywords={- { Id=1,- List={"abstract", "and", "as", "AST", "break", "callable", "cast", "char", - "class", "constructor", "continue", "def", "destructor", "do", "elif", "else", - "ensure", "enum", "event", "except", "failure", "final", "from", "for", "false", - "get", "given", "goto", "if", "import", "in", "interface", "internal", "is", - "isa", "not", "null", "of", "or", "otherwise", "override", "namespace", - "partial", "pass", "public", "protected", "private", "raise", "ref", "retry", - "return", "self", "set", "super", "static", "struct", "success", "transient", - "true", "try", "typeof", "unless", "virtual", "when", "while", "yield"},- },- { Id=2,- List={"print", "assert", "using", "lock", "debug"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["""|'''|"|']],- RawPrefix="r",-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#|\/\/]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\@]]
highlight/langDefs/c.lang
@@ -1,72 +0,0 @@--Description="C and C++"--Digits = [[ (?:0x|0X|0b)[0-9a-fA-F']+|\d*[\.]?\d+(?:[eE][\-\+]\d+)?[lLuU]* ]]--Keywords={- { Id=1,- List={"goto", "break", "return", "continue", "asm", "case", "default", "if", "else", "switch", "while", "for", "do", "sizeof",- "typeof", "stdcall", "cdecl", "const_cast", "delete", "dynamic_cast", "goto", "namespace", "new", "pascal",- "reinterpret_cast", "static_cast", "this", "throw", "try", "catch", "using", "true", "false", "bitand", "and", "bitor", "or", "xor",- "compl", "and_eq", "or_eq", "xor_eq", "not", "not_eq", "assert", "static_assert",- }- },- { Id=2,- List= { "int", "long", "short", "char", "void", "signed", "unsigned", "float", "double", "size_t", "wchar_t",- "ptrdiff_t", "sig_atomic_t", "fpos_t", "clock_t", "time_t", "va_list", "jmp_buf", "FILE", "DIR", "div_t", "ldiv_t", "static",- "mbstate_t", "wctrans_t", "wint_t", "wctype_t", "const", "bool", "complex", "struct", "union", "enum",- "int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t", "int_least8_t", "int_least16_t",- "int_least32_t", "int_least64_t", "uint_least8_t", "uint_least16_t", "uint_least32_t", "uint_least64_t",- "int_fast8_t", "int_fast16_t", "int_fast32_t", "int_fast64_t", "uint_fast8_t", "uint_fast16_t", "uint_fast32_t",- "uint_fast64_t", "intptr_t", "uintptr_t", "intmax_t", "uintmax_t"- }- },- { Id=3,- List= { "typedef", "inline", "auto", "class", "explicit", "extern", "friend", "inline", "mutable", "operator",- "register", "template", "private", "protected", "public", "typeid", "virtual", "volatile", "constexpr", "nullptr", "decltype"- }- },- { Id=3,- Regex=[[(\w+)\s*\:\:]]- },- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["|']],- RawPrefix="R",-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--PreProcessor = {- Prefix=[[#]],- Continuation="\\",-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^|\?]]--EnableIndentation=true---- resolve issue with C++14 number separator syntax-function OnStateChange(oldState, newState, token)-- if token=="'" and oldState==HL_NUMBER and newState==HL_STRING then- return HL_NUMBER- end- - return newState-end
highlight/langDefs/ceylon.lang
@@ -1,49 +0,0 @@--Description="Ceylon"--Keywords={- { Id=1,- List={ "assembly", "module", "package", "import", "alias", "class", - "interface", "object", "given", "value", "assign", "void", "function", "new", - "of", "extends", "satisfies", "abstracts", "in", "out", "return", "break", - "continue", "throw", "assert", "dynamic", "if", "else", "switch", "case", "for", - "while", "try", "catch", "finally", "then", "let", "this", "outer", "super", - "is", "exists", "nonempty"}- },- { Id=2,- List= { "shared", "formal", "abstract", "actual", "variable"- }- },- { Id=3,- List= { "String", "Integer", "Float", "Boolean", "Element", "Object", "Decimal", "Whole", "List"- }- },- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["""|"|']],- RawPrefix="R",- Interpolation=[[ ``[\w\(\)]+?``|\\\{.+?\} ]],-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//|\#\!]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\||\?]]--Digits=[[ [\d\.\_]*\d+(?:[eE][\-\+]?\d+)?[kMGTPmunpf]*|#[[:alnum:]\_]+|\$[01_]+ ]]--EnableIndentation=true
highlight/langDefs/charmm.lang
@@ -1,49 +0,0 @@--Description="Charmm"--Keywords={- { Id=1,- List={"if", "then", "set", "goto", "label", "stream", "increment", - "decrement", "rewind", "return", "endif", "define", "calc", "set", "stop",- "gt", "ge", "eq", "ne", "le", "lt"- }- },- { Id=2,- List= { "merge", "merg", "hqbm", "update", "upda", "tmdinit", "tmdi", "print",- "prin", "nbonds", "nbon", "vibran", "vibr", "diag", "ic", "hbuild", "hbui",- "dynamics", "dyna", "shake", "shak", "energy", "ener", "mini", "crystal",- "crys", "image", "imag", "scalar", "scal", "generate", "gene", "delete",- "dele", "correl", "corr", "enter", "ente", "trajectory", "traj", "mantime",- "mant", "corfun", "corf", "end"-- }- },- { Id=3,- Regex=[[^\s*(close|read|open|write)]]- },- { Id=4,- Regex=[[ [@|\?|$]\w+ ]]- }--}--Strings = {- Delimiter=[["|'|`]]-}--Comments = {- {- Block=false,- Delimiter = { [[\!]] }- }-}--IgnoreCase=true--PreProcessor = {- Prefix=[[^\*]]-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]--EnableIndentation=false
highlight/langDefs/chill.lang
@@ -1,41 +0,0 @@--Description="CHILL"--Keywords={- { Id=1,- List={"AND", "BEGIN", "CASE", "DIV", "DO", "ELSE", "ELSIF", "END", "ESAC", - "EXIT", "FI", "FOR", "GOTO", "IF", "IN", "MOD", "NOT", "OD", "OF", "ON", "OR", - "OUT", "RESULT", "RETURN", "THEN", "THEN", "TO", "UNTIL", "USES", "WHILE", - "WITH", "XOR"},- },- { Id=2,- List={"ARRAY", "DCL", "GRANT", "LABEL", "MODULE", "NEWMODE", "PROC", "POWERSET", "SEIZE", "SET", "STRUCT", "SYN", "SYNMODE", "TYPE", "PACK"},- },- { Id=3,- List={"BIN", "CHAR", "INT", "RANGE", "BOOL", "PTR", "REF"},- },- { Id=4,- List={"MODULE_DESCRIPTION_HEADER", "PATCH_INFOS", "LIO_INFOS", "SWSG_INFOS", "MSG_XREF", "EJECT", "FALSE", "NULL", "TRUE"},- },-}--Strings={- Delimiter=[["|']],-}--Comments={-- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- },- { Block=true,- Nested=true,- Delimiter= { [[\<\>]],[[\<\>]],}- }--}--IgnoreCase=true--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
highlight/langDefs/chpl.lang
@@ -1,55 +0,0 @@--- Chapel language definition file for highlight http://www.andre-simon.de/--- This file is written in Lua------ Author: Lydia Duncan--- Date : April 28, 2016------ The file is used to describe keywords and special symbols of programming languages.--- See README in the highlight directory for details.--Description="Chapel"--Keywords={- { Id=1,- List={"as", "align", "atomic", "begin", "break", "by", "class", "cobegin",- "coforall", "config", "const", "continue", "proc", "iter", "delete",- "dmapped", "do", "domain", "else", "enum", "except", "export",- "extern", "false", "for", "forall", "if", "in", "index", "inline",- "inout", "label", "lambda", "let", "local", "module", "new", "nil",- "noinit", "on", "only", "otherwise", "out", "param", "private",- "public", "record", "reduce", "ref", "require", "return", "scan",- "select", "serial", "single", "sparse", "subdomain", "sync", "then",- "true", "type", "union", "use", "var", "when", "where", "while",- "with", "yield", "zip"- }- },- { Id=2,- List= { "bool", "complex", "imag", "int", "opaque", "range", "real",- "string", "uint"- }- },- { Id=3,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["|']]-}--Comments = {- { Block=true,- Nested=true,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\/|\*|\%|\+|\-|=|\&|\?|<|>|\!|\~|\||\^|!|#]]--EnableIndentation=true
highlight/langDefs/clean.lang
@@ -1,36 +0,0 @@--Description="Clean"--Keywords={- { Id=1,- List={"default", "definition", "derive", "case", "class", "code", "export", - "from", "if", "implementation", "import", "in", "infix", "infixl", "infixr", - "instance", "let", "module", "of", "otherwise", "special", "system", - "where", "with"},- },- { Id=2,- List={"Bool", "Char", "File", "Int", "Real", "World"},- },- { Id=3,- List={"True", "False"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.|\'|\#|\@|\$|\\]]-
highlight/langDefs/clearbasic.lang
@@ -1,71 +0,0 @@--- Language definition generated by lang2to3--Description="ClearBasic"--Keywords={- { Id=1,- List={"and", "as", "byref", "byval", "case", "declare", "dim", "else", - "elseif", "end", "for", "function", "global", "if", "me", "not", "new", "next", - "or", "select", "set", "step", "sub", "then", "to", "type", "while", "aix", - "dodefault", "false", "hpux", "irix", "linux", "mac68k", "macppc", "macintosh", - "netware", "nothing", "null", "os2", "osf1", "pi", "sco", "solaris", "sunos", - "true", "unix", "ultrix", "unixware", "vms", "win16", "win32", - "cbabortretryignore", "cbascending", "cbbyref", "cbbyvalue", "cbclosechildren", - "cbclosemessage", "cbdefclosedwindow", "cbdefclosedwindow", "cbdescending", - "cbequal", "cbfirstmessage", "cbfrontifup", "cbgreater", "cbgreaterorequal", - "cbidabort", "cbidcancel", "cbiddiscard", "cbidignore", "cbidno", "cbidok", - "cbidretry", "cbidsave", "cbidyes", "cbin", "cbless", "cblessorequal", "cblike", - "cbnodefault", "cbnotequal", "cbnotlike", "cbok", "cbokcancel", - "cbrefreshmessage", "cbretrycancel", "cbsavediscardcancel", "cbsoundslike", - "cbyesno", "cbyesnocancel", "ebaix", "ebabort", "ebabortretryignore", - "ebapplicationmodal", "ebarchive", "ebarray", "ebback", "ebbold", - "ebbolditalic", "ebboolean", "ebcfbitmap", "ebcfdib", "ebcfmetafile", - "ebcfpalette", "ebcftext", "ebcfunicode", "ebcancel", "ebcr", "ebcrlf", - "ebcritical", "ebcurrency", "ebdos", "ebdataobject", "ebdate", - "ebdefaultbutton1", "ebdefaultbutton2", "ebdefaultbutton3", "ebdirectory", - "ebdouble", "ebempty", "eberror", "ebexclamation", "ebfirstfourdays", - "ebfirstfullweek", "ebfirstjan1", "ebformfeed", "ebfriday", "ebfromunicode", - "ebhpux", "ebhidden", "ebhide", "ebhiragana", "ebimealphadbl", "ebimealphasng", - "ebimedisabled", "ebimehiragana", "ebimekatakanadbl", "ebimekatakanasng", - "ebimenoop", "ebimeoff", "ebimeon", "ebignore", "ebinformation", "ebinteger", - "ebirix", "ebitalic", "ebkatakana", "eblinux", "eblandscape", "ebleftbutton", - "eblf", "eblong", "eblowercase", "ebmacintosh", "ebmaximized", - "ebmaximizedfocus", "ebminimized", "ebminimizedfocus", "ebminimizednofocus", - "ebmonday", "ebnarrow", "ebnetware", "ebno", "ebnone", "ebnormal", - "ebnormalfocus", "ebnormalnofocus", "ebnull", "ebnullchar", "ebnullstring", - "ebok", "ebokcancel", "ebokonly", "ebos2", "ebosf1", "ebobject", "ebportrait", - "ebpropercase", "ebquestion", "ebreadonly", "ebregular", "ebrestored", - "ebretry", "ebretrycancel", "ebrightbutton", "ebsco", "ebsaturday", "ebsingle", - "ebsolaris", "ebstring", "ebsunos", "ebsunday", "ebsystem", "ebsystemmodal", - "ebtab", "ebthursday", "ebtuesday", "ebultrix", "ebunicode", "ebunixware", - "ebuppercase", "ebvms", "ebvariant", "ebverticaltab", "ebvolume", "ebwednesday", - "ebwide", "ebwin16", "ebwin32", "ebwindows", "ebyes", "ebyesno", - "ebyesnocancel"},- },- { Id=2,- List={"app", "appmenu", "basic", "bool", "boolean", "bulkretrieve", - "bulksave", "clarifydb", "clipboard", "commondialog", "contextualobject", - "control", "dde", "debug", "err", "form", "integer", "list", "long", "msg", - "net", "powerquery", "printer", "record", "sqldb", "screen", "servicemessage", - "string"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[']] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/clipper.lang
@@ -1,75 +0,0 @@--Description="Clipper"--Keywords={- { Id=1,- List={"announce", "begin", "break", "case", "declare", "do", "elseif", - "else", "endif", "enddo", "end", "endcase", "exit", "external", "field", "for", - "if", "local", "loop", "memvar", "next", "otherwise", "parameters", "private", - "public", "recover", "request", "return", "sequence", "step", "static", "using", - "while", "with", "accept", "append", "all", "alternate", "box", "blank", "bell", - "call", "cancel", "clear", "close", "commit", "continue", "copy", "count", - "create", "century", "color", "confirm", "console", "cursor", "delete", "dir", - "display", "date", "decimals", "default", "deleted", "delimiters", "device", - "eject", "erase", "extended", "epoch", "escape", "exact", "exclusive", "file", - "find", "form", "from", "filter", "fixed", "format", "function", "get", "gets", - "go", "index", "init", "input", "intensity", "join", "keyboard", "key", "label", - "list", "locate", "memory", "menu", "margin", "message", "note", "order", - "pack", "procedure", "prompt", "path", "printer", "quit", "read", "recall", - "reindex", "release", "rename", "replace", "report", "restore", "run", - "relation", "say", "screen", "structure", "save", "seek", "select", "set", - "scoreboard", "softseek", "skip", "sort", "store", "sum", "to", "typeahead", - "text", "total", "type", "unique", "unlock", "update", "use", "wrap", "wait", - "zap"},- },- { Id=2,- List={"aadd", "abs", "achoice", "aclone", "acopy", "adel", "adir", "aeval", - "afields", "afill", "ains", "alert", "alias", "alltrim", "altd", "array", "asc", - "ascan", "asize", "asort", "at", "atail", "average", "bin2i", "bin2l", "bin2w", - "bof", "browse", "cdow", "chr", "cmonth", "col", "colorselect", "ctod", - "curdir", "day", "dbappend", "dbclearfilter", "dbclearindex", "dbclearrelation", - "dbcloseall", "dbclosearea", "dbcommit", "dbcommitall", "dbcreate", - "dbcreateindex", "dbdelete", "dbedit", "dbeval", "dbf", "dbfilter", - "dbgobottom", "dbgoto", "dbgotop", "dbrecall", "dbreindex", "dbrelation", - "dbrselect", "dbseek", "dbselectarea", "dbsetdriver", "dbsetfilter", - "dbsetindex", "dbsetorder", "dbsetrelation", "dbskip", "dbstruct", "dbunlock", - "dbunlockall", "dbusearea", "descend", "devout", "devoutpict", "devpos", - "directory", "diskspace", "dispbegin", "dispbox", "dispcount", "dispend", - "dispout", "doserror", "dow", "dtoc", "dtos", "empty", "eof", "errorblock", - "errorlevel", "eval", "exp", "fclose", "fcount", "fcreate", "ferase", "ferror", - "fieldblock", "fieldget", "fieldname", "", "fieldpos", "fieldput", - "fieldwblock", "fklabel", "fkmax", "flock", "fopen", "found", "fread", - "freadstr", "frename", "fseek", "fwrite", "getenv", "hardcr", "header", "i2bin", - "indexext", "indexkey", "indexord", "inkey", "int", "isalpha", "iscolor", - "isdigit", "islower", "isprinter", "isupper", "l2bin", "lastkey", "lastrec", - "left", "len", "log", "lower", "ltrim", "lupdate", "max", "maxcol", "maxrow", - "memoedit", "memoline", "memoread", "memotran", "memowrit", "memvarblock", - "min", "mlcount", "mlctopos", "mlpos", "mod", "month", "mpostolc", "neterr", - "netname", "nextkey", "nosnow", "os", "outerr", "outstd", "pad", "pcol", - "pcount", "procline", "procname", "prow", "qout", "rat", "readexit", - "readinsert", "readkey", "readmodal", "readvar", "reccount", "recno", "recsize", - "replicate", "restscreen", "right", "rlock", "round", "row", "rtrim", - "savescreen", "scroll", "seconds", "setblink", "setcancel", "setcolor", - "setcursor", "setkey", "setmode", "setpos", "setprc", "soundex", "space", - "sqrt", "str", "strtran", "stuff", "substr", "time", "tone", "transform", "", - "updated", "upper", "", "val", "valtype", "version", "word", "year"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[//|\*]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\|\%|\+|\-]]
highlight/langDefs/clojure.lang
@@ -1,39 +0,0 @@--- Language definition generated by lang2to3--Description="Clojure"--Identifiers=[[ [a-zA-Z_][\w\-\/]* ]]--Keywords={- { Id=1,- List={"def", "defn", "defmacro", "fn", "defstruct", "defmulti", "defmethod", "remove-method"},- },- { Id=2,- List={"for", "loop", "recur", "dotimes", "doseq"},- },- { Id=3,- List={"case", "caselet", "check", "if", "let", "when", "whenlet", "unless"},- },- { Id=4,- List={"first", "rest", "cons", "ffirst", "frest", "rrest", "second", "every?", "not-every?", "some", "not-any?", "concat", "map", "mapcat", "reducefilter", "take", "take-nth", "take-while", "drop", "nthrest", "drop-while", "reverse", "cycle", "interleave", "split-at", "split-with", "repeat", "replicate", "iterate", "range", "into", "distinct", "sort", "sort-by", "zipmap", "fnseq", "lazy-cons", "lazy-cat", "when-first"},- },-}--Strings={- Delimiter=[["]],- Interpolation=[[ %s ]],-}--Comments={- { Block=false,- Delimiter= { [[;]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\;\|]],[[\|\;]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\+|\=|\/|\*|\']]----FIXME no default escchar param: regex(\\\d{3}|\\x[[:xdigit:]]{2}|\\[ntvbrfa\\\?'"])
highlight/langDefs/clp.lang
@@ -1,713 +0,0 @@--Description="Clips"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Keywords={- { Id=1,- List={"and", "bind", "break", "defglobal", "deffunction", "evenp", "else", - "eq", "floatpfloatp", "false", "if", "integerp", "lexemep", "loop-for-count", - "multifieldp", "neq", "not", "numberp", "or", "oddp", "pointerp", "progn", - "progn$", "return", "stringp", "switch", "symbolp", "then", "true", "while"},- },- { Id=2,- List={"acos", "acosh", "acot", "acoth", "acsc", "acsch", "asec", "asech", - "asin", "asinh", "atan", "atanh", "abs", "assert", "assert-string", "build", - "create", "cos", "cosh", "cot", "coth", "csc", "csch", "close", - "call-next-method", "call-specific-method", "class", "class-abstractp", - "class-existp", "class-reactivep", "class-slots", "class-subclasses", - "class-superclasses", "call-next-handler", "delete", "deg-grad", "deg-rad", - "div", "defgeneric-module", "duplicate", "deftemplate-module", "defrule-module", - "defglobal-module", "deffunction-module", "dynamic-get", "dynamic-put", - "direct-slot-delete", "direct-slot-insert", "direct-slot-replace", - "defclass-module", "definstances-module", "delete-instance", "eval", "explode", - "exp", "expand", "first", "float", "format", "fact-index", - "get-sequence-operator-recognition", "gensym", "get-function_restrictions", - "grad-deg", "get-defgeneric-list", "get-defmethod-list", - "get-method-restrictions", "get-deftemplate-list", "get-defrule-list", - "get-defmodule-list", "get-defglobal-list", "get-deffunction-list", "get-focus", - "get-focus-stack", "get-defclass-list", "get-defmessage-handler-list", - "get-definstances-list", "implode", "insert", "integer", "instance-addressp", - "instance-existp", "instance-namep", "instancep", "init-slots", - "instance-address", "instance-name", "instance-name-to-symbol", "lowcase", - "length", "length", "log", "log10", "member", "mod", "max", "min", "modify", - "message-handler-existp", "nth", "next-handlerp", "next-methodp", "open", - "override-next-handler", "override-next-method", "pi", "printout", "pop-focus", - "replace", "rest", "random", "rad-deg", "round", "read", "readline", "remove", - "rename", "retract", "str-length", "sub-string", "sym-cat", "str-cat", - "str-compare", "str-index", "set-sequence-operator-recognition", "subseq", - "subsetp", "seed", "setgen", "sec", "sech", "sin", "sinh", "sec", "sech", "sin", - "sinh", "sqrt", "slot-delete", "slot-insert", "slot-replace", - "symbol-to-instance-name", "slot-allowed-values", "slot-cardinality", - "slot-direct-accessp", "slot-existp", "slot-facets", "slot-initablep", - "slot-publicp", "slot-range", "slot-sources", "slot-types", "slot-writablep", - "subclassp", "superclassp", "time", "tan", "tanh", "type", "upcase", - "unmake-instance", "app-create", "app-get-show-frame-on-init", "app-on-init", - "app-set-show-frame-on-init", "arc-annotation-get-name", - "arc-image-change-attachment", "arc-image-control-point-add", - "arc-image-control-point-count", "arc-image-control-point-move", - "arc-image-control-point-remove", "arc-image-control-point-x", - "arc-image-control-point-y", "arc-image-create", "arc-image-get-alignment-type", - "arc-image-get-attachment-from", "arc-image-get-attachment-to", - "arc-image-get-image-from", "arc-image-get-image-to", "arc-image-is-leg", - "arc-image-is-spline", "arc-image-is-stem", "arc-image-set-alignment-type", - "arc-image-set-spline", "batch", "begin-busy-cursor", "bell", "brush-create", - "brush-delete", "button-create", "button-create-from-bitmap", "bitmap-create", - "bitmap-delete", "bitmap-get-colourmap", "bitmap-get-height", - "bitmap-get-width", "bitmap-load-from-file", "canvas-scroll", - "canvas-set-scroll-page-y", "canvas-set-scroll-pos-x", - "canvas-set-scroll-pos-y", "canvas-set-scroll-range-x", - "canvas-set-scroll-range-y", "canvas-view-start-x", "canvas-view-start-y", - "card-create", "card-delete", "card-deselect-all", "card-find-by-title", - "card-get-canvas", "card-get-first-item", "card-get-frame", "card-get-height", - "card-get-next-item", "card-get-special-item", "card-get-string-attribute", - "card-get-toolbar", "card-get-width", "card-get-x", "card-get-y", - "card-iconize", "card-is-modified", "card-is-shown", "card-is-valid", - "card-move", "card-quit", "card-select-all", "card-send-command", - "card-set-icon", "card-set-modified", "card-set-status-text", - "card-set-string-attribute", "card-show", "chdir", "clean-windows", - "clear-ide-window", "clear-resources", "copy-file", "cursor-create", - "cursor-delete", "cursor-load-from-file", "connection-advise", - "connection-execute", "connection-disconnect", "connection-poke", - "connection-request", "connection-start-advise", "connection-stop-advise", - "client-create", "colour-create", "colour-red", "colour-green", "colour-blue", - "client-make-connection", "choice-create", "choice-append", - "choice-find-string", "choice-clear", "choice-get-selection", - "choice-get-string-selection", "choice-set-selection", - "choice-set-string-selection", "choice-get-string", "check-box-create", - "check-box-set-value", "check-box-get-value", "canvas-create", "canvas-get-dc", - "canvas-get-scroll-page-x", "canvas-get-scroll-page-y", - "canvas-get-scroll-pos-x", "canvas-get-scroll-pos-y", - "canvas-get-scroll-range-x", "canvas-get-scroll-range-y", - "canvas-get-scroll-pixels-per-unit-x", "canvas-get-scroll-pixels-per-unit-x", - "canvas-on-char", "canvas-on-scroll", "canvas-set-scrollbars", - "canvas-set-scroll-page-x", "container-region-add-node-image", - "container-region-remove-node-image", "convert-bitmap-to-rtf", - "convert-metafile-to-rtf", "database-close", "database-create", - "database-delete", "database-error-occurred", "database-get-data-source", - "database-get-database-name", "database-get-error-code", - "database-get-error-message", "database-get-error-number", "database-is-open", - "database-open", "date-add-days", "date-add-months", "date-add-self", - "date-add-weeks", "date-add-years", "date-create", "date-create-julian", - "date-create-string", "date-delete", "date-eq", "date-format", "date-ge", - "date-geq", "date-get-day", "date-get-day-of-week", "date-get-day-of-week-name", - "date-get-day-of-year", "date-get-days-in-month", "date-get-first-day-of-month", - "date-get-julian-date", "date-get-month", "date-get-month-end", - "date-get-month-name", "date-get-month-start", "date-get-week-of-month", - "date-get-week-of-year", "date-get-year", "date-get-year-end", - "date-get-year-start", "date-is-leap-year", "date-l", "date-leq", "date-neq", - "date-set-current-date", "date-set-date", "date-set-format", "date-set-julian", - "date-set-option", "date-subtract", "date-subtract-days", "date-subtract-self", - "dc-begin-drawing", "dc-blit", "dc-clear", "dc-delete", - "dc-destroy-clipping-region", "dc-draw-ellipse", "dc-draw-line", - "dc-draw-lines", "dc-draw-point", "dc-draw-polygon", "dc-draw-rectangle", - "dc-draw-rounded-rectangle", "dc-draw-spline", "dc-draw-text", "dc-end-doc", - "dc-end-drawing", "dc-end-page", "dc-get-max-x", "dc-get-max-y", "dc-get-min-x", - "dc-get-min-y", "dc-get-text-extent-height", "dc-get-text-extent-width", - "dc-ok", "dc-set-background", "dc-set-background-mode", "dc-set-brush", - "dc-set-clipping-region", "dc-set-colourmap", "dc-set-font", - "dc-set-logical-function", "dc-set-pen", "dc-set-text-background", - "dc-set-text-foreground", "dc-start-doc", "dc-start-page", "dde-advise-global", - "debug-msg", "diagram-card-clear-canvas", "diagram-card-copy", - "diagram-card-create", "diagram-card-create-expansion", "diagram-card-cut", - "diagram-card-delete-all-images", "diagram-card-find-root", - "diagram-card-get-first-arc-image", "diagram-card-get-first-arc-object", - "diagram-card-get-first-descendant", "diagram-card-get-first-node-image", - "diagram-card-get-first-node-object", "diagram-card-get-grid-spacing", - "diagram-card-get-next-arc-image", "diagram-card-get-next-arc-object", - "diagram-card-get-next-descendant", "diagram-card-get-next-node-image", - "diagram-card-get-next-node-object", "diagram-card-get-parent-card", - "diagram-card-get-parent-image", "diagram-card-get-print-height", - "diagram-card-get-print-width", "diagram-card-get-scale", - "diagram-card-layout-graph", "diagram-card-layout-tree", - "diagram-card-load-file", "diagram-card-paste", "diagram-card-popup-menu", - "diagram-card-print-hierarchy", "diagram-card-redraw", - "diagram-card-save-bitmap", "diagram-card-save-file", - "diagram-card-save-metafile", "diagram-card-set-grid-spacing", - "diagram-card-set-layout-parameters", "diagram-card-set-scale", - "diagram-image-add-annotation", "diagram-image-annotation-get-drop-site", - "diagram-image-annotation-get-logical-name", - "diagram-image-annotation-get-name", "diagram-image-delete", - "diagram-image-delete-annotation", "diagram-image-draw", - "diagram-image-draw-text", "diagram-image-erase", - "diagram-image-get-brush-colour", "diagram-image-get-card", - "diagram-image-get-first-annotation", "diagram-image-get-first-expansion", - "diagram-image-get-height", "diagram-image-get-item", - "diagram-image-get-next-annotation", "diagram-image-get-next-expansion", - "diagram-image-get-object", "diagram-image-get-pen-colour", - "diagram-image-get-text-colour", "diagram-image-get-width", - "diagram-image-get-x", "diagram-image-get-y", "diagram-image-is-shown", - "diagram-image-move", "diagram-image-pending-delete", - "diagram-image-put-to-front", "diagram-image-resize", "diagram-image-select", - "diagram-image-selected", "diagram-image-set-brush-colour", - "diagram-image-set-pen-colour", "diagram-image-set-shadow-mode", - "diagram-image-set-text-colour", "diagram-image-show", "diagram-item-get-image", - "diagram-object-add-attribute", "diagram-object-delete-attribute", - "diagram-object-format-text", "diagram-object-get-first-attribute", - "diagram-object-get-first-image", "diagram-object-get-next-attribute", - "diagram-object-get-next-image", "diagram-object-get-string-attribute", - "diagram-object-set-format-string", "diagram-object-set-string-attribute", - "diagram-palette-get-arc-selection", "diagram-palette-get-arc-selection-image", - "diagram-palette-get-first-annotation-selection", - "diagram-palette-get-next-annotation-selection", - "diagram-palette-get-node-selection", - "diagram-palette-set-annotation-selection", "diagram-palette-set-arc-selection", - "diagram-palette-set-node-selection", "diagram-palette-show", - "dialog-box-create", "dialog-box-create-from-resource", "dialog-box-is-modal", - "dialog-box-set-modal", "dir-exists", "end-busy-cursor", "event-get-event-type", - "execute", "file-exists", "file-selector", "find-window-by-label", - "find-window-by-name", "float-to-string", "font-create", "font-delete", - "frame-create", "frame-create-status-line", "frame-iconize", "frame-on-size", - "frame-set-icon", "frame-set-menu-bar", "frame-set-status-text", - "frame-set-title", "frame-set-tool-bar", "gauge-create", "gauge-set-bezel-face", - "gauge-set-shadow-width", "gauge-set-value", "get-active-window", "get-choice", - "get-elapsed-time", "get-ide-window", "get-os-version", "get-platform", - "get-resource", "get-text-from-user", "grid-adjust-scrollbars", - "grid-append-cols", "grid-append-rows", "grid-clear-grid", "grid-create", - "grid-create-grid", "grid-delete-cols", "grid-delete-rows", - "grid-get-cell-alignment", "grid-get-cell-background-colour", - "grid-get-cell-bitmap", "grid-get-cell-text-colour", "grid-get-cell-value", - "grid-get-cols", "grid-get-column-width", "grid-get-cursor-column", - "grid-get-cursor-row", "grid-get-editable", "grid-get-label-alignment", - "grid-get-label-background-colour", "grid-get-label-size", - "grid-get-label-text-colour", "grid-get-label-value", "grid-get-row-height", - "grid-get-rows", "grid-get-scroll-pos-x", "grid-get-scroll-pos-y", - "grid-get-text-item", "grid-insert-cols", "grid-insert-rows", - "grid-on-activate", "grid-on-paint", "grid-on-size", "grid-set-cell-alignment", - "grid-set-cell-background-colour", "grid-set-cell-bitmap", - "grid-set-cell-text-colour", "grid-set-cell-text-font", "grid-set-cell-value", - "grid-set-column-width", "grid-set-divider-pen", "grid-set-editable", - "grid-set-grid-cursor", "grid-set-label-alignment", - "grid-set-label-background-colour", "grid-set-label-size", - "grid-set-label-text-colour", "grid-set-label-text-font", - "grid-set-label-value", "grid-set-row-height", "grid-update-dimensions", - "group-box-create", "hardy-clear-index", "hardy-command-int-to-string", - "hardy-command-string-to-int", "hardy-diagram-definition-get-first-arc-type", - "hardy-diagram-definition-get-first-node-type", - "hardy-diagram-definition-get-next-arc-type", - "hardy-diagram-definition-get-next-node-type", "hardy-get-browser-frame", - "hardy-get-first-card", "", "hardy-get-first-diagram-definition", - "hardy-get-next-card", "hardy-get-next-diagram-definition", - "hardy-get-top-card", "", "hardy-get-top-level-frame", "hardy-get-version", - "hardy-help-display-block", "hardy-help-display-contents", - "hardy-help-display-section", "hardy-help-keyword-search", - "hardy-help-load-file", "hardy-load-index", "", "hardy-path-search", - "hardy-preview-all", "hardy-preview-diagram-card", "hardy-print-all", - "hardy-print-diagram-card", "hardy-print-diagram-in-box", - "hardy-print-diagram-page", "hardy-print-get-header-footer", - "hardy-print-get-info", "hardy-print-header-footer", - "hardy-print-set-header-footer", "hardy-print-set-info", - "hardy-print-set-title", "hardy-print-text-in-box", "hardy-save-index", - "hardy-send-command", "hardy-set-about-string", "hardy-set-author", - "hardy-set-custom-help-file", "hardy-set-help-file", "hardy-set-name", - "hardy-set-title", "help-create", "help-delete", "help-display-block", - "help-display-contents", "help-display-section", "help-keyword-search", - "help-load-file", "html-back", "html-cancel", "html-clear-cache", "html-create", - "html-get-current-url", "html-on-size", "html-open-file", "html-open-url", - "html-resize", "html-save-file", "hwnd-find", "hwnd-iconize", "hwnd-move", - "hwnd-quit", "hwnd-refresh", "hwnd-send-message", "hwnd-show", - "hypertext-block-add", "hypertext-block-clear", "hypertext-block-get-item", - "hypertext-block-get-text", "hypertext-block-get-type", - "hypertext-block-selected", "hypertext-block-set-type", "hypertext-card-create", - "hypertext-card-get-current-char", "hypertext-card-get-current-line", - "hypertext-card-get-first-selection", "hypertext-card-get-line-length", - "hypertext-card-get-next-selection", "hypertext-card-get-no-lines", - "hypertext-card-get-offset-position", "hypertext-card-get-span-text", - "hypertext-card-insert-text", "hypertext-card-load-file", - "hypertext-card-save-file", "hypertext-card-string-search", - "hypertext-card-translate", "hypertext-card-translator-close-file", - "hypertext-card-translator-open-file", "hypertext-card-translator-output", - "hypertext-item-get-block", "icon-create", "icon-delete", "icon-get-height", - "icon-get-width", "icon-load-from-file", "instance-table-add-entry", - "instance-table-delete-entry", "instance-table-get-instance", - "item-get-first-link", "item-get-kind", "item-get-next-link", "item-get-type", - "item-goto", "item-set-kind", "key-event-alt-down", "key-event-control-down", - "key-event-get-key-code", "key-event-position-x", "key-event-position-y", - "key-event-shift-down", "link-cards", "link-get-card-from", "link-get-card-to", - "link-get-item-from", "link-get-item-to", "link-get-kind", "link-get-type", - "link-items", "link-set-kind", "list-box-append", "list-box-clear", - "list-box-create", "list-box-delete", "list-box-find-string", - "list-box-get-first-selection", "list-box-get-next-selection", - "list-box-get-selection", "list-box-get-string", - "list-box-get-string-selection", "list-box-number", "list-box-set-selection", - "list-box-set-string-selection", "load-resource-file", "long-to-string", - "make-metafile-placeable", "mci-send-string", "media-block-create", - "media-block-get-item", "media-block-get-position", "media-block-get-type", - "media-block-set-type", "media-card-append-text", "media-card-apply-family", - "media-card-apply-foreground-colour", "media-card-apply-point-size", - "media-card-apply-style", "media-card-apply-underline", - "media-card-apply-weight", "media-card-clear", "media-card-clear-all-blocks", - "media-card-copy", "media-card-create", "media-card-cut", "media-card-delete", - "media-card-find-string", "media-card-get-character", - "media-card-get-first-block", "media-card-get-last-position", - "media-card-get-line-for-position", "media-card-get-line-length", - "media-card-get-next-block", "media-card-get-number-of-lines", - "media-card-get-position-for-line", "media-card-get-selection-end", - "media-card-get-selection-start", "media-card-get-text", - "media-card-insert-image", "media-card-insert-text", "media-card-load-file", - "media-card-paste", "media-card-redo", "media-card-save-file", - "media-card-scroll-to-position", "media-card-select-block", - "media-card-set-selection", "media-card-undo", "media-item-get-block", - "memory-dc-create", "memory-dc-select-object", "menu-append", - "menu-append-separator", "menu-bar-append", "menu-bar-check", - "menu-bar-checked", "menu-bar-create", "menu-bar-enable", "menu-break", - "menu-check", "menu-create", "menu-enable", "message-box", "message-create", - "message-create-from-bitmap", "metafile-dc-close", "metafile-dc-create", - "metafile-delete", "metafile-set-clipboard", "mkdir", "mouse-event-button", - "mouse-event-button-down", "mouse-event-control-down", "mouse-event-dragging", - "mouse-event-is-button", "mouse-event-left-down", "mouse-event-left-up", - "mouse-event-middle-down", "mouse-event-middle-up", "mouse-event-position-x", - "mouse-event-position-y", "mouse-event-right-down", "mouse-event-right-up", - "mouse-event-shift-down", "multi-text-copy", "multi-text-create", - "multi-text-cut", "multi-text-get-insertion-point", - "multi-text-get-last-position", "multi-text-get-line-length", - "multi-text-get-line-length", "multi-text-get-number-of-lines", - "multi-text-get-value", "multi-text-paste", "multi-text-position-to-char", - "multi-text-position-to-line", "multi-text-remove", "multi-text-replace", - "multi-text-set-insertion-point", "multi-text-set-selection", - "multi-text-set-value", "multi-text-show-position", "multi-text-write", - "multi-text-xy-to-position", "node-image-create", "node-image-duplicate", - "node-image-get-container", "node-image-get-container-parent", - "node-image-get-first-arc-image", "node-image-get-first-child", - "node-image-get-first-container-region", "node-image-get-next-arc-image", - "node-image-get-next-child", "node-image-get-next-container-region", - "node-image-get-parent", "node-image-is-composite", "node-image-is-container", - "node-image-is-junction", "node-image-order-arcs", - "node-object-get-first-arc-object", "node-object-get-next-arc-object", "now", - "object-get-type", "object-is-valid", "object-type-get-first-attribute-name", - "object-type-get-next-attribute-name", "panel-create", - "panel-create-from-resource", "panel-item-get-command-event", - "panel-item-get-label", "panel-item-set-default", "panel-item-set-label", - "panel-new-line", "panel-set-button-font", "panel-set-label-font", - "panel-set-label-position", "pen-create", "pen-delete", "postscript-dc-create", - "printer-dc-create", "quit", "radio-box-create", "radio-box-get-selection", - "radio-box-set-selection", "read-string", "recordset-create", - "recordset-delete", "recordset-execute-sql", "recordset-get-char-data", - "recordset-get-col-name", "recordset-get-col-type", "recordset-get-columns", - "recordset-get-data-sources", "recordset-get-database", - "recordset-get-error-code", "recordset-get-filter", "recordset-get-float-data", - "recordset-get-foreign-keys", "recordset-get-int-data", - "recordset-get-number-cols", "recordset-get-number-fields", - "recordset-get-number-params", "recordset-get-number-records", - "recordset-get-primary-keys", "recordset-get-result-set", - "recordset-get-table-name", "recordset-get-tables", "recordset-goto", - "recordset-is-bof", "recordset-is-col-nullable", "recordset-is-eof", - "recordset-is-field-dirty", "recordset-is-field-null", "recordset-is-open", - "recordset-move", "recordset-move-first", "recordset-move-last", - "recordset-move-next", "recordset-move-prev", "recordset-query", - "recordset-set-table-name", "register-event-handler", "return-result", "rmdir", - "server-create", "set-work-proc", "show-ide-window", "sleep", "slider-create", - "slider-get-value", "slider-set-value", "start-timer", "string-sort", - "string-to-float", "string-to-long", "string-to-symbol", "symbol-to-string", - "text-card-load-file", "text-create", "text-get-value", "text-set-value", - "text-window-clear", "text-window-copy", "text-window-create", - "text-window-cut", "text-window-discard-edits", "text-window-get-contents", - "text-window-get-insertion-point", "text-window-get-last-position", - "text-window-get-line-length", "text-window-get-line-length", - "text-window-get-number-of-lines", "text-window-load-file", - "text-window-modified", "text-window-on-char", "text-window-paste", - "text-window-position-to-char", "text-window-position-to-line", - "text-window-remove", "text-window-replace", "text-window-save-file", - "text-window-set-editable", "text-window-set-insertion-point", - "text-window-set-selection", "text-window-show-position", "text-window-write", - "text-window-xy-to-position", "timer-create", "timer-delete", "timer-start", - "timer-stop", "toolbar-add-separator", "toolbar-add-tool", - "toolbar-clear-tools", "toolbar-create", "toolbar-create-tools", - "toolbar-enable-tool", "toolbar-get-max-height", "toolbar-get-max-width", - "toolbar-get-tool-client-data", "toolbar-get-tool-enabled", - "toolbar-get-tool-long-help", "toolbar-get-tool-short-help", - "toolbar-get-tool-state", "toolbar-layout", "toolbar-on-paint", - "toolbar-set-default-size", "toolbar-set-margins", "toolbar-set-tool-long-help", - "toolbar-set-tool-short-help", "toolbar-toggle-tool", "window-add-callback", - "window-centre", "window-close", "window-delete", "window-enable", "window-fit", - "window-get-client-height", "window-get-client-width", "window-get-height", - "window-get-name", "window-get-next-child", "window-get-parent", - "window-get-width", "window-get-x", "window-get-y", "window-is-shown", - "window-make-modal", "window-popup-menu", "window-refresh", - "window-remove-callback", "window-set-client-size", "window-set-cursor", - "window-set-focus", "window-set-size", "window-set-size-hints", "window-show", - "write-resource", "wxclips-object-exists", "yield", "carddelete", - "carddeletealllinks", "carddeletelink", "cardeditfilename", "cardedittitle", - "cardgotocontrolwindow", "cardlinknewcard", "cardlinktoselection", - "cardopenfile", "cardorderlinks", "cardquit", "cardsavefile", "cardsavefileas", - "cardselectitem", "cardtogglelinkpanel", "diagramaddannotation", - "diagramaddcontrol", "diagramapplydefinition", "diagrambrowse", - "diagramchangefont", "diagramclearall", "diagramcopy", "diagramcopydiagram", - "diagramcopyselection", "diagramcopytoclipboard", "diagramcut", - "diagramdeleteannotation", "diagramdeletecontrol", "diagramdeselectall", - "diagramduplicateselection", "diagrameditoptions", "diagramformatgraph", - "diagramformattext", "diagramformattree", "diagramgotoroot", "diagramhelp", - "diagramhorizontalalign", "diagramhorizontalalignbottom", - "diagramhorizontalaligntop", "diagramnewexpansion", "diagrampaste", - "diagramprint", "diagramprintall", "diagramprinteps", "diagramprintpreview", - "diagramrefresh", "diagramsavebitmap", "diagramsavemetafile", - "diagramselectall", "diagramstraighten", "diagramtoback", "diagramtofront", - "diagramtogglepalette", "diagramtoggletoolbar", "diagramverticalalign", - "diagramverticalalignleft", "diagramverticalalignright", "diagramzoom100", - "diagramzoom30", "diagramzoom40", "diagramzoom50", "diagramzoom60", - "diagramzoom70", "diagramzoom80", "diagramzoom90", "hardybrowsefiles", - "hardyclearindex", "hardyconfigure", "hardydeselectallitems", "hardydrawtree", - "hardyexit", "hardyfindorphans", "hardyhelpabout", "hardyhelpcontents", - "hardyhelpsearch", "hardyloadapplication", "hardyloadfile", "hardyprint", - "hardyprintpreview", "hardyprintsetup", "hardysavefile", "hardysavefileas", - "hardysearchcards", "hardyshowarcsymboleditor", "hardyshowdevelopmentwindow", - "hardyshowdiagrammanager", "hardyshowhypertextmanager", - "hardyshownodesymboleditor", "hardyshowpackagetool", "hardyshowsymbollibrarian", - "hardyviewtopcard", "create", "cos", "cosh", "cot", "coth", "csc", "csch", - "close", "call-next-method", "call-specific-method", "class", "class-abstractp", - "class-existp", "class-reactivep", "class-slots", "class-subclasses", - "class-superclasses", "call-next-handler", "delete", "deg-grad", "deg-rad", - "div", "defgeneric-module", "duplicate", "deftemplate-module", "defrule-module", - "defglobal-module", "deffunction-module", "dynamic-get", "dynamic-put", - "direct-slot-delete", "direct-slot-insert", "direct-slot-replace", - "defclass-module", "definstances-module", "delete-instance", "eval", "explode", - "exp", "expand", "first", "float", "format", "fact-index", - "get-sequence-operator-recognition", "gensym", "get-function_restrictions", - "grad-deg", "get-defgeneric-list", "get-defmethod-list", - "get-method-restrictions", "get-deftemplate-list", "get-defrule-list", - "get-defmodule-list", "get-defglobal-list", "get-deffunction-list", "get-focus", - "get-focus-stack", "get-defclass-list", "get-defmessage-handler-list", - "get-definstances-list", "implode", "insert", "integer", "instance-addressp", - "instance-existp", "instance-namep", "instancep", "init-slots", - "instance-address", "instance-name", "instance-name-to-symbol", "lowcase", - "length", "length", "log", "log10", "member", "mod", "max", "min", "modify", - "message-handler-existp", "nth", "next-handlerp", "next-methodp", "open", - "override-next-handler", "override-next-method", "pi", "printout", "pop-focus", - "replace", "rest", "random", "rad-deg", "round", "read", "readline", "remove", - "rename", "retract", "str-length", "sub-string", "sym-cat", "str-cat", - "str-compare", "str-index", "set-sequence-operator-recognition", "subseq", - "subsetp", "seed", "setgen", "sec", "sech", "sin", "sinh", "sec", "sech", "sin", - "sinh", "sqrt", "slot-delete", "slot-insert", "slot-replace", - "symbol-to-instance-name", "slot-allowed-values", "slot-cardinality", - "slot-direct-accessp", "slot-existp", "slot-facets", "slot-initablep", - "slot-publicp", "slot-range", "slot-sources", "slot-types", "slot-writablep", - "subclassp", "superclassp", "time", "tan", "tanh", "type", "upcase", - "unmake-instance", "app-create", "app-get-show-frame-on-init", "app-on-init", - "app-set-show-frame-on-init", "arc-annotation-get-name", - "arc-image-change-attachment", "arc-image-control-point-add", - "arc-image-control-point-count", "arc-image-control-point-move", - "arc-image-control-point-remove", "arc-image-control-point-x", - "arc-image-control-point-y", "arc-image-create", "arc-image-get-alignment-type", - "arc-image-get-attachment-from", "arc-image-get-attachment-to", - "arc-image-get-image-from", "arc-image-get-image-to", "arc-image-is-leg", - "arc-image-is-spline", "arc-image-is-stem", "arc-image-set-alignment-type", - "arc-image-set-spline", "batch", "begin-busy-cursor", "bell", "brush-create", - "brush-delete", "button-create", "button-create-from-bitmap", "bitmap-create", - "bitmap-delete", "bitmap-get-colourmap", "bitmap-get-height", - "bitmap-get-width", "bitmap-load-from-file", "canvas-scroll", - "canvas-set-scroll-page-y", "canvas-set-scroll-pos-x", - "canvas-set-scroll-pos-y", "canvas-set-scroll-range-x", - "canvas-set-scroll-range-y", "canvas-view-start-x", "canvas-view-start-y", - "card-create", "card-delete", "card-deselect-all", "card-find-by-title", - "card-get-canvas", "card-get-first-item", "card-get-frame", "card-get-height", - "card-get-next-item", "card-get-special-item", "card-get-string-attribute", - "card-get-toolbar", "card-get-width", "card-get-x", "card-get-y", - "card-iconize", "card-is-modified", "card-is-shown", "card-is-valid", - "card-move", "card-quit", "card-select-all", "card-send-command", - "card-set-icon", "card-set-modified", "card-set-status-text", - "card-set-string-attribute", "card-show", "chdir", "clean-windows", - "clear-ide-window", "clear-resources", "copy-file", "cursor-create", - "cursor-delete", "cursor-load-from-file", "connection-advise", - "connection-execute", "connection-disconnect", "connection-poke", - "connection-request", "connection-start-advise", "connection-stop-advise", - "client-create", "colour-create", "colour-red", "colour-green", "colour-blue", - "client-make-connection", "choice-create", "choice-append", - "choice-find-string", "choice-clear", "choice-get-selection", - "choice-get-string-selection", "choice-set-selection", - "choice-set-string-selection", "choice-get-string", "check-box-create", - "check-box-set-value", "check-box-get-value", "canvas-create", "canvas-get-dc", - "canvas-get-scroll-page-x", "canvas-get-scroll-page-y", - "canvas-get-scroll-pos-x", "canvas-get-scroll-pos-y", - "canvas-get-scroll-range-x", "canvas-get-scroll-range-y", - "canvas-get-scroll-pixels-per-unit-x", "canvas-get-scroll-pixels-per-unit-x", - "canvas-on-char", "canvas-on-scroll", "canvas-set-scrollbars", - "canvas-set-scroll-page-x", "container-region-add-node-image", - "container-region-remove-node-image", "convert-bitmap-to-rtf", - "convert-metafile-to-rtf", "database-close", "database-create", - "database-delete", "database-error-occurred", "database-get-data-source", - "database-get-database-name", "database-get-error-code", - "database-get-error-message", "database-get-error-number", "database-is-open", - "database-open", "date-add-days", "date-add-months", "date-add-self", - "date-add-weeks", "date-add-years", "date-create", "date-create-julian", - "date-create-string", "date-delete", "date-eq", "date-format", "date-ge", - "date-geq", "date-get-day", "date-get-day-of-week", "date-get-day-of-week-name", - "date-get-day-of-year", "date-get-days-in-month", "date-get-first-day-of-month", - "date-get-julian-date", "date-get-month", "date-get-month-end", - "date-get-month-name", "date-get-month-start", "date-get-week-of-month", - "date-get-week-of-year", "date-get-year", "date-get-year-end", - "date-get-year-start", "date-is-leap-year", "date-l", "date-leq", "date-neq", - "date-set-current-date", "date-set-date", "date-set-format", "date-set-julian", - "date-set-option", "date-subtract", "date-subtract-days", "date-subtract-self", - "dc-begin-drawing", "dc-blit", "dc-clear", "dc-delete", - "dc-destroy-clipping-region", "dc-draw-ellipse", "dc-draw-line", - "dc-draw-lines", "dc-draw-point", "dc-draw-polygon", "dc-draw-rectangle", - "dc-draw-rounded-rectangle", "dc-draw-spline", "dc-draw-text", "dc-end-doc", - "dc-end-drawing", "dc-end-page", "dc-get-max-x", "dc-get-max-y", "dc-get-min-x", - "dc-get-min-y", "dc-get-text-extent-height", "dc-get-text-extent-width", - "dc-ok", "dc-set-background", "dc-set-background-mode", "dc-set-brush", - "dc-set-clipping-region", "dc-set-colourmap", "dc-set-font", - "dc-set-logical-function", "dc-set-pen", "dc-set-text-background", - "dc-set-text-foreground", "dc-start-doc", "dc-start-page", "dde-advise-global", - "debug-msg", "diagram-card-clear-canvas", "diagram-card-copy", - "diagram-card-create", "diagram-card-create-expansion", "diagram-card-cut", - "diagram-card-delete-all-images", "diagram-card-find-root", - "diagram-card-get-first-arc-image", "diagram-card-get-first-arc-object", - "diagram-card-get-first-descendant", "diagram-card-get-first-node-image", - "diagram-card-get-first-node-object", "diagram-card-get-grid-spacing", - "diagram-card-get-next-arc-image", "diagram-card-get-next-arc-object", - "diagram-card-get-next-descendant", "diagram-card-get-next-node-image", - "diagram-card-get-next-node-object", "diagram-card-get-parent-card", - "diagram-card-get-parent-image", "diagram-card-get-print-height", - "diagram-card-get-print-width", "diagram-card-get-scale", - "diagram-card-layout-graph", "diagram-card-layout-tree", - "diagram-card-load-file", "diagram-card-paste", "diagram-card-popup-menu", - "diagram-card-print-hierarchy", "diagram-card-redraw", - "diagram-card-save-bitmap", "diagram-card-save-file", - "diagram-card-save-metafile", "diagram-card-set-grid-spacing", - "diagram-card-set-layout-parameters", "diagram-card-set-scale", - "diagram-image-add-annotation", "diagram-image-annotation-get-drop-site", - "diagram-image-annotation-get-logical-name", - "diagram-image-annotation-get-name", "diagram-image-delete", - "diagram-image-delete-annotation", "diagram-image-draw", - "diagram-image-draw-text", "diagram-image-erase", - "diagram-image-get-brush-colour", "diagram-image-get-card", - "diagram-image-get-first-annotation", "diagram-image-get-first-expansion", - "diagram-image-get-height", "diagram-image-get-item", - "diagram-image-get-next-annotation", "diagram-image-get-next-expansion", - "diagram-image-get-object", "diagram-image-get-pen-colour", - "diagram-image-get-text-colour", "diagram-image-get-width", - "diagram-image-get-x", "diagram-image-get-y", "diagram-image-is-shown", - "diagram-image-move", "diagram-image-pending-delete", - "diagram-image-put-to-front", "diagram-image-resize", "diagram-image-select", - "diagram-image-selected", "diagram-image-set-brush-colour", - "diagram-image-set-pen-colour", "diagram-image-set-shadow-mode", - "diagram-image-set-text-colour", "diagram-image-show", "diagram-item-get-image", - "diagram-object-add-attribute", "diagram-object-delete-attribute", - "diagram-object-format-text", "diagram-object-get-first-attribute", - "diagram-object-get-first-image", "diagram-object-get-next-attribute", - "diagram-object-get-next-image", "diagram-object-get-string-attribute", - "diagram-object-set-format-string", "diagram-object-set-string-attribute", - "diagram-palette-get-arc-selection", "diagram-palette-get-arc-selection-image", - "diagram-palette-get-first-annotation-selection", - "diagram-palette-get-next-annotation-selection", - "diagram-palette-get-node-selection", - "diagram-palette-set-annotation-selection", "diagram-palette-set-arc-selection", - "diagram-palette-set-node-selection", "diagram-palette-show", - "dialog-box-create", "dialog-box-create-from-resource", "dialog-box-is-modal", - "dialog-box-set-modal", "dir-exists", "end-busy-cursor", "event-get-event-type", - "execute", "file-exists", "file-selector", "find-window-by-label", - "find-window-by-name", "float-to-string", "font-create", "font-delete", - "frame-create", "frame-create-status-line", "frame-iconize", "frame-on-size", - "frame-set-icon", "frame-set-menu-bar", "frame-set-status-text", - "frame-set-title", "frame-set-tool-bar", "gauge-create", "gauge-set-bezel-face", - "gauge-set-shadow-width", "gauge-set-value", "get-active-window", "get-choice", - "get-elapsed-time", "get-ide-window", "get-os-version", "get-platform", - "get-resource", "get-text-from-user", "grid-adjust-scrollbars", - "grid-append-cols", "grid-append-rows", "grid-clear-grid", "grid-create", - "grid-create-grid", "grid-delete-cols", "grid-delete-rows", - "grid-get-cell-alignment", "grid-get-cell-background-colour", - "grid-get-cell-bitmap", "grid-get-cell-text-colour", "grid-get-cell-value", - "grid-get-cols", "grid-get-column-width", "grid-get-cursor-column", - "grid-get-cursor-row", "grid-get-editable", "grid-get-label-alignment", - "grid-get-label-background-colour", "grid-get-label-size", - "grid-get-label-text-colour", "grid-get-label-value", "grid-get-row-height", - "grid-get-rows", "grid-get-scroll-pos-x", "grid-get-scroll-pos-y", - "grid-get-text-item", "grid-insert-cols", "grid-insert-rows", - "grid-on-activate", "grid-on-paint", "grid-on-size", "grid-set-cell-alignment", - "grid-set-cell-background-colour", "grid-set-cell-bitmap", - "grid-set-cell-text-colour", "grid-set-cell-text-font", "grid-set-cell-value", - "grid-set-column-width", "grid-set-divider-pen", "grid-set-editable", - "grid-set-grid-cursor", "grid-set-label-alignment", - "grid-set-label-background-colour", "grid-set-label-size", - "grid-set-label-text-colour", "grid-set-label-text-font", - "grid-set-label-value", "grid-set-row-height", "grid-update-dimensions", - "group-box-create", "hardy-clear-index", "hardy-command-int-to-string", - "hardy-command-string-to-int", "hardy-diagram-definition-get-first-arc-type", - "hardy-diagram-definition-get-first-node-type", - "hardy-diagram-definition-get-next-arc-type", - "hardy-diagram-definition-get-next-node-type", "hardy-get-browser-frame", - "hardy-get-first-card", "", "hardy-get-first-diagram-definition", - "hardy-get-next-card", "hardy-get-next-diagram-definition", - "hardy-get-top-card", "", "hardy-get-top-level-frame", "hardy-get-version", - "hardy-help-display-block", "hardy-help-display-contents", - "hardy-help-display-section", "hardy-help-keyword-search", - "hardy-help-load-file", "hardy-load-index", "", "hardy-path-search", - "hardy-preview-all", "hardy-preview-diagram-card", "hardy-print-all", - "hardy-print-diagram-card", "hardy-print-diagram-in-box", - "hardy-print-diagram-page", "hardy-print-get-header-footer", - "hardy-print-get-info", "hardy-print-header-footer", - "hardy-print-set-header-footer", "hardy-print-set-info", - "hardy-print-set-title", "hardy-print-text-in-box", "hardy-save-index", - "hardy-send-command", "hardy-set-about-string", "hardy-set-author", - "hardy-set-custom-help-file", "hardy-set-help-file", "hardy-set-name", - "hardy-set-title", "help-create", "help-delete", "help-display-block", - "help-display-contents", "help-display-section", "help-keyword-search", - "help-load-file", "html-back", "html-cancel", "html-clear-cache", "html-create", - "html-get-current-url", "html-on-size", "html-open-file", "html-open-url", - "html-resize", "html-save-file", "hwnd-find", "hwnd-iconize", "hwnd-move", - "hwnd-quit", "hwnd-refresh", "hwnd-send-message", "hwnd-show", - "hypertext-block-add", "hypertext-block-clear", "hypertext-block-get-item", - "hypertext-block-get-text", "hypertext-block-get-type", - "hypertext-block-selected", "hypertext-block-set-type", "hypertext-card-create", - "hypertext-card-get-current-char", "hypertext-card-get-current-line", - "hypertext-card-get-first-selection", "hypertext-card-get-line-length", - "hypertext-card-get-next-selection", "hypertext-card-get-no-lines", - "hypertext-card-get-offset-position", "hypertext-card-get-span-text", - "hypertext-card-insert-text", "hypertext-card-load-file", - "hypertext-card-save-file", "hypertext-card-string-search", - "hypertext-card-translate", "hypertext-card-translator-close-file", - "hypertext-card-translator-open-file", "hypertext-card-translator-output", - "hypertext-item-get-block", "icon-create", "icon-delete", "icon-get-height", - "icon-get-width", "icon-load-from-file", "instance-table-add-entry", - "instance-table-delete-entry", "instance-table-get-instance", - "item-get-first-link", "item-get-kind", "item-get-next-link", "item-get-type", - "item-goto", "item-set-kind", "key-event-alt-down", "key-event-control-down", - "key-event-get-key-code", "key-event-position-x", "key-event-position-y", - "key-event-shift-down", "link-cards", "link-get-card-from", "link-get-card-to", - "link-get-item-from", "link-get-item-to", "link-get-kind", "link-get-type", - "link-items", "link-set-kind", "list-box-append", "list-box-clear", - "list-box-create", "list-box-delete", "list-box-find-string", - "list-box-get-first-selection", "list-box-get-next-selection", - "list-box-get-selection", "list-box-get-string", - "list-box-get-string-selection", "list-box-number", "list-box-set-selection", - "list-box-set-string-selection", "load-resource-file", "long-to-string", - "make-metafile-placeable", "mci-send-string", "media-block-create", - "media-block-get-item", "media-block-get-position", "media-block-get-type", - "media-block-set-type", "media-card-append-text", "media-card-apply-family", - "media-card-apply-foreground-colour", "media-card-apply-point-size", - "media-card-apply-style", "media-card-apply-underline", - "media-card-apply-weight", "media-card-clear", "media-card-clear-all-blocks", - "media-card-copy", "media-card-create", "media-card-cut", "media-card-delete", - "media-card-find-string", "media-card-get-character", - "media-card-get-first-block", "media-card-get-last-position", - "media-card-get-line-for-position", "media-card-get-line-length", - "media-card-get-next-block", "media-card-get-number-of-lines", - "media-card-get-position-for-line", "media-card-get-selection-end", - "media-card-get-selection-start", "media-card-get-text", - "media-card-insert-image", "media-card-insert-text", "media-card-load-file", - "media-card-paste", "media-card-redo", "media-card-save-file", - "media-card-scroll-to-position", "media-card-select-block", - "media-card-set-selection", "media-card-undo", "media-item-get-block", - "memory-dc-create", "memory-dc-select-object", "menu-append", - "menu-append-separator", "menu-bar-append", "menu-bar-check", - "menu-bar-checked", "menu-bar-create", "menu-bar-enable", "menu-break", - "menu-check", "menu-create", "menu-enable", "message-box", "message-create", - "message-create-from-bitmap", "metafile-dc-close", "metafile-dc-create", - "metafile-delete", "metafile-set-clipboard", "mkdir", "mouse-event-button", - "mouse-event-button-down", "mouse-event-control-down", "mouse-event-dragging", - "mouse-event-is-button", "mouse-event-left-down", "mouse-event-left-up", - "mouse-event-middle-down", "mouse-event-middle-up", "mouse-event-position-x", - "mouse-event-position-y", "mouse-event-right-down", "mouse-event-right-up", - "mouse-event-shift-down", "multi-text-copy", "multi-text-create", - "multi-text-cut", "multi-text-get-insertion-point", - "multi-text-get-last-position", "multi-text-get-line-length", - "multi-text-get-line-length", "multi-text-get-number-of-lines", - "multi-text-get-value", "multi-text-paste", "multi-text-position-to-char", - "multi-text-position-to-line", "multi-text-remove", "multi-text-replace", - "multi-text-set-insertion-point", "multi-text-set-selection", - "multi-text-set-value", "multi-text-show-position", "multi-text-write", - "multi-text-xy-to-position", "node-image-create", "node-image-duplicate", - "node-image-get-container", "node-image-get-container-parent", - "node-image-get-first-arc-image", "node-image-get-first-child", - "node-image-get-first-container-region", "node-image-get-next-arc-image", - "node-image-get-next-child", "node-image-get-next-container-region", - "node-image-get-parent", "node-image-is-composite", "node-image-is-container", - "node-image-is-junction", "node-image-order-arcs", - "node-object-get-first-arc-object", "node-object-get-next-arc-object", "now", - "object-get-type", "object-is-valid", "object-type-get-first-attribute-name", - "object-type-get-next-attribute-name", "panel-create", - "panel-create-from-resource", "panel-item-get-command-event", - "panel-item-get-label", "panel-item-set-default", "panel-item-set-label", - "panel-new-line", "panel-set-button-font", "panel-set-label-font", - "panel-set-label-position", "pen-create", "pen-delete", "postscript-dc-create", - "printer-dc-create", "quit", "radio-box-create", "radio-box-get-selection", - "radio-box-set-selection", "read-string", "recordset-create", - "recordset-delete", "recordset-execute-sql", "recordset-get-char-data", - "recordset-get-col-name", "recordset-get-col-type", "recordset-get-columns", - "recordset-get-data-sources", "recordset-get-database", - "recordset-get-error-code", "recordset-get-filter", "recordset-get-float-data", - "recordset-get-foreign-keys", "recordset-get-int-data", - "recordset-get-number-cols", "recordset-get-number-fields", - "recordset-get-number-params", "recordset-get-number-records", - "recordset-get-primary-keys", "recordset-get-result-set", - "recordset-get-table-name", "recordset-get-tables", "recordset-goto", - "recordset-is-bof", "recordset-is-col-nullable", "recordset-is-eof", - "recordset-is-field-dirty", "recordset-is-field-null", "recordset-is-open", - "recordset-move", "recordset-move-first", "recordset-move-last", - "recordset-move-next", "recordset-move-prev", "recordset-query", - "recordset-set-table-name", "register-event-handler", "return-result", "rmdir", - "server-create", "set-work-proc", "show-ide-window", "sleep", "slider-create", - "slider-get-value", "slider-set-value", "start-timer", "string-sort", - "string-to-float", "string-to-long", "string-to-symbol", "symbol-to-string", - "text-card-load-file", "text-create", "text-get-value", "text-set-value", - "text-window-clear", "text-window-copy", "text-window-create", - "text-window-cut", "text-window-discard-edits", "text-window-get-contents", - "text-window-get-insertion-point", "text-window-get-last-position", - "text-window-get-line-length", "text-window-get-line-length", - "text-window-get-number-of-lines", "text-window-load-file", - "text-window-modified", "text-window-on-char", "text-window-paste", - "text-window-position-to-char", "text-window-position-to-line", - "text-window-remove", "text-window-replace", "text-window-save-file", - "text-window-set-editable", "text-window-set-insertion-point", - "text-window-set-selection", "text-window-show-position", "text-window-write", - "text-window-xy-to-position", "timer-create", "timer-delete", "timer-start", - "timer-stop", "toolbar-add-separator", "toolbar-add-tool", - "toolbar-clear-tools", "toolbar-create", "toolbar-create-tools", - "toolbar-enable-tool", "toolbar-get-max-height", "toolbar-get-max-width", - "toolbar-get-tool-client-data", "toolbar-get-tool-enabled", - "toolbar-get-tool-long-help", "toolbar-get-tool-short-help", - "toolbar-get-tool-state", "toolbar-layout", "toolbar-on-paint", - "toolbar-set-default-size", "toolbar-set-margins", "toolbar-set-tool-long-help", - "toolbar-set-tool-short-help", "toolbar-toggle-tool", "window-add-callback", - "window-centre", "window-close", "window-delete", "window-enable", "window-fit", - "window-get-client-height", "window-get-client-width", "window-get-height", - "window-get-name", "window-get-next-child", "window-get-parent", - "window-get-width", "window-get-x", "window-get-y", "window-is-shown", - "window-make-modal", "window-popup-menu", "window-refresh", - "window-remove-callback", "window-set-client-size", "window-set-cursor", - "window-set-focus", "window-set-size", "window-set-size-hints", "window-show", - "write-resource", "wxclips-object-exists", "yield", "carddelete", - "carddeletealllinks", "carddeletelink", "cardeditfilename", "cardedittitle", - "cardgotocontrolwindow", "cardlinknewcard", "cardlinktoselection", - "cardopenfile", "cardorderlinks", "cardquit", "cardsavefile", "cardsavefileas", - "cardselectitem", "cardtogglelinkpanel", "diagramaddannotation", - "diagramaddcontrol", "diagramapplydefinition", "diagrambrowse", - "diagramchangefont", "diagramclearall", "diagramcopy", "diagramcopydiagram", - "diagramcopyselection", "diagramcopytoclipboard", "diagramcut", - "diagramdeleteannotation", "diagramdeletecontrol", "diagramdeselectall", - "diagramduplicateselection", "diagrameditoptions", "diagramformatgraph", - "diagramformattext", "diagramformattree", "diagramgotoroot", "diagramhelp", - "diagramhorizontalalign", "diagramhorizontalalignbottom", - "diagramhorizontalaligntop", "diagramnewexpansion", "diagrampaste", - "diagramprint", "diagramprintall", "diagramprinteps", "diagramprintpreview", - "diagramrefresh", "diagramsavebitmap", "diagramsavemetafile", - "diagramselectall", "diagramstraighten", "diagramtoback", "diagramtofront", - "diagramtogglepalette", "diagramtoggletoolbar", "diagramverticalalign", - "diagramverticalalignleft", "diagramverticalalignright", "diagramzoom100", - "diagramzoom30", "diagramzoom40", "diagramzoom50", "diagramzoom60", - "diagramzoom70", "diagramzoom80", "diagramzoom90", "hardybrowsefiles", - "hardyclearindex", "hardyconfigure", "hardydeselectallitems", "hardydrawtree", - "hardyexit", "hardyfindorphans", "hardyhelpabout", "hardyhelpcontents", - "hardyhelpsearch", "hardyloadapplication", "hardyloadfile", "hardyprint", - "hardyprintpreview", "hardyprintsetup", "hardysavefile", "hardysavefileas", - "hardysearchcards", "hardyshowarcsymboleditor", "hardyshowdevelopmentwindow", - "hardyshowdiagrammanager", "hardyshowhypertextmanager", - "hardyshownodesymboleditor", "hardyshowpackagetool", "hardyshowsymbollibrarian", - "hardyviewtopcard"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/cobol.lang
@@ -1,81 +0,0 @@--Description="COBOL"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Keywords={- { Id=1,- List={"accept", "access", "add", "advancing", "after", "all", "alphabet", - "alphabetic", "alphabetic-lower", "alphabetic-upper", "alphanumeric", - "alphanumeric-edited", "also", "alter", "alternate", "and", "any", "are", - "area", "areas", "ascending", "assign", "at", "author", "before", "binary", - "blank", "block", "bottom", "by", "call", "cancel", "cd", "cf", "ch", - "character", "characters", "class", "clock-units", "close", "cobol", "code", - "code-set", "collating", "column", "comma", "common", "communication", - "comp", "comp-0", "comp-1", "comp-2", "comp-3", "comp-4", "comp-5", "comp-6", - "comp-x", "computational", "computational-0", "computational-1", - "computational-2", "computational-3", "computational-4", "computational-5", - "computational-6", "computational-x", "compute", "configuration", "contains", - "content", "continue", "control", "control-area", "controls", "converting", - "copy", "corr", "corresponding", "count", "currency", "data", "date", - "date-compiled", "date-written", "day", "day-of-week", "de", "debug-contents", - "debug-item", "debug-line", "debug-name", "debug-sub-1", "debug-sub-2", - "debug-sub-3", "debugging", "decimal-point", "declaratives", "delete", - "delimited", "delimiter", "depending", "descending", "destination", "detail", - "disable", "display", "divide", "division", "down", "duplicates", "dynamic", - "egi", "else", "emi", "enable", "end", "end-add", "end-call", "end-compute", - "end-delete", "end-divide", "end-evaluate", "end-if", "end-multiply", - "end-of-page", "end-perform", "end-read", "end-receive", "end-return", - "end-rewrite", "end-search", "end-start", "end-string", "end-subtract", - "end-unstring", "end-write", "enter", "environment", "eop", "equal", - "error", "esi", "evaluate", "every", "exception", "exit", "extend", - "external", "false", "fd", "file", "file-control", "filler", "final", - "first", "footing", "for", "from", "function", "generate", "giving", "global", - "go", "greater", "group", "heading", "high-value", "high-values", "i-o", - "i-o-control", "identification", "if", "in", "index", "indexed", "indicate", - "initial", "initialize", "initiate", "input", "input-output", "inspect", - "installation", "into", "invalid", "just", "justified", "key", "label", "last", - "leading", "left", "length", "less", "limit", "limits", "linage", - "linage-counter", "line", "line-counter", "lines", "linkage", "lock", - "low-value", "low-values", "memory", "merge", "message", "mode", - "modules", "more-labels", "move", "multiple", "multiply", "native", - "negative", "next", "no", "not", "number", "numeric", "numeric-edited", - "object-computer", "occurs", "of", "off", "omitted", "on", "open", - "optional", "or", "order", "organization", "other", "output", "overflow", - "packed-decimal", "padding", "page", "page-counter", "perform", "pf", "ph", - "pic", "picture", "plus", "pointer", "position", "positive", - "printing", "procedure", "procedures", "proceed", "program", "program-id", - "purge", "queue", "quote", "quotes", "random", "rd", "read", "receive", - "record", "records", "redefines", "reel", "reference", "references", - "relative", "release", "remainder", "removal", "renames", "replace", - "replacing", "report", "reporting", "reports", "rerun", "reserve", "return", - "reversed", "rewind", "rewrite", "rf", "rh", "right", "rounded", "run", - "same", "sd", "search", "section", "security", "segment", - "segment-limit", "select", "send", "sentence", "separate", "sequence", - "sequential", "set", "sign", "size", "sort", "sort-merge", "source", - "source-computer", "space", "spaces", "special-names", "standard", - "standard-1", "standard-2", "start", "status", "stop", "string", - "sub-queue-1", "sub-queue-2", "sub-queue-3", "subtract", "sum", "super", - "suppress", "symbolic", "sync", "synchronized", "tallying", "tape", "terminal", - "terminate", "test", "text", "than", "then", "through", "thru", "time", - "times", "to", "top", "trailing", "true", "type", "unit", - "unstring", "until", "up", "upon", "usage", "use", "using", - "value", "values", "varying", "when", "with", "words", - "working-storage", "write", "zero", "zeroes", "zeros"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[\*|\/]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\%|\+|\-]]-
highlight/langDefs/coffee.lang
@@ -1,64 +0,0 @@--- a highlight lang definition for coffeescript, by Jess Austin-Description = "Coffeescript"--Keywords = {- {- Id = 1,- List = { "and", "break", "by", "catch", "class", "continue", "debugger",- "default", "delete", "do", "else", "export", "extends", "finally", "for",- "if", "import", "in", "instanceof", "is", "isnt", "loop", "new", "not",- "of", "or", "return", "super", "switch", "then", "throw", "try", "typeof",- "unless", "until", "when", "while", "yield", "as", "from", "var"- }- },- {- Id = 2,- List = { "false", "Infinity", "NaN", "no", "null", "off", "on", "this",- "undefined", "true", "yes" }- },- { -- property names in object literals- Id = 3,- Regex = [[\w+(?=:)]]- },- { - Id = 1,- Regex = [[///|/(?!//)]]- },-}--Comments = {- {- Block = true,- Nested = false,- Delimiter = { [[###]], [[###]] }- },- {- Block = false,- Delimiter = { [[#(?!\{)]] } -- lookahead so string interpolation will work- }-}--Strings = {- Delimiter = [["""|'''|"|']],- Escape = [=[\\u\{[[:xdigit:]]+\}|\\u[[:xdigit:]]{4}|\\x[[:xdigit:]]{2}|\\[\\bfnrtv0'"]]=],- Interpolation = [[#\{[^}]+}]]-}--NestedSections = { -- regex as nested language seems to work?- {- Lang = "cs_block_regex",- Delimiter = { [[///]], [[///[gimuy]*]] }- },- {- Lang = "js_regex", -- js.lang might want to use this too- Delimiter = { [[/(?!//)]], [[(?!\\)/[gimuy]*]] }- },- -}--Digits = [=[0[Bb][01]+|0[Oo][0-7]+|0[Xx][[:xdigit:]]+|\d+]=]-Identifiers = [=[[A-Za-z$_][A-Za-z$_0-9]*]=]-Operators = [[=|\+|-|\*|\/|%|<|>|&|\||^|!|\?|:|\.|,|@|\(|\)|\[|]|\{|}]]--EnableIndentation = true-IgnoreCase = false
highlight/langDefs/coldfusion.lang
@@ -1,55 +0,0 @@--Description="ColdFusion MX"--Keywords={- { Id=1,- List={"3Dcfabort", "cfapplet", "cfapplication", "cfargument", "cfassociate", - "cfbreak", "cfcache", "cfcase", "cfcatch", "cfchart", "cfchartdata", - "cfchartseries", "cfcol", "cfcollection", "", "cfcomponent", "cfcontent", - "cfcookie", "cfdefaultcase", "cfdirectory", "cfdump", "cfelse", "cfelseif", - "cferror", "cfexecute", "cfexit", "cffile", "cfflush", "cfform", "cfftp", - "cffunction", "cfgrid", "cfgridcolumn", "cfgridrow", "cfgridupdate", "cfheader", - "cfhtmlhead", "cfhttp", "cfhttpparam=", "cfif", "cfimport", "cfinclude", - "cfindex", "cfinput", "cfinsert", "cfinvoke", "cfinvokeargument", "cfldap", - "cflocation", "cflock", "cflog", "cflogin", "cfloginuser", "cflogout", "cfloop", - "cfmail", "", "cfmailparam", "cfmailpart", "cfmodule", "cfobject", - "cfobjectcache", "cfoutput", "cfparam", "cfpop", "cfprocessingdirective", - "cfprocparam", "cfprocresult", "cfproperty", "cfquery", "cfqueryparam", - "cfregistry", "cfreport", "cfrethrow", "cfreturn", "cfsavecontent", - "cfschedule", "cfscript", "cfsearch", "cfselect", "cfset", "cfsetting", - "cfsilent", "cfslider", "cfstoredproc", "cfswitch", "cftable", "cftextinput", - "cfthrow", "cftrace", "cftransaction", "cftree", "cftreeitem", "cftry", - "cfupdate", "cfwddx", "cfxml"},- },- { Id=1,- Regex=[[<!?\/?\w+>?|/?>]],- },- { Id=2,- Regex=[[([-\w]+)="]],- },- { Id=3,- Regex=[[\&\#?\w+;]],- },- { Id=4,- Regex=[[\#\w+]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[<!\-\-\-]],[[\-\-\->]] }- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\!|\=|\/|\*|\%|\+|\-|\.]]-
highlight/langDefs/conf.lang
@@ -1,27 +0,0 @@--Description="Generic config files"--Keywords={- { Id=1,- Regex=[[^\s*\w+]]- },- { Id=2,- Regex=[[\d[\d.]*]]- },- { Id=3,- Regex=[[/\S+]]- },-}--Strings={- Delimiter=[["|']],-}--Comments={- { Block=false,- Delimiter={ [[#]] },- },- { Block=false,- Delimiter={ [[^;]] },- },-}
highlight/langDefs/crk.lang
@@ -1,54 +0,0 @@--- Contributed by Conrad Steenberg http://code.google.com/p/crack-language/--Description="Crack"--Digits = [[(?:0x|0X)[0-9a-fA-F]+|\d*[\.]?\d+(?:[eE][\-\+]?\d+)?[lLuU]*]]--Keywords={- { Id=1,- List={"class", "for", "while", "in", "if", "else", "const",- "oper", "return", "this", "abstract", "static", "enum",- "import", "is", "try", "except", "throw", "bind", "release",- "init", "del"- }- },- { Id=2,- List= { "bool", "byte", "byteptr", "void", "voidptr", "function", "array",- "int", "uint", "int16", "uint16", "int32", "uint32", "int64", "uint64",- "float", "float32", "float64", "intz", "uintz"- }- },- { Id=3,- Regex=[[@\w+]],- },- { Id=4,- Regex=[[\@?(\w+)\s*[\(]|Exception|Object|String|VTableBase|Class|StaticString]]- }-}--Strings = {- Delimiter=[["|']],- RawPrefix="r",- Escape = [[ \\t|\\a|\\b|\\n|\\r|\\x[0-9a-fA-F]{2}|\\[0-7]{3} ]],-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- },- {- Block=false,- Delimiter = { [[#]] }- }-}--IgnoreCase=false--Operators=[[\{|\}\@|\$|\`|\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\||\^]]--EnableIndentation=true
highlight/langDefs/cs_block_regex.lang
@@ -1,37 +0,0 @@--- a highlight lang definition for coffeescript's block regexes, by Jess Austin-Description = "Coffeescript Block Regex"--Keywords = {- { -- backslash literals- Id = 1,- Regex = [=[\\[][0-9'"\\.?()]]=]- },- { -- interpolation- Id = 2,- Regex = [[#\{.*}]]- },- -}--Comments = {- {- Block = false,- Delimiter = { [[#]] }- }-}--Strings = { -- actually, character sets- DelimiterPairs = { { Open = "\\[\\^?", Close = "\\]" } },- Escape = [=[\\u\{[[:xdigit:]]+\}|\\u[[:xdigit:]]{4}|\\x[[:xdigit:]]{2}|\\c[A-Z]|\\[[bBdDsSwWtrnvf0]]=]-}--Operators = [[\.|\+|\*|\^|\$|\||\?:|\?=|\?!|\?|\(|\)]]-Digits = [[\{\d+,?\d*\}]] -- integer quantifiers---- maybe this would be a better way to do interpolation? I can't get it to work---NestedSections = {--- {--- Lang = "coffee",--- Delimiter = { [[#\{]], [[}]] }--- }---}
highlight/langDefs/csharp.lang
@@ -1,57 +0,0 @@-Description="C#"--Keywords={- { Id=1,- -List={"abstract","as","base","bool","break","byte","case","catch","char",- "checked","class","const","continue","decimal","default","delegate","do",- "double","else","enum","event","explicit","extern","false","finally","fixed",- "float","for","foreach","goto","if","implicit","in","int","interface","internal",- "is","lock","long","namespace","new","null","object","operator","out",- "override","params","private","protected","public","readonly","ref","return",- "sbyte","sealed","short","sizeof","stackalloc","static","string","struct",- "switch","this","throw","true","try","typeof","uint","ulong","unchecked",- "unsafe","ushort","using","virtual","void","volatile","while","add","alias",- "ascending","async","await","descending","dynamic","from","get","global","group",- "into","join","let","orderby","partial",- "remove","select","set","value","var","where ","yield"},- },- { Id=2,- List={"object", "bool", "byte", "char", "const", "decimal", "double", - "enum", "float", "int", "long", "sbyte", "short", "string", "struct", "uint", - "ulong", "ushort", "void"},- },- { Id=3,- Regex=[[^\s*(\w+):]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- RawPrefix="@",- Interpolation=[[ \{\{?.+?\}\}? ]]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--PreProcessor={- Prefix=[[#]],- Continuation="\\",-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|@|\?|\$|\|]]--EnableIndentation=true
highlight/langDefs/css.lang
@@ -1,41 +0,0 @@-Description="CSS"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Digits=[=[ \#[[:xdigit:]]{3,6}|\d*\.?\d+?\w* ]=]--Keywords={- { Id=1,- Regex=[[ ([\w-]+)\s*\: ]]- },- { Id=2,- Regex=[[^@[\w-]+]],- },- { Id=3,- Regex=[[^\s*(\..+?)\s*\{]],- },- { Id=4,- Regex=[[ ^\s*(#[\w-]+) ]]- },- { Id=4,- Regex=[[ url\(([\w\.\/]+)\) ]]- },-}--Strings={- Delimiter=[["|']],- Escape= [=[ \\[[:xdigit:]]{4} ]=],-}--Comments={- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}---IgnoreCase=true--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.|~]]-
highlight/langDefs/d.lang
@@ -1,132 +0,0 @@--Description="D"--Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]--Keywords={- { Id=1,- List={ - "abstract","alias","align","asm","assert","auto","body","bool","break","byte",- "case","cast","catch","cdouble","cent","cfloat","char","class","const",- "continue","creal","dchar","debug","default","delegate","delete","deprecated",- "do","double","else","enum","export","extern","false", - "final","finally","float","for","foreach","foreach_reverse","function","goto",- "idouble","if","ifloat","immutable","import","in","inout", - "int","interface","invariant","ireal","is","lazy","long","macro","mixin", - "module","new","nothrow","null","out","override","package","pragma","private",- "protected","public","pure","real","ref","return","scope","shared","short",- "static","struct","super","switch","synchronized","template","this","throw",- "true","try","typedef","typeid","typeof","ubyte","ucent","uint","ulong","union",- "unittest","ushort","version","void","volatile","wchar","while","with"- },- },- { Id=2,- List={"aaa", "aad", "aam", "aas", "adc", "add", "addpd", "addps", - "addsd", "addss", "and", "andnpd", "andnps", "andpd", "andps", "arpl", - "bound", "bsf", "bsr", "bswap", "bt", "btc", "btr", "bts", "call", - "cbw", "cdq", "clc", "cld", "clflush", "cli", "clts", "cmc", "cmova", - "cmovae", "cmovb", "cmovbe", "cmovc", "cmove", "cmovg", "cmovge", "cmovl", - "cmovle", "cmovna", "cmovnae", "cmovnb", "cmovnbe", "cmovnc", "cmovne", - "cmovng", "cmovnge", "cmovnl", "cmovnle", "cmovno", "cmovnp", "cmovns", - "cmovnz", "cmovo", "cmovp", "cmovpe", "cmovpo", "cmovs", "cmovz", "cmp", - "cmppd", "cmpps", "cmps", "cmpsb", "cmpsd", "cmpss", "cmpsw", - "cmpxch8b", "cmpxchg", "comisd", "comiss", "cpuid", "cvtdq2pd", "cvtdq2ps", - "cvtpd2dq", "cvtpd2pi", "cvtpd2ps", "cvtpi2pd", "cvtpi2ps", "cvtps2dq", - "cvtps2pd", "cvtps2pi", "cvtsd2si", "cvtsd2ss", "cvtsi2sd", "cvtsi2ss", - "cvtss2sd", "cvtss2si", "cvttpd2dq", "cvttpd2pi", "cvttps2dq", "cvttps2pi", - "cvttsd2si", "cvttss2si", "cwd", "cwde", "da", "daa", "das", "db", "dd", "de", "dec", "df", - "di", "div", "divpd", "divps", "divsd", "divss", "dl", "dq", "ds", "dt", - "dw", "emms", "enter", "f2xm1", "fabs", "fadd", "faddp", "fbld", - "fbstp", "fchs", "fclex", "fcmovb", "fcmovbe", "fcmove", "fcmovnb", - "fcmovnbe", "fcmovne", "fcmovnu", "fcmovu", "fcom", "fcomi", "fcomip", - "fcomp", "fcompp", "fcos", "fdecstp", "fdisi", "fdiv", "fdivp", "fdivr", - "fdivrp", "feni", "ffree", "fiadd", "ficom", "ficomp", "fidiv", "fidivr", - "fild", "fimul", "fincstp", "finit", "fist", "fistp", "fisub", "fisubr", - "fld", "fld1", "fldcw", "fldenv", "fldl2e", "fldl2t", "fldlg2", - "fldln2", "fldpi", "fldz", "fmul", "fmulp", "fnclex", "fndisi", "fneni", - "fninit", "fnop", "fnsave", "fnstcw", "fnstenv", "fnstsw", "fpatan", - "fprem", "fprem1", "fptan", "frndint", "frstor", "fsave", "fscale", "fsetpm", - "fsin", "fsincos", "fsqrt", "fst", "fstcw", "fstenv", "fstp", "fstsw", - "fsub", "fsubp", "fsubr", "fsubrp", "ftst", "fucom", "fucomi", "fucomip", "fucomp", "fucompp", - "fwait", "fxam", "fxch", "fxrstor", "fxsave", "fxtract", "fyl2x", "fyl2xp1", - "hlt", "idiv", "imul", "in", "inc", "ins", "insb", "insd", "insw", - "int", "into", "invd", "invlpg", "iret", "iretd", "ja", "jae", "jb", - "jbe", "jc", "jcxz", "je", "jecxz", "jg", "jge", "jl", "jle", "jmp", - "jna", "jnae", "jnb", "jnbe", "jnc", "jne", "jng", "jnge", "jnl", "jnle", - "jno", "jnp", "jns", "jnz", "jo", "jp", "jpe", "jpo", "js", "jz", - "lahf", "lar", "ldmxcsr", "lds", "lea", "leave", "les", "lfence", "lfs", - "lgdt", "lgs", "lidt", "lldt", "lmsw", "lock", "lods", "lodsb", "lodsd", - "lodsw", "loop", "loope", "loopne", "loopnz", "loopz", "lsl", "lss", "ltr", - "maskmovdqu", "maskmovq", "maxpd", "maxps", "maxsd", "maxss", "mfence", - "minpd", "minps", "minsd", "minss", "mov", "movapd", "movaps", "movd", - "movdq2q", "movdqa", "movdqu", "movhlps", "movhpd", "movhps", "movlhps", - "movlpd", "movlps", "movmskpd", "movmskps", "movntdq", "movnti", "movntpd", "movntps", - "movntq", "movq", "movq2dq", "movs", "movsb", "movsd", "movss", "movsw", - "movsx", "movupd", "movups", "movzx", "mul", "mulpd", "mulps", "mulsd", - "mulss", "neg", "nop", "not", "or", "orpd", "orps", "out", "outs", - "outsb", "outsd", "outsw", "packssdw", "packsswb", "packuswb", "paddb", - "paddd", "paddq", "paddsb", "paddsw", "paddusb", "paddusw", "paddw", "pand", - "pandn", "pavgb", "pavgw", "pcmpeqb", "pcmpeqd", "pcmpeqw", "pcmpgtb", - "pcmpgtd", "pcmpgtw", "pextrw", "pinsrw", "pmaddwd", "pmaxsw", "pmaxub", - "pminsw", "pminub", "pmovmskb", "pmulhuw", "pmulhw", "pmullw", - "pmuludq", "pop", "popa", "popad", "popf", "popfd", "por", "prefetchnta", - "prefetcht0", "prefetcht1", "prefetcht2", "psadbw", "pshufd", "pshufhw", - "pshuflw", "pshufw", "pslld", "pslldq", "psllq", "psllw", "psrad", - "psraw", "psrld", "psrldq", "psrlq", "psrlw", "psubb", "psubd", "psubq", - "psubsb", "psubsw", "psubusb", "psubusw", "psubw", "punpckhbw", "punpckhdq", - "punpckhqdq", "punpckhwd", "punpcklbw", "punpckldq", "punpcklqdq", - "punpcklwd", "push", "pusha", "pushad", "pushf", "pushfd", "pxor", "rcl", - "rcpps", "rcpss", "rcr", "rdmsr", "rdpmc", "rdtsc", "rep", "repe", - "repne", "repnz", "repz", "ret", "retf", "rol", "ror", "rsm", "rsqrtps", - "rsqrtss", "sahf", "sal", "sar", "sbb", "scas", "scasb", "scasd", "scasw", - "seta", "setae", "setb", "setbe", "setc", "sete", "setg", "setge", - "setl", "setle", "setna", "setnae", "setnb", "setnbe", "setnc", "setne", - "setng", "setnge", "setnl", "setnle", "setno", "setnp", "setns", "setnz", - "seto", "setp", "setpe", "setpo", "sets", "setz", "sfence", "sgdt", - "shl", "shld", "shr", "shrd", "shufpd", "shufps", "sidt", "sldt", - "smsw", "sqrtpd", "sqrtps", "sqrtsd", "sqrtss", "stc", "sti", "stmxcsr", - "stos", "stosb", "stosd", "stosw", "str", "sub", "subpd", "subps", - "subsd", "subss", "sysenter", "sysexit", "test", "ucomisd", "ucomiss", "ud2", "unpckhpd", "unpckhps", - "unpcklpd", "unpcklps", "verr", "verw", "wait", "wbinvd", "wrmsr", "xadd", - "xchg", "xlat", "xlatb", "xor", "xorpd", "xorps", "addsubpd", "addsubps", - "fisttp", "haddpd", "haddps", "hsubpd", "hsubps", "lddqu", "monitor", "movddup", - "movshdup", "movsldup", "mwait", "pavgusb", "pf2id", "pfacc", "pfadd", - "pfcmpeq", "pfcmpge", "pfcmpgt", "pfmax", "pfmin", "pfmul", "pfnacc", - "pfpnacc", "pfrcp", "pfrcpit1", "pfrcpit2", "pfrsqit1", "pfrsqrt", "pfsub", - "pfsubr", "pi2fd", "pmulhrw", "pswapd"},- },- { Id=3,- Regex=[[\@\w+]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },--}--Strings={- Delimiter=[["|'|`]],- RawPrefix="r",- Interpolation=[[ %\d?\$?s ]],- DelimiterPairs= {- { Open=[[ q"[\[\(\<\{] ]], Close=[[ "[\]\)\>\}] ]], Raw=true }- }-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- },- { Block=true,- Nested=false,- Delimiter= { [[\/\+]],[[\+\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\$]]
highlight/langDefs/dart.lang
@@ -1,51 +0,0 @@--Description="Dart"--Keywords={- { Id=1,- List={ "assert", "break", "case", "catch", "class", "const", "continue",- "default", "do", "else", "extends", "false", "final", "finally", - "for", "if", "in", "is", "new", "null", "return", "super", "switch", - "this", "throw", "true", "try", "var", "void", "while", "static"- }- },- { Id=2,- List={ "num", "int", "double", "bool" }- },- - { Id=2,- Regex=[[[A-Z][a-z_-]+]]- },--- { Id=3,- Regex=[[(#\w+)\s*\(]]- },-- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[['|"]],- RawPrefix="r",- Escape = [[ \\u\d{4}|\\x?\d{3}|\\\w|\\[\'\\\"] ]]-}--Comments = {- { Block=true,- Nested=true,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]--EnableIndentation=false
highlight/langDefs/diff.lang
@@ -1,27 +0,0 @@---Description="Diff"--Digits=[[ ^[\d,]*[ac]\d* ]]--Keywords={- { Id=1,- Regex=[[^[+<].*]],- },- { Id=2,- Regex=[[^[->].*]],- },- { Id=3,- Regex=[[^\.$]],- },- { Id=4,- Regex=[[^@@.*@@$]],- },-}--Comments={- { Block=false,- Delimiter= { [[regex(^\-\-\-$)]] },- },-}-
highlight/langDefs/dts.lang
@@ -1,40 +0,0 @@--Description="Device Tree Source"--Keywords={- { Id=1,- Regex=[[([\w-]+(@.+)?)\s*\{]],- Group=1- },- { Id=2,- List= { "compatible", "reg", "interrupts", "cpus", "external-bus", "ranges"- }- },- { Id=3,- Regex=[[\/[\w\-]+\/]]- },- { Id=4,- Regex=[[#[\w\-]+]]- }-}--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Strings = {- Delimiter=[["]],-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]
highlight/langDefs/dylan.lang
@@ -1,48 +0,0 @@---Description="Dylan"--Keywords={- { Id=1,- List={"interface", "library", "macro", "method", "class", "function", - "cleanup", "block", "afterwards", "end", "", "constant", "variable", "generic", - "primary", "begin", "method", "above", "below", "from", "by", "in", "instance", - "local", "", "slot", "subclass", "then", "to", "virtual", "if", "when", - "select", "case", "else", "elseif", "unless", "finally", "otherwise", "", - "then", "for", "until", "while", "from", "to", "define", "let", "otherwise", - "finally", "exception", "handler", "signal", "import", "rename", "create", - "use", "export", "exclude", "abstract", "concrete", "primary", "inherited", - "inline", "open", "sealed", "domain", "singleton"},- },- { Id=1,- Regex=[[<!?\/?\w+>?|>]],- },- { Id=2,- Regex=[[([-\w]+)="]],- },- { Id=2,- List={"module", "synopsis", "author", "copyright"}- },- { Id=3,- Regex=[[\&\#?\w+;]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],-}--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/ebnf.lang
@@ -1,30 +0,0 @@--Description="Extended Backus-Naur Form"--Keywords={- { Id=1,- Regex=[[^\s*([^=]+)\s*=]],- },- { Id=2,- Regex=[[ [?][^?]+[?] ]],- },- { Id=3,- Regex=[[ [a-zA-Z][-a-zA-Z0-9]* ]],- },-}--Strings={- Delimiter=[["|']],-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\(\*]], [[\*\)]] }- },--}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\;|\-|\*]]
highlight/langDefs/eiffel.lang
@@ -1,36 +0,0 @@--Description="Eiffel"--Keywords={- { Id=1,- List={"agent", "alias", "all", "and", "as", "assign", "check", "class", - "convert", "create", "current", "debug", "deferred", "do", "else", "elseif", - "end", "ensure", "expanded", "export", "external", "false", "feature", "from", - "frozen", "if", "implies", "indexing", "infix", "inherit", "inspect", - "invariant", "is", "like", "local", "loop", "not", "obsolete", "old", "once", - "or", "prefix", "precursor", "pure", "redefine", "reference", "rename", - "require", "rescue", "result", "retry", "separate", "then", "true", "tuple", - "undefine", "creation", "until", "insert"},- },- { Id=2,- List={"integer", "real", "double", "character", "", "boolean", "string"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- Escape=[=[ %\d{3}|\\x[[:xdigit:]]{2}|%[nNtvbrfa%\?'"]|%$ ]=]-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[--]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\-|\+|\=|\/|\*|\+|\-|\.]]
highlight/langDefs/erlang.lang
@@ -1,46 +0,0 @@--Description="Erlang"--Keywords={- { Id=1,- List={"after", "begin", "case", "catch", "cond", "end", "fun", "if", "let", "of", "query", "receive", "when"},- },- { Id=2,- List={"abs", "alive", "apply", "atom_to_list", "binary_to_list", -"binary_to_term", "concat_binary", "date", "disconnect_node", "element", -"erase", "exit", "float", "float_to_list", "get", "get_keys", "group_leader", -"halt", "hd", "integer_to_list", "is_alive", "length", "link", "list_to_atom", -"list_to_binary", "list_to_float", "list_to_integer", "list_to_pid", -"list_to_tuple", "load_module", "make_ref", "monitor_node", "node", "nodes", -"now", "open_port", "pid_to_list", "process_flag", "process_info", "process", -"put", "register", "registered", "round", "self", "setelement", "size", "spawn", -"spawn_link", "split_binary", "statistics", "term_to_binary", "throw", "time", -"tl", "trunc", "tuple_to_list", "unlink", "unregister", "whereis", "atom", -"binary", "constant", "function", "integer", "list", "number", "pid", "ports", -"port_close", "port_info", "reference", "record", "check_process_code", -"delete_module", "get_cookie", "hash", "math", "module_loaded", "preloaded", -"processes", "purge_module", "set_cookie", "set_node", "acos", "asin", "atan", "atan2", "cos", "cosh", "exp", -"log", "log10", "pi", "pow", "power", "sin", "sinh", "sqrt", "tan", "tanh"},- },- { Id=3,- Regex=[[(\w+):]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- Interpolation=[[ ~s ]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[%]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-|\.|\|]]
highlight/langDefs/euphoria.lang
@@ -1,60 +0,0 @@--Description="Euphoria"--Keywords={- { Id=1,- List={"and", "by", "constant", "do", "else", "elsif", "end", "exit", "for", - "function", "global", "if", "include", "not", "or", "procedure", "return", - "then", "to", "type", "while", "with", "without", "xor", "append", "arcsin", - "arccos", "arctan", "and_bits", "allow_break", "abort", "all_palette", - "allocate", "allocate_low", "allocate_string", "atom_to_float64", - "atom_to_float32", "bk_color", "bytes_to_int", "bits_to_int", "compare", - "custom_sort", "cos", "close", "current_dir", "chdir", "check_break", - "command_line", "clear_screen", "cursor", "call", "crash_file", "crash_message", - "call_proc", "call_func", "c_proc", "c_func", "call_back", "dir", "date", - "display_text_image", "draw_line", "display_image", "dos_interrupt", - "define_c_proc", "define_c_func", "define_c_var", "equal", "ellipse", "find", - "floor", "flush", "free", "free_low", "float64_to_atom", "float32_to_atom", - "free_console", "get", "getc", "gets", "get_bytes", "get_key", "get_mouse", - "getenv", "get_position", "graphics_mode", - "get_all_palette", "get_active_page", "get_display_page", "get_screen_char", - "get_pixel", "get_vector", "int_to_bytes", "int_to_bits", "instance", "length", - "lower", "log", "lock_file", "lock_memory", "match", "mouse_events", - "mouse_pointer", "machine_func", "machine_proc", "mem_copy", "mem_set", - "message_box", "not_bits", "or_bits", "open", "open_dll", "pi", "prepend", - "power", "print", "printf", "puts", "prompt_string", "prompt_number", - "platform", "profile", "position", "palette", "put_screen_char", "pixel", - "polygon", "peek", "peek4s", "peek4u", "poke", "poke4", "rand", "repeat", - "reverse", "remainder", "read_bitmap", "register_block", "routine_id", "sin", - "sort", "sqrt", "sprintf", "seek", "system", "system_exec", "sleep", "scroll", - "save_bitmap", "set_active_page", "set_display_page", "sound", - "save_text_image", "save_screen", "save_image", "set_vector", "set_rand", "tan", - "time", "tick_rate", "trace", "text_color", "text_rows", "upper", "unlock_file", - "unregister_block", "use_vesa", "value", "video_config", - "wildcard_match", "wildcard_file", "wait_key", "where", "walk_dir", "wrap", "xor_bits"},- },- { Id=2,- List={"atom", "integer", "object", "sequence"},- },- { Id=3,- Regex=[=[\#[[:xdigit:]]+]=],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- Interpolation=[[ %\w ]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[--]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\?|\=|\/|\*|\%|\+|\-|\.]]
highlight/langDefs/express.lang
@@ -1,84 +0,0 @@--Description="Express"--Keywords={- { Id=1,- List={"abs", "aggindex", "aggmap", "aggmapinfo", "aggregate", "aggregate", - "allcompile", "allstat", "antilog", "antilog10", "any", "arccos", "arcsin", - "arctan", "argcount", "argfr", "args", "average", "back", "badline", - "begindate", "blank", "blankstrip", "break", "", "cache", "cachehits", - "cachemisses", "cachetries", "calendarweek", "call", "calltype", "categorize", - "changechars", "charlist", "charset", "chdir", "chdrive", "chgdfn", "colval", - "colwidth", "commas", "compile", "compilemessage", "compilewarn", "comquery", - "comset", "comset", "comunit", "connect", "consider", "context", "context", - "continue", "convert", "copydfn", "correlation", "cos", "cosh", "count", - "cumsum", "database", "dateformat", "dateorder", "dayabbrlen", "daynames", - "dayof", "dbdescribe", "", "dbgoutfile", "dbgsession", "dbreport", "dbwaittime", - "ddof", "decimaloverflow", "decimals", "define", "delete", "deprdecl", - "deprdeclsw", "deprsl", "deprsoyd", "describe", "dimension", "dir", - "disconnect", "dividebyzero", "do", "doend", "dseconds", "echoprompt", - "eifbytes", "else", "enddate", "endof", "eproduct", "erelease", "errnames", - "escapebase", "eversion", "every", "execbreak", "execstart", "execstatus", - "execute", "execwait", "exists", "export", "exptrace", "extargs", "extchars", - "extcols", "extlines", "fcclose", "fcexec", "fcopen", "fcquery", "fcset", - "fetch", "fileclose", "filecopy", "filedelete", "fileerror", "fileget", - "filemodemask", "filemove", "filenext", "fileopen", "filepage", "fileput", - "filequery", "fileread", "fileset", "fileview", "filterlines", "findchars", - "findlines", "fintsched", "for", "forecast", "fpmtsched", "fulldsc", "get", - "goto", "growrate", "heading", "hide", "hiercheck", "if", "ifcopy", "import", - "include", "infile", "info", "inlist", "inschars", "inscols", "inslines", - "instat", "intpart", "irr", "isdate", "isvalue", "joinchars", "joincols", - "joinlines", "key", "lag", "lagabspct", "lagdif", "lagpct", "largest", - "lcolwidth", "ld", "lead", "likecase", "likenl", "likeescape", "limit", - "linenum", "linesleft", "listby", "listfiles", "listnames", "load", "log", - "log10", "longobjnames", "lowcase", "lsize", "maintain", "makedate", "max", - "maxchars", "maxfetch", "median", "min", "mkdir", "mmof", "moddamp", "mode", - "model", "moderror", "modgamma", "modinputorder", "modmaxiters", "modoverflow", - "modsimultype", "modtolerance", "modtrace", "monitor", "monthabbrlen", - "monthnames", "move", "movingaverage", "movingmax", "movingmin", "movingtotal", - "nafill", "name", "napagefree", "naskip", "naskip2", "naspell", "none", - "noprint", "normal", "nospell", "npv", "numchars", "numlines", "obj", "objlist", - "obscure", "off", "okforlimit", "on", "outfile", "outfileunit", "page", - "pagepause", "pageprompt", "parens", "parse", "pause", "percentage", "permit", - "permiterror", "permitreset", "pgcachehits", "pgcachemisses", "pop", "poplevel", - "program", "property", "push", "pushlevel", "qual", "random", "rank", "recap", - "recno", "recursive", "redo", "reedit", "regress", "relation", "rem", - "remchars", "remcols", "remlines", "rename", "replchars", "replcols", - "repllines", "report", "reserved", "retrieve", "return", "rmdir", "rollup", - "rootofnegative", "round", "row", "row", "rpr", "runtotal", "seconds", - "sessionquery", "set", "sharesession", "shell", "show", "shw", "signal", "sin", - "sinh", "sleep", "smallest", "smooth", "sort", "sortcomposite", "sortlines", - "sparseindex", "sql", "sqlblockmax", "sqlmessages", "sqrt", "startof", - "statall", "statfirst", "statlast", "statlen", "statlist", "statmax", "statmin", - "statrank", "status", "statval", "stddev", "stdhdr", "strip", "subtotal", - "switch", "sysinfo", "system", "tally", "tan", "tanh", "tconvert", "tempstat", - "textfill", "then", "thousandschar", "threadextcall", "tod", "today", "total", - "trace", "trackprg", "translate", "transport", "trap", "triggermaxdepth", - "triggerstoreok", "unhide", "uniquelines", "unravel", "upcase", "update", "upd", - "valsperpage", "values", "vintsched", "vnf", "vpmtsched", "watch", - "weekdaysnewyear", "weekof", "while", "wksdata", "xabort", "xcaportnumber", - "xclose", "xopen", "xopen", "yesspell", "yrabstart", "yyof", "zerorow", - "zerototal", "zspell"},- },- { Id=2,- List={"arg", "argument", "bmargin", "bool", "boolean", "dbextendpath", - "dbsearchpath", "dbtemppath", "decimalchar", "eifextensionpath", "eifnames", - "eifshortnames", "eiftypes", "eifupdbytes", "errorname", "errortext", "int", - "integer", "oknullstatus", "pagenum", "pageprg", "pagesize", "paging", - "prgtrace", "sqlcode", "sqlerrm", "text", "tmargin", "variable", "vrb"},- },-}--Strings={- Delimiter=[[']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [["]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/fame.lang
@@ -1,71 +0,0 @@---Description="FAME"--Keywords={- { Id=1,- List={"abort", "accelerator", "access", "alias", "almon", "append", "area", - "arguments", "arimaconstant", "arrow", "assist", "astime", "axis", "background", - "band", "base", "basis", "batch", "behavioral", "boolean", "bottom", "box", - "bring", "brown", "button", "cache", "calendar", "caption", "case", "cell", - "century", "channel", "character", "chset", "class", "color", "column", - "commas", "confirm", "constrain", "contents", "convert", "criterion", "date", - "decimal", "depic", "depict", "description", "device", "dimension", "disable", - "division", "echo", "eject", "error", "expand", "explode", "fetch", "field", - "finish", "fon", "force", "forecast", "forms", "fraction", "frame", "frdb", - "frequency", "future", "generate", "glue", "grid", "history", "holdout", - "holiday", "ignore", "image", "indent", "index", "influence", "infobar", - "intercept", "interrupt", "item", "justify", "keep", "kind", "label", - "language", "left", "leftmargin", "legend", "length", "limit", "lines", "link", - "lprefix", "map", "margins", "mark", "match", "memory", "method", - "missingvalues", "name", "negative", "number", "object", "observed", "offset", - "order", "overwrite", "pack", "page", "partial", "past", "pause", "pgcell", - "pierce", "placement", "plot", "position", "positive", "prefix", "range", - "remarks", "render", "reorder", "replace", "report", "response", "restore", - "review", "right", "robiterlimit", "scalar", "scatter", "seasonal", "see", - "series", "shiller", "show", "size", "speed", "squeeze", "store", - "stringlength", "style", "suffix", "suspend", "symbolize", "tag", "technique", - "text", "thickness", "threed", "tick", "time", "title", "top", "trace", - "transform", "trigger", "trimvalue", "tune", "turn", "type", "ucharacter", - "underline", "unit", "verify", "view", "wedge", "weights", "width", "window", - "xyset", "year", "zerovalues", "abs", "acf", "aggr", "agr", "all", "alpha", - "amort", "annpct", "any", "ar", "arima", "arma", "atan", "ave", "biwk", - "boolfmt", "caseorder", "cave", "channels", "channeltype", "checkaccess", - "cmax", "cmin", "conname", "corr", "cos", "cprod", "created", "crosslist", - "csum", "ctot", "datefmt", "dateof", "dateorder", "day", "db", "dbcreated", - "dbupdated", "diff", "dty", "eof", "errortext", "eval", "exists", "exp", - "extract", "file", "filespec", "first", "firstcase", "firstdate", "firstvalue", - "font", "fperiod", "fyear", "getenv", "getid", "growth", "hour", "id", - "iniscan", "interp", "irr", "largest", "last", "lastcase", "lastdate", - "lasterror", "lastvalue", "lave", "lengthcase", "lengthdate", "list", - "listaccess", "lmax", "lmedian", "lmin", "location", "log", "log10", "", - "lookup", "lower", "lprod", "lstddev", "lsum", "ltrim", "lvar", "ma", "magic", - "make", "makedate", "mave", "mavec", "max", "maxcase", "maxdate", "mcorr", - "mean", "median", "merge", "min", "mincase", "mindate", "minute", "mirror", - "missing", "mmax", "mmedian", "", "mmin", "month", "mprod", "mstddev", "msum", - "mvar", "", "nameloc", "nl", "normal", "now", "npv", "numfmt", "overlay", - "pacf", "pad", "payback", "pct", "pending", "period", "pixels", "points", - "precfmt", "prod", "realname", "remeval", "repeat", "reverse", "robloc", - "robvar", "round", "rtrim", "sannpct", "sarima", "scan", "screeninfo", "script", - "second", "selectnames", "shift", "shiftmtn", "shiftyr", "sign", "sin", "sl", - "slice", "smallest", "sortdata", "sortindex", "", "sortname", "source", - "special", "sqrt", "stddev", "string", "stuff", "substring", "sum", "system", - "systemerror", "thisday", "today", "trim", "trunc", "uniform", "unique", - "updated", "upper", "var", "weekday", "wildlist", "wildnames", "winframeinfo", - "wininfo", "writeacct", "ytd", "ytydiff", "ytypct"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[\/\/|\-|-]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/fasm.lang
@@ -1,611 +0,0 @@---[[ "fasm.lang" -****************************************************************************** -* * -* Flat Assembler (FASM) * -* * -* Language Definition * -* * -* v1.1 - 2017/03/14 * -* * -****************************************************************************** -Flat assembler v1.71.60 language definition for Highlight v3.35. -Associated file extensions: ".ASM" | ".INC" - -Written by Tristano Ajmone: - <tajmone@gmail.com> - https://github.com/tajmone - -Released into the public domain according to the Unlicense license: - http://unlicense.org ------------------------------------------------------------------------------- -Project repository: - https://github.com/tajmone/fasm-highlighting - ------------------------------------------------------------------------------ -Syntax tokens were extracted directly from FASM source file "SOURCE/TABLES.INC" -of the MS Windows FASM package ('fasmw17160.zip'); thus ensuring that only FASM- -supported token are highlighted. A few tokens were manualy added (see Notes). - -Since the number of keywords is really huge, I've tried to organize them in -categories as best as I could -- the solution is far from perfect, but it should -simplify maintainance of the syntax file, or porting it to other highlighters. - -Many keywords groups could have been condensed into single RegExs (eg: registers -xmm0-31, ymm0-31 and zmm0-31) but this would have impacted parsing performance, -and complicated maintainance, so for now I rather opted to keep a long lists. - -I've tested the syntax file to a good extent, and it seems to work well, but -there might still be edge cases which need fixing (for eg: see #C,D). ------------------------------------------------------------------------------- - CREDITS ------------------------------------------------------------------------------- -My gratitude to André Simon and Tomasz Grysztar for their patience and kind -support to all my enquiries. - -I've looked into the following syntax definitions for inspiration: - -"assembler.lang" -- Assembler definition (29k, 68s, 68x, a51, asm, s, x86) that - ships with Highlight (authors unknown). - -"fasm.vim" -- Flat assembler syntax file for Vim, by Richard «RIscRIpt»: - https://github.com/RIscRIpt/vim-fasm-syntax - -"x86asm.js" -- Intel x86 Assembly NASM syntax for highlight.js, by innocenat: - https://github.com/isagalaev/highlight.js/blob/master/src/languages/x86asm.js - - -"fasm.xml" -- Highlighting-Kate FASM definition, adapted by John MacFarlane and - Geoff Nixon from Nicola Gigante's and Bogdan Drozdowski's - "Intel x86 (NASM)": - https://github.com/jgm/highlighting-kate/blob/master/xml/fasm.xml - -Sublime FASM-x86 -- Sublime Text 2 package, by René Köcher, based on - Leonardo Gago's" Assembly-x86" package: - https://github.com/Shirk/Sublime-FASM-x86 - https://github.com/ljgago/Assembly-x86 ------------------------------------------------------------------------------- -FLAT ASSEMBLER -- (C) 1999, Tomasz Grysztar, licensed under simplified BSD - with a weak copyleft clause: - https://flatassembler.net ------------------------------------------------------------------------------- -HIGHLIGHT -- (C) 2002, André Simon, licensed under GNU-GPL3: - http://www.andre-simon.de ------------------------------------------------------------------------------- -]] - -Description="fasm" - -IgnoreCase=true - -Digits=[[ (?x) - # ============ HEX ============ - # C (0xFF) & Pascal ($FF) style: - - (?:(?<!\$)\b0x|\b0X|(?<!\w|\$)\$)[0-9a-fA-F_']+\b(?!\$) - - # h syntax (0FFh) -- req. leading 0: - - | \b0[0-9a-fA-F_']+[hH]\b - - # ============ OCTAL ============ - | \b[0-7_']+[oOqQ]\b # 377o / 377q [See: #4] - - # ============ BINARY ============ - | \b[01_']+[bB]\b - - # ============ FLOAT ============ - | \b[0-9_']+f\b # 1f syntax - | \b[0-9_']+\.[0-9_']+\b # 1E0 syntax (scientific notation) - | \b[0-9_']+[eE][0-9_']+\b # 1.0 syntax - - # ============ DECIMAL ============ - | (?<!\$)\b[0-9_']+[dD]?\b(?!\$) - ]] - -Operators=[=[[+-/*=<>()[\]{}:,|&~#`;\\]]=] - -Comments={ - { Block=false, - Nested=false, - Delimiter = { [[ ; ]] } - } -} - -Strings={ - Delimiter=[[ (?<!")"(?!")|(?<!')'(?!') ]], -- [See: #1] -} - -Keywords={ - { Id=1, -- ============================ REGISTERS ============================= - List={ - -- Pointer Registers [See: #2] - "eip", "rip", -- Instruction pointers (32, 64 bit) - "spl", "sp", "esp", "rsp", -- Stack Pointers (8, 16, 32, 64 bit) - "bpl", "bp", "ebp", "rbp", -- Stack Base Pointers (8, 16, 32, 64 bit) - -- Index Registers - "sil", "si", "esi", "rsi", -- Source Indexes (8, 16, 32, 64 bit) - "dil", "di", "edi", "rdi", -- Destination Indexes (8, 16, 32, 64 bit) - -- 8-bit registers - "al", "ah", "bl", "bh", "cl", "ch", "dl", "dh", - "r8b", "r9b", "r10b", "r11b", "r12b", "r13b", "r14b", "r15b", - "r8l", "r9l", "r10l", "r11l", "r12l", "r13l", "r14l", "r15l", - -- 16-bit registers - "ax", "bx", "cx", "dx", - "r8w", "r9w", "r10w", "r11w", "r12w", "r13w", "r14w", "r15w", - -- 32-bit registers - "r8d", "r9d", "r10d", "r11d", "r12d", "r13d", "r14d", "r15d", - "eax", "ebx", "ecx", "edx", - -- 64-bit registers - "rax", "rbx", "rcx", "rdx", - "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", - -- Segment registers - "cs", "ds", "es", "fs", "gs", "ss", - -- Floating point stack registers - "st", "st0", "st1", "st2", "st3", "st4", "st5", "st6", "st7", - -- MMX Registers (64-bit) - "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7", - -- SSE registers (128-bit) - "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", "xmm8", "xmm9", - "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15", "xmm16", "xmm17", "xmm18", "xmm19", - "xmm20", "xmm21", "xmm22", "xmm23", "xmm24", "xmm25", "xmm26", "xmm27", "xmm28", "xmm29", - "xmm30", "xmm31", - -- AVX registers (256-bit) - "ymm0", "ymm1", "ymm2", "ymm3", "ymm4", "ymm5", "ymm6", "ymm7", "ymm8", "ymm9", - "ymm10", "ymm11", "ymm12", "ymm13", "ymm14", "ymm15", "ymm16", "ymm17", "ymm18", "ymm19", - "ymm20", "ymm21", "ymm22", "ymm23", "ymm24", "ymm25", "ymm26", "ymm27", "ymm28", "ymm29", - "ymm30", "ymm31", - -- AVX-512F registers - "zmm0", "zmm1", "zmm2", "zmm3", "zmm4", "zmm5", "zmm6", "zmm7", "zmm8", "zmm9", - "zmm10", "zmm11", "zmm12", "zmm13", "zmm14", "zmm15", "zmm16", "zmm17", "zmm18", "zmm19", - "zmm20", "zmm21", "zmm22", "zmm23", "zmm24", "zmm25", "zmm26", "zmm27", "zmm28", "zmm29", - "zmm30", "zmm31", - -- AVX-512F mask registers - "k0", "k1", "k2", "k3", "k4", "k5", "k6", "k7", - -- Bound (MPX) register - "bnd0", "bnd1", "bnd2", "bnd3", - -- Special registers - "cr0", "cr1", "cr2", "cr3", "cr4", "cr8", -- Control registers - "cr5", "cr6", "cr7", "cr9", "cr10", - "cr11", "cr12", "cr13", "cr14", "cr15", - "dr0", "dr1", "dr2", "dr3", " dr8", -- Debug registers - "dr4", "dr5", "dr6", " dr7", "dr9", "dr10", - "dr11", "dr12", "dr13", "dr14", "dr15", - "tr3", "tr4", "tr5", "tr6", "tr7", -- Test registers - "tr0", "tr1", "tr2", - }, - }, - { Id=2, -- =========================== INSTRUCTIONS =========================== - List={ - -- Operators - "and", "mod", "or", "shl", "shr", "xor", - "bsf", "bsr", "not", "plt", "rva", -- Single operand operators - - -- Uncategorized - "aad", "aam", "adc", "adcx", "add", "addsubps", "adox", "align", "and", "andn", - "arpl", "assert", "bextr", "blcfill", "blci", "blcic", "blcmsk", "blcs", "blsfill", - "blsi", "blsic", "blsmsk", "blsr", "bnd", "bndcl", "bndcn", "bndcu", "bndldx", - "bndmk", "bndmov", "bndstx", "bound", "break", "bsf", "bsr", "bswap", "bt", "btc", - "btr", "bts", "bzhi", "call", "clac", "clc", "cld", "clflush", "clflushopt", "clgi", - "cli", "clts", "clwb", "cmc", "cmova", "cmovae", "cmovb", "cmovbe", "cmovc", "cmove", - "cmovg", "cmovge", "cmovl", "cmovle", "cmovna", "cmovnae", "cmovnb", "cmovnbe", - "cmovnc", "cmovne", "cmovng", "cmovnge", "cmovnl", "cmovnle", "cmovno", "cmovnp", - "cmovns", "cmovnz", "cmovo", "cmovp", "cmovpe", "cmovpo", "cmovs", "cmovz", "cmp", - "cmpeqpd", "cmpeqps", "cmpeqsd", "cmpeqss", "cmplepd", "cmpleps", "cmplesd", - "cmpless", "cmpltpd", "cmpltps", "cmpltsd", "cmpltss", "cmpneqpd", "cmpneqps", - "cmpneqsd", "cmpneqss", "cmpnlepd", "cmpnleps", "cmpnlesd", "cmpnless", "cmpnltpd", - "cmpnltps", "cmpnltsd", "cmpnltss", "cmpordpd", "cmpordps", "cmpordsd", "cmpordss", - "cmppd", "cmpps", "cmps", "cmpsb", "cmpsd", "cmpss", "cmpunordpd", "cmpunordps", - "cmpunordsd", "cmpunordss", "cmpxchg", "cmpxchg16b", "cmpxchg8b", "comisd", "comiss", - "cpuid", "crc32", "cvtdq2pd", "cvtpd2dq", "cvtpd2pi", "cvtpi2pd", "cvtpi2ps", - "cvtps2pd", "cvtps2pi", "cvtsd2si", "cvtsi2sd", "cvtsi2ss", "cvtss2si", "cvttpd2pi", - "cvttps2dq", "cvttps2pi", "cvttsd2si", "cvttss2si", "data", "dec", "display", "div", - "else", "emms", "end", "enter", "entry", "err", "extractps", "extrn", "extrq", - "f2xm1", "fabs", "fadd", "faddp", "fbld", "fbstp", "fchs", "fclex", "fcmovb", - "fcmovbe", "fcmove", "fcmovnb", "fcmovnbe", "fcmovne", "fcmovnu", "fcmovu", "fcom", - "fcomi", "fcomip", "fcomp", "fcompp", "fcos", "fdecstp", "fdisi", "fdiv", "fdivp", - "fdivr", "fdivrp", "femms", "feni", "ffree", "ffreep", "fiadd", "ficom", "ficomp", - "fidiv", "fidivr", "fild", "fimul", "fincstp", "finit", "fist", "fistp", "fisttp", - "fisub", "fisubr", "fld", "fld1", "fldcw", "fldenv", "fldl2e", "fldl2t", "fldlg2", - "fldln2", "fldpi", "fldz", "fmul", "fmulp", "fnclex", "fndisi", "fneni", "fninit", - "fnop", "fnsave", "fnstcw", "fnstenv", "fnstsw", "format", "fpatan", "fprem", - "fprem1", "fptan", "frndint", "frstor", "frstpm", "fsave", "fscale", "fsetpm", - "fsin", "fsincos", "fsqrt", "fst", "fstcw", "fstenv", "fstp", "fstsw", "fsub", - "fsubp", "fsubr", "fsubrp", "ftst", "fucom", "fucomi", "fucomip", "fucomp", - "fucompp", "fwait", "fxam", "fxch", "fxrstor", "fxsave", "fxtract", "fyl2x", - "fyl2xp1", "getsec", "haddps", "heap", "hlt", "hsubps", "icebp", "idiv", "if", - "imul", "in", "inc", "ins", "insb", "insertps", "insertq", "int", "int1", "int3", - "invd", "invlpg", "invlpga", "iret", "ja", "jae", "jb", "jbe", "jc", "je", "jg", - "jge", "jl", "jle", "jmp", "jna", "jnae", "jnb", "jnbe", "jnc", "jne", "jng", "jnge", - "jnl", "jnle", "jno", "jnp", "jns", "jnz", "jo", "jp", "jpe", "jpo", "js", "jz", - "kaddb", "kaddd", "kaddq", "kaddw", "kandb", "kandd", "kandnb", "kandnd", "kandnq", - "kandnw", "kandq", "kandw", "kmovb", "kmovd", "kmovq", "kmovw", "knotb", "knotd", - "knotq", "knotw", "korb", "kord", "korq", "kortestb", "kortestd", "kortestq", - "kortestw", "korw", "kshiftlb", "kshiftld", "kshiftlq", "kshiftlw", "kshiftrb", - "kshiftrd", "kshiftrq", "kshiftrw", "ktestb", "ktestd", "ktestq", "ktestw", - "kunpckbw", "kunpckdq", "kunpckwd", "kxnorb", "kxnord", "kxnorq", "kxnorw", "kxorb", - "kxord", "kxorq", "kxorw", "label", "lahf", "lar", "lddqu", "ldmxcsr", "lds", "lea", - "leave", "les", "lfence", "lfs", "lgdt", "lgs", "lidt", "lldt", "llwpcb", "lmsw", - "load", "loadall286", "loadall386", "lock", "lods", "lodsb", "loop", "loope", - "loopne", "loopnz", "loopz", "lsl", "lss", "ltr", "lwpins", "lwpval", "lzcnt", - "maskmovdqu", "maskmovq", "mfence", "monitor", "mov", "movapd", "movaps", "movbe", - "movd", "movdq2q", "movdqa", "movdqu", "movhlps", "movhpd", "movhps", "movlhps", - "movlpd", "movlps", "movmskpd", "movmskps", "movntdq", "movntdqa", "movnti", - "movntpd", "movntps", "movntq", "movntsd", "movntss", "movq", "movq2dq", "movs", - "movsb", "movsd", "movshdup", "movsldup", "movss", "movsx", "movsxd", "movupd", - "movups", "movzx", "mul", "mulx", "mwait", "neg", "nop", "not", "or", "org", "out", - "outs", "outsb", "palignr", "pause", "pclmulhqhdq", "pclmulhqhqdq", "pclmulhqlqdq", - "pclmullqhdq", "pclmullqhqdq", "pclmullqlqdq", "pclmulqdq", "pcommit", "pdep", - "pext", "pextrb", "pextrd", "pextrq", "pextrw", "pinsrb", "pinsrd", "pinsrq", - "pinsrw", "pmovmskb", "pmovsxbd", "pmovsxbq", "pmovsxbw", "pmovsxdq", "pmovsxwd", - "pmovsxwq", "pmovzxbd", "pmovzxbq", "pmovzxbw", "pmovzxdq", "pmovzxwd", "pmovzxwq", - "pop", "popcnt", "popd", "popf", "popq", "popw", "prefetch", "prefetchnta", - "prefetcht0", "prefetcht1", "prefetcht2", "prefetchw", "prefetchwt1", "pshufd", - "pshufhw", "pshuflw", "pshufw", "pslldq", "psrldq", "public", "push", "pushd", - "pushf", "pushq", "pushw", "rcl", "rcr", "rdfsbase", "rdgsbase", "rdmsr", "rdpkru", - "rdpmc", "rdrand", "rdseed", "rdtsc", "rdtscp", "rep", "repe", "repeat", "repne", - "repnz", "repz", "ret", "retf", "retn", "rol", "ror", "rorx", "rsm", "sahf", "sal", - "sar", "sarx", "sbb", "scas", "scasb", "section", "segment", "seta", "setae", "setb", - "setbe", "setc", "sete", "setg", "setge", "setl", "setle", "setna", "setnae", - "setnb", "setnbe", "setnc", "setne", "setng", "setnge", "setnl", "setnle", "setno", - "setnp", "setns", "setnz", "seto", "setp", "setpe", "setpo", "sets", "setz", - "sfence", "sgdt", "shl", "shld", "shlx", "shr", "shrd", "shrx", "sidt", "skinit", - "sldt", "slwpcb", "smsw", "stac", "stack", "stc", "std", "stgi", "sti", "stmxcsr", - "store", "stos", "stosb", "str", "sub", "swapgs", "syscall", "sysenter", "sysexit", - "sysret", "t1mskc", "test", "times", "tzcnt", "tzmsk", "ucomisd", "ucomiss", "ud2", - "useavx256", "useavx512", "verr", "verw", "vgatherdpd", "vgatherdps", "vgatherpf0dpd", - "vgatherpf0dps", "vgatherpf0qpd", "vgatherpf0qps", "vgatherpf1dpd", "vgatherpf1dps", - "vgatherpf1qpd", "vgatherpf1qps", "vgatherqpd", "vgatherqps", "virtual", "vldmxcsr", - "vmcall", "vmfunc", "vmlaunch", "vmload", "vmmcall", "vmresume", "vmrun", "vmsave", - "vmxoff", "vpcmov", "vpermil2pd", "vpermil2ps", "vpermilmo2pd", "vpermilmo2ps", - "vpermilmz2pd", "vpermilmz2ps", "vpermiltd2pd", "vpermiltd2ps", "vpgatherdd", - "vpgatherdq", "vpgatherqd", "vpgatherqq", "vpscatterdd", "vpscatterdq", "vpscatterqd", - "vpscatterqq", "vscatterdpd", "vscatterdps", "vscatterpf0dpd", "vscatterpf0dps", - "vscatterpf0qpd", "vscatterpf0qps", "vscatterpf1dpd", "vscatterpf1dps", - "vscatterpf1qpd", "vscatterpf1qps", "vscatterqpd", "vscatterqps", "vstmxcsr", - "vzeroall", "vzeroupper", "wait", "wbinvd", "while", "wrfsbase", "wrgsbase", "wrmsr", - "wrpkru", "xabort", "xacquire", "xadd", "xbegin", "xchg", "xend", "xgetbv", "xlat", - "xlatb", "xor", "xrelease", "xrstor", "xsave", "xsaveopt", "xsetbv", "xtest", - - -- 16bit - "cbw", "cmpsw", "cwd", "fldenvw", "fnsavew", "fnstenvw", "frstorw", "fsavew", - "fstenvw", "insw", "iretw", "jcxz", "lodsw", "loopew", "loopnew", "loopnzw", "loopw", - "loopzw", "movsw", "outsw", "popfw", "pushfw", "retfw", "retnw", "retw", "scasw", - "stosw", - -- 16bit (except 64) - "popaw", "pushaw", - - -- 32bit - "cdq", "cwde", "fldenvd", "fnsaved", "fnstenvd", "frstord", "fsaved", "fstenvd", - "insd", "iretd", "jecxz", "lodsd", "loopd", "looped", "loopned", "loopnzd", "loopzd", - "outsd", "retfd", "scasd", "stosd", - -- 32bit (except 64) - "popad", "popfd", "pushad", "pushfd", "retd", "retnd", - - -- 64bit - "cdqe", "cmpsq", "cqo", "fxrstor64", "fxsave64", "iretq", "jrcxz", "lodsq", "loopeq", - "loopneq", "loopnzq", "loopq", "loopzq", "movsq", "rdmsrq", "retfq", "scasq", - "stosq", "sysexitq", "sysretq", "wrmsrq", "xrstor64", "xsave64", "xsaveopt64", - -- 64bit only - "popfq", "pushfq", "retnq", "retq", - - -- NOT 64bit - "aaa", "aas", "daa", "das", "into", "popa", "pusha", "salc", "setalc", - - -- FMA Instructions - "vfmadd132pd", "vfmadd132ps", "vfmadd132sd", "vfmadd132ss", "vfmadd213pd", - "vfmadd213ps", "vfmadd213sd", "vfmadd213ss", "vfmadd231pd", "vfmadd231ps", - "vfmadd231sd", "vfmadd231ss", "vfmaddsub132pd", "vfmaddsub132ps", "vfmaddsub213pd", - "vfmaddsub213ps", "vfmaddsub231pd", "vfmaddsub231ps", "vfmsub132pd", "vfmsub132ps", - "vfmsub132sd", "vfmsub132ss", "vfmsub213pd", "vfmsub213ps", "vfmsub213sd", - "vfmsub213ss", "vfmsub231pd", "vfmsub231ps", "vfmsub231sd", "vfmsub231ss", - "vfmsubadd132pd", "vfmsubadd132ps", "vfmsubadd213pd", "vfmsubadd213ps", - "vfmsubadd231pd", "vfmsubadd231ps", "vfnmadd132pd", "vfnmadd132ps", "vfnmadd132sd", - "vfnmadd132ss", "vfnmadd213pd", "vfnmadd213ps", "vfnmadd213sd", "vfnmadd213ss", - "vfnmadd231pd", "vfnmadd231ps", "vfnmadd231sd", "vfnmadd231ss", "vfnmsub132pd", - "vfnmsub132ps", "vfnmsub132sd", "vfnmsub132ss", "vfnmsub213pd", "vfnmsub213ps", - "vfnmsub213sd", "vfnmsub213ss", "vfnmsub231pd", "vfnmsub231ps", "vfnmsub231sd", - "vfnmsub231ss", - - -- FMA4 Instructions - "vfmaddpd", "vfmaddps", "vfmaddsd", "vfmaddss", "vfmaddsubpd", "vfmaddsubps", - "vfmsubaddpd", "vfmsubaddps", "vfmsubpd", "vfmsubps", "vfmsubsd", "vfmsubss", - "vfnmaddpd", "vfnmaddps", "vfnmaddsd", "vfnmaddss", "vfnmsubpd", "vfnmsubps", - "vfnmsubsd", "vfnmsubss", - - -- MMX Instructions - "packssdw", "packsswb", "packuswb", "paddb", "paddd", "paddq", "paddsb", "paddsw", - "paddusb", "paddusw", "paddw", "pand", "pandn", "pavgb", "pavgw", "pcmpeqb", - "pcmpeqd", "pcmpeqw", "pcmpgtb", "pcmpgtd", "pcmpgtw", "pmaddwd", "pmaxsw", "pmaxub", - "pminsw", "pminub", "pmulhuw", "pmulhw", "pmullw", "pmuludq", "por", "psadbw", - "pslld", "psllq", "psllw", "psrad", "psraw", "psrld", "psrlq", "psrlw", "psubb", - "psubd", "psubq", "psubsb", "psubsw", "psubusb", "psubusw", "psubw", "punpckhbw", - "punpckhdq", "punpckhwd", "punpcklbw", "punpckldq", "punpcklwd", "pxor", - - -- SSE Instructions - "addpd", "addps", "addsd", "addss", "addsubpd", "andnpd", "andnps", "andpd", "andps", - "cvtdq2ps", "cvtpd2ps", "cvtps2dq", "cvtsd2ss", "cvtss2sd", "cvttpd2dq", "divpd", - "divps", "divsd", "divss", "haddpd", "hsubpd", "maxpd", "maxps", "maxsd", "maxss", - "minpd", "minps", "minsd", "minss", "movddup", "mulpd", "mulps", "mulsd", "mulss", - "orpd", "orps", "punpckhqdq", "punpcklqdq", "rcpps", "rcpss", "rsqrtps", "rsqrtss", - "shufpd", "shufps", "sqrtpd", "sqrtps", "sqrtsd", "sqrtss", "subpd", "subps", - "subsd", "subss", "unpckhpd", "unpckhps", "unpcklpd", "unpcklps", "xorpd", "xorps", - - -- SSE4 Instructions - "aesdec", "aesdeclast", "aesenc", "aesenclast", "aesimc", "aeskeygenassist", - "blendpd", "blendps", "blendvpd", "blendvps", "dppd", "dpps", "mpsadbw", "packusdw", - "pblendvb", "pblendw", "pcmpeqq", "pcmpestri", "pcmpestrm", "pcmpgtq", "pcmpistri", - "pcmpistrm", "phminposuw", "pmaxsb", "pmaxsd", "pmaxud", "pmaxuw", "pminsb", - "pminsd", "pminud", "pminuw", "pmuldq", "pmulld", "ptest", "roundpd", "roundps", - "roundsd", "roundss", "sha1msg1", "sha1msg2", "sha1nexte", "sha1rnds4", "sha256msg1", - "sha256msg2", "sha256rnds2", - - -- SSSE3 Instructions - "pabsb", "pabsd", "pabsw", "phaddd", "phaddsw", "phaddw", "phsubd", "phsubsw", - "phsubw", "pmaddubsw", "pmulhrsw", "pshufb", "psignb", "psignd", "psignw", - - -- AVX Instructions - "vaddpd", "vaddps", "vaddsd", "vaddss", "vaddsubpd", "vaddsubps", "vaesdec", - "vaesdeclast", "vaesenc", "vaesenclast", "vaesimc", "vaeskeygenassist", "valignd", - "valignq", "vandnpd", "vandnps", "vandpd", "vandps", "vblendmpd", "vblendmps", - "vblendpd", "vblendps", "vblendvpd", "vblendvps", "vbroadcastf128", "vbroadcasti128", - "vbroadcastsd", "vbroadcastss", "vcmpeq_ospd", "vcmpeq_osps", "vcmpeq_ossd", - "vcmpeq_osss", "vcmpeq_uqpd", "vcmpeq_uqps", "vcmpeq_uqsd", "vcmpeq_uqss", - "vcmpeq_uspd", "vcmpeq_usps", "vcmpeq_ussd", "vcmpeq_usss", "vcmpeqpd", "vcmpeqps", - "vcmpeqsd", "vcmpeqss", "vcmpfalse_ospd", "vcmpfalse_osps", "vcmpfalse_ossd", - "vcmpfalse_osss", "vcmpfalsepd", "vcmpfalseps", "vcmpfalsesd", "vcmpfalsess", - "vcmpge_oqpd", "vcmpge_oqps", "vcmpge_oqsd", "vcmpge_oqss", "vcmpgepd", "vcmpgeps", - "vcmpgesd", "vcmpgess", "vcmpgt_oqpd", "vcmpgt_oqps", "vcmpgt_oqsd", "vcmpgt_oqss", - "vcmpgtpd", "vcmpgtps", "vcmpgtsd", "vcmpgtss", "vcmple_oqpd", "vcmple_oqps", - "vcmple_oqsd", "vcmple_oqss", "vcmplepd", "vcmpleps", "vcmplesd", "vcmpless", - "vcmplt_oqpd", "vcmplt_oqps", "vcmplt_oqsd", "vcmplt_oqss", "vcmpltpd", "vcmpltps", - "vcmpltsd", "vcmpltss", "vcmpneq_oqpd", "vcmpneq_oqps", "vcmpneq_oqsd", "vcmpneq_oqss", - "vcmpneq_ospd", "vcmpneq_osps", "vcmpneq_ossd", "vcmpneq_osss", "vcmpneq_uspd", - "vcmpneq_usps", "vcmpneq_ussd", "vcmpneq_usss", "vcmpneqpd", "vcmpneqps", - "vcmpneqsd", "vcmpneqss", "vcmpnge_uqpd", "vcmpnge_uqps", "vcmpnge_uqsd", - "vcmpnge_uqss", "vcmpngepd", "vcmpngeps", "vcmpngesd", "vcmpngess", "vcmpngt_uqpd", - "vcmpngt_uqps", "vcmpngt_uqsd", "vcmpngt_uqss", "vcmpngtpd", "vcmpngtps", - "vcmpngtsd", "vcmpngtss", "vcmpnle_uqpd", "vcmpnle_uqps", "vcmpnle_uqsd", - "vcmpnle_uqss", "vcmpnlepd", "vcmpnleps", "vcmpnlesd", "vcmpnless", "vcmpnlt_uqpd", - "vcmpnlt_uqps", "vcmpnlt_uqsd", "vcmpnlt_uqss", "vcmpnltpd", "vcmpnltps", - "vcmpnltsd", "vcmpnltss", "vcmpord_spd", "vcmpord_sps", "vcmpord_ssd", "vcmpord_sss", - "vcmpordpd", "vcmpordps", "vcmpordsd", "vcmpordss", "vcmppd", "vcmpps", "vcmpsd", - "vcmpss", "vcmptrue_uspd", "vcmptrue_usps", "vcmptrue_ussd", "vcmptrue_usss", - "vcmptruepd", "vcmptrueps", "vcmptruesd", "vcmptruess", "vcmpunord_spd", - "vcmpunord_sps", "vcmpunord_ssd", "vcmpunord_sss", "vcmpunordpd", "vcmpunordps", - "vcmpunordsd", "vcmpunordss", "vcomisd", "vcomiss", "vcompresspd", "vcompressps", - "vcvtdq2pd", "vcvtdq2ps", "vcvtpd2dq", "vcvtpd2ps", "vcvtpd2qq", "vcvtpd2udq", - "vcvtpd2uqq", "vcvtph2ps", "vcvtps2dq", "vcvtps2pd", "vcvtps2ph", "vcvtps2qq", - "vcvtps2udq", "vcvtps2uqq", "vcvtqq2pd", "vcvtqq2ps", "vcvtsd2si", "vcvtsd2ss", - "vcvtsd2usi", "vcvtsi2sd", "vcvtsi2ss", "vcvtss2sd", "vcvtss2si", "vcvtss2usi", - "vcvttpd2dq", "vcvttpd2qq", "vcvttpd2udq", "vcvttpd2uqq", "vcvttps2dq", "vcvttps2qq", - "vcvttps2udq", "vcvttps2uqq", "vcvttsd2si", "vcvttsd2usi", "vcvttss2si", "vcvttss2usi", - "vcvtudq2pd", "vcvtudq2ps", "vcvtuqq2pd", "vcvtuqq2ps", "vcvtusi2sd", "vcvtusi2ss", - "vdbpsadbw", "vdivpd", "vdivps", "vdivsd", "vdivss", "vdppd", "vdpps", "vexpandpd", - "vexpandps", "vextractf128", "vextracti128", "vextractps", "vhaddpd", "vhaddps", - "vhsubpd", "vhsubps", "vinsertf128", "vinserti128", "vinsertps", "vlddqu", - "vmaskmovdqu", "vmaskmovpd", "vmaskmovps", "vmaxpd", "vmaxps", "vmaxsd", "vmaxss", - "vminpd", "vminps", "vminsd", "vminss", "vmovapd", "vmovaps", "vmovd", "vmovddup", - "vmovdqa", "vmovdqu", "vmovhlps", "vmovhpd", "vmovhps", "vmovlhps", "vmovlpd", - "vmovlps", "vmovmskpd", "vmovmskps", "vmovntdq", "vmovntdqa", "vmovntpd", "vmovntps", - "vmovq", "vmovsd", "vmovshdup", "vmovsldup", "vmovss", "vmovupd", "vmovups", - "vmpsadbw", "vmulpd", "vmulps", "vmulsd", "vmulss", "vorpd", "vorps", "vpabsb", - "vpabsd", "vpabsq", "vpabsw", "vpackssdw", "vpacksswb", "vpackusdw", "vpackuswb", - "vpaddb", "vpaddd", "vpaddq", "vpaddsb", "vpaddsw", "vpaddusb", "vpaddusw", "vpaddw", - "vpalignr", "vpand", "vpandd", "vpandn", "vpandnd", "vpandnq", "vpandq", "vpavgb", - "vpavgw", "vpblendd", "vpblendmb", "vpblendmd", "vpblendmq", "vpblendmw", - "vpblendvb", "vpblendw", "vpbroadcastb", "vpbroadcastd", "vpbroadcastq", - "vpbroadcastw", "vpclmulhqhdq", "vpclmulhqlqdq", "vpclmullqhdq", "vpclmullqlqdq", - "vpclmulqdq", "vpcmpeqb", "vpcmpeqd", "vpcmpeqq", "vpcmpeqw", "vpcmpestri", - "vpcmpestrm", "vpcmpgtb", "vpcmpgtd", "vpcmpgtq", "vpcmpgtw", "vpcmpistri", - "vpcmpistrm", "vpcompressd", "vpcompressq", "vpconflictd", "vpconflictq", - "vperm2f128", "vperm2i128", "vpermb", "vpermd", "vpermi2b", "vpermi2d", "vpermi2pd", - "vpermi2ps", "vpermi2q", "vpermi2w", "vpermilpd", "vpermilps", "vpermpd", "vpermps", - "vpermq", "vpermt2b", "vpermt2d", "vpermt2pd", "vpermt2ps", "vpermt2q", "vpermt2w", - "vpermw", "vpexpandd", "vpexpandq", "vpextrb", "vpextrd", "vpextrq", "vpextrw", - "vphaddd", "vphaddsw", "vphaddw", "vphminposuw", "vphsubd", "vphsubsw", "vphsubw", - "vpinsrb", "vpinsrd", "vpinsrq", "vpinsrw", "vplzcntd", "vplzcntq", "vpmadd52huq", - "vpmadd52luq", "vpmaddubsw", "vpmaddwd", "vpmaskmovd", "vpmaskmovq", "vpmaxsb", - "vpmaxsd", "vpmaxsq", "vpmaxsw", "vpmaxub", "vpmaxud", "vpmaxuq", "vpmaxuw", - "vpminsb", "vpminsd", "vpminsq", "vpminsw", "vpminub", "vpminud", "vpminuq", - "vpminuw", "vpmovmskb", "vpmovsxbd", "vpmovsxbq", "vpmovsxbw", "vpmovsxdq", - "vpmovsxwd", "vpmovsxwq", "vpmovzxbd", "vpmovzxbq", "vpmovzxbw", "vpmovzxdq", - "vpmovzxwd", "vpmovzxwq", "vpmuldq", "vpmulhrsw", "vpmulhuw", "vpmulhw", "vpmulld", - "vpmullq", "vpmullw", "vpmultishiftqb", "vpmuludq", "vpor", "vpord", "vporq", - "vprolvd", "vprolvq", "vprorvd", "vprorvq", "vpsadbw", "vpshufb", "vpshufd", - "vpshufhw", "vpshuflw", "vpsignb", "vpsignd", "vpsignw", "vpslld", "vpslldq", - "vpsllq", "vpsllvd", "vpsllvq", "vpsllvw", "vpsllw", "vpsrad", "vpsraq", "vpsravd", - "vpsravq", "vpsravw", "vpsraw", "vpsrld", "vpsrldq", "vpsrlq", "vpsrlvd", "vpsrlvq", - "vpsrlvw", "vpsrlw", "vpsubb", "vpsubd", "vpsubq", "vpsubsb", "vpsubsw", "vpsubusb", - "vpsubusw", "vpsubw", "vpternlogd", "vpternlogq", "vptest", "vpunpckhbw", - "vpunpckhdq", "vpunpckhqdq", "vpunpckhwd", "vpunpcklbw", "vpunpckldq", "vpunpcklqdq", - "vpunpcklwd", "vpxor", "vpxord", "vpxorq", "vrcpps", "vrcpss", "vroundpd", - "vroundps", "vroundsd", "vroundss", "vrsqrtps", "vrsqrtss", "vshufpd", "vshufps", - "vsqrtpd", "vsqrtps", "vsqrtsd", "vsqrtss", "vsubpd", "vsubps", "vsubsd", "vsubss", - "vtestpd", "vtestps", "vucomisd", "vucomiss", "vunpckhpd", "vunpckhps", "vunpcklpd", - "vunpcklps", "vxorpd", "vxorps", - - -- AVX-512 Instructions - "vbroadcastf32x2", "vbroadcastf32x4", "vbroadcastf32x8", "vbroadcastf64x2", - "vbroadcastf64x4", "vbroadcasti32x2", "vbroadcasti32x4", "vbroadcasti32x8", - "vbroadcasti64x2", "vbroadcasti64x4", "vexp2pd", "vexp2ps", "vextractf32x4", - "vextractf32x8", "vextractf64x2", "vextractf64x4", "vextracti32x4", "vextracti32x8", - "vextracti64x2", "vextracti64x4", "vfixupimmpd", "vfixupimmps", "vfixupimmsd", - "vfixupimmss", "vfpclasspd", "vfpclassps", "vfpclasssd", "vfpclassss", "vgetexppd", - "vgetexpps", "vgetexpsd", "vgetexpss", "vgetmantpd", "vgetmantps", "vgetmantsd", - "vgetmantss", "vinsertf32x4", "vinsertf32x8", "vinsertf64x2", "vinsertf64x4", - "vinserti32x4", "vinserti32x8", "vinserti64x2", "vinserti64x4", "vmovdqa32", - "vmovdqa64", "vmovdqu16", "vmovdqu32", "vmovdqu64", "vmovdqu8", "vpbroadcastmb2q", - "vpbroadcastmw2d", "vpcmpb", "vpcmpd", "vpcmpleb", "vpcmpled", "vpcmpleq", "vpcmpleub", - "vpcmpleud", "vpcmpleuq", "vpcmpleuw", "vpcmplew", "vpcmpltb", "vpcmpltd", - "vpcmpltq", "vpcmpltub", "vpcmpltud", "vpcmpltuq", "vpcmpltuw", "vpcmpltw", - "vpcmpneqb", "vpcmpneqd", "vpcmpneqq", "vpcmpnequb", "vpcmpnequd", "vpcmpnequq", - "vpcmpnequw", "vpcmpneqw", "vpcmpnleb", "vpcmpnled", "vpcmpnleq", "vpcmpnleub", - "vpcmpnleud", "vpcmpnleuq", "vpcmpnleuw", "vpcmpnlew", "vpcmpnltb", "vpcmpnltd", - "vpcmpnltq", "vpcmpnltub", "vpcmpnltud", "vpcmpnltuq", "vpcmpnltuw", "vpcmpnltw", - "vpcmpq", "vpcmpub", "vpcmpud", "vpcmpuq", "vpcmpuw", "vpcmpw", "vpmovb2m", - "vpmovd2m", "vpmovdb", "vpmovdw", "vpmovm2b", "vpmovm2d", "vpmovm2q", "vpmovm2w", - "vpmovq2m", "vpmovqb", "vpmovqd", "vpmovqw", "vpmovsdb", "vpmovsdw", "vpmovsqb", - "vpmovsqd", "vpmovsqw", "vpmovswb", "vpmovusdb", "vpmovusdw", "vpmovusqb", - "vpmovusqd", "vpmovusqw", "vpmovuswb", "vpmovw2m", "vpmovwb", "vprold", "vprolq", - "vprord", "vprorq", "vptestmb", "vptestmd", "vptestmq", "vptestmw", "vptestnmb", - "vptestnmd", "vptestnmq", "vptestnmw", "vrangepd", "vrangeps", "vrangesd", - "vrangess", "vrcp14pd", "vrcp14ps", "vrcp14sd", "vrcp14ss", "vrcp28pd", "vrcp28ps", - "vrcp28sd", "vrcp28ss", "vreducepd", "vreduceps", "vreducesd", "vreducess", - "vrndscalepd", "vrndscaleps", "vrndscalesd", "vrndscaless", "vrsqrt14pd", - "vrsqrt14ps", "vrsqrt14sd", "vrsqrt14ss", "vrsqrt28pd", "vrsqrt28ps", "vrsqrt28sd", - "vrsqrt28ss", "vscalefpd", "vscalefps", "vscalefsd", "vscalefss", "vshuff32x4", - "vshuff64x2", "vshufi32x4", "vshufi64x2", - - -- XOP Instructions - "vfrczpd", "vfrczps", "vfrczsd", "vfrczss", "vpcomb", "vpcomd", "vpcomeqb", - "vpcomeqd", "vpcomeqq", "vpcomequb", "vpcomequd", "vpcomequq", "vpcomequw", - "vpcomeqw", "vpcomfalseb", "vpcomfalsed", "vpcomfalseq", "vpcomfalseub", - "vpcomfalseud", "vpcomfalseuq", "vpcomfalseuw", "vpcomfalsew", "vpcomgeb", - "vpcomged", "vpcomgeq", "vpcomgeub", "vpcomgeud", "vpcomgeuq", "vpcomgeuw", - "vpcomgew", "vpcomgtb", "vpcomgtd", "vpcomgtq", "vpcomgtub", "vpcomgtud", - "vpcomgtuq", "vpcomgtuw", "vpcomgtw", "vpcomleb", "vpcomled", "vpcomleq", - "vpcomleub", "vpcomleud", "vpcomleuq", "vpcomleuw", "vpcomlew", "vpcomltb", - "vpcomltd", "vpcomltq", "vpcomltub", "vpcomltud", "vpcomltuq", "vpcomltuw", - "vpcomltw", "vpcomneqb", "vpcomneqd", "vpcomneqq", "vpcomnequb", "vpcomnequd", - "vpcomnequq", "vpcomnequw", "vpcomneqw", "vpcomq", "vpcomtrueb", "vpcomtrued", - "vpcomtrueq", "vpcomtrueub", "vpcomtrueud", "vpcomtrueuq", "vpcomtrueuw", - "vpcomtruew", "vpcomub", "vpcomud", "vpcomuq", "vpcomuw", "vpcomw", "vphaddbd", - "vphaddbq", "vphaddbw", "vphadddq", "vphaddubd", "vphaddubq", "vphaddubw", - "vphaddudq", "vphadduwd", "vphadduwq", "vphaddwd", "vphaddwq", "vphsubbw", - "vphsubdq", "vphsubwd", "vpmacsdd", "vpmacsdqh", "vpmacsdql", "vpmacssdd", - "vpmacssdqh", "vpmacssdql", "vpmacsswd", "vpmacssww", "vpmacswd", "vpmacsww", - "vpmadcsswd", "vpmadcswd", "vpperm", "vprotb", "vprotd", "vprotq", "vprotw", - "vpshab", "vpshad", "vpshaq", "vpshaw", "vpshlb", "vpshld", "vpshlq", "vpshlw", - - -- 3DNow! Instructions - "pavgusb", "pf2id", "pf2iw", "pfacc", "pfadd", "pfcmpeq", "pfcmpge", "pfcmpgt", - "pfmax", "pfmin", "pfmul", "pfnacc", "pfpnacc", "pfrcp", "pfrcpit1", "pfrcpit2", - "pfrsqit1", "pfrsqrt", "pfsub", "pfsubr", "pi2fd", "pi2fw", "pmulhrw", "pswapd", - - -- VMX Instructions - "invept", "invpcid", "invvpid", "vmclear", "vmptrld", "vmptrst", "vmread", - "vmwrite", "vmxon", - }, - }, - { Id=3, -- ============================== LABELS ============================== - Regex=[[ ^\s*([.]{0,2}[A-Za-z0-9_]+): ]] ------- Labels defined with ":" -------- - }, - { Id=3, -- ------------------------ Labeled directive --------------- [See: #C] - Regex=[[ ^\s*([.]{0,2}[A-Za-z0-9_]+)[ \t]+(?:d[bdfpqtuw]|r[bdfpqtw]|file) ]] - }, - { Id=3, -- ------------------------- Anonymous Labels ------------------------- - Regex=[[ (@[@brf]) ]] -- [See: #5] - }, - { Id=3, -- -------------------------- The $ Operator- ------------------------- - Regex=[[ (?<!\w|\$)\${1,2}(?!\w|\$) ]] -- [See: #6] - -- $ = Current offset in an addressing space. - -- $$ = base address of current addressing space. - }, - { Id=4, -- ======================= COMPILER DIRECTIVES ======================== - List={ - "z", -- ??? undocumented [See: #A] - -- Size operators - "byte", "word", "dword", "fword", "pword", "qword", -- 8, 16, 32, 48, 48, 64 bit - "tbyte", "tword", "dqword", "xword", "qqword", "yword", -- 80, 80, 128, 128, 256, 256 bit - "zword", -- ??? undocumented [See: #B] - "dqqword", -- ??? undocumented [See: #B] - -- Data directives - "db", "dd", "df", "dp", "dq", "dt", "du", "dw", -- Define (initialized data) - "rb", "rd", "rf", "rp", "rq", "rt", "rw", -- Reserve (uninitialized data) - "file", -- Include from file - -- Jump types - "short", "near", "far", - -- Preprocessor directives - "define", "include", "irp", "irps", "irpv", "macro", "match", "postpone", - "purge", "rept", "restore", "restruc", "struc", - -- Macro directives - "common", "forward", "local", "reverse", - -- Directive operators - "align", "as", "at", "defined", "dup", "eq", "eqtype", "from", "in", "on", - "ptr", "relativeto", "used", - -- AVX-512 rounding modes - "rd", "rn", "ru", "rz", "sae", - -- Memory operand modifiers (unity multiplier) - "1to2", "1to4", "1to8", "1to16", "1to32", "1to64", -- [See: #3] - -- Format directives - "binary", "use16", "use32", "use64", - -- MS-DOS MZ executable - "mz", - -- PE (Portable Executable) - "pe", "pe64", - "console", "gui", "native", "efi", "efiboot", "efiruntime", "dll", "wdm", - "nx", "large", - -- COFF (Common Object File Format) - "coff", - "ms", "ms64", "static", - -- ELF (Executable and Linkable Format) - "elf", "elf64", - "interpreter", "dynamic", "note", "gnustack", "gnuehframe", - -- Section directives - "code", "data", "readable", "writable", "writeable", "executable", - "shareable", "discardable", "notpageable", "linkremove", "linkinfo", - "export", "import", "resource", "fixups", - }, - }, -} - ---[[ -============================================================================== - NOTES -============================================================================== -[ 1] ESCAPED QUOTES -- Two consecutive single- ('') or double-quotes ("") inside - a string are treated as a single literal quote. The negative lookarounds - in the RegEx ensure that escaped quotes don't cause the current string to - end and immediately start a new one -- as would happen with a simpler - [=["|']=] RegEx, which "seems" to work but actually breaks single strings - into multiple one. - -[ 2] IP REGISTER -- Omission of the 'ip' register (16-bit) from the keywords - is not a mistake. Even though I've seen in it in most highlighters syntax - files I've looked into, it is not a part of FASM's reserved keywords and - no instruction refers to it, so it shouldn't be highlighted. - -[ 3] The tokens "1to32" and "1to64" are not present in "TABLE.INC", but they - are mentioned in FASM's (1.71) online documentation. So I've manually - added them to ensure backward compatibility with older code. -[ 4] OCTAL "Q" -- The alternative "q" syntax for octal numbers was introduced - in Fasm v1.71.56. -[ 5] "@@" ANONYMOUS LABELS -- The anonymous labels token "@@", "@b"/"@r" and - "@f" were manually added (not in 'TABLE.INC'). -[ 6] "$" AND "$$" -- Manually added (not in 'TABLE.INC'). I've arbitrarily - chosen to highlight them with samle color as labels, for two reasons: - (1) like labels, they define an offset in the memory space; therefore - color-sameness make sense; (2) they usually appear next to arythmetic - operators, so a different coloring is preferable. -============================================================================== - TODO / KNOWN ISSUES -============================================================================== -[ A] "Z" TOKEN -- I haven't found any references about the "z" token, and I'm - not sure how it should be handled by the highlighter. -[ B] "ZWORD" AND "DQQWORD" -- I couldn't find any references for the "zword" - and "dqqword" tokens, they are undocumented. I assume them to be Size - operators. -[ C] Labeled directives are matched only if the line is not interrputed by a - "\" character (carry on next line). Catching similar cases would have - been too complex (comments can follow the "\"). - So highlighting of this label will fail: - - some_label \ ; <- this edge case is hard to catch! - db 224 -[ D] This file contains only tokens found in FASM v1.71.60, I'm not sure if - older versions of FASM supported tokens which are now deprecated, but if - this was the case it might be worth adding them to the keywords list so - that older source code might be handled properly too. -============================================================================== - CHANGELOG -============================================================================== -v1.0 (2017/03/14) - -- First release. - -- Flat Assembler v1.71.60 (2017/03/04). - -- Highlight v3.35 (2017/02/28). -v1.1 (2017/03/14) - -- Implemented some missing features for numbers (thanks to @bitRAKE for - pointing them out): - -- DECIMAL NUMBERS FIX: implemented the (optional) "d" suffix. - -- ALL NUMBER TYPES FIX: implemented single quote (') and underscore (_) for - splitting long numbers (eg: 1'000'000 or 1_000_000). -]]
highlight/langDefs/felix.lang
@@ -1,45 +0,0 @@--Description="Felix"--Keywords={- { Id=1,- List={"all", "and", "as", "body", "call", "case", "class", "code", "const", - "define", "elif", "else", "endif", "endmatch", "except", "export", "fork", - "fun", "function", "functor", "goto", "header", "if", "in", "inf", "interface", - "lambda", "let", "match", "module", "NaN", "", "not", "of", "open", "or", - "proc", "procedure", "raise", "read", "regexp", "regmatch", "return", "struct", - "then", "to", "todo", "type", "typedef", "union", "use", "val", "var", "when", - "with", "header", "body", "code", "open", "", "use", "endl", "print", "include", - "true", "false", "not", "and", "or", "lnot", "land", "lor", "pow", "eol"},- },- { Id=2,- List={"tiny", "short", "int", "long", "vlong", "utiny", "ushort", "uint", - "ulong", "uvlong", "int8", "int16", "int32", "int64", "uint8", "uint16", - "uint32", "uint64", "float", "double", "ldouble", "", "float32", "float64", - "float80", "char", "wchar", "uchar", "string", "wstring", "ustring", "void", - "unit", "bool", "any", "address", "byte"},- },-}--Strings={- Delimiter=[["""|'''|"|']],- RawPrefix="r",-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--PreProcessor={- Prefix=[[#]],-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/fortran77.lang
@@ -1,31 +0,0 @@--Description="Fortran 77"--Identifiers=[[ [a-zA-Z_][\w\d\*]* ]]--Keywords={- { Id=1,- List={"break", "common", "continue", "date", "default", "dimension", - "do", "else", "enddo", "endif", "for", "goto", "go", "to", "if", "then", - "return", "end", "format", "write", "read", "subroutine", "function", - "switch", "program", "call", "while", "stop"},- },- { Id=2,- List={"character", "complex", "double", "precision", "real", "real*8", "integer", - "common", "logical", "implicit", "dimension", "external", "parameter"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[^[cC].*]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
highlight/langDefs/fortran90.lang
@@ -1,37 +0,0 @@--Description="Fortran 90"--Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]--Keywords={- { Id=1,- List={"accept", "endmap", "pause", "assign", "endstructure", "pointer", "automatic", "endunion", "print", "backspace", "entry", "program",- "blockdata", "equivalence", "read", "byte", "external", "readonly", "call", "find", "real", "character", "format", "record", "close",- "function", "return", "common", "goto", "rewind", "complex", "if", "rewrite", "continue", "implicit", "save", "data", "implicitnone",- "shared", "decode", "implicitundefined", "static", "definefile", "include", "stop", "delete", "inquire", "structure", "dimension", "integer",- "subroutine", "do", "intrinsic", "then", "doublecomplex", "key", "to", "doubleprecision", "logical", "type", "else", "map", "undefined",- "elseif", "namelist", "union", "encode", "none", "unlock", "end", "nospanblocks", "virtual", "enddo", "open", "volatile", "endfile", "options",- "while", "endif", "parameter", "write", "module", "interface", "use", "contains", "stop", "recursive"},- },- { Id=2,- List={"integer", "real", "double", "precision", "complex", "logical", "character"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[!]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\-|\+|\=|\/|\*|\%|\+|\-|\.|\$]]-
highlight/langDefs/frink.lang
@@ -1,62 +0,0 @@--Description="Frink"--Keywords={- { Id=1,- List={"if", "then", "else", "for", "to", "step", "next", "use", "while", -"var", "class", "interface", "return", "mod", "div", "conforms", "square", "sq", -"cubic", "cu", "squared", "cube", "is", "", "true", "TRUE", "false", "FALSE", -"", "and", "AND", "or", "OR", "NOT", "not", "nand", "NAND", "nor", "NOR", "xor", -"XOR", "implies", "IMPLIES", "dict", "println", "sin", "cos", "tan", "sec", -"csc", "cot", "arcsin", "arccos", "arcsin", "arccsc", "arcsec", "arccot", -"arctan", "floor", "ceil", "round", "round", "int", "trunc", "inv", "recip", -"sqrt", "log", "ln", "abs", "format", "format", "random", "randomBits", -"bitLength", "modPow", "binary", "ternary", "trinary", "quaternary", "quinary", -"senary", "sexenary", "septenary", "octal", "oct", "octonary", "nonary", -"decimal", "denary", "undenary", "duodecimal", "duodenary", "tridecimal", -"quattuordecimal", "quindecimal", "hexadecimal", "sexadecimal", "hex", -"septendecimal", "octodecimal", "nonadecimal", "vigesimal", "char", "uppercase", -"uc", "lowercase", "lc", "substr", "substring", "substrLen", "substringLen", "timezone", "timezones", -"now", "deltaT", "subst", "split", "join", "lines", "read", "stripHTML", "url", -"urlHost", "urlProtocol", "select", "sort", "", "newJava", "callJava", -"staticJava", "English", "en", "German", "Deutsch", "de", "Spanish", "Espanol", -"Español", "es", "French", "Francais", "Français", "fr", "Italian", "Italiano", -"it", "Portuguese", "pt", "Korean", "ko", "SimplifiedChinese", "zh", -"TraditionalChinese", "Chinese", "zt", "Russian", "ru", "Japanese", "jp", -"Dutch", "Nederlands", "nl", "FromEnglish", "from_en", "FromGerman", "from_de", -"FromSpanish", "from_es", "FromFrench", "from_fr", "FromItalian", "from_it", -"FromPortuguese", "from_pt", "FromJapanese", "from_ja", "FromKorean", "from_ko", -"FromRussian", "from_ru", "Default FromSimplifiedChinese", "from_zh", -"FromTraditionalChinese", "FromChinese", "from_zt", "FromDutch", "from_nl", -"EnglishToGerman", "en_de", "EnglishToSpanish", "en_es", "EnglishToFrench", -"en_fr", "EnglishToItalian", "en_it", "EnglishToPortuguese", "en_pt", "EnglishToKorean", "en_ko", -"EnglishToJapanese", "en_ja", "EnglishToRussian", "en_ru", -"EnglishToSimplifiedChinese", "en_zh", "EnglishToTraditionalChinese", "en_zt", -"EnglishToDutch", "en_nl", "GermanToEnglish", "Englisch", "de_en", -"GermanToFrench", "franzoesisch", "Franzoesisch", "französisch", "Französisch", -"de_fr", "SpanishToEnglish", "Inglés", "Ingles", "es_en", "SpanishToFrench", -"frances", "Frances", "francés", "Francés", "es_fr", "FrenchToEnglish", -"Anglais", "fr_en", "FrenchToGerman", "Allemand", "allemand", "fr_de", -"FrenchToSpanish", "Espagnol", "espagnol", "fr_es", "FrenchToPortuguese", -"Portugais", "portugais", "fr_pt", "FrenchToItalian", "Italien", "italien", -"fr_it", "ItalianToEnglish", "Inglese", "it_en", "ItalianToFrench", "Francese", -"francese", "it_fr", "PortugueseToEnglish", "Inglês", "pt_en", -"PortugueseToFrench", "francês", "Francês", "pt_fr", "JapaneseToEnglish", -"ja_en", "KoreanToEnglish", "ko_en", "RussianToEnglish", "ru_en", "SimplifiedChineseToEnglish", "zh_en", "TraditionalChineseToEnglish", -"ChineseToEnglish", "zt_en", "DutchToEnglish", "Engels", "nl_en"},- }-}--Strings={- Delimiter=[["""|"]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\|\=|\/|\*|\%|\|\+|\-]]
highlight/langDefs/fsharp.lang
@@ -1,55 +0,0 @@--Description="F#"--Digits=[[ (?:0x|0X|0b|0B|0o)[0-9a-fA-F]+?\w*|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?\w* ]]--Keywords={- { Id=1,- List={"abstract", "lsl", "and", "lsr", "as", "lxor", "assert", "match", "member", "asr", "mod", "begin", "module",- "class", "mutable", "namespace", "default", "new", "delegate", "null", "do", "of", "done", "open", "downcast", "or",- "downto", "override", "else", "rec", "end", "sig", "exception", "static", "false", "struct", "finally", "then", "for",- "to", "fun", "true", "function", "try", "if", "type", "in", "val", "inherit", "when", "inline", "upcast", "interface",- "while", "land", "with", "lor", "let" , "use" },- },- { Id=2,- List={"bool", "string", "int", "real", "word", "float", "unit", "option", "ref"},- },- { Id=3,- Regex=[[ [use|let]\s+(mutable\s+)?(\w+)]], Group=2- },- { Id=4,- Regex=[[\b[A-Z][a-zA-Z0-9_']*]],- },-}---- add keywords to list 3-function OnStateChange(oldState, newState, token, kwgroup)- if newState==HL_KEYWORD and kwgroup==3 then- AddKeyword(token, 3)- end- return newState-end--Strings={- Delimiter=[["|']],- RawPrefix="@",- Interpolation=[[ \{\d+\}|%\w ]]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=true,- Delimiter= { [[\(\*]],[[\*\)]],}- }-}--PreProcessor={- Prefix=[[#]],-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.|\@|\?|\^|\|]]
highlight/langDefs/fx.lang
@@ -1,41 +0,0 @@--Description="Java FX"--Keywords={- { Id=1,- List={- "abstract", "after", "and", "as", "assert", "at", "attribute", "before", "bind",- "bound", "break", "catch", "class", "continue", "def", "delete", "else",- "exclusive", "extends", "false", "finally", "first", "for", "from", "function",- "if", "import", "indexof", "in", "init", "insert", "instanceof", "into",- "inverse", "last", "lazy", "mixin", "mod", "new", "not", "null", "on", "or",- "override", "package", "postinit", "private", "protected", "public-init",- "public", "public-read", "replace", "return", "reverse", "sizeof", "static",- "step", "super", "then", "this", "throw", "trigger", "true", "try", "tween",- "typeof", "var", "where", "while", "with"- }- },-- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["|']]-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/gambas.lang
@@ -1,62 +0,0 @@--Description="Gambas"--Identifiers=[[ [a-zA-Z_]+\$? ]]--Keywords={- { Id=1,- List={"abs", "dim", "ispunct", "replace$", "access", "dir", "isshort",- "return", "acos", "div", "issingle", "right$", "acosh", "do", "isspace",- "rinstr", "alloc", "else", "isstring", "rmdir", "and", "end", "isucase", "rnd",- "and", "if", "end", "select", "kill", "rol", "ang", "end", "with", "labels",- "ror", "append", "endif", "round", "eof", "last", "rtrim$", "error", "lcase$",- "scan", "as", "error", "to", "left$", "sconv$", "asc", "eval", "len", "second",- "asin", "event", "library", "seek", "asinh", "event", "loop", "like", "seek",- "asl", "events", "declaration", "line", "input", "select", "asr", "exec",- "link", "sgn", "exist", "shell", "exp", "shl", "atan", "exp10", "lock", "shr",- "atan2", "exp2", "lof", "sin", "atanh", "expm", "log", "sinh", "bchg", "export",- "log10", "sleep", "bclr", "extern", "log2", "space$", "bin$", "logp", "split",- "break", "false", "loop", "sqr", "bset", "file", "&", "directory", "paths",- "lsl", "stat", "btst", "finally", "lsr", "static", "case", "fix", "ltrim$",- "step", "catch", "flush", "mag", "stop", "cbool", "for", "max", "stop", "event",- "cbr", "for", "each", "me", "str$", "cbyte", "format$", "cdate", "frac", "mid$",- "string$", "cfloat", "free", "min", "strptr", "choose", "function", "minute",- "sub", "chr$", "global", "event", "handlers", "mkdir", "subst$", "cint", "goto",- "mod", "super", "class", "hex$", "month", "swap", "clong", "hour", "move",- "tan", "close", "hyp", "new", "tanh", "comp", "if", "next", "temp$",- "comparison", "methods", "iif", "not", "then", "const", "in", "now", "time",- "constant", "declaration", "inc", "null", "timer", "continue", "inherits",- "open", "to", "conv$", "trim$", "copy", "input", "optional", "true", "cos",- "input", "from", "or", "try", "cosh", "instr", "or", "if", "typeof", "create",- "int", "output", "ucase$", "create", "private", "is", "output", "to", "unlock",- "create", "static", "isascii", "pi", "until", "cshort", "isblank", "pipe",- "csng", "isboolean", "print", "cstr", "isbyte", "private", "val", "cvariant",- "isdate", "procedure", "datatypes", "isdigit", "property", "wait", "date",- "isdir", "property", "declaration", "watch", "dateadd", "isfloat", "public",- "week", "datediff", "ishexa", "quit", "weekday", "day", "isinteger", "rad",- "wend", "dconv$", "islcase", "raise", "while", "debug", "isletter", "randomize",- "with", "dec", "islong", "rdir", "write", "default", "isnull", "read", "xor",- "deg", "isnumber", "realloc", "year", "dfree", "isobject", "repeat"- }- },-- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["|']],-}--Comments = {-- {- Block=false,- Delimiter = { [[']] }- }-}--IgnoreCase=true--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/gdb.lang
@@ -1,135 +0,0 @@--- GDB (GNU Project Debugger) Macro Language --- Keywords based on version 7.4 --Description="gdb"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Keywords={- { Id=1,- List={"if", "else", "while", "loop_break", "loop_continue", "end",- "define", "document", "source", "set", "shell", "dont-repeat" },- },- { Id=2,- List={- "access-watchpoint-packet", "actions", "active-border-mode", "ada", "address", - "add-symbol-file", "add-symbol-file-from-memory", "advance", "agent", - "agent-eval", "alias", "all", "allow-packet", "all-registers", - "always-disassemble", "always-inserted", "annotate", "append", "apply", - "apropos", "arch", "architecture", "args", "array", "array-indexes", - "asm-demangle", "assert", "attach", "attach-packet", "auto", "auto-hw", - "auto-load-scripts", "auto-retry", "auto-solib-add", "auxv", "awatch", - "backtrace", "basenames-may-differ", "binary", "binary-download-packet", - "bookmark", "bookmarks", "border-kind", "border-mode", "break", "breakpoint", - "breakpoints", "break-range", "bt", "call", "can-use-hw-watchpoints", - "case-sensitive", "catch", "cd", "charset", "check", "check-physname", - "checkpoint", "checkpoints", "check-symtabs", "child", "circular-trace-buffer", - "classes", "clear", "cmdline", "coerce-float-to-double", "collect", "commands", - "common", "compare-sections", "complaints", "complete", "condition", - "conditional-tracepoints-packet", "confirm", "connect-timeout", "continue", - "convenience", "cooked-registers", "copying", "core", "corefile", "core-file", - "cp-abi", "cplus", "c-tdesc", "cwd", "data-directory", "dcache", "debug", - "debug-file-directory", "debugvarobj", "default-collect", "define", "delete", - "demangle", "demangle-style", "deprecate", "detach", "detach-on-fork", - "directories", "directory", "disable", "disable-randomization", - "disable-randomization-packet", "disassemble", "disassemble-next-line", - "disassembly-flavor", "disconnect", "disconnected-tracing", "displaced", - "displaced-stepping", "display", "document", "down", "down-silently", - "dummy-frames", "dump", "dump-me", "dwarf2", "dwarf2-die", "echo", "edit", - "editing", "elements", "enable", "endian", "entry-values", "environment", - "exception", "exe", "exec", "exec-direction", "exec-done-display", "exec-file", - "exec-wrapper", "expand", "expand-once", "expansion", "expression", - "extended-prompt", "extended-remote", "extension-language", "extensions", - "fast-tracepoints-packet", "fetch-register-packet", "file", "filename", - "files", "find", "finish", "first_component", "float", "flushregs", - "follow-exec-mode", "follow-fork-mode", "fork", "forward-search", "frame", - "frame-arguments", "ftrace", "function", "functions", "gdb-index", - "generate-core-file", "get", "get-thread-information-block-address-packet", - "get-thread-local-storage-address-packet", "gnutarget", "goto", "handle", - "hardware-breakpoint-limit", "hardware-breakpoint-packet", - "hardware-watchpoint-length-limit", "hardware-watchpoint-limit", "hbreak", - "height", "help", "history", "host-charset", "hostio-close-packet", - "hostio-open-packet", "hostio-pread-packet", "hostio-pwrite-packet", - "hostio-readlink-packet", "hostio-unlink-packet", "ignore", "ihex", - "inaccessible-by-default", "inferior", "inferior-events", "inferiors", - "inferior-tty", "info", "infrun", "init-if-undefined", "input-radix", - "insn-number-max", "inspect", "install-in-trace-packet", "interactive-mode", - "internal-error", "internal-warning", "interpreter-exec", "interrupt", - "interrupt-on-connect", "interrupt-sequence", "jit", "jump", "kill", - "kill-packet", "language", "library-info-packet", "library-info-svr4-packet", - "libthread-db", "libthread-db-search-path", "limit", "line", "line-size", - "lin-lwp", "list", "list-overlays", "listsize", "load", "load-target", - "locals", "logging", "macro", "macros", "maintenance", "make", "manual", - "map-overlay", "mappings", "max-cache-age", "max-symbolic-offset", - "max-user-call-depth", "may-insert-breakpoints", "may-insert-fast-tracepoints", - "may-insert-tracepoints", "may-interrupt", "may-write-memory", - "may-write-registers", "mem", "memory", "memory-map-packet", "memory-query", - "memory-read-packet-size", "memory-write-packet-size", "monitor", "msymbols", - "multiple-symbols", "multi-thread", "name", "namespace", "next", "nexti", "ni", - "noack-packet", "none", "non-stop", "nosharedlibrary", "null-stop", "object", - "objfiles", "observer", "off", "on", "once", "opaque-type-resolution", "os", - "osabi", "osdata-packet", "output", "output-radix", "outside", "overlay", - "overload", "overload-resolution", "overwrite", "packet", "pagination", - "parser", "pascal_static-members", "passcount", "pass-signals-packet", - "past-entry", "past-main", "path", "paths", "pc", "pending", "p-packet", - "P-packet", "pretty", "pretty-printer", "print", "printf", "print-object", - "print-stack", "proc", "profile", "program", "program-spaces", "prompt", - "psymbols", "psymtabs", "ptype", "put", "pwd", "python", - "query-attached-packet", "quit", "radix", "range", "raw-registers", "rbreak", - "rc", "read-aux-vector-packet", "read-fdpic-loadmap-packet", - "read-sdata-object-packet", "read-siginfo-object-packet", - "read-spu-object-packet", "read-watchpoint-packet", "record", "record-core", - "redirect", "reggroups", "register-groups", "registers", "remote", - "remoteaddresssize", "remotebaud", "remotebreak", "remotecache", "remoteflow", - "remotelogbase", "remotelogfile", "remote-registers", "remotetimeout", - "remotewritesize", "repeats", "restart", "restore", "return", - "reverse-continue", "reverse-continue-packet", "reverse-finish", - "reverse-next", "reverse-nexti", "reverse-search", "reverse-step", - "reverse-stepi", "reverse-step-packet", "rni", "rsi", "run", "run-packet", - "rwatch", "save", "save-tracepoints", "schedule-multiple", "scheduler-locking", - "scope", "script-extension", "search", "search-memory-packet", "section", - "sections", "select-frame", "selectors", "serial", "set-register-packet", - "sevenbit-strings", "sharedlibrary", "show", "show-debug-regs", "si", "signal", - "signals", "size", "skip", "software-breakpoint-packet", - "solib-absolute-prefix", "solib-search-path", "source", "sources", "space", - "srec", "stack", "stack-cache", "start", "stat", "static-members", - "static-tracepoint-markers", "static-tracepoints-packet", "statistics", - "status", "step", "stepi", "step-mode", "stepping", "stop", "stop-at-limit", - "stop-on-solib-events", "strace", "struct-convention", "substitute-path", - "supported-packets-packet", "symbol", "symbol-file", "symbol-filename", - "symbol-lookup-packet", "symbol-reloading", "symbols", "symtabs", "syscall", - "sysroot", "system-call-allowed", "target", "target-async", "target-charset", - "target-features-packet", "target-file-system-kind", "target-stack", - "target-wide-charset", "task", "tasks", "tbreak", "tcatch", "tcp", "tdesc", - "tdump", "tekhex", "terminal", "teval", "tfile", "tfind", "thbreak", "thread", - "thread-events", "threads", "threads-packet", "throw", "time", "timestamp", - "tp", "trace", "trace-commands", "traceframe-info-packet", "trace-notes", - "tracepoint", "tracepoints", "TracepointSource-packet", "trace-stop-notes", - "trace-user", "translate-address", "trust-PAD-over-XVS", - "trust-readonly-sections", "tsave", "tstart", "tstatus", "tstop", "tty", "tui", - "tvariable", "tvariables", "type", "types", "undef", "undeprecate", - "undisplay", "union", "unmap-overlay", "until", "unwindonsignal", - "unwind-on-terminating-exception", "up", "up-silently", "user", "value", - "values", "variable", "variables", "vector", "verbose", - "verbose-resume-packet", "version", "vfork", "vtbl", "warranty", "watch", - "watchdog", "watchpoints", "whatis", "where", "while-stepping", "width", "win", - "write", "write-siginfo-object-packet", "write-spu-object-packet", - "write-watchpoint-packet", "ws", "xml", "X-packet", "Z-packet", - },- },-}--Strings={- Delimiter=[["|'|`]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/gdscript.lang
@@ -1,227 +0,0 @@---[[******************************************************************************- * *- * GDScript Language Definition *- * *- * v1.0 - 2017/02/16 *- * *- ******************************************************************************-- GDScript language definition for Godot Engine script files:- https://godotengine.org/- Godot Engine 2.1.2.- ------------------------------------------------------------------------------- Written by Tristano Ajmone:- <tajmone@gmail.com>- https://github.com/tajmone- Released into the public domain according to the Unlicense licsense:- http://unlicense.org/- ------------------------------------------------------------------------------- Project repository:- https://github.com/tajmone/gdscript-highlight- ------------------------------------------------------------------------------- For each element group definition there is a comment specifying the color used- in Godot editor's default theme to highlight that particulare element. This is- to help keeping track of the various elements during tests, and to create a- stylesheet mimicking the original look and feel of Godot's editor.- Color here are given as hex values representing them as they appear on screen- (unlike Godot theme files, which contain alpha values).- Color names were calculated using NTC (Name That Color) tool:- -- https://github.com/tajmone/name-that-color- ------------------------------------------------------------------------------- ]]--Description="GDScript"--IgnoreCase=false--Keywords={- { Id=1, -- Keywords #FFFFB3 -- "Portafino" Yellow- List={ - -- ========== KEYOWRDS ==========- -- Keywords list taken from 'gd_script.cpp':- -- operators- "and",- "in",- "not",- "or",- -- types and values- "bool",- "false",- "float",- "int",- "null",- "PI",- "self",- "true",- -- functions- "assert",- "breakpoint",- "class",- "extends",- "func",- "preload",- "setget",- "signal",- "tool",- "yield",- -- var- "const",- "enum",- "export",- "onready",- "static",- "var",- -- control flow- "break",- "continue",- "elif",- "else",- "for",- "if",- "master",- "match",- "pass",- "remote",- "return",- "slave",- "sync",- "while",- -- ========== FUNCTIONS ==========- -- Functions list taken from 'gd_functions.cpp':- "abs",- "acos",- "asin",- "atan",- "atan2",- "bytes2var",- "ceil",- "char",- "clamp",- "Color8",- "ColorN",- "convert",- "cos",- "cosh",- "db2linear",- "decimals",- "dectime",- "deg2rad",- "dict2inst",- "ease",- "exp",- "floor",- "fmod",- "fposmod",- "funcref",- "hash",- "inst2dict",- "instance_from_id",- "is_inf",- "is_nan",- "lerp",- "linear2db",- "load",- "log",- "max",- "min",- "nearest_po2",- "parse_json",- "pow",- "print",- "print_stack",- "printerr",- "printraw",- "prints",- "printt",- "rad2deg",- "rand_range",- "rand_seed",- "randf",- "randi",- "randomize",- "range",- "round",- "seed",- "sign",- "sin",- "sinh",- "sqrt",- "stepify",- "str",- "str2var",- "tan",- "tanh",- "to_json",- "type_exists",- "typeof",- "validate_json",- "var2bytes",- "var2str",- "weakref",- },- },- { Id=2, -- Core Types #A3FFD4 -- "Aquamarine" Green- List={- -- ========== CORE TYPES (aka Base Types) ==========- -- TAKEN FROM 'script_text_editor.cpp':- "AABB",- "Color",- "Image",- "InputEvent",- "Matrix3",- "NodePath",- "Plane",- "Quat",- "Rect2",- "Transform",- "Vector2",- "Vector3",- },- },- { Id=3, -- Functions #66A1CD -- "Danube" Blue- Regex=[[ ([a-zA-Z_][a-zA-Z_0-9]*)(?:(\s*)?\() ]],- Group=1- },- { Id=4, -- Member vars #E64D59 -- "Mandy" Red- Regex=[[ (?<=\.)([a-zA-Z_][a-zA-Z_0-9]*) ]],- Group=1- },-}--Comments={ -- #973D1A -- "Cumin" Red- { Block=false,- Nested=false,- Delimiter = { [[#]] }- }-}--Strings={ -- #EF6EBD -- "Hot Pink"- Delimiter=[["""|'''|"|']],- Escape=[=[\\[abtnvfr'"\\/"]|\\u[[:xdigit:]]{4}]=],- Interpolation=[[ (?<!%)%[0-9-+*.]{0,}[scdoxXf] ]]---[[================================= DEV NOTES ==================================- ESCAPE SEQUENCES were modeled according to Godot source code:- "/modules/gdscript/gd_tokenizer.cpp" (lines: 604-)- - The following escape sequences are matched by 'Escape' RegEx:- \a \b \t \n \v \f \r \' \" \\ \/- - \uhhhh (universal character names): "\u" followed by four hex digits (h)- representing a Unicode code point.-- NOTE: Hexadecimal (\xhh...) and Octal (\nnn) escape sequences are unsupported- as they appear to be depreacted in GDScript ("gd_tokenizer.cpp":619).- ]]-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|\^|\||<|>|\!|\=|\/|\*|\%|\+|\-|\@]]---- Digits :: not defined. Highlight defaults seem to work alright enough.----[[==============================================================================- CHANGELOG - ==============================================================================- v1.0 (2017/02/16)- -- First release.- -- Godot Engine 2.1.2.- ]]
highlight/langDefs/go.lang
@@ -1,42 +0,0 @@-Description="Go"--Keywords={- { Id=1,- List={ "break", "default", "func", "interface", "select", "case", "defer", - "go", "map", "struct", "chan", "else", "goto", "package", "switch", "const", - "fallthrough", "if", "range", "type", "continue", "for", "import", "return", - "var"},- },- { Id=2,- List={ "bool", "byte", "float32", "float64", "int8", "int16", "int32", - "int64", "string", "uint8", "uint16", "uint32", "uint64", "float", "int", - "uint", "uintptr", "", "true", "false", "iota", "nil", "cap", "close", "closed", - "len", "make", "new", "panic", "panicln", "print", "printlnr"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}----# raw strings ` not implemented yet-Strings={- Delimiter=[["|'|`]],- Escape=[=[ \\\d{3}|\\x[[:xdigit:]]{2}|\\u[[:xdigit:]]{4}|\\U[[:xdigit:]]{8}|\\[ntvbrfa\\\?'"] ]=],- Interpolation=[[ %\w ]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\^]]--EnableIndentation=true
highlight/langDefs/graphviz.lang
@@ -1,78 +0,0 @@--Description="Graphviz"--Keywords={- { Id=1,- List={"digraph", "graph", "node", "edge", "subgraph", "strict"},- },- { Id=2,- List={"bottomlabel", "color", "comment", "distortion", "fillcolor", - "fixedsize", "fontcolor", "fontname", "fontsize", "group", "height", "label", - "layer", "orientation", "peripheries", "regular", "shape", "shapefile", "sides", - "skew", "style", "toplabel", "width", "z", "arrowhead", "arrowsize", - "arrowtail", "color", "comment", "constraint", "decorate", "dir", "fontcolor", - "fontname", "fontsize", "headlabel", "headport", "headurl", "label", - "labelangle", "labeldistance", "labelfloat", "labelfontcolor", "labelfontname", - "labelfontsize", "layer", "lhead", "ltail", "minlen", "samehead", "sametail", - "style", "taillabel", "tailport", "tailurl", "weight", "bgcolor", "center", - "clusterrank", "color", "comment", "compound", "concentrate", "fillcolor", - "fontcolor", "fontname", "fontpath", "fontsize", "label", "labeljust", - "labelloc", "layers", "margin", "mclimit", "nodesep", "nslimit", "nslimitl", - "ordering", "orientation", "page", "pagedir", "quantum", "rank", "rankdir", - "ranksep", "ratio", "remincross", "rotate", "samplepoints", "searchsize", - "size", "style", "url", "splines"},- },- { Id=3,- List={"none", "normal", "inv", "dot", "odot", "invdot", "invodot", "open", - "halfopen", "empty", "invempty", "diamond", "odiamond", "box", "obox", "tee", - "crow", "box", "polygon", "ellipse", "circle", "point", "egg", "triangle", - "plaintext", "diamond", "trapezium", "parallelogram", "house", "hexagon", - "octagon", "doublecircle", "doubleoctagon", "tripleoctagon", "invtriangle", - "invtrapezium", "invhouse", "mdiamond", "msquare", "mcircle", "record", - "mrecord", "epsf", "turquoise", "antiquewhite", "coral", "darkgoldenrod", - "azure", "crimson", "gold", "bisque", "darksalmon", "goldenrod", "aliceblue", - "blanchedalmond", "deeppink", "greenyellow", "blue", "cornsilk", "firebrick", - "lightgoldenrod", "blueviolet", "floralwhite", "hotpink", - "lightgoldenrodyellow", "cadetblue", "gainsboro", "indianred", "lightyellow", - "cornflowerblue", "ghostwhite", "lightpink", "palegoldenrod", "darkslateblue", - "honeydew", "lightsalmon", "yellow", "deepskyblue", "ivory", "maroon", - "yellowgreen", "dodgerblue", "lavender", "mediumvioletred", "indigo", - "lavenderblush", "orangered", "lightblue", "lemonchiffon", "palevioletred", - "chartreuse", "lightskyblue", "linen", "pink", "darkgreen", "lightslateblue", - "mintcream", "red", "darkolivegreen", "mediumblue", "mistyrose", "salmon", - "darkseagreen", "mediumslateblue", "moccasin", "tomato", "forestgreen", - "midnightblue", "navajowhite", "violetred", "green", "navy", "oldlace", - "greenyellow", "navyblue", "papayawhip", "browns", "lawngreen", "powderblue", - "peachpuff", "beige", "lightseagreen", "royalblue", "seashell", "brown", - "limegreen", "skyblue", "snow", "burlywood", "mediumseagreen", "slateblue", - "thistle", "chocolate", "mediumspringgreen", "steelblue", "wheat", "darkkhaki", - "mintcream", "white", "khaki", "olivedrab", "whitesmoke", "peru", "palegreen", - "blueviolet", "rosybrown", "seagreen", "darkorchid", "saddlebrown", - "springgreen", "darkviolet", "darkslategray", "sandybrown", "yellowgreen", - "magenta", "dimgray", "sienna", "mediumorchid", "gray", "tan", "mediumpurple", - "gray", "aquamarine", "mediumvioletred", "lightgray", "oranges", "cyan", - "orchid", "lightslategray", "darkorange", "darkturquoise", "palevioletred", - "slategray", "orange", "lightcyan", "plum", "orangered", "mediumaquamarine", - "purple", "mediumturquoise", "violet", "black", "paleturquoise", "violetred", - "true", "solid", "dashed", "dotted", "bold", "invis", "filled", "diagonals"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\{\}|\-|>|<|\:|\.|\;|\,]]-
highlight/langDefs/haskell.lang
@@ -1,116 +0,0 @@--Description="Haskell"--Keywords={- { Id=1,- List={"absolute", "value", "addition", "and", "array", "boolean", "ceiling", -"character", "concatenate", "concatenation", "constant", "continuation", -"passing", "style", "cosine", "cosine", "hyperbolic", "cosine", "hyperbolic", -"inverse", "cosine", "inverse", "division", "empty", "equality", "even", -"floor", "function", "composition", "index", "lazy", "evaluation", "length", -"list", "list", "calculation", "list", "construction", "list", "insertion", -"list", "item", "modulo", "monad", "multiplication", "nint", "odd", "or", -"order", "power", "round", "sine", "sine", "hyperbolic", "sine", "hyperbolic", -"inverse", "sine", "inverse", "split", "string", "subtraction", "sum", -"tangent", "tangent", "hyperbolic", "tangent", "hyperbolic", "inverse", -"tangent", "inverse", "trigonometry", "truncation", "tuple", "True", "False"},- },- { Id=2,- List={"Array", "Bool", "BufferMode", "CalendarTime", "Char", "ClockTime", -"Complex", "Complex", "Day", "Double", "Either", "ExitCode", "FilePath", -"Float", "Handle", "HandlePosn", "Int", "Integer", "IO", "IOError", "IOMode", -"Maybe", "Month", "Ordering", "Permissions", "Ratio", "Rational", "Rational", -"Read", "ReadS", "SeekMode", "Show", "ShowS", "StdGen", "String", "TimeDiff", - "TimeLocale"},- },- { Id=3,- List={"abs", "accum", "accumArray", "acos", "acosh", "addToClockTime", -"all", "and", "any", "ap", "appendFile", "approxRational", "array", "asin", -"asinh", "assocs", "asTypeOf", "atan", "atan2", "atanh", "bounds", "bracket", -"bracket_", "break", "calendarTimeToString", "catch", "catMaybes", "ceiling", -"chr", "cis", "compare", "concat", "concatMap", "conjugate", "const", "cos", -"cosh", "cpuTimePrecision", "createDirectory", "curry", "cycle", "decodeFloat", -"defaultTimeLocale", "delete", "deleteBy", "denominator", "diffClockTimes", -"digitToInt", "div", "divMod", "doesDirectoryExist", "doesFileExist", "drop", -"dropWhile", "either", "elem", "elemIndex", "elemIndices", "elems", -"encodeFloat", "enumFrom", "enumFromThen", "enumFromThenTo", "enumFromTo", -"error", "even", "executable", "exitFailure", "exitWith", "exp", "exponent", -"fail", "filter", "filterM", "find", "findIndex", "findIndices", "flip", -"floatDigits", "floatRadix", "floatRange", "floatToDigits", "floor", "fmap", -"foldl", "foldl1", "foldM", "foldr",- "foldr1", "formatCalendarTime", "fromEnum", "fromInteger", "fromIntegral", -"fromJust", "fromMaybe", "fromRat", "fromRational", "fst", "gcd", "genericDrop", -"genericIndex", "genericLength", "genericReplicate", "genericSplitAt", -"genericTake", "getArgs", "getChar", "getClockTime", "getContents", -"getCPUTime", "getCurrentDirectory", "getDirectoryContents", "getEnv", -"getLine", "getModificationTime", "getPermissions", "getProgName", "getStdGen", -"getStdRandom", "group", "groupBy", "guard", "hClose", "head", "hFileSize", -"hFlush", "hGetBuffering", "hGetChar", "hGetContents", "hGetLine", "hGetPosn", -"hIsClosed", "hIsEOF", "hIsOpen", "hIsReadable", "hIsSeekable", "hIsWritable", -"hLookAhead", "hPrint", "hPutChar", "hPutStr", "hPutStrLn", "hReady", "hSeek", -"hSetBuffering", "hSetPosn", "hWaitForInput", "id", "imagPart", "index", -"indices", "init", "inits", "inRange", "insert", "insertBy", "interact", -"intersect", "intersectBy", "intersperse", "intToDigit", "ioeGetErrorString", -"ioeGetFileName", "ioeGetHandle", "ioError", "isAlpha", "isAlphaNum", "isAlreadyExistsError", -"isAlreadyInUseError", "isAscii", "isControl", "isDenormalized", "isDigit", -"isDoesNotExistError", "isEOF", "isEOFError", "isFullError", "isHexDigit", -"isIEEE", "isIllegalOperation", "isInfinite", "isJust", "isLatin1", "isLower", -"isNaN", "isNegativeZero", "isNothing", "isOctDigit", "isPermissionError", -"isPrefixOf", "isPrint", "isSpace", "isSuffixOf", "isUpper", "isUserError", -"iterate", "ixmap", "join", "last", "lcm", "length", "lex", "lexDigits", -"lexLitChar", "liftM", "liftM2", "liftM3", "liftM4", "liftM5", "lines", -"listArray", "listToMaybe", "log", "logBase", "lookup", "magnitude", "map", -"mapAccumL", "mapAccumR", "mapAndUnzipM", "mapM", "mapM_", "mapMaybe", "max", -"maxBound", "maximum", "maximumBy", "maybe", "maybeToList", "min", "minBound", -"minimum", "minimumBy", "mkPolar", "mkStdGen", "mod", "msum", "negate", -"newStdGen", "next", "not", "notElem", "nub", "nubBy", "null", "numerator", -"odd", "openFile", "or", "ord", "otherwise", "partition", -"phase", "pi", "polar", "pred", "print", "product", "properFraction", "putChar", -"putStr", "putStrLn", "quot", "quotRem", "random", "randomIO", "randomR", -"randomRIO", "randomRs", "randoms", "range", "rangeSize", "read", "readable", -"readDec", "readFile", "readFloat", "readHex", "readInt", "readIO", "readList", -"readLitChar", "readLn", "readOct", "readParen", "reads", "readSigned", -"readsPrec", "realPart", "realToFrac", "recip", "rem", "removeDirectory", -"removeFile", "renameDirectory", "renameFile", "repeat", "replicate", "return", -"reverse", "round", "scaleFloat", "scanl", "scanl1", "scanr", "scanr1", -"searchable", "seq", "sequence", "sequence_", "setCurrentDirectory", -"setPermissions", "setStdGen", "show", "showChar", "showEFloat", "showFFloat", -"showFloat", "showGFloat", "showInt", "showList", "showLitChar", "showParen", -"shows", "showSigned", "showsPrec", "showString", "significand", "signum", -"sin", "sinh", "snd", "sort", "sortBy", "split", "splitAt", "sqrt", "stderr", -"stdin", "stdout", "subtract", "succ", "sum", "system", "tail", "tails", "take", "takeWhile", "tan", "tanh", -"toCalendarTime", "toClockTime", "toEnum", "toInteger", "toLower", "toRational", -"toUpper", "toUTCTime", "transpose", "truncate", "try", "uncurry", "undefined", -"unfoldr", "union", "unionBy", "unless", "unlines", "until", "unwords", "unzip", -"unzip3", "unzip4", "unzip5", "unzip6", "unzip7", "userError", "when", "words", -"writable", "writeFile", "zip", "zip3", "zip4", "zip5", "zip6", "zip7", -"zipWith", "zipWith3", "zipWith4", "zipWith5", "zipWith6", "zipWith7", -"zipWithM", "zipWithM_"},- },- { Id=4,- List={"as", "case", "of", "class", "data", "default", "deriving", "do", -"forall", "foreign", "hiding", "if", "then", "else", "import", "infix", -"infixl", "infixr", "instance", "let", "in", "mdo", "module", "newtype", -"qualified", "type", "where"},- },-}--Strings={- Delimiter=[["]],- Interpolation=[[ %\w ]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[--]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\{\-]],[[\-\}]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.|\'|\#|\@|\$|\\]]-
highlight/langDefs/haxe.lang
@@ -1,42 +0,0 @@--Description="haXe"--Digits=[[ (?:0x|0X)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]?\d+)?[lLuUbfdm]* ]]--Keywords={- { Id=1,- List={"function", "class", "static", "var", "if", "else", "while", "do", - "for", "break", "return", "continue", "extends", "implements", "import", - "switch", "case", "default", "private", "public", "try", "catch", "new", "this", - "throw", "extern", "enum", "in", "interface", "untyped", "cast", "override", - "typedef", "dynamic", "package", "callback", "inline", "here", "using", "never",- "super", "trace"},- },- { Id=2,- List={"Void", "Float", "Int", "Bool", "Dynamic", "true", "false", "null"},- },- { Id=3,- Regex=[[~\/.*?\/[igms]*]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
highlight/langDefs/hcl.lang
@@ -1,29 +0,0 @@--- Language definition generated by lang2to3--Description="Hecl"--Keywords={- { Id=1,- List={"append", "break", "catch", "continue", "eq", "eval", "filter", "for", - "foreach", "global", "hash", "if", "incr", "intro", "join", "lappend", "lindex", - "list", "llen", "lset", "proc", "puts", "return", "search", "set", "sindex", - "slen", "sort", "source", "split", "time", "append", "upeval", "while"},- },- { Id=2,- Regex=[[\$\w+]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\{|\}|\[|\]|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/html.lang
@@ -1,50 +0,0 @@--Description="HTML"--Keywords={- { Id=1,- Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-]+>?|[/?]?>]],- Group=0,- },- { Id=2,- Regex=[[([-\w]+)="]],- },- - - -- see http://stackoverflow.com/questions/1723182/a-regex-that-will-never-be-matched-by-anything- -- workaround to fix RTF output: nested JS has more keyword definitions, add one here which is a NOP- { Id=3,- Regex=[[\A(?!x)x]],- },- { Id=4,- Regex=[[\&\#?\w+;]],- },-}--Strings={- Delimiter=[["]],-}--Comments={- { Block=true,- Nested=false,- Delimiter= { [[<!\-\-]],[[\-\->]] }- }-}--NestedSections = {- { Lang="php", Delimiter= { [[<\?php]], [[\?>]] } },- { Lang="jsp", Delimiter= { [[<\%[@!\=]?]], [[.*(%>).*]] } },- { Lang="css", Delimiter= { [[<style\s+type\=[\'\"]text\/css[\'\"]>]], [[<\/style>]] } },- { Lang="js", Delimiter= { [[<script>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script\s+language\=\"[jJ]ava[sS]cript\"(?:\s+type\=\"text\/javascript\")?>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script\s+language=[\"\'][jJ]ava[sS]cript[\"\'](?:\s+type=[\"\']text/javascript[\"\'])?[^>]*>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script(?:\s+type=[\"\']text/javascript[\"\'])\s+language=[\"\'][jJ]ava[sS]cript[\"\']?[^>]*>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script(?:\s+type=[\"\']text/javascript[\"\'])>]], [[<\/script>]] } },- --{ Lang="python", Delimiter= { [[\{%]], [[%\}]] } },- --{ Lang="python", Delimiter= { [[\{\{]], [[\}\}]] } },-- --{ Lang="php", Delimiter= { [[<\?\=]], [[\?>]] } },-}--IgnoreCase=true
highlight/langDefs/httpd.lang
@@ -1,93 +0,0 @@--Description="Apache Config"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Keywords={- { Id=1,- List={"AccessConfig", "AccessFileName", "Action", "AddAlt", - "AddAltByEncoding", "AddAltByType", "AddCharset", "AddDefaultCharset", - "AddDescription", "AddEncoding", "AddHandler", "AddIcon", "AddIconByEncoding", - "AddIconByType", "AddLanguage", "AddModule", "AddModuleInfo", "AddType", - "AgentLog", "Alias", "AliasMatch", "Allow", "AllowCONNECT", "AllowOverride", - "Anonymous", "Anonymous_Authoritative", "Anonymous_LogEmail", - "Anonymous_MustGiveEmail", "Anonymous_NoUserID", "Anonymous_VerifyEmail", - "AuthAuthoritative", "AuthDBAuthoritative", "AuthDBGroupFile", - "AuthDBMAuthoritative", "AuthDBMGroupFile", "AuthDBMGroupFile", - "AuthDBMUserFile", "AuthDBUserFile", "AuthDigestFile", "AuthGroupFile", - "AuthName", "AuthType", "AuthUserFile", "BindAddress", "BrowserMatch", - "BrowserMatchNoCase", "BS2000Account", "CacheDefaultExpire", "CacheDirLength", - "CacheDirLevels", "CacheForceCompletion", "CacheGcInterval", - "CacheLastModifiedFactor", "CacheMaxExpire", "CacheNegotiatedDocs", "CacheRoot", - "CacheSize", "CheckSpelling", "ClearModuleList", "ContentDigest", - "CookieExpires", "CookieLogCookieLog", "CookieTracking", "CoreDumpDirectory", - "CustomLog", "DefaultIcon", "DefaultLanguage", "DefaultType", "Deny", - "DirectoryIndex", "DocumentRoot", "ErrorDocument", "ErrorLog", "Example", - "ExpiresActive", "ExpiresByType", "ExpiresDefault", "ExtendedStatus", - "FancyIndexing", "ForceType", "Group", "Header", "HeaderName", - "HostNameLookups", "IdentityCheck", "ImapBase", "ImapDefault", "ImapMenu", - "Include", "IndexIgnore", "IndexOptions", "IndexOrderDefault", - "ISAPIAppendLogToErrors", "ISAPIAppendLogToQuery", "ISAPILogNotSupported", - "ISAPIReadAheadBuffer", "KeepAlive", "KeepAliveTimeout", "LanguagePriority", - "LimitRequestBody", "LimitRequestFields", "LimitRequestFieldsize", - "LimitRequestLine", "Listen", "ListenBacklog", "LoadFile", "LoadModule", - "LockFile", "LogFormat", "LogLevel", "MaxClients", "MaxKeepAliveRequests", - "MaxRequestsPerChild", "MaxSpareServers", "MetaDir", "MetaFiles", "MetaSuffix", - "MimeMagicFile", "MinSpareServers", "MMapFile", "NameVirtualHost", "NoCache", - "Options", "Order", "PassEnv", "PidFile", "Port", "ProxyBlock", "ProxyDomain", - "ProxyPass", "ProxyPassReverse", "ProxyReceiveBufferSize", "ProxyRemote", - "ProxyRequests", "ProxyVia", "ReadmeName", "Redirect", "RedirectMatch", - "RedirectPermanent", "RedirectTemp", "RefererIgnore", "RefererLog", - "RemoveEncoding", "RemoveHandler", "RemoveType", "Require", "ResourceConfig", - "RewriteBase", "RewriteCond", "RewriteEngine", "RewriteLock", "RewriteLog", - "RewriteLogLevel", "RewriteMap", "RewriteOptions", "RewriteRule", "RLimitCPU", - "RLimitMEM", "RLimitNPROC", "Satisfy", "ScoreBoardFile", "Script", - "ScriptAlias", "ScriptAliasMatch", "ScriptInterpreterSource", "ScriptLog", - "ScriptLogBuffer", "ScriptLogLength", "SendBufferSize", "ServerAdmin", - "ServerAlias", "ServerName", "ServerPath", "ServerRoot", "ServerSignature", - "ServerTokens", "ServerType", "SetEnv", "SetEnvIf", "SetEnvIfNoCase", - "SetHandler", "StartServers", "ThreadsPerChild", "TimeOut", "TransferLog", - "TypesConfig", "UnsetEnv", "UseCanonicalName", "User", "UserDir", - "VirtualDocumentRoot", "VirtualDocumentRootIP", "VirtualScriptAlias", - "VirtualScriptAliasIP", "XBitHack"},- },- { Id=2,- List={"alert", "All", "any", "Ascending", "AuthConfig", "Basic", "block", - "cgi-script", "CONNECT", "COPY", "crit", "Date", "debug", "DELETE", - "Descending", "Description", "Digest", "dns", "double", "EMail", "emerg", - "error", "ExecCGI", "FileInfo", "FollowSymLinks", "formatted", "from", "Full", - "GET", "Host", "imap-file", "Includes", "IncludesNOEXEC", "Indexes", "inetd", - "info", "isapi-isa", "Limit", "LOCK", "map", "max", "Minimal", "MKCOL", "MOVE", - "MultiViews", "Name", "nocontent", "None", "notice", "Off", "On", "OS", "PATCH", - "POST", "ProductOnly", "PROPFIND", "PROPPATCH", "PUT", "referer", "Remote_Addr", - "Remote_Host", "Remote_User", "Request_Method", "Request_Protocol", - "Request_URI", "semiformatted", "send-as-is", "server-parsed", "server-status", - "Size", "standalone", "SymLinksIfOwnerMatch", "TRACE", "type-map", - "unformatted", "UNLOCK", "valid-user", "warn"},- },-- { Id=1,- Regex=[[<!?\/?\w+>?|/?>]],- },- { Id=2,- Regex=[[([-\w]+)="]],- },- { Id=3,- Regex=[[\&\#?\w+;]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/icon.lang
@@ -1,36 +0,0 @@--Description="Icon"--Keywords={- { Id=1,- List={"by", "case", "", "create", "default", "do", "else", "every", "if", "initial", "next", "of", "repeat", "then", "to", "until", "while", "break",- "end", "fail", "global", "invocable", "link", "local", "procedure", "record", "return", "static", "suspend"},- },- { Id=2,- List={"co-expression", "cset", "tfile", "integer", "list", "null", "real", "set", "string", "table", "window"},- },- { Id=3,- Regex=[[\&\w+]]- },- { Id=3,- Regex=[[\$\w+]]- },- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|<|>|\!|\-|\+|\=|\/|\*|\+|\-|\~]]-
highlight/langDefs/idl.lang
@@ -1,47 +0,0 @@- -- Language definition generated by lang2to3--Description="IDL"--Keywords={- { Id=1,- List={"case", "coclass", "", "dispinterface", "enum", "interface", "library", "module", "pipe", "struct", "switch", "typedef", "union"},- },- { Id=2,- List={"auto", "boolean", "bstr", "byte", "char", "double", "error_status_t", - "float", "handle_t", "hbitmap", "henhmetafile", "hglobal", "hmetafile", - "hmetafile_pict", "hpalette", "hresult", "hyper", "int", "long", "safearray", - "short", "signed", "small", "unsigned", "variant", "variant_bool", "void", - "wchar_t", "aggregatable", "appobject", "", "bindable", "broadcast", "callback", - "const", "context_handle", "control", "custom", "default", "defaultbind", - "defaultcollelem", "defaultvalue", "defaultvtable", "displaybind", "dllname", - "dual", "endpoint", "entry", "first_is", "handle", "helpcontext", "helpfile", - "helpstring", "helpstringcontext", "helpstringdll", "hidden", "id", - "idempotentent", "ignore", "iid_is", "immediatebind", "in", "last_is", "lcid", - "length_is", "licensed", "local", "max_is", "maybe", "message", "ms_union", - "nonbrowsable", "noncreatable", "nonextensible", "object", "oleautomation", - "optional", "out", "pointer_default", "propget", "propput", "propputref", "ptr", - "public", "range", "readonly", "ref", "requestedit", "restricted", "retval", - "size_is", "source", "string", "switch_is", "switch_type", "transmit_as", - "uidefault", "unique", "user_marshal", "usesgetlasterror", "uuid", "v1_enum", - "vararg", "version", "wire_marshal"},- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[//]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/idlang.lang
@@ -1,153 +0,0 @@--Description="Interactive Data Language"--Identifiers=[[ [a-zA-Z_][\w\d\*]* ]]--Keywords={- { Id=1,- List={"pro", "function"},- },- { Id=2,- List={"a_correlate", "abs", "acos", "adapt_hist_equal", "alog", "alog10", - "amoeba", "annotate", "arg_present", "array_equal", "arrow", "ascii_template", - "asin", "assoc", "atan", "axis", "bar_plot", "beseli", "beselj", "beselk", - "besely", "beta", "bilinear", "bin_date", "binary_template", "bindgen", - "binomial", "blas_axpy", "blk_con", "box_cursor", "break", "breakpoint", - "broyden", "bytarr", "byte", "byteorder", "bytscl", "c_correlate", "caldat", - "calendar", "call_external", "call_function", "call_method", "call_procedure", - "catch", "cd", "ceil", "chebyshev", "check_math", "chisqr_cvf", "chisqr_pdf", - "choldc", "cholsol", "cindgen", "cir_3pnt", "close", "clust_wts", "cluster", - "color_convert", "color_quan", "colormap_applicable", "comfit", "common", - "complex", "complexarr", "complexround", "compute_mesh_normals", "cond", - "congrid", "conj", "constrained_min", "contour", "convert_coord", "convol", - "coord2to3", "correlate", "cos", "cosh", "cramer", "create_struct", - "create_view", "crossp", "crvlength", "ct_luminance", "cti_test", "cursor", - "curvefit", "cv_coord", "cvttobm", "cw_animate", "cw_animate_getp", - "cw_animate_load", "cw_animate_run", "cw_arcball", "cw_bgroup", "cw_clr_index", - "cw_colorsel", "cw_defroi", "cw_field", "cw_filesel", "cw_form", "cw_fslider", - "cw_light_editor", "cw_light_editor_get", "cw_light_editor_set", "cw_orient", - "cw_palette_editor", "cw_palette_editor_get", "cw_palette_editor_set", - "cw_pdmenu", "cw_rgbslider", "cw_tmpl", "cw_zoom", "dblarr", "dcindgen", - "dcomplex", "dcomplexarr", "define_key", "defroi", "defsysv", "delete_symbol", - "dellog", "delvar", "deriv", "derivsig", "determ", "device", "dfpmin", - "dialog_message", "dialog_pickfile", "dialog_printersetup", "dialog_printjob", - "dialog_read_image", "dialog_write_image", "digital_filter", "dilate", - "dindgen", "dissolve", "dist", "dlm_load", "dlm_register", "do_apple_script", - "doc_library", "double", "draw_roi", "efont", "eigenql", "eigenvec", "elmhes", - "empty", "enable_sysrtn", "eof", "erase", "erode", "errorf", "errplot", - "execute", "exit", "exp", "expand", "expand_path", "expint", "extrac", - "extract_slice", "f_cvf", "f_pdf", "factorial", "fft", "file_chmod", - "file_delete", "file_expand_path", "file_mkdir", "file_test", "file_which", - "filepath", "findfile", "findgen", "finite", "fix", "flick", "float", "floor", - "flow3", "fltarr", "flush", "for", "format_axis_values", "forward_function", - "free_lun", "fstat", "fulstr", "funct", "fv_test", "fx_root", "fz_roots", - "gamma", "gamma_ct", "gauss_cvf", "gauss_pdf", "gauss2dfit", "gaussfit", - "gaussint", "get_drive_list", "get_kbrd", "get_lun", "get_screen_size", - "get_symbol", "getenv", "goto", "grid_tps", "grid3", "gs_iter", "h_eq_ct", - "h_eq_int", "hanning", "heap_gc", "help", "hilbert", "hist_2d", "hist_equal", - "histogram", "hls", "hough", "hqr", "hsv", "ibeta", "identity", "idl_container", - "idlanroi", "idlanroigroup", "idlffdicom", "idlffdxf", "idlfflanguagecat", - "idlffshape", "idlgraxis", "idlgrbuffer", "idlgrclipboard", "idlgrcolorbar", - "idlgrcontour", "idlgrfont", "idlgrimage", "idlgrlegend", "idlgrlight", - "idlgrmodel", "idlgrmpeg", "idlgrpalette", "idlgrpattern", "idlgrplot", - "idlgrpolygon", "idlgrpolyline", "idlgrprinter", "idlgrroi", "idlgrroigroup", - "idlgrscene", "idlgrsurface", "idlgrsymbol", "idlgrtessellator", "idlgrtext", - "idlgrview", "idlgrviewgroup", "idlgrvolume", "idlgrvrml", "idlgrwindow", - "igamma", "image_cont", "image_statistics", "imaginary", "indgen", "int_2d", - "int_3d", "int_tabulated", "intarr", "interpol", "interpolate", "invert", - "ioctl", "ishft", "isocontour", "isosurface", "journal", "julday", - "keyword_set", "krig2d", "kurtosis", "kw_test", "l64indgen", "label_date", - "label_region", "ladfit", "laguerre", "leefilt", "legendre", "linbcg", - "lindgen", "linfit", "linkimage", "live_contour", "live_control", - "live_destroy", "live_export", "live_image", "live_info", "live_line", - "live_load", "live_oplot", "live_plot", "live_print", "live_rect", "live_style", - "live_surface", "live_text", "ljlct", "ll_arc_distance", "lmfit", "lmgr", - "lngamma", "lnp_test", "loadct", "locale_get", "lon64arr", "lonarr", "long", - "long64", "lsode", "lu_complex", "ludc", "lumprove", "lusol", "m_correlate", - "machar", "make_array", "make_dll", "map_2points", "map_continents", "map_grid", - "map_image", "map_patch", "map_proj_info", "map_set", "matrix_multiply", - "md_test", "mean", "meanabsdev", "median", "memory", "mesh_clip", - "mesh_decimate", "mesh_issolid", "mesh_merge", "mesh_numtriangles", "mesh_obj", - "mesh_smooth", "mesh_surfacearea", "mesh_validate", "mesh_volume", "message", - "min_curve_surf", "mk_html_help", "modifyct", "moment", "morph_close", - "morph_distance", "morph_gradient", "morph_hitormiss", "morph_open", - "morph_thin", "morph_tophat", "mpeg_close", "mpeg_open", "mpeg_put", - "mpeg_save", "msg_cat_close", "msg_cat_compile", "msg_cat_open", "multi", - "n_elements", "n_params", "n_tags", "newton", "norm", "obj_class", - "obj_destroy", "obj_isa", "obj_new", "obj_valid", "objarr", "on_error", - "on_ioerror", "online_help", "open", "openr", "openw", "oplot", "oploterr", - "p_correlate", "particle_trace", "pcomp", "plot", "plot_3dbox", "plot_field", - "ploterr", "plots", "pnt_line", "point_lun", "polar_contour", "polar_surface", - "poly", "poly_2d", "poly_area", "poly_fit", "polyfill", "polyfillv", - "polyshade", "polywarp", "popd", "powell", "primes", "print", "printf", - "printd", "profile", "profiler", "profiles", "project_vol", "ps_show_fonts", - "psafm", "pseudo", "ptr_free", "ptr_new", "ptr_valid", "ptrarr", "pushd", - "qromb", "qromo", "qsimp", "r_correlate", "r_test", "radon", "randomn", - "randomu", "ranks", "rdpix", "read", "readf", "read_ascii", "read_binary", - "read_bmp", "read_dicom", "read_image", "read_interfile", "read_jpeg", - "read_pict", "read_png", "read_ppm", "read_spr", "read_srf", "read_sylk", - "read_tiff", "read_wav", "read_wave", "read_x11_bitmap", "read_xwd", "reads", - "readu", "rebin", "recall_commands", "recon3", "reduce_colors", "reform", - "regress", "replicate", "replicate_inplace", "resolve_all", "resolve_routine", - "restore", "retall", "return", "reverse", "rewind", "rk4", "roberts", "rot", - "rotate", "round", "routine_info", "rs_test", "s_test", "save", "savgol", - "scale3", "scale3d", "search2d", "search3d", "set_plot", "set_shading", - "set_symbol", "setenv", "setlog", "setup_keys", "sfit", "shade_surf", - "shade_surf_irr", "shade_volume", "shift", "show3", "showfont", "sin", - "sindgen", "sinh", "size", "skewness", "skipf", "slicer3", "slide_image", - "smooth", "sobel", "socket", "sort", "spawn", "sph_4pnt", "sph_scat", - "spher_harm", "spl_init", "spl_interp", "spline", "spline_p", "sprsab", - "sprsax", "sprsin", "sprstp", "sqrt", "standardize", "stddev", "stop", "strarr", - "strcmp", "strcompress", "streamline", "stregex", "stretch", "string", - "strjoin", "strlen", "strlowcase", "strmatch", "strmessage", "strmid", "strpos", - "strput", "strsplit", "strtrim", "struct_assign", "struct_hide", "strupcase", - "surface", "surfr", "svdc", "svdfit", "svsol", "swap_endian", "switch", - "systime", "t_cvf", "t_pdf", "t3d", "tag_names", "tan", "tanh", "taprd", - "tapwrt", "tek_color", "temporary", "tetra_clip", "tetra_surface", - "tetra_volume", "thin", "threed", "time_test2", "timegen", "tm_test", "total", - "trace", "transpose", "tri_surf", "triangulate", "trigrid", "triql", "trired", - "trisol", "trnlog", "ts_coef", "ts_diff", "ts_fcast", "ts_smooth", "tv", - "tvcrs", "tvlct", "tvrd", "tvscl", "uindgen", "uint", "uintarr", "ul64indgen", - "ulindgen", "ulon64arr", "ulonarr", "ulong", "ulong64", "uniq", "usersym", - "value_locate", "variance", "vax_float", "vector_field", "vel", "velovect", - "vert_t3d", "voigt", "voronoi", "voxel_proj", "wait", "warp_tri", "watershed", - "wdelete", "weof", "wf_draw", "where", "widget_base", "widget_button", - "widget_control", "widget_draw", "widget_droplist", "widget_event", - "widget_info", "widget_label", "widget_list", "widget_slider", "widget_table", - "widget_text", "window", "write_bmp", "write_image", "write_jpeg", "write_nrif", - "write_pict", "write_png", "write_ppm", "write_spr", "write_srf", "write_sylk", - "write_tiff", "write_wav", "write_wave", "writeu", "wset", "wshow", "wtn", - "wv_applet", "wv_cw_wavelet", "wv_cwt", "wv_denoise", "wv_dwt", "wv_fn_coiflet", - "wv_fn_daubechies", "wv_fn_gaussian", "wv_fn_haar", "wv_fn_morlet", - "wv_fn_paul", "wv_fn_symlet", "wv_import_data", "wv_import_wavelet", - "wv_plot3d_wps", "wv_plot_multires", "wv_pwt", "wv_tool_denoise", "xbm_edit", - "xdisplayfile", "xdxf", "xfont", "xinteranimate", "xloadct", "xmanager", - "xmng_tmpl", "xmtool", "xobjview", "xpalette", "xpcolor", "xplot3d", - "xregistered", "xroi", "xsq_test", "xsurface", "xvaredit", "xvolume", - "xvolume_rotate", "xvolume_write_image", "xyouts", "zoom", "zoom_24"},- },- { Id=3,- List={"if", "else", "then", "for", "while", "case", "switch", "endcase", "endelse", "endfor", - "endswitch", "endif", "endrep", "endwhile", "repeat", "until", "continue"},- },- { Id=4,- List={"return", "continue", "mod", "do", "break", "compile_opt", "forward_function", "goto", "begin", - "common", "end", "of", "inherits", "on_ioerror", "begin", "stop", "and", "eq", "ge", "gt", - "le", "lt", "ne", "or", "xor"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]-
highlight/langDefs/inc_luatex.lang
@@ -1,46 +0,0 @@--Description="Lua (for LuaTeX)"--Keywords={- { Id=1,- List={"and", "break", "do", "else", "elseif", "end", "false", "for", "function", - "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", - "true", "until", "while"},- },- { Id=2,- List={"number", "string", "function", "userdata", "table", "assert", "call", - "collectgarbage", "copytagmethods", "dofile", "dostring", "error", "foreach", - "foreachi", "getglobal", "getn", "", "gettagmethod", "", "globals", "newtag", - "next", "print", "rawget", "rawset", "setglobal", "settag", "", "settagmethod", - "sort", "tag", "tonumber", "tostring", "tinsert", "tremove", "type", "", "abs", - "", "acos", "", "asin", "", "atan", "", "atan2", "ceil", "cos", "deg", "exp", - "floor", "log", "", "log10", "max", "min", "mod", "rad", "sin", "sqrt", "tan", - "frexp", "ldexp", "random", "randomseed", "openfile", "closefile", "readfrom", - "writeto", "appendto", "remove", "rename", "flush", "seek", "tmpname", "read", - "", "write", "clock", "date", "execute", "exit", "getenv", "setlocale", - "strbyte", "strchar", "strfind", "strlen", "strlower", "strrep", "strsub", - "strupper", "format", "gsub"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={--- this differs from lua.lang- { Block=false,- Delimiter= { [[%]] },- },- { Block=true,- Nested=false,- Delimiter= { [[ \-\-\[\[ ]],[[ \]\] ]],}- }-}--Operators=[[\(|\)|\{|\}|\[|\]|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\+|\-|\~|\#|\\|\%]]
highlight/langDefs/informix.lang
@@ -1,57 +0,0 @@--Description="Informix"--Keywords={- { Id=1,- List={"add", "after", "all", "allowing", "and", "any", "arg_val", "array", - "arr_count", "arr_curr", "as", "asc", "at", "attribute", "attributes", "auto", - "autonext", "average", "avg", "before", "between", "bottom", "by", "call", - "case", "check", "clear", "clipped", "close", "column", "columns", "command", - "comment", "comments", "commit", "composites", "connect", "construct", - "continue", "correct", "count", "current", "cursor", "database", "declare", - "default", "defer", "define", "delimiters", "desc", "describe", "display", - "displayonly", "distinct", "do", "down", "downshift", "else", "end", "entry", - "every", "execute", "exists", "exit", "extern", "false", "fetch", "field", - "finish", "first", "for", "foreach", "form", "format", "formonly", "found", - "from", "function", "globals", "group", "having", "header", "help", "if", "in", - "include", "input", "insert", "instructions", "into", "is", "joining", "key", - "label", "last", "lenght", "let", "line", "lineno", "lines", "log", "main", - "margin", "master", "matches", "max", "mdy", "menu", "message", "min", "mode", - "name", "need", "next", "nextfield", "no", "normal", "not", "notfound", "null", - "num_args", "of", "on", "open", "option", "options", "or", "order", "otherwise", - "outer", "output", "page", "pageno", "prepare", "previous", "print", "printer", - "privileges", "program", "prompt", "query", "queryclear", "quit", "record", - "register", "report", "resource", "return", "returning", "reverse", "right", - "row", "rowid", "run", "screen", "scroll", "scr_line", "select", "set", - "set_count", "share", "sizeof", "skip", "some", "sqlca", "start", "startlog", - "static", "statistics", "status", "step", "stop", "sum", "switch", "synonym", - "systables", "then", "through", "thru", "to", "top", "trailer", "true", "union", - "unique", "unlock", "up", "upshift", "user", "using", "validate", "value", - "values", "verify", "view", "waiting", "warning", "when", "whenever", "where", - "while", "with", "without", "work", "wrap"},- },- Id=2,- List={"alter", "break", "create", "delete", "drop", "editadd", "editupdate", "error", "errorlog", "err_get",-"err_print", "err_quit", "exclusive", "exitnow", "goto", "grant", "initialize", "interrupt", "lock",-"modify", "pause", "pipe", "public", "recover", "remove", "rename", "revoke", "rollback", "rollforward",-"sleep", "sqlerrd", "table", "tables", "temp", "update", "char", "date", "day", "dba", "decimal", "double", "dec",-"float", "index", "int", "integer", "like", "long", "lookup", "money", "month", "noentry", "noupdate", "percent",-"picture", "required", "short", "smallfloat", "smallint", "struct", "serial", "space", "spaces", "time",-"today", "type", "typedef", "unsigned", "weekday", "year", "zerofill"}-}--Strings={- Delimiter=[["|']],-}--Comments={- { Block=false,- Delimiter= { [[#|\-\-]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\{]],[[\}]],}- }-}--Operators=[[\(|\)|\[|\]|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
highlight/langDefs/ini.lang
@@ -1,27 +0,0 @@--Description="INI"--Keywords={- { Id=1,- Regex=[[^\s*(\[.*\])]],- },- { Id=2,- Regex=[[^\s*([^=#]+)\s*=]],- },- { Id=3,- Regex=[[^\s*[^=#]+\s*=\s*(\S.*)]],- },-}--Strings={- Delimiter=[["]],-}--Comments={- { Block=false,- Delimiter= { [[^\s*([;#].*)]] },- },-}--Operators=[[\(|\)|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/innosetup.lang
@@ -1,132 +0,0 @@--Description="Inno Setup"--Digits=[[ (?:0x|0X|\$)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]--Keywords={- { Id=1,- List={"Compression", "DiskClusterSize", "DiskSliceSize", "DiskSpanning", - "Encryption", "InternalCompressLevel", "MergeDuplicateFiles", - "OutputBaseFilename", "OutputDir", "ReserveBytes", "SlicesPerDisk", - "SolidCompression", "SourceDir", "UseSetupLdr", "VersionInfoCompany", - "VersionInfoDescription", "VersionInfoTextVersion", "VersionInfoVersion", - "AllowCancelDuringInstall", "AllowNoIcons", "AllowRootDirectory", - "AllowUNCPath", "AlwaysRestart", "AlwaysShowComponentsList", - "AlwaysShowDirOnReadyPage", "AlwaysShowGroupOnReadyPage", - "AlwaysUsePersonalGroup", "AppendDefaultDirName", "AppendDefaultGroupName", - "AppComments", "AppContact", "AppId", "AppModifyPath", "AppMutex", "AppName", - "AppPublisher", "AppPublisherURL", "AppReadmeFile", "AppSupportURL", - "AppUpdatesURL", "AppVersion", "AppVerName", "ChangesAssociations", - "CreateAppDir", "CreateUninstallRegKey", "DefaultDirName", "DefaultGroupName", - "DefaultUserInfoName", "DefaultUserInfoOrg", "DefaultUserInfoSerial", - "DirExistsWarning", "DisableDirPage", "DisableFinishedPage", - "DisableProgramGroupPage", "DisableReadyMemo", "DisableReadyPage", - "DisableStartupPrompt", "EnableDirDoesntExistWarning", "ExtraDiskSpaceRequired", - "InfoAfterFile", "InfoBeforeFile", "LanguageDetectionMethod", "LicenseFile", - "MinVersion", "OnlyBelowVersion", "Password", "PrivilegesRequired", - "RestartIfNeededByRun", "ShowLanguageDialog", "TimeStampRounding", - "TimeStampsInUTC", "TouchDate", "TouchTime", "Uninstallable", - "UninstallDisplayIcon", "UninstallDisplayName", "UninstallFilesDir", - "UninstallLogMode", "UninstallRestartComputer", "UpdateUninstallLogAppName", - "UsePreviousAppDir", "UsePreviousGroup", "UsePreviousSetupType", - "UsePreviousTasks", "UsePreviousUserInfo", "UserInfoPage", "AppCopyright", - "BackColor", "BackColor2", "BackColorDirection", "BackSolid", - "FlatComponentsList", "SetupIconFile", "ShowComponentSizes", - "ShowTasksTreeLines", "UninstallStyle", "WindowShowCaption", - "WindowStartMaximized", "WindowResizable", "WindowVisible", - "WizardImageBackColor", "WizardImageFile", "WizardImageStretch", - "WizardSmallImageBackColor", "WizardSmallImageFile", "UninstallIconFile", "", - "cdecl", "class", "const", "constructor", "destructor", "dispid", - "dispinterface", "div", "do", "downto", "dynamic", "else", "end", "except", - "export", "exports", "external", "far", "file", "finalization", "finally", - "for", "forward", "function", "goto", "if", "implementation", "in", - "initialization", "inherited", "inline", "interface", "is", "label", "library", - "message", "mod", "near", "nil", "not", "object", "of", "or", "out", "override", - "packed", "pascal", "private", "procedure", "program", "property", "protected", - "public", "published", "raise", "record", "register", "repeat", - "resourcestring", "safecall", "set", "shl", "shr", "stdcall", "string", "then", - "threadvar", "to", "try", "type", "unit", "until", "uses", "var", "virtual", - "while", "with", "xor"},- },- { Id=2,- List={"AfterInstall", "Attribs", "BeforeInstall", "Check", "Comment", - "Components", "CopyMode", "Description", "DestDir", "DestName", "Excludes", - "ExtraDiskSpaceRequired", "Filename", "Flags", "FontInstall", - "GroupDescription", "HotKey", "IconFilename", "IconIndex", "InfoBeforeFile", - "InfoAfterFile", "Key", "MessagesFile", "Name", "Parameters", "Permissions", - "Root", "RunOnceId", "Section", "Source", "StatusMsg", "String", "Subkey", - "Tasks", "Type", "Types", "ValueType", "ValueName", "ValueData", "WorkingDir", - "", "true", "false", "cardinal", "longint", "byte", "word", "single", "double", - "int64"},- },- { Id=3,- List={"allowunsafefiles", "checkedonce", "closeonexit", "compact", - "comparetimestamp", "confirmoverwrite", "createkeyifdoesntexist", - "createonlyiffileexists", "createvalueifdoesntexist", "deleteafterinstall", - "deletekey", "deletevalue", "desktopicon", "dirifempty", - "disablenouninstallwarning", "dontcloseonexit", "dontcopy", "dontcreatekey", - "dontinheritcheck", "dontverifychecksum", "exclusive", "external", "files", - "filesandordirs", "fixed", "fontisnttruetype", "full", "ignoreversion", - "iscustom", "isreadme", "hidden", "hidewizard", "modify", "nocompression", - "noencryption", "noerror", "noregerror", "nowait", "onlyifdestfileexists", - "onlyifdoesntexist", "overwritereadonly", "postinstall", "preservestringtype", - "promptifolder", "quicklaunchicon", "read", "readonly", "readexec", - "recursesubdirs", "regserver", "regtypelib", "replacesameversion", "restart", - "restartreplace", "runhidden", "runmaximized", "runminimized", "sharedfile", - "shellexec", "skipifnotsilent", "skipifsilent", "skipifdoesntexist", - "skipifsourcedoesntexist", "sortfilesbyextension", "system", "touch", - "unchecked", "uninsalwaysuninstall", "uninsclearvalue", "uninsdeleteentry", - "uninsdeletekey", "uninsdeletekeyifempty", "uninsdeletesection", - "uninsdeletesectionifempty", "uninsdeletevalue", "uninsneveruninstall", - "uninsremovereadonly", "uninsrestartdelete", "useapppaths", "waituntilidle"},- },- { Id=4,- Regex=[[ ^\[\w+\] ]],- },---- pascal stuff:- { Id=1,- List= {"absolute", "abstract", "and", "array", "as", "asm", "assembler", "automated", "begin", "case",- "cdecl", "class", "const", "constructor", "destructor", "dispid", "dispinterface", "div", "do", "downto",- "dynamic", "else", "end", "except", "export", "exports", "external", "far", "file", "finalization", "finally",- "for", "forward", "function", "goto", "if", "implementation", "in", "initialization", "inherited", "inline",- "interface", "is", "label", "library", "message", "mod", "near", "nil", "not", "object", "of", "or", "out", - "override", "packed", "pascal", "private", "procedure", "program", "property", "protected", "public", "published",- "raise", "record", "register", "repeat", "resourcestring", "safecall", "set", "shl", "shr", "stdcall", "string",- "then", "threadvar", "to", "try", "type", "unit", "until", "uses", "var", "virtual", "while", "with", "xor" }- },- { Id=2,- List= {"boolean", "char", "integer", "pointer", "real", "text", "true", "false", "cardinal", "longint", "byte", - "word", "single", "double", "int64" }- },- { Id=3,- List= { "if", "else", "then", "downto", "do", "for", "repeat", "while", "to", "until", "with"}- },- { Id=4,- Regex= [[ (\w+)\s*\( ]]- }-}---Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { "^;" }- },- { Block=true,- Nested=false,- Delimiter= { [[\{]],[[\}]],}- },- { Block=true,- Nested=false,- Delimiter= { [[\(\*]],[[\*\)]],}- }--}--Operators=[[\(|\)|\[|\]|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\@|\.|\^]]
highlight/langDefs/interlis.lang
@@ -1,49 +0,0 @@--Description="INTERLIS"--Keywords={- { Id=1,- List={"ANY", "ARCS", "AREA", "BASE", "BLANK", "CODE", "CONTINUE", "CONTOUR", - "COORD2", "COORD3", "DATE", "DEFAULT", "DEGREES", "DERIVATIVES", "DIM1", "DIM2", - "DOMAIN", "END", "FIX", "FONT", "FORMAT", "FREE", "GRADS", "HALIGNMENT", "I16", - "I32", "IDENT", "LINEATTR", "LINESIZE", "MODEL", "NO", "OPTIONAL", "OVERLAPS", - "PERIPHERY", "POLYLINE", "RADIANS", "STRAIGHTS", "SURFACE", "TABLE", "TEXT", - "TID", "TIDSIZE", "TOPIC", "TRANSFER", "UNDEFINED", "VALIGNMENT", "VERTEX", - "VERTEXINFO", "VIEW", "WITH", "WITHOUT", "ABSTRACT", "ACCORDING", "AGGREGATES", - "AGGREGATION", "ALL", "AND", "ANY", "ANYCLASS", "ANYSTRUCTURE", "ARCS", "AREA", - "AS", "ASSOCIATION", "AT", "ATTRIBUTE", "ATTRIBUTES", "BAG", "BASE", "BASED", - "BASKET", "BINARY", "BLACKBOX", "BOOLEAN", "BY", "CARDINALITY", "CIRCULAR", - "CLASS", "CLOCKWISE", "CONSTRAINT", "CONSTRAINTS", "CONTINUE", "CONTINUOUS", - "CONTRACTED", "COORD", "COUNTERCLOCKWISE", "DEFINED", "DEPENDS", "DERIVED", - "DIRECTED", "DOMAIN", "END", "ENUMTREEVAL", "ENUMVAL", "EQUAL", "EXISTENCE", - "EXTENDED", "EXTENDS", "EXTERNAL", "FINAL", "FIRST", "FORM", "FROM", "FUNCTION", - "GRAPHIC", "HALIGNMENT", "HIDING", "IMPORTS", "IN", "INHERITANCE", "INSPECTION", - "INTERLIS", "JOIN", "LAST", "LINE", "LIST", "LNBASE", "LOCAL", "MANDATORY", - "METAOBJECT", "MODEL", "MTEXT", "NAME", "NOT", "NO", "NULL", "NUMERIC", - "OBJECT", "OF", "OID", "ON", "OR", "ORDERED", "OTHERS", "OVERLAPS", "PARAMETER", - "PARENT", "PI", "POLYLINE", "PROJECTION", "REFERENCE", "REFSYSTEM", "REQUIRED", - "RESTRICTED", "ROTATION", "SET", "SIGN", "STRAIGHTS", "STRUCTURE", - "SUBDIVISION", "SURFACE", "SYMBOLOGY", "TEXT", "THATAREA", "THIS", "THISAREA", - "TO", "TOPIC", "TRANSIENT", "TRANSLATION", "TYPE", "UNDEFINED", "UNION", - "UNIQUE", "UNIT", "UNQUALIFIED", "URI", "VALIGNMENT", "VERSION", "VERTEX", - "VIEW", "WHEN", "WHERE", "WITH", "WITHOUT"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\!\!|\/\/]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
highlight/langDefs/io.lang
@@ -1,50 +0,0 @@-Description="IO"--Keywords={- { Id=1,- List={"activate", "activeCoroCount", "and", "block", "break", "catch", - "chedulerSleepSeconds", "clone", "collectGarbage", "compileString", "continue", - "do", "doFile", "doMessage", "doString", "else", "elseif", "exit", "for", - "foreach", "forward", "getSlot", "getenv", "hasSlot", "if", "ifFalse", "ifNil", - "ifTrue", "isActive", "isNil", "list", "message", "method", "or", "parent", - "pass", "pause", "perform", "performWithArgList", "print", "proto", "raise", - "removeSlot", "resend", "resume", "return", "self", "sender", - "setSchedulerSleepSeconds", "setSlot", "shallowCopy", "slotNames", "super", - "system", "then", "thisBlock", "thisContext", "thisMessage", "try", "type", - "uniqueId", "updateSlot", "wait", "write", "yield"},- },- { Id=2,- List={"Array", "AudioDevice", "AudioMixer", "Block", "Box", "Buffer", - "CFunction", "CGI", "Color", "Curses", "DBM", "DNSResolver", "DOConnection", - "DOProxy", "DOServer", "Date", "Directory", "Duration", "DynLib", "Error", - "Exception", "FFT", "File", "Fnmatch", "Font", "Future", "GL", "GLE", - "GLScissor", "GLU", "GLUCylinder", "GLUQuadric", "GLUSphere", "GLUT", "Host", - "Image", "Importer", "LinkList", "List", "Lobby", "Locals", "MD5", "MP3Decoder", - "MP3Encoder", "Map", "Message", "Movie", "NULL", "Nil", "Nop", "Notification", - "Number", "Object", "OpenGL", "Point", "Protos", "Regex", "SGMLTag", "SQLite", - "Server", "ShowMessage", "SleepyCat", "SleepyCatCursor", "Socket", - "SocketManager", "Sound", "Soup", "Store", "String", "Tree", "UDPSender", - "UPDReceiver", "URL", "User", "Warning", "WeakLink"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["""|'''|"|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#\|\/\/]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\^|\@|\.|\#]]
highlight/langDefs/jasmin.lang
@@ -1,57 +0,0 @@--Description="Jasmin"--Keywords={- { Id=1,- List={"catch", "class", "end", "field", "implements", "interface", "limit", - "line", "method", "source", "super", "throws", "var", "aaload", "aastore", - "aconst_null", "aload", "aload_0", "aload_1", "aload_2", "aload_3", "anewarray", - "areturn", "arraylength", "astore", "astore_0", "astore_1", "astore_2", - "astore_3", "athrow", "baload", "bastore", "bipush", "breakpoint", "caload", - "castore", "checkcast", "d2f", "d2i", "d2l", "dadd", "daload", "dastore", - "dcmpg", "dcmpl", "dconst_0", "dconst_1", "ddiv", "dead", "dload", "dload_0", - "dload_1", "dload_2", "dload_3", "dmul", "dneg", "drem", "dreturn", "dstore", - "dstore_0", "dstore_1", "dstore_2", "dstore_3", "dsub", "dup", "dup2", - "dup2_x1", "dup2_x2", "dup_x1", "dup_x2", "f2d", "f2i", "f2l", "fadd", "faload", - "fastore", "fcmpg", "fcmpl", "fconst_0", "fconst_1", "fconst_2", "fdiv", - "fload", "fload_0", "fload_1", "fload_2", "fload_3", "fmul", "fneg", "frem", - "freturn", "fstore", "fstore_0", "fstore_1", "fstore_2", "fstore_3", "fsub", - "getfield", "getstatic", "goto", "goto_w", "i2b", "i2c", "i2d", "i2f", "i2l", - "i2s", "iadd", "iaload", "iand", "iastore", "iconst_0", "iconst_1", "iconst_2", - "iconst_3", "iconst_4", "iconst_5", "iconst_m1", "idiv", "if_acmpeq", - "if_acmpne", "if_icmpeq", "if_icmpge", "if_icmpgt", "if_icmple", "if_icmplt", - "if_icmpne", "ifeq", "ifge", "ifgt", "ifle", "iflt", "ifne", "ifnonnull", - "ifnull", "iinc", "iload", "iload_0", "iload_1", "iload_2", "iload_3", "imul", - "ineg", "instanceof", "int2byte", "int2char", "int2short", "invokeinterface", - "invokenonvirtual", "invokespecial", "invokestatic", "invokevirtual", "ior", - "irem", "ireturn", "ishl", "ishr", "istore", "istore_0", "istore_1", "istore_2", - "istore_3", "isub", "iushr", "ixor", "jsr", "jsr_w", "l2d", "l2f", "l2i", - "label", "ladd", "laload", "land", "lastore", "lcmp", "lconst_0", "lconst_1", - "ldc", "ldc2_w", "ldc_w", "ldiv", "lload", "lload_0", "lload_1", "lload_2", - "lload_3", "lmul", "lneg", "lor", "lrem", "lreturn", "lshl", "lshr", "lstore", - "lstore_0", "lstore_1", "lstore_2", "lstore_3", "lsub", "lushr", "lxor", - "monitorenter", "monitorexit", "multianewarray", "new", "newarray", "nop", - "pop", "pop2", "putfield", "putstatic", "ret", "return", "saload", "sastore", - "sipush", "swap", "try", "wide"},- },- { Id=2,- List={"abstract", "default", "final", "from", "is", "lookupswitch", - "native", "private", "protected", "public", "static", "synchronized", - "tableswitch", "to", "transient", "using", "volatile"},- },-}--Strings={- Delimiter=[[']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[;]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/java.lang
@@ -1,42 +0,0 @@-Description="Java"--Keywords={- { Id=1,- List={"abstract", "default", "if", "private", "this", "do", "implements",- "protected", "throw", "break", "import", "public", "throws", "else",- "instanceof", "return", "transient", "case", "extends", "try", "catch", "final",- "interface", "static", "finally", "strictfp", "volatile", "class", "native",- "super", "while", "const", "for", "new", "switch", "continue", "goto",- "package", "synchronized", "as", "in", "def", "property"}, },- { Id=2,- List={"boolean", "double", "byte", "int", "short", "void", "char", "long", "float"},- },- { Id=3,- Regex=[[@\w+]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- Escape = [[ \\u\d{4}|\\x?\d{3}|\\\w|\\[\'\\\"] ]]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\/\/]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\|]]--EnableIndentation=true-
highlight/langDefs/js.lang
@@ -1,73 +0,0 @@--Description="Javascript"--Digits=[[ (?:0x)[0-9a-fA-F]+|(?:0b)[01]+|(?:0o)[0-8]+|\d*[\.]?\d+(?:[eE][\-\+]\d+)?[lLuU]* ]]--Keywords={- { Id=1,- List={"abstract", "break", "class", "const", "continue", "debugger",- "default", "delete", "enum", "export", "extends", "finally",- "instanceof", "import", "implements", "in", "goto", "native", "package",- "private", "protected", "public", "super", "throw", "throws",- "transient", "typeof", "void", "false", "with", "for", "this", "switch", "try",- "while", "if", "do", "else", "return", "null", "case", "catch", "true", "new",- "prototype", "var", "function", "namespace","use", "internal", "interface",- "yields", "let", "get", "set", "of", "from", "constructor", "move", "yield", "static",- },- },- { Id=2,- List={"boolean", "byte", "char", "double", "float", "int", "long", "short",- "decimal", "enum", "sbyte", "uint", "ulong", "ushort", "void", "undefined"},- },-- -- may be replaced by NestedSections- { Id=3,- Regex=[[\/[^*\s/].*?[^\\]/[msixpodualgcy]*]],- Group=0- },-- { Id=4,- Regex=[[(\w+)(\s*[:=]\s*function)?\s*\(]],- Group=1- },-}--Strings={- Delimiter=[["|'|`]],- Interpolation=[[ \$\{.+?\} ]],- Escape = [=[ \\u\{?[[:xdigit:]]{4,6}\}?|\\\d{3}|\\x[[:xdigit:]]{2}|\\[ntvbrfa\\\?'\"] ]=]-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\/\/]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}---- FIXME: division oerator, comments---NestedSections = { -- regex as nested language seems to work?--- {--- Lang = "js_regex", -- js.lang might want to use this too--- Delimiter = { [[/(?![/\*])]], [[/[msixpodualgcy]*]] },--- --State=HL_STRING--- }---}---Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|.]]--EnableIndentation=true---- resolve issue with regex expression which spans strings like "</i>" + VAR + "</i>"-function OnStateChange(oldState, newState, token, groupID)- if string.sub(token,1,1)=="/" and oldState==HL_STRING and newState==HL_KEYWORD and groupID == 3 then- return HL_REJECT- end- return newState-end
highlight/langDefs/js_regex.lang
@@ -1,23 +0,0 @@---- a highlight lang definition for javascript regexes, by Jess Austin--Description = "Javascript Regex"--Keywords = {- { -- backslash literals- Id = 1,- Regex = [=[\\.]]=]- },- { -- character classes- Id = 2,- Regex = [[ (\:(alnum|alpha|blank|cntrl|graph|print|punct|xdigit|unicode|word|space|digit|lower|upper)\:) ]], Group=1- }-}--Strings = { -- character sets- DelimiterPairs = { { Open = "\\[", Close = "\\]" } },- Escape = [=[\\u\{[[:xdigit:]]+\}|\\u[[:xdigit:]]{4}|\\x[[:xdigit:]]{2}|\\c[A-Z]|\\[[bBdDsSwWtrnvf0]]=],-}--Operators = [[\.|\+|\*|\^|\$|\||\?:|\?=|\?!|\?|\(|\)]]-Digits = [[\{\d+,?\d*\}]] -- integer quantifierso
highlight/langDefs/json.lang
@@ -1,41 +0,0 @@-Description="JSON"--Keywords={- { Id=1,- Regex=[[ \{|\} ]],- },- { Id=2,- Regex=[=[ \[|\] ]=],- },- { Id=3,- Regex=[[ (\"[\w\.\-\d]+?\")\: ]],- },- { Id=4,- Regex=[[ (\"\$[\w\.\-\d\$]+?\")\: ]],- }- -}--Strings = {- Delimiter=[["]]-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--IgnoreCase=false--PreProcessor = {- Prefix=[[#]],- Continuation="\\",-}--Operators=[[\(|\)|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]
highlight/langDefs/jsp.lang
@@ -1,37 +0,0 @@-Description="JavaServer Pages"- -Keywords={- { Id=1,- Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-\.]+>?|[/?]?>]],- Group=0,- },- { Id=2,- Regex=[[([-\w\:]+)="]],- },- { Id=4,- Regex=[[\&\#?\w+;]],- },-}- -Strings={- Delimiter=[["]],-}- -IgnoreCase=true- -Comments={- { Block=true,- Nested=false,- Delimiter= { [[<[%!]\-\-]],[[\-\-%?>]] }- }-}- -NestedSections = {- { Lang="java", Delimiter= { [[<%(?!\-\-)[=\!@]?]], [[%>]] } },- { Lang="css", Delimiter= { [[<style\s+type\=[\'\"]text\/css[\'\"]>]], [[<\/style>]] } },- { Lang="js", Delimiter= { [[<script>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script\s+language\=\"[jJ]ava[sS]cript\"(?:\s+type\=\"text\/javascript\")?>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script\s+language=[\"\'][jJ]ava[sS]cript[\"\'](?:\s+type=[\"\']text/javascript[\"\'])?[^>]*>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script(?:\s+type=[\"\']text/javascript[\"\'])\s+language=[\"\'][jJ]ava[sS]cript[\"\']?[^>]*>]], [[<\/script>]] } },- { Lang="js", Delimiter= { [[<script(?:\s+type=[\"\']text/javascript[\"\'])>]], [[<\/script>]] } },-}
highlight/langDefs/jsx.lang
@@ -1,28 +0,0 @@---- Load JS definition-dofile(HL_LANG_DIR.."js.lang")--Description="JSX"--table.insert(Keywords,- { Id=1,- List={ "into", "final", "mixin", "as", "debugger", "log", "assert"},- }-)---table.insert(Keywords,- { Id=3,- Regex=[[<[!?]?(?!\-\-)\/?[\w\:\-]+>?|[/?]?>]],- Group=0, - }-)--table.insert(Keywords,- { Id=2,- List={"Array", "boolean", "Boolean", "Date", "number", "Number", "Map", "int",- "Object", "string", "String", "RegExp", "JSON", "Nullable", "variant", - "Error", "EvalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError",- "HTMLElement", "HTMLCanvasElement", "CanvasRenderingContext2D", "HTMLImageElement" },- }-)
highlight/langDefs/julia.lang
@@ -1,49 +0,0 @@--Description="Julia"--Keywords={- { Id=1,- List={ - "function", "global", "for", "end", "while", "if", "else", "elseif", "break",- "switch", "case", "otherwise", "try", "catch", "end", "const", "immutable",- "import", "importall", "export", "type", "typealias", "return", "true",- "false", "macro", "quote", "in", "abstract", "module", "using", "continue",- "ifelse", "do", "eval", "let", "finally", "throw"- }- },- { Id=2,- List={- "Int8", "UInt8", "Int16", "UInt16", "Int32", "UInt32", "Int64", "UInt64",- "Int128", "UInt128", "Float16", "Float32", "Float64", "Any", "Number", - "Real", "AbstractFloat", "Integer", "Signed", "Unsigned"- }- },- { Id=3,- Regex=[[@\w+]]- },- { Id=4,- Regex=[[(\w+)!?\s*\( ]]- },- { Id=4,- Regex=[[function\s+(\w+)\s*\{ ]]- }-}--Strings = {- Delimiter=[["|']],- Interpolation=[[ [%$]\w+|\$\(.+?\) ]],-}--Comments = {-{ Block=true,- Nested=false,- Delimiter = { [[#=]], [[=#]] } },- {- Block=false,- Delimiter = { [[#]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\$|\?|\||\^]]
highlight/langDefs/kotlin.lang
@@ -1,41 +0,0 @@--Description="Kotlin"--Keywords={- { Id=1,- List={ "package", "as", "typealias", "class", "this", "super", "val", "var", - "fun", "for", "null", "true", "false", "is", "in", "throw", "return", "break", - "continue", "object", "if", "try", "else", "while", "do", "when", "interface", - "yield", "typeof", "yield", "typeof", "import", "internal", "private", "protected", - "public", "override", "open", "final", "abstract", "abstract", "final", - "enum", "open", "annotation"}- },- { Id=2,- List={"Any","Unit", "String", "Array", "Int", "Boolean", "Char", "Long", "Double",- "Float", "Short", "Byte" }- },- { Id=3,- Regex=[[@\w+]]- },- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["]],- Interpolation=[[ [%$]\w+|\$\{.+?\} ]],-}--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|=|\/|\*|\%|\+|\-|\~|\||\^]]
highlight/langDefs/ldif.lang
@@ -1,45 +0,0 @@--Description="LDAP"--Keywords={- { Id=1,- List={"binary", "businesscategory", "carlicense", "changetype", "cn", - "commonname", "departmentnumber", "description", "dn", "employeenumber", - "employeetype", "facsimiletelephonenumber", "givenname", "homephone", - "homepostaladdress", "initials", "internationalisdnnumber", "jpegphoto", "l", - "labeleduri", "locality", "mail", "mailalternateaddress", "maildeliveryoption", - "mailhost", "manager", "mobile", "objectclass", "pager", "photo", - "postofficebox", "preferreddeliverymethod", "preferredlanguage", - "physicaldeliveryofficename", "postaladdress", "postalcode", - "registeredaddress", "roleoccupant", "roomnumber", "secretary", "seealso", "sn", - "st", "street", "surname", "telephonenumber", "title", "uid", "userpassword", - "usercertificate", "usercertificate", "usersmimecertificate", - "x500uniqueidentifier", "add", "c", "dc", "delete", "modify", "o", "ou", - "crypt", "inetorgperson", "mailrecipient", "nslicenseuser", - "organizationalperson", "organizationalrole", "residentialperson", "person", - "sha", "top", "nsserversecurity", "nsserverid", "nsbinddn", "nsbasedn", - "serverroot", "nsserverport", "nssecureserverport", "serverproductname", - "serverversionnumber", "installationtimestamp", "installationtimestamp", - "serverhostname", "nstasklabel", "", "creatorsname", "modifiersname", - "createtimestamp", "modifytimestamp", "nsuniqueid", "aci", "uniquemember", - "passwordExpirationTime", "nsAdminDomainName", "nshardwareplatform", - "nsosversion", "", "nsproductname", "nsproductversion", "nsnickname", - "nsbuildnumber", "nsvendor", "nsinstalledlocation", "nsdirectoryinforef", - "nsclassname", "nsexecref", "nsmerge"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/less.lang
@@ -1,40 +0,0 @@-Description="LESS"--Identifiers=[[ [a-zA-Z_\-][\w\-]* ]]--Digits=[=[ \#[[:xdigit:]]{3,6}|\d*\.?\d+?\w* ]=]--Keywords={- { Id=1,- Regex=[[@\{[\w\-]+?\}]],- },- { Id=2,- Regex=[[\$[\w\-]+]],- },- { Id=3,- Regex=[[@[\w\-]+]],- },- { Id=4,- Regex=[[([\w\-]+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- Escape= [=[ \\[[:xdigit:]]{4} ]=],-}--IgnoreCase=false--Comments = {- { Block=true,- Nested=false,- Delimiter = { [[\/\*]], [[\*\/]] }- },- {- Block=false,- Delimiter = { [[//]] }- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\#]]
highlight/langDefs/lhs.lang
@@ -1,11 +0,0 @@---dofile(HL_LANG_DIR.."haskell.lang")--Description="Haskell LHS"--Comments={- { Block=false,- Delimiter= { [[^\s*([^\>].*)]] },- },-}
highlight/langDefs/lilypond.lang
@@ -1,31 +0,0 @@--Description="Lilypond"--Identifiers=[[ ([a-z]+)\d* ]]--Keywords={- { Id=1,- List={"c", "d", "e", "f", "g", "a", "h", "b", "cis", "dis", "eis", "fis", "gis", "ais", "des", "es", "ges", "as", "s", "bes"},- },- { Id=2,- Regex=[[\\[\w<>!\\]+]],- },-}--Strings={- Delimiter=[["]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[%(?!\{).*]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\%\{]],[[\}\%]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|<|>|\'|\,|\.|\/|\:|\^|\=|\#|\*|\_|\!]]
highlight/langDefs/limbo.lang
@@ -1,34 +0,0 @@--Description="Limbo"--Keywords={- { Id=1,- List={ "if", "else", "while", "do", "return", "list", "of", - "ref", "load", "import", "include"}- },-- { Id=2,- List= { "byte","int","big","real", "string" , "array"}- },- { Id=3,- Regex=[[(\w+)\s*\:]]- },- { Id=4,- Regex=[[(\w+)\s*\(]]- }-}--Strings = {- Delimiter=[["]]-}--Comments = {- {- Block=false,- Delimiter = { [[#]] }- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\|]]
highlight/langDefs/lindenscript.lang
@@ -1,31 +0,0 @@--Description="Linden Script"--Keywords={- { Id=1,- List={"for", "do", "while", "if", "else", "jump"},- },- { Id=2,- List={"integer", "float", "string", "key", "vector", "rotation", "list"},- },- { Id=3,- Regex=[[(ll\w+)\s*\(]],- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\/\/]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
highlight/langDefs/lisp.lang
@@ -1,46 +0,0 @@--- Language definition generated by lang2to3--Description="Lisp"--Identifiers=[[ [a-zA-Z_][\w\-]* ]]--Keywords={- { Id=1,- Regex=[[\(([\w\-\_]+)]],- },- { Id=2,- Regex=[[ def(un|method)\s+([\w\-]+)]], Group=2- },-}--Strings={- Delimiter=[[ "|\[\w+\]|\[/\w+\] ]],-}--Comments={- { Block=false,- Delimiter= { [[;]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\;\|]],[[\|\;]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\:|\&|<|>|\!|\+|\=|\/|\*|\'|\@|\#|\`]]---- fix recognition of $-function OnStateChange(oldState, newState, token)- - --recognize hereDoc multine strings- if oldState==HL_STANDARD and newState==HL_STRING then- exitDelim = string.match(token, "%[(%a+)%]")- if exitDelim then exitDelim = "[/"..exitDelim.."]" end- end- if oldState==HL_STRING and token==exitDelim then- exitDelim=nil- return HL_STRING_END- end-- return newState-end
highlight/langDefs/logtalk.lang
@@ -1,278 +0,0 @@--Description="Logtalk"--Keywords={- { Id=1, --conditional compilation directives- Regex=[[^\s*:-\s((el)?if)(?=[(])]],- Group=1,- },- { Id=1, --conditional compilation directives- Regex=[[^\s*:-\s(e(lse|ndif))(?=\.)]],- Group=1,- },- { Id=2, --variables- Regex=[[(?<!0')[A-Z_]\w*]],- },- { Id=3, -- event handlers- Regex=[[(after|before)(?=[(])]],- Group=1,- },- { Id=4, --Logtalk message sending operators- Regex=[[(::|\^\^|<<|:)]],- },-- { Id=1, --encapsulation directives- Regex=[[ ^\s*:-\s(category|protocol|object)(?=[(]) ]],- Group=1,- },- { Id=1,- Regex=[[ ^\s+((extend|i(mp(or|lemen)t|nstantiate)|specialize)s)(?=[(]) ]],- Group=1,- },- { Id=1,- Regex=[[ ^\s*:-\s(end_(protocol|category|object))(?=\.) ]],- Group=1,- },- { Id=1, -- entity and predicate directives- Regex=[[ ^\s*:-\s(calls|public|protected|private|encoding|ensure_loaded|export|info|initialization|alias|dynamic|discontiguous|meta_predicate|mode|module|multifile|reexport|set_logtalk_flag|set_prolog_flag|synchronized|op|uses|use_module)(?=[(]) ]],- Group=1,- },- { Id=1,- Regex=[[ ^\s*:-\s(dynamic|synchronized|threaded)(?=\.) ]],- Group=1,- },- { Id=3, --event handlers- Regex=[[ (after|before)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (parameter|this|se(lf|nder))(?=[(]) ]],- Group=1- },- { Id=3, --refelection- Regex=[[ (current_predicate|predicate_property)(?=[(]) ]],- Group=1- },- { Id=3, --dcgs- Regex=[[ (expand_(goal|term))(?=[(]) ]],- Group=1- },- { Id=3, - Regex=[[ ((?:goal|term)_expansion|phrase)(?=[(]) ]],- Group=1- },- { Id=3, --entity- Regex=[[ ((abolish|c(reate|urrent))_(object|protocol|category))(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ ((object|protocol|category)_property)(?=[(]) ]],- Group=1- },- { Id=3, --entity relations- Regex=[[ (complements_object)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (extends_(object|protocol|category))(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (imp(lements_protocol|orts_category))(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ ((instantiat|specializ)es_class)(?=[(]) ]],- Group=1- },- { Id=3, --events- Regex=[[ (current_event|(abolish|define)_events)(?=[(]) ]],- Group=1- },- { Id=3, --flags- Regex=[[ ((current|set)_logtalk_flag)(?=[\(]) ]],- Group=1- },- { Id=3, --compiling, loading, and library paths- Regex=[[ (logtalk_(compile|l(ibrary_path|oad)))(?=[(]) ]],- Group=1- },- { Id=3, --database- Regex=[[ (clause|retract(all)?)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (a(bolish|ssert(a|z)))(?=[(]) ]],- Group=1- },- { Id=3, --control- Regex=[[ (call|catch|throw)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (fail|true) ]],- Group=1- },- { Id=3, --all solutions- Regex=[[ (bagof|setof|findall|forall)(?=[(]) ]],- Group=1- },- { Id=3, --multi-threading meta-predicates- Regex=[[ (threaded(_(call|once|ignore|exit|peek|wait|notify))?)(?=[(]) ]],- Group=1- },- { Id=3, --term unification- Regex=[[ (unify_with_occurs_check)(?=[(]) ]],- Group=1- },- { Id=3, -- term creation and decomposition- Regex=[[ (functor|arg|copy_term)(?=[(]) ]],- Group=1- },- { Id=3, --evaluable functors- Regex=[[ (rem|mod|abs|sign)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (float(_(integer|fractional)_part)?)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (floor|truncate|round|ceiling)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (cos|atan|exp|log|s(in|qrt))(?=[(]) ]],- Group=1- },- { Id=3, --term testing- Regex=[[ (var|atomic|atom|integer|float|compound|nonvar|number)(?=[(]) ]],- Group=1- },- { Id=3, -- stream selection and control- Regex=[[ ((curren|se)t_(in|out)put)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (open|close)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (flush_output)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (flush_output) ]],- Group=1- },- { Id=3,- Regex=[[ (stream_property|at_end_of_stream|set_stream_position)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (at_end_of_stream) ]],- Group=1- },- { Id=3, -- character and byte input/output- Regex=[[ (nl|(get|peek|put)_(byte|char|code))(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (nl) ]],- Group=1- },- { Id=3, -- term input/output- Regex=[[ (read(_term)?)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (write(q|_(canonical|term))?)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ ((current_)?op)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ ((current_)?char_conversion)(?=[(]) ]],- Group=1- },- { Id=3, --atomic term processing- Regex=[[ (atom_(length|c(hars|o(ncat|des))))(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (char_code|sub_atom)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (number_c(har|ode)s)(?=[(]) ]],- Group=1- },- { Id=3, --implementation defined hooks functions- Regex=[[ ((?:se|curren)t_prolog_flag)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (halt) ]],- Group=1- },- { Id=3,- Regex=[[ (halt)(?=[(]) ]],- Group=1- },- { Id=3, --logic and control- Regex=[[ (once)(?=[(]) ]],- Group=1- },- { Id=3,- Regex=[[ (repeat) ]],- Group=1- },- { Id=4, --Logtalk message sending operators- Regex=[[ (::|\^\^|<<|:) ]],- },- { Id=4, --Logtalk external-call control construct- Regex=[[ ([{}]) ]],- },- { Id=4, --operators- Regex=[[ (\\\+|->|=\.\.|;|!|:-|\^) ]],- },- { Id=4,- Regex=[[ (is|mod|rem|//|[+\-]|/(?!\*)|(?<=\*)/|[*][*]) ]],- },- { Id=4,- Regex=[[ (=<|<|=:=|=\\=|>=|>) ]],- },- { Id=4,- Regex=[[ (@<|@=<|==|\\==|@>|@>=) ]],- },- { Id=4,- Regex=[[ (=|\\=) ]],- },- { Id=4,- Regex=[[ (\?|@) ]],- },- { Id=4,- Regex=[[ (/\\|\\/|>>|\\) ]],- },-}---Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[%]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-]]
highlight/langDefs/lotos.lang
@@ -1,37 +0,0 @@--Description="Lotos"--Keywords={- { Id=1,- List={"accept", "actualizedby", "any", "behavior", "behaviour", "choice", - "endlib", "endproc", "endspec", "endtype", "eqns", "exit", "for", "forall", - "formaleqns", "formalopns", "formalsorts", "hide", "iin", "is", "let", - "library", "noexit", "of", "ofsort", "opnnames", "opns", "par", "process", - "renamedby", "sortnames", "sorts", "specification", "stop", "type", - "using", "where", "false", "true"},- },- { Id=2,- List={"Bit", "BitString", "Bool", "DecDigit", "DecString", "Element", - "FBool", "HexDigit", "HexStringOctDigit", "Octet", "OctString", "Nat", - "NonEmptyString", "OctetString", "Set", "String", "BasicNaturalNumber", - "BasicNonEmptyString", "BitNatRepr", "Boolean", "FBoolean", "DecNatRepr", - "HexNatRepr", "NatRepresentations", "NaturalNumber", "OctNatRepr", - "RicherNonEmptyString", "String0", "String1"},- },-}--Strings={- Delimiter=[["|']],-}--Comments={- { Block=true,- Nested=false,- Delimiter= { [[\(\*]],[[\*\)]],}- }-}--IgnoreCase=false--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]-
highlight/langDefs/lotus.lang
@@ -1,74 +0,0 @@--Description="Lotus"--Identifiers=[[ [a-zA-Z_][\w]*\$? ]]--Keywords={- { Id=1,- List={"Abs", "Access", "ACos", "ActivateApp", "Alias", "And", "Any", - "Append", "As", "Asc", "ASin", "Atn", "Atn2", "Base", "Beep", "Bin", "Bin$", - "Binary", "Bind", "ByVal", "Call", "CCur", "CDat", "CDbl", "ChDir", "ChDrive", - "Chr", "Chr$", "CInt", "Class", "CLng", "Close", "Command", "Command$", - "Compare", "Const", "Cos", "CSng", "CStr", "CurDir", "CurDir$", "CurDrive", - "CurDrive$", "CVar", "DataType", "Date", "Date$", "DateNumber", "DateValue", - "Day", "Declare", "DefCur", "DefDbl", "DefInt", "DefLng", "DefSng", "DefStr", - "DefVar", "Delete", "Dim", "Dir", "Dir$", "Environ", "Environ$", "EOF", "Eqv", - "Erase", "Erl", "Err", "Error", "Error$", "Evaluate", "Event", "Execute", - "Exit", "Exp", "FALSE", "FileAttr", "FileCopy", "FileDateTime", "FileLen", - "Fix", "Format", "Format$", "Fraction", "FreeFile", "FromFunction", "Get", - "GetFileAttr", "Hex", "Hex$", "Hour", "IMEStatus", "Imp", "In", "Input", - "Input$", "InputB", "InputB$", "InputBox", "InputBox$", "InputBP", "InputBP$", - "InStr", "InStrB", "InStrBP", "Int", "Is", "IsArray", "IsDate", "IsElement", - "IsEmpty", "IsList", "IsNull", "IsNumeric", "IsObject", "IsScalar", "IsUnknown", - "Kill", "LBound", "LCase", "LCase$", "Left", "Left$", "LeftB", "LeftB$", - "LeftBP", "LeftBP$", "Len", "LenB", "LenBP", "Let", "Lib", "Like", "Line", - "List", "ListTag", "LMBCS", "Loc", "Lock", "LOF", "Log", "Loop", "LSet", - "LTrim", "LTrim$", "Me", "MessageBox", "Mid", "Mid$", "MidB", "MidB$", "Minute", - "MkDir", "Mod", "Month", "Name", "New", "NoCase", "NoPitch", "Not", "NOTHING", - "Now", "NULL", "Oct", "Oct$", "On", "Open", "Option", "Or", "Output", "PI", - "Pitch", "Preserve", "Print", "Private", "Property", "Public", "Put", "Random", - "Randomize", "Read", "ReDim", "Rem", "Remove", "Reset", "Resume", "Return", - "Right", "Right$", "RightB", "RightB$", "RightBP", "RightBP$", "RmDir", "Rnd", - "Round", "RSet", "RTrim", "RTrim$", "Second", "Seek", "SendKeys", "Set", - "SetFileAttr", "Sgn", "Shared", "Shell", "Sin", "Space", "Space$", "Spc", "Sqr", - "Static", "Step", "Stop", "Str", "Str$", "StrCompare", "String$", "Sub", "Tab", - "Tan", "Time", "Time$", "TimeNumber", "Timer", "TimeValue", "To", "Today", - "Trim", "Trim$", "TRUE", "Type", "TypeName", "UBound", "UCase", "UCase$", - "UChr", "UChr$", "Uni", "Unicode", "Unlock", "Use", "UseLSX", "UString", - "UString$", "Val", "With", "Write", "Xor", "Year", "Yield", "Case", "Do", - "Else", "End", "ElseIf", "For", "Forall", "If", "Next", "Select", "Then", - "Until", "Wend", "While", "GoSub", "GoTo", "NotesACLNotesACLEntry", - "NotesAgent", "NotesDatabase", "NotesDateRange", "NotesDateTime", - "NotesDbDirectory", "NotesDocument", "NotesDocumentCollection", - "NotesEmbeddedObject", "NotesForm", "NotesInternational", "NotesItem", - "NotesLog", "NotesName", "NotesNewsLetter", "NotesRegistration", - "NotesRichTextItem", "NotesRichTextStyle", "NotesSession", "NotesTimer", - "NotesView", "NotesViewColumn", "NotesUIDatabase", "NotesUIDocument", - "NotesUIView", "NotesUIWorkspace", "Navigator", "notesaclnotesaclentry", - "notesagent", "notesdatabase", "notesdaterange", "notesdatetime", - "notesdbdirectory", "notesdocument", "notesdocumentcollection", - "notesembeddedobject", "notesform", "notesinternational", "notesitem", - "noteslog", "notesname", "notesnewsletter", "notesregistration", - "notesrichtextitem", "notesrichtextstyle", "notessession", "notestimer", - "notesview", "notesviewcolumn", "notesuidatabase", "notesuidocument", - "notesuiview", "notesuiworkspace", "navigator"},- },- { Id=2,- List={"Currency", "Double", "Integer", "Long", "Single", "String", "Variant"},- },-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[']] },- },- { Block=true,- Nested=false,- Delimiter= { [[\%REM]],[[\%END]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\|\+|\-]]-
highlight/langDefs/lua.lang
@@ -1,61 +0,0 @@--Description="Lua"--Keywords={- { Id=1,- List={"and", "break", "do", "else", "elseif", "end", "false", "for",- "function", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then",- "true", "until", "while"},- },- { Id=2,- List={"number", "string", "function", "userdata", "table", "assert", "call",- "collectgarbage", "copytagmethods", "dofile", "dostring", "error", "foreach",- "foreachi", "getglobal", "getn", "gettagmethod", "globals", "newtag", "next",- "print", "rawget", "rawset", "setglobal", "settag", "settagmethod", "sort",- "tag", "tonumber", "tostring", "tinsert", "tremove", "type", "abs", "acos",- "asin", "atan", "atan2", "ceil", "cos", "deg", "exp", "floor", "log", "log10",- "max", "min", "mod", "rad", "sin", "sqrt", "tan", "frexp", "ldexp", "random",- "randomseed", "openfile", "closefile", "readfrom", "writeto", "appendto",- "remove", "rename", "flush", "seek", "tmpname", "read", "write", "clock",- "date", "execute", "exit", "getenv", "setlocale", "strbyte", "strchar",- "strfind", "strlen", "strlower", "strrep", "strsub", "strupper", "format",- "gsub"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|']],- DelimiterPairs= {- { Open=[[ \[=*\[ ]], Close=[[ \]=*\] ]], Raw=true }- },- AssertEqualLength=true-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\-\-(?!\[\[) ]] },- },-- { Block=true,- Nested=false,- Delimiter= { [[ \-\-\[\[ ]],[[ \]\] ]],}- }-}--Operators=[[\(|\)|\{|\}|\[|\]|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\#|\\]]----- resolve issue with ]] close delimiter which ends comments and strings-function OnStateChange(oldState, newState, token)-- if token=="]]" and oldState==HL_STRING and newState==HL_BLOCK_COMMENT_END then- return HL_STRING_END- end- - return newState-end
highlight/langDefs/luban.lang
@@ -1,35 +0,0 @@--Description="Luban"--Keywords={- { Id=1,- List={"as", "break", "continue", "else", "finish", "for", "foreach", - "if", "implements", "in", "input", "isa", "namespace", "output", "static", - "store", "struct", "typedef", "wait", "waitfor", "while", "println"},- },- { Id=2,- List={"bool", "char", "string", "vector", "map", "set", "null", "error", - "enum", "range", "int", "double"},- },- { Id=3,- List={"true", "false", "and", "or", "not"},- },-}--Strings={- Delimiter=[["|']],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\/\/]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~]]
highlight/langDefs/make.lang
@@ -1,42 +0,0 @@--Description="Make"--Identifiers=[[ [a-zA-Z_][\w\d\-]* ]]--Keywords={- { Id=1,- List={"addprefix", "addsuffix", "basename", "dir", "filter", "filter-out", "findstring", "firstword", "foreach", "join", - "notdir", "origin", "patsubst", "shell", "sort", "strip", "subst", "suffix", "wildcard", "word", "words", "all_cflags", - "ar", "arflags", "as", "asflags", "cc", "cflags", "co", "coflags", "cpp", "cppflags", "ctangle", "cweave", "cxx",- "cxxflags", "fc", "fflags", "force", "get", "gflags", "install_data", "install_program", "ld", "ldflags", "lex",- "lflags", "makeinfo", "pc", "pflags", "rflags", "rm", "tags", "tangle", "tex", "texi2dvi", "weave", "yacc", "yaccr",- "yflags", "all", "bindir", "check", "clean", "clobber", "datadir", "dist", "distclean", "dvi", "exec_prefix", - "includedir", "info", "infodir", "install", "installcheck", "installdirs", "libdir", "man0dir", "man0ext", "man1dir",- "man1ext", "man2dir", "man2ext", "man3dir", "man3ext", "man4dir", "man4ext", "man5dir", "man5ext", "man6dir", "man6ext",- "man7dir", "man7ext", "man8dir", "man8ext", "man9dir", "man9ext", "mandir", "manext", - "mostlyclean", "oldincludedir", "prefix", "print", "realclean", "shar", "srcdir", "statedir", "tar", "test", "uninstall"},- },- { Id=2,- List={"define", "else", "endef", "endif", "export", "ifdef", "ifeq", "ifndef", "ifneq", "include", "override", "unexport"},- },- { Id=3,- Regex=[[(\$\{(\w+)\})]],- },- { Id=4,- Regex=[[\$\w+]],- }-}--Strings={- Delimiter=[["|'|`]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[#]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\$]]
highlight/langDefs/maple.lang
@@ -1,124 +0,0 @@--Description="Maple"--Keywords={- { Id=1,- List={"and", "or", "xor", "union", "intersect", "minus", "mod", "not", - "assuming", "break", "by", "catch", "description", "do", "done", "elif", - "else", "end", "error", "export", "fi", "finally", "for", "from", "global", - "if", "implies", "in", "local", "module", "next", "od", "option", "options", - "proc", "quit", "read", "return", "save", "stop", "psubset", "then", "to", - "try", "use", "while", "true", "false"},- },- { Id=2,- List={"about", "ans", "add", "addcoords", "additionally", "addproperty", - "addressof", "AFactor", "AFactors", "AIrreduc", "AiryAi", "AiryAiZeros", - "AiryBi", "AiryBiZeros", "algebraic", "algsubs", "alias", "allvalues", "anames", - "AngerJ", "antihermitian", "antisymm", "apply", "applyop", "applyrule", - "arccos", "arccosh", "arccot", "arccoth", "arccsc", "arccsch", "arcsec", - "arcsech", "arcsin", "arcsinh", "arctan", "arctanh", "argument", "Array", - "array", "ArrayDims", "ArrayElems", "ArrayIndFns", "ArrayOptions", "assign", - "assigned", "asspar", "assume", "asympt", "attributes", "band", "Berlekamp", - "bernoulli", "bernstein", "BesselI", "BesselJ", "BesselJZeros", "BesselK", - "BesselY", "BesselYZeros", "Beta", "branches", "C", "cat", "ceil", - "changecoords", "charfcn", "ChebyshevT", "ChebyShevU", "CheckArgs", "Chi", - "chrem", "Ci", "close", "coeff", "coeffs", "coeftayl", "collect", "combine", - "comparray", "compiletable", "compoly", "CompSeq", "conjugate", "constant", - "Content", "content", "convergs", "convert", "coords", "copy", "CopySign", - "cos", "cosh", "cot", "coth", "coulditbe", "csc", "csch", "csgn", "currentdir", - "curry", "CylinderD", "CylinderU", "CylinderV", "D", "dawson", "Default0", - "DefaultOverflow", "DefaultUnderflow", "define", "define_external", "degree", - "denom", "depends", "DESol", "Det", "diagon", "Diff", "diff", "diffop", - "Digits", "dilog", "dinterp", "Dirac", "disassemble", "discont", "discrim", - "dismantle", "DistDeg", "Divide", "divide", "dsolve", "efficiency", "Ei", - "Eigenvals", "eliminate", "ellipsoid", "EllipticCE", "EllipticCK", - "EllipticCPi", "EllipticE", "EllipticF", "EllipticK", "EllipticModulus", - "EllipticNome", "EllipticPi", "elliptic_int", "entries", "erf", "erfc", "erfi", - "euler", "eulermac", "Eval", "eval", "evala", "evalapply", "evalb", "evalc", - "evalf", "evalfint", "evalhf", "evalm", "evaln", "evalr", "evalrC", "events", - "Excel", "exists", "exp", "Expand", "expand", "expandoff", "expandon", - "exports", "extract", "extrema", "Factor", "factor", "Factors", "factors", - "fclose", "fdiscont", "feof", "fflush", "FFT", "filepos", "fixdiv", "float", - "floor", "fnormal", "fold", "fopen", "forall", "forget", "fprintf", "frac", - "freeze", "frem", "fremove", "FresnelC", "Fresnelf", "Fresnelg", "FresnelS", - "FromInert", "frontend", "fscanf", "fsolve", "galois", "GAMMA", "GaussAGM", - "Gausselim", "Gaussjord", "gc", "Gcd", "gcd", "Gcdex", "gcdex", "GegenbauerC", - "genpoly", "getenv", "GetResultDataType", "GetResultShape", "GF", "Greek", - "HankelH1", "HankelH2", "harmonic", "has", "hasfun", "hasoption", "hastype", - "heap", "Heaviside", "Hermite", "HermiteH", "hermitian", "Hessenberg", - "hfarray", "history", "hypergeom", "icontent", "identity", "IEEEdiffs", - "ifactor", "ifactors", "iFFT", "igcd", "igcdex", "ilcm", "ilog10", "ilog2", - "ilog", "Im", "implicitdiff", "ImportMatrix", "ImportVector", "indets", "index", - "indexed", "indices", "inifcn", "ininame", "initialcondition", "initialize", - "insert", "int", "intat", "interface", "Interp", "interp", "Inverse", "invfunc", - "invztrans", "iostatus", "iperfpow", "iquo", "iratrecon", "irem", "iroot", - "Irreduc", "irreduc", "is", "iscont", "isdifferential", "IsMatrixShape", - "isolate", "isolve", "ispoly", "isprime", "isqrfree", "isqrt", "issqr", - "ithprime", "JacobiAM", "JacobiCD", "JacobiCN", "JacobiCS", "JacobiDC", - "JacobiDN", "JacobiDS", "JacobiNC", "JacobiND", "JacobiNS", "JacobiP", - "JacobiSC", "JacobiSD", "JacobiSN", "JacobiTheta1", "JacobiTheta2", - "JacobiTheta3", "JacobiTheta4", "JacobiZeta", "KelvinBei", "KelvinBer", - "KelvinHei", "KelvinHer", "KelvinKei", "KelvinKer", "KummerM", "KummerU", - "LaguerreL", "LambertW", "latex", "lattice", "lcm", "Lcm", "lcoeff", "leadterm", - "LegendreP", "LegendreQ", "length", "LerchPhi", "lexorder", "lhs", "CLi", - "Limit", "limit", "Linsolve", "ln", "lnGAMMA", "log", "log10", "LommelS1", - "Lommels2", "lprint", "map", "map2", "Maple_floats", "match", "MatlabMatrix", - "Matrix", "matrix", "MatrixOptions", "max", "maximize", "maxnorm", "maxorder", - "MeijerG", "member", "min", "minimize", "mkdir", "ModifiedMeijerG", "modp", - "modp1", "modp2", "modpol", "mods", "module", "MOLS", "msolve", "mtaylor", - "mul", "NextAfter", "nextprime", "nops", "norm", "norm", "Normal", "normal", - "nprintf", "Nullspace", "numboccur", "numer", "NumericClass", "NumericEvent", - "NumericEventHandler", "NumericException", "numerics", "NumericStatus", - "odetest", "op", "open", "order", "OrderedNE", "parse", "patmatch", "pclose", - "PDEplot_options", "pdesolve", "pdetest", "pdsolve", "piecewise", "plot", - "plot3d", "plotsetup", "pochhammer", "pointto", "poisson", "polar", "polylog", - "polynom", "Power", "Powmod", "powmod", "Prem", "prem", "Preprocessor", - "prevprime", "Primitive", "Primpart", "primpart", "print", "printf", - "ProbSplit", "procbody", "ProcessOptions", "procmake", "Product", "product", - "proot", "property", "protect", "Psi", "psqrt", "queue", "Quo", "quo", - "radfield", "radnormal", "radsimp", "rand", "randomize", "Randpoly", "randpoly", - "Randprime", "range", "ratinterp", "rationalize", "Ratrecon", "ratrecon", "Re", - "readbytes", "readdata", "readlib", "readline", "readstat", "realroot", - "Record", "Reduce", "references", "release", "Rem", "rem", "remove", - "repository", "requires", "residue", "RESol", "Resultant", "resultant", "rhs", - "rmdir", "root", "rootbound", "RootOf", "Roots", "roots", "round", "Rounding", - "rsolve", "rtable", "rtable_algebra", "rtable_dims", "rtable_elems", - "rtable_indfns", "rtable_options", "rtable_printf", "rtable_scanf", - "SampleRTable", "savelib", "Scale10", "Scale2", "scalar", "scan", "scanf", - "SearchText", "searchtext", "sec", "sech", "select", "selectfun", - "selectremove", "seq", "series", "setattribute", "SFloatExponent", - "SFloatMantissa", "shale", "Shi", "showprofile", "showtime", "Si", "sign", - "signum", "Simplify", "simplify", "sin", "sinh", "singular", "sinterp", - "smartplot3d", "Smith", "solve", "solvefor", "sort", "sparse", "spec_eval_rule", - "spline", "spreadsheet", "SPrem", "sprem", "sprintf", "Sqrfree", "sqrfree", - "sqrt", "sscanf", "Ssi", "ssystem", "storage", "string", "StruveH", "StruveL", - "sturm", "sturmseq", "subs", "subsindets", "subsop", "substring", "subtype", - "Sum", "sum", "surd", "Svd", "symmdiff", "symmetric", "syntax", "system", - "table", "tan", "tang", "taylor", "testeq", "testfloat", "TEXT", "thaw", - "thiele", "time", "timelimit", "ToInert", "TopologicalSort", "traperror", - "triangular", "trigsubs", "trunc", "type", "typematch", "unames", "unapply", - "unassign", "undefined", "unit", "Unordered", "unprotect", "update", - "UseHardwareFloats", "userinfo", "value", "Vector", "vector", "verify", - "WeierstrassP", "WeberE", "WeierstrassPPrime", "WeierstrassSigma", - "WeierstrassZeta", "whattype", "WhittakerM", "WhittakerW", "with", "worksheet", - "writebytes", "writedata", "writeline", "writestat", "writeto", "zero", "Zeta", - "zip", "ztrans"},- },- { Id=4,- Regex=[[(\w+)\s*\(]],- },-}--Strings={- Delimiter=[["|'|`]],-}--IgnoreCase=false--Comments={- { Block=false,- Delimiter= { [[\/\/]] },- },-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\^]]
highlight/langDefs/matlab.lang
@@ -1,91 +0,0 @@-Description="Matlab"--Keywords={- { Id=1,- List={"assignin", "break", "case", "catch", "cell", "char", "class", -"dbclear", "dbcont", "dbdown", "dbquit", "dbstack", "dbstatus", "dbstep", -"dbstop", "dbtype", "dbup", "debug", "double", "else", "elseif", "end", "error", -"eval", "evalin", "feval", "fieldnames", "for", "function", "getfield", -"global", "if", "input", "isa", "iscell", "ischar", "isempty", "isequal", -"isfield", "isnumeric", "isstruct", "keyboard", "lasterr", "logical", "length", -"long", "menu", "mexdebug", "nargchk", "nargin", "nargout", "ones", "otherwise", -"pause", "persistent", "return", "rmfield", "script", "setfield", "sparse", -"speye", "struct", "switch", "try", "varargin", "varargout", "while", "acsl", -"binpatch", "cd", "cedit", "clc", "clear", "computer", "delete", "diary", "dir", -"disp", "doc", "dos", "echo", "fileparts", "format", "fullfile", "getenv", -"help", "home", "hostid", "info", "inquire", "load", "lookfor", "ls", -"matlabro", "memory", "mlock", "more", "munlock", "mislocked", "pack", "path", -"pwd", "quit", "readme", "save", "size", "subscrib", "type", "unix", "ver", -"version", "vms", "what", "whatsnew", "which", "who", "whos", "why"},- },- { Id=2,- List={"abs", "acos", "acosh", "acot", "acoth", "acsc", "acsch", "angle", -"asec", "asech", "asin", "asinh", "atan", "atan2", "atanh", "ceil", "conj", -"cos", "cosh", "cot", "coth", "csc", "csch", "exp", "fix", "floor", "imag", -"log", "log10", "real", "rem", "round", "sec", "sech", "sign", "sin", "sinh", -"sqrt", "tan", "tanh", "auread", "auwright", "axes", "axis", "blt", "capture", -"cinvert", "cla", "clf", "clg", "close", "colstyle", "dc2sc", "dialog", -"drawnow", "errordlg", "figflag", "figure", "findobj", "gca", "gcf", "gco", -"get", "getframe", "ginput", "graymon", "hardcopy", "helpdlg", "hold", "image", -"imagesc", "imfinfo", "imread", "imwright", "ishold", "layout", "meta", "movie", -"moviein", "newplot", "orient", "patch", "print", "questdlg", "rbbox", -"refresh", "reset", "rotate", "sc2dc", "set", "shg", "sound", "soundsc", -"subplot", "swapprev", "terminal", "uicontrol", "uigetfile", "uiguide", -"uimenu", "uiputfile", "uisetcolor", "uisetfont", "waitforbuttonpress", -"warndlg", "wavread", "wavwright", "whitebg", "zoom", "all", "any", "arith", -"balance", "bar", "blanks", "bone", "brighten", "caxis", "cdf2rdf", "chol", -"clabel", "cmdmatch", "colon", "colorbar", "colormap", "comet", "comet3", -"compass", "cond", "contour", "contour3", "contourc", "contrast", "conv", -"conv2", "cool", "copper", "corrcoef", "cov", "cplxpair", "cross", "csvread", -"csvwrite", "cumprod", "cumsum", "cylinder", "deblank", "dec2hex", "deconv", -"del2", "delstext", "det", "diff", "diffuse", "dlmread", "dlmwrite", "dot", -"eig", "errorbar", "exist", "expm", "expm1", "expm2", "expm3", "fclose", -"feather", "feof", "ferror", "fft", "fft2", "fftshift", "fgetl", "fgets", -"filesep", "fill", "fill3", "filter", "filter2", "find", "findstr", "finite", -"fixstext", "flag", "fmin", "fmins", "fopen", "foptions", "fplot", "fprintf", -"fread", "frewind", "fscanf", "fseek", "ftell", "funm", "fwrite", "fzero", -"getcargs", "getstext", "gradient", "gray", "grid", "griddata", "gtext", "hess", -"hex2dec", "hex2num", "hdf", "hidden", "hist", "hk", "hot", "hsv", "hsv2rgb", -"icubic", "ifft", "ifft2", "int2str", "interp1", "interp2", "interp3", -"interp4", "interp5", "interp6", "interpft", "inv", "isglobal", "isinf", -"isletter", "isnan", "isreal", "isspace", "isstr", "jet", "kron", "legend", -"line", "loglog", "logm", "lower", "lscan", "lscov", "lu", "mat2str", -"matlabroot", "max", "mean", "median", "mesh", "meshc", "meshz", "mexext", -"min", "mkpp", "move1sto", "moveaxis", "nextpow2", "nnls", "norm", "null", -"num2str", "ode23", "ode23p", "ode45", "orth", "paren", "partialpath", -"pathsep", "pcolor", "pink", "pinv", "planerot", "plot", "plot3", "polar", -"poly", "polyder", "polyeig", "polyfit", "polyline", "polymark", "polyval", -"polyvalm", "ppval", "printsto", "prism", "prod", "punct", "qr", "qrdelete", -"qrinsert", "quad", "quad8", "quad8stp", "quadstp", "quiver", "qz", "rank", -"rcond", "readstfm", "relop", "resi2", "residue", "rgb2hsv", "rgbplot", "roots", -"rose", "rref", "rsf2csf", "schur", "semilogx", "semilogy", "setstext", -"setstr", "shading", "slash", "slegend", "slice", "sort", "specular", "sphere", -"spinmap", "spline", "spreview", "sprintf", "sqrtm", "sscanf", "stairs", "std", -"stem", "stext", "stextbox", "stfixps", "stitle", "stodemo", "str2mat", -"str2num", "str2rng", "strcmp", "strings", "strrep", "strtok", "subspace", -"sum", "surf", "surface", "surfc", "surfl", "surfnorm", "svd", "sxlabel", -"sylabel", "szlabel", "table1", "table2", "tempdir", "tempname", "text", -"title", "trace", "trapz", "unmkpp", "unwrap", "upper", "view", "viewmtx", -"waterfall", "white", "wk1const", "wk1read", "wk1wrec", "wk1write", "xlabel", -"xor", "xyzchk", "ylabel", "zlabel"},- },-}--Strings={- Delimiter=[[']],-}--IgnoreCase=true--Comments={- { Block=false,- Delimiter= { [[%]] },- },- { Block=true,- Nested=false,- Delimiter= { [[\/\*]],[[\*\/]],}- }-}--Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-]]-
highlight/langDefs/maya.lang
@@ -1,179 +0,0 @@--Description="Maya"--Keywords={- { Id=1,- List={"float", "int", "matrix", "string", "vector", "false", "no", "off", - "on", "true", "yes", "break", "case", "continue", "default", "do", "else", - "for", "if", "in", "switch", "while", "alias", "catch", "global", "proc", - "return", "source"},- },- { Id=2,- List={"about", "addattr", "aimconstraint", "air", "aliasattr", "aligncurve", - "alignsurface", "ambientlight", "anglebetween", "animcurveeditor", - "animdisplay", "animview", "applytake", "arclendimcontext", - "arclengthdimension", "arclen", "arraymapper", "assigncommand", - "assigninputdevice", "attachcurve", "attachdeviceattr", "attachsurface", - "attrcolorslidergrp", "attrcompatibility", "attrenumoptionmenu", - "attrenumoptionmenugrp", "attrfieldgrp", "attrfieldslidergrp", - "attrnavigationcontrolgrp", "attributequery", "autokeyframe", "autoplace", - "bakeresults", "bakesimulation", "batchrender", "bevel", "bindpose", "bindskin", - "blend", "blendshape", "blendshapeeditor", "blendshapepanel", "blendtwoattr", - "bonelattice", "boundary", "boxdollyctx", "boxzoomctx", "buildbookmarkmenu", - "buildkeyframemenu", "button", "buttonmanip", "camera", "cameraview", - "cancreatemanip", "canvas", "channelbox", "checkbox", "checkboxgrp", "choice", - "circle", "circularfillet", "closecurve", "closesurface", "cluster", "cmdshell", - "collision", "color", "coloreditor", "colorindex", "colorindexslidergrp", - "colorsliderbuttongrp", "colorslidergrp", "columnlayout", "commandecho", - "commandline", "commandport", "commonpaintctx", "condition", "cone", - "confirmdialog", "connectattr", "connectcontrol", "connectdynamic", - "connectjoint", "connectioninfo", "constrain", "constructionhistory", - "contextinfo", "control", "convertsolidtx", "convertunit", "copykey", - "createdrawctx", "createeditor", "createnode", "ctxabort", "ctxcompletion", - "ctxeditmode", "ctxtraverse", "currentctx", "currenttime", "currenttimectx", - "currentunit", "curve", "curveaddptctx", "curvecvctx", "curveepctx", - "curveeditorctx", "curvemoveepctx", "curveonsurface", "curvesketchctx", - "cutkey", "cyclecheck", "cylinder", "dagobjecthit", "defaultnavigation", - "definedataserver", "defineeditor", "defineeditortemplate", - "definevirtualdevice", "delete", "deleteattr", "deleteui", "detachcurve", - "detachdeviceattr", "detachsurface", "devicepanel", "dimwhen", "directkeyctx", - "directionallight", "disable", "disconnectattr", "disconnectjoint", - "displayaffected", "displaycolor", "displaycull", "displaylevelofdetail", - "displaypref", "displayrgbcolor", "displaysmoothness", "displaystats", - "displaysurface", "distancedimcontext", "distancedimension", "dolly", - "dollyctx", "dopesheeteditor", "doubleprofilebirailsurface", "drag", - "draggercontext", "dropofflocator", "duplicate", "duplicatecurve", "dyncache", - "dyncontrol", "dynexport", "dynexpression", "dynparticlectx", "dynreledpanel", - "dynreleditor", "dynamicload", "editor", "editortemplate", "effector", - "emitter", "enabledevice", "encodestring", "eval", "evaldeferred", "evalecho", - "event", "exclusivelightcheckbox", "expression", "expressioneditorlisten", - "extendcurve", "extendsurface", "extrude", "file", "filebrowserdialog", - "filedialog", "filletcurve", "filter", "filterexpand", "findkeyframe", "finder", - "fitbspline", "flexor", "floatfield", "floatfieldgrp", "floatscrollbar", - "floatslider", "floatsliderbuttongrp", "floatslidergrp", "flow", - "flushthumbnailcache", "flushundo", "fontdialog", "formlayout", "framelayout", - "freeformfillet", "geometryconstraint", "getattr", "getclassification", - "getinputdevicerange", "getpanel", "getparticleattr", "glrender", - "glrendereditor", "goal", "grabcolor", "graphdollyctx", "graphselectcontext", - "graphtrackctx", "gravity", "grid", "gridlayout", "group", "handlerotatectx", - "hardenpointcurve", "hardware", "hardwarerenderpanel", "help", "helpline", - "hide", "hilite", "hotbox", "hotkey", "hotkeycheck", "hypergraph", "hyperpanel", - "icontextbutton", "icontextcheckbox", "icontextradiobutton", - "icontextradiocollection", "icontextstaticlabel", "ikhandle", "ikhandlectx", - "ikhandledisplayscale", "iksolver", "iksplinehandlectx", "iksplinemanipctx", - "iksystem", "iksysteminfo", "image", "index", "inherittransform", "insertjoint", - "insertjointctx", "insertkeyctx", "insertknotcurve", "insertknotsurface", - "instance", "intfield", "intfieldgrp", "intscrollbar", "intslider", - "intslidergrp", "internalvar", "interpport", "intersect", "isconnected", - "isdirty", "istrue", "itemfilter", "itemfilterattr", "itemfilterrender", - "itemfiltertype", "joint", "jointcluster", "jointctx", "jointdisplayscale", - "jointlattice", "journal", "keytangent", "keyframe", "keyframeoutliner",
The diff stops at 1024 KiB. git show acc0ff2 shows the rest.