File size: 2,693 Bytes
b1b3bae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
<SyntaxDefinition name="Python" extensions=".py">
<Properties>
<Property name="LineComment" value="#"/>
</Properties>
<Digits name="Digits" color="DarkBlue"/>
<RuleSets>
<RuleSet ignorecase="false">
<Delimiters>()[]{}@,:.`=;+-*/% &|^><</Delimiters>
<Span name="DocComment" color="Green">
<Begin>"""</Begin>
<End>"""</End>
</Span>
<Span name="SingleQuoteDocComment" color="Green">
<Begin>'''</Begin>
<End>'''</End>
</Span>
<Span name="LineComment" stopateol="true" color="Green">
<Begin>#</Begin>
</Span>
<Span name="String" stopateol="true" color="Blue" escapecharacter="\">
<Begin>"</Begin>
<End>"</End>
</Span>
<Span name="Char" stopateol="true" color="Magenta" escapecharacter="\">
<Begin>'</Begin>
<End>'</End>
</Span>
<MarkPrevious bold="true" color="MidnightBlue">(</MarkPrevious>
<KeyWords name="Prompt" color="Blue" bold="true">
<Key word=">>>"/>
<Key word="..."/>
</KeyWords>
<KeyWords name="BuiltInStatements" bold="true" color="MidnightBlue">
<Key word="assert"/>
<Key word="del"/>
<Key word="exec"/>
<Key word="global"/>
<Key word="lambda"/>
<Key word="print"/>
</KeyWords>
<KeyWords name="ClassStatement" color="Blue" bold="true">
<Key word="class"/>
</KeyWords>
<KeyWords name="ExceptionHandlingStatements" bold="true" color="Teal">
<Key word="except"/>
<Key word="finally"/>
<Key word="raise"/>
<Key word="try"/>
</KeyWords>
<KeyWords name="FunctionDefinition" bold="true" color="Blue">
<Key word="def"/>
</KeyWords>
<KeyWords name="Imports" bold="true" color="Green">
<Key word="import"/>
<Key word="from"/>
</KeyWords>
<KeyWords name="IterationStatements" bold="true" color="Blue">
<Key word="for"/>
<Key word="in"/>
<Key word="while"/>
</KeyWords>
<KeyWords name="JumpStatements" color="Navy">
<Key word="break"/>
<Key word="continue"/>
<Key word="yield"/>
<Key word="return"/>
</KeyWords>
<KeyWords name="OperatorStatements" bold="true" color="DarkCyan">
<Key word="and"/>
<Key word="as"/>
<Key word="is"/>
<Key word="not"/>
<Key word="or"/>
</KeyWords>
<KeyWords name="PassStatement" color="Gray">
<Key word="pass"/>
</KeyWords>
<KeyWords name="SelectionStatements" bold="true" color="Blue">
<Key word="elif"/>
<Key word="else"/>
<Key word="if"/>
</KeyWords>
<KeyWords name="WithStatement" color="DarkViolet">
<Key word="with"/>
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>
|