|
1 | 1 | <doc> |
| 2 | + <style name="Pipe" color="Yellow" fontStyle="Bold"/> |
| 3 | + <rule style="Pipe">\|</rule> |
| 4 | + |
2 | 5 | <style name="Comment" color="Green" fontStyle="Regular"/> |
3 | 6 | <rule style="Comment">\/\/(.*?)(?:\||$|(?:\r?\n|$))</rule> |
4 | 7 |
|
5 | 8 | <style name="Hashtag" color="Orange" fontStyle="Regular"/> |
6 | 9 | <rule style="Hashtag"> #.*|^\s*#.*|\n#.*</rule> |
7 | 10 |
|
| 11 | + <style name="Yellow" color="Yellow" fontStyle="Regular"/> |
| 12 | + <rule style="Yellow">(\# eztext start|\#eztext start)([^}]*)(\# eztext end|\#eztext end)</rule> |
| 13 | + |
8 | 14 | <style name="Pink" color="HotPink" fontStyle="Regular"/> |
9 | 15 | <rule style="Pink">\b(if|loop|else|DEVPORTAL|method|endmethod)\b</rule> |
10 | 16 |
|
11 | 17 | <style name="Keyword" color="CadetBlue" fontStyle="Regular"></style> |
12 | 18 | <rule style="Keyword">\b(list|group|sound|var|print|await|bringto|clear|instance|destroy|event|file|input|math|intersects|messagebox|stop|shape|textbox|label|button|window|global)\b</rule> |
13 | 19 |
|
14 | | - <style name="Loop" color="LightBlue" fontStyle="Regular"/> |
15 | | - <rule style="Loop">(?<=\blist\b\s*).*\b(new|add|equals|remove|destroy|clear)\b</rule> |
16 | | - |
17 | 20 | <style name="Sky" color="SkyBlue" fontStyle="Regular"/> |
18 | 21 | <rule style="Sky">'(.*?)'|=|-|\+|\*|/|!|\&|~/|~\\</rule> |
19 | 22 |
|
20 | 23 | <style name="LightGreen" color="PaleGreen" fontStyle="Regular"/> |
21 | 24 | <rule style="LightGreen">\b(-?[0-9]\d*)\b</rule> |
22 | 25 |
|
23 | | - <style name="Group" color="LightBlue" fontStyle="Regular"/> |
24 | | - <rule style="Group">(?<=\bgroup\b\s*).*\b(new|change|add|equals|remove|destroy|destroyall|clear)\b</rule> |
| 26 | + <style name="All" color="LightBlue" fontStyle="Regular"/> |
| 27 | + <rule style="All">((?<=\bgroup\b\s*).*\b(new|change|add|equals|remove|destroy|destroyall|clear)\b)|((?<=\blist\b\s*).*\b(new|add|equals|remove|destroy|split|clear)\b)|((?<=\bsound\b\s*).*\b(new|play|playall|volume|destroy|stop|playloop)\b)|((?<=\bfile\b\s*).*\b(read|write|validpath|play|playproj|create|exists|delete)\b)|((?<=\bwindow\b\s*).*\b(new|display|change|close|open|destroy)\b)</rule> |
25 | 28 |
|
26 | | - <style name="Sound" color="LightBlue" fontStyle="Regular"/> |
27 | | - <rule style="Sound">(?<=\bsound\b\s*).*\b(new|play|playall|volume|destroy|stop|playloop)\b</rule> |
28 | | - |
29 | | - <style name="File" color="LightBlue" fontStyle="Regular"/> |
30 | | - <rule style="File">(?<=\bfile\b\s*).*\b(read|write|validpath|play|playproj|create|exists|delete)\b</rule> |
31 | | - |
32 | | - <style name="Window" color="LightBlue" fontStyle="Regular"/> |
33 | | - <rule style="Window">(?<=\bwindow\b\s*).*\b(new|display|change|close|open|destroy)\b</rule> |
34 | | - |
35 | 29 | <style name="Characters" color="Yellow" fontStyle="Regular"/> |
36 | | - <rule style="Characters">\\n|\\!|\\_|\\;|\\q|\\c|\\e|\\|\\\$|\\&|\\\(|\\\)|\\-|\\"|\?\(|\)\?|\||</rule> |
| 30 | + <rule style="Characters">\\n|\\!|\\_|\\;|\\q|\\c|\\e|\\|\\\$|\\&|\\\(|\\\)|\\-|\\"|\?\(|\)\?</rule> |
37 | 31 |
|
38 | 32 | <style name="AfterWordText" color="LightBlue" fontStyle="Regular"/> |
39 | 33 | <rule style="AfterWordText">(?<=\b(print|messagebox|DEVPORTAL)\b\s*).*</rule> |
|
0 commit comments