]> git.stg.codes - stg.git/blobdiff - doc/help/xslt/highlighting/ini-hl.xml
DocBook documentation stub added
[stg.git] / doc / help / xslt / highlighting / ini-hl.xml
diff --git a/doc/help/xslt/highlighting/ini-hl.xml b/doc/help/xslt/highlighting/ini-hl.xml
new file mode 100644 (file)
index 0000000..8a938f3
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+\r
+Syntax highlighting definition for ini files\r
+\r
+xslthl - XSLT Syntax Highlighting\r
+http://sourceforge.net/projects/xslthl/\r
+Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks\r
+\r
+This software is provided 'as-is', without any express or implied\r
+warranty.  In no event will the authors be held liable for any damages\r
+arising from the use of this software.\r
+\r
+Permission is granted to anyone to use this software for any purpose,\r
+including commercial applications, and to alter it and redistribute it\r
+freely, subject to the following restrictions:\r
+\r
+1. The origin of this software must not be misrepresented; you must not\r
+   claim that you wrote the original software. If you use this software\r
+   in a product, an acknowledgment in the product documentation would be\r
+   appreciated but is not required.\r
+2. Altered source versions must be plainly marked as such, and must not be\r
+   misrepresented as being the original software.\r
+3. This notice may not be removed or altered from any source distribution.\r
+\r
+Michal Molhanec <mol1111 at users.sourceforge.net>\r
+Jirka Kosek <kosek at users.sourceforge.net>\r
+Michiel Hendriks <elmuerte at users.sourceforge.net>\r
+\r
+-->\r
+<highlighters>\r
+       <highlighter type="oneline-comment">;</highlighter>\r
+       <highlighter type="regex">      \r
+               <!-- ini sections -->\r
+               <pattern>^(\[.+\]\s*)$</pattern>\r
+               <style>keyword</style>\r
+               <flags>MULTILINE</flags>\r
+       </highlighter>\r
+       <highlighter type="regex">\r
+               <!-- the keys in an ini section -->\r
+               <pattern>^(.+)(?==)</pattern>\r
+               <style>attribute</style>\r
+               <flags>MULTILINE</flags>\r
+       </highlighter>\r
+</highlighters>
\ No newline at end of file