~ubuntu-branches/ubuntu/wily/ktexteditor/wily-proposed

« back to all changes in this revision

Viewing changes to src/syntax/data/python.xml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Jonathan Riddell, Scarlett Clark
  • Date: 2014-09-22 19:37:47 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140922193747-6vhh92mz3ci4fxu1
Tags: 5.2.0-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Use pkg-kde-tools version 3 scripts

[ Scarlett Clark ]
* Add missing dependency libqt5xmlpatterns5-dev.
* Cleanup copyright + move copyright extra details to comment to silence
  space-in-std-shortname-in-dep5-copyright lintian error.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
<!-- v2.06 decorator names can (and often do) contain periods -->
14
14
<!-- v2.07 add support for %prog and co, see bug 142832 -->
15
15
<!-- v2.08 add missing overloaders, new Python 3 statements, builtins, and keywords -->
16
 
<language name="Python" version="2.22" style="python" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license="">
 
16
<language name="Python" version="2.23" style="python" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license="">
17
17
        <highlighting>
18
18
                <list name="prep">
19
19
                        <item> import </item>
378
378
                                <StringDetect attribute="String" String="u&quot;&quot;&quot;" insensitive="true" context="Tripple Q-string" beginRegion="Tripple Q-region"/>
379
379
                                <!-- ' -->
380
380
                                <DetectChar attribute="String" char="'" context="Single A-string"/>
381
 
                                <Detect2Chars attribute="String" char="u" char1="'" insensitive="true" context="Single A-string"/>
 
381
                                <StringDetect attribute="String" String="u'" insensitive="true" context="Single A-string"/>
382
382
                                <!-- " -->
383
383
                                <DetectChar attribute="String" char="&quot;" context="Single Q-string"/>
384
 
                                <Detect2Chars attribute="String" char="u" char1="&quot;" insensitive="true" context="Single Q-string"/>
 
384
                                <StringDetect attribute="String" String="u&quot;" insensitive="true" context="Single Q-string"/>
385
385
 
386
386
                                <!-- ''' -->
387
387
                                <StringDetect attribute="Raw String" String="r'''" insensitive="true" context="Raw Tripple A-string" beginRegion="Tripple A-region"/>
407
407
                                <StringDetect attribute="Comment" String="u&quot;&quot;&quot;" insensitive="true" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>
408
408
                                <!-- ' -->
409
409
                                <DetectChar attribute="Comment" char="'" firstNonSpace="true" context="Single A-comment"/>
410
 
                                <Detect2Chars attribute="Comment" char="u" char1="'" insensitive="true" firstNonSpace="true" context="Single A-comment"/>
 
410
                                <StringDetect attribute="Comment" String="u'" insensitive="true" firstNonSpace="true" context="Single A-comment"/>
411
411
                                <!-- " -->
412
412
                                <DetectChar attribute="Comment" char="&quot;" firstNonSpace="true" context="Single Q-comment"/>
413
 
                                <Detect2Chars attribute="Comment" char="u" char1="&quot;" insensitive="true" firstNonSpace="true" context="Single Q-comment"/>
 
413
                                <StringDetect attribute="Comment" String="u&quot;" insensitive="true" firstNonSpace="true" context="Single Q-comment"/>
414
414
 
415
415
                                <!-- ''' -->
416
416
                                <StringDetect attribute="Comment" String="r'''" insensitive="true" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>