]> git.stg.codes - stg.git/blobdiff - doc/help/xslt/highlighting/python-hl.xml
DocBook documentation stub added
[stg.git] / doc / help / xslt / highlighting / python-hl.xml
diff --git a/doc/help/xslt/highlighting/python-hl.xml b/doc/help/xslt/highlighting/python-hl.xml
new file mode 100644 (file)
index 0000000..791bc7a
--- /dev/null
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+\r
+Syntax highlighting definition for Python\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="annotation">\r
+               <!-- these are actually called decorators -->\r
+               <start>@</start>\r
+               <valueStart>(</valueStart>\r
+               <valueEnd>)</valueEnd>\r
+       </highlighter>\r
+       <highlighter type="oneline-comment">#</highlighter>\r
+       <highlighter type="string">\r
+               <string>"""</string>\r
+               <spanNewLines />\r
+       </highlighter>\r
+       <highlighter type="string">\r
+               <string>'''</string>\r
+               <spanNewLines />\r
+       </highlighter>\r
+       <highlighter type="string">\r
+               <string>"</string>\r
+               <escape>\</escape>\r
+       </highlighter>\r
+       <highlighter type="string">\r
+               <string>'</string>\r
+               <escape>\</escape>\r
+       </highlighter>\r
+       <highlighter type="hexnumber">\r
+               <prefix>0x</prefix>\r
+               <suffix>l</suffix>\r
+               <ignoreCase />\r
+       </highlighter>\r
+       <highlighter type="number">\r
+               <point>.</point>\r
+               <pointStarts />\r
+               <exponent>e</exponent>\r
+               <suffix>l</suffix>\r
+               <ignoreCase />\r
+       </highlighter>\r
+       <highlighter type="keywords">\r
+               <keyword>and</keyword>\r
+               <keyword>del</keyword>\r
+               <keyword>from</keyword>\r
+               <keyword>not</keyword>\r
+               <keyword>while</keyword>\r
+               <keyword>as</keyword>\r
+               <keyword>elif</keyword>\r
+               <keyword>global</keyword>\r
+               <keyword>or</keyword>\r
+               <keyword>with</keyword>\r
+               <keyword>assert</keyword>\r
+               <keyword>else</keyword>\r
+               <keyword>if</keyword>\r
+               <keyword>pass</keyword>\r
+               <keyword>yield</keyword>\r
+               <keyword>break</keyword>\r
+               <keyword>except</keyword>\r
+               <keyword>import</keyword>\r
+               <keyword>print</keyword>\r
+               <keyword>class</keyword>\r
+               <keyword>exec</keyword>\r
+               <keyword>in</keyword>\r
+               <keyword>raise</keyword>\r
+               <keyword>continue</keyword>\r
+               <keyword>finally</keyword>\r
+               <keyword>is</keyword>\r
+               <keyword>return</keyword>\r
+               <keyword>def</keyword>\r
+               <keyword>for</keyword>\r
+               <keyword>lambda</keyword>\r
+               <keyword>try</keyword>\r
+       </highlighter>\r
+</highlighters>
\ No newline at end of file