[DEBUG] correct all xml config language
This commit is contained in:
parent
8094d7c5ab
commit
8d22c48dc3
@ -4,15 +4,24 @@
|
||||
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
||||
<rule name="my comment multiline doxygen">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>/\*\*.*?\*/</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>/\*.*?\*/</regex>
|
||||
<regex>
|
||||
<start>/\*</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my if 0">
|
||||
<color>preprocesseur</color>
|
||||
<regex>#[ \t]*if 0.*?#(regexif|else)</regex>
|
||||
<regex>
|
||||
<start>#[ \t]*if 0</start>
|
||||
<stop>#(endif|else)</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my preprocesseur">
|
||||
<color>preprocesseur</color>
|
||||
|
@ -5,25 +5,38 @@
|
||||
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
||||
<rule name="doxygen multiline">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>/\*(\*|!)(.|\r|\n)*?\*/</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
<sub>doxyparse</sub>
|
||||
</rule>
|
||||
<rule name="comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>/\*(.|\r|\n)*?(\*/|\0)</regex>
|
||||
<regex>
|
||||
<start>/\*</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
<sub>TODO</sub>
|
||||
</rule>
|
||||
<rule name="comment multiline ERROR">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
<regex>/\*(.|\r|\n)*</regex>
|
||||
<regex>
|
||||
<start>/\*</start>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="#if 0">
|
||||
<color>preprocesseur</color>
|
||||
<regex>#[ \t]*if 0(.|\r|\n)*?#(endif|else)</regex>
|
||||
<regex>
|
||||
<start>#[ \t]*if 0</start>
|
||||
<stop>#(endif|else)</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="#if 0 ERROR">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
<regex>#[ \t]*if 0(.|\r|\n)*</regex>
|
||||
<regex>
|
||||
<start>#[ \t]*if 0</start>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="#preproc">
|
||||
<color>preprocesseur</color>
|
||||
|
@ -4,15 +4,24 @@
|
||||
<pass1>
|
||||
<rule name="my comment multiline doxygen">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>/\*\*.*\*/</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>/\*.*\*/</regex>
|
||||
<regex>
|
||||
<start>/\*</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my if 0">
|
||||
<color>preprocesseur</color>
|
||||
<regex>#[ \t]*if 0(.|\\[\\\n])*#(endif|else)</regex>
|
||||
<regex>
|
||||
<start>#[ \t]*if 0</start>
|
||||
<stop>#(endif|else)</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my preprocesseur">
|
||||
<color>preprocesseur</color>
|
||||
|
@ -4,26 +4,34 @@
|
||||
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
||||
<rule name="doxygen multiline">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>/\*(\*|!)(.|\r|\n)*?\*/</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
<sub>doxyparse</sub>
|
||||
</rule>
|
||||
<rule name="comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>/\*(.|\r|\n)*?(\*/|\0)</regex>
|
||||
<regex>
|
||||
<start>/\*</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
<sub>TODO</sub>
|
||||
</rule>
|
||||
<rule name="comment multiline ERROR">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
<regex>/\*(.|\r|\n)*</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="inline doxygen">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>//!.*</regex>
|
||||
<regex>//!.*$</regex>
|
||||
<sub>doxyparse</sub>
|
||||
</rule>
|
||||
<rule name="inline comment">
|
||||
<color>comment</color>
|
||||
<regex>//.*</regex>
|
||||
<regex>//.*$</regex>
|
||||
<sub>TODO</sub>
|
||||
</rule>
|
||||
<rule name="double quote text">
|
||||
|
@ -4,7 +4,10 @@
|
||||
<pass1>
|
||||
<rule name="Comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>\-\-\[\[.*?\-\-\]\]</regex>
|
||||
<regex>
|
||||
<start>\-\-\[\[</start>
|
||||
<stop>\-\-\]\]</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my todo comment">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
|
@ -4,26 +4,34 @@
|
||||
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
||||
<rule name="doxygen multiline">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>/\*(\*|!)(.|\r|\n)*?\*/</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
<sub>doxyparse</sub>
|
||||
</rule>
|
||||
<rule name="comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>/\*(.|\r|\n)*?(\*/|\0)</regex>
|
||||
<regex>
|
||||
<start>/\*</start>
|
||||
<stop>\*/</stop>
|
||||
</regex>
|
||||
<sub>TODO</sub>
|
||||
</rule>
|
||||
<rule name="comment multiline ERROR">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
<regex>/\*(.|\r|\n)*</regex>
|
||||
<regex>
|
||||
<start>/\*(\*|!)</start>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="inline doxygen">
|
||||
<color>commentDoxygen</color>
|
||||
<regex>//!.*</regex>
|
||||
<regex>//!.*$</regex>
|
||||
<sub>doxyparse</sub>
|
||||
</rule>
|
||||
<rule name="inline comment">
|
||||
<color>comment</color>
|
||||
<regex>(//|#).*</regex>
|
||||
<regex>(//|#).*$</regex>
|
||||
<sub>TODO</sub>
|
||||
</rule>
|
||||
<rule name="doubleQuteText">
|
||||
|
@ -4,15 +4,23 @@
|
||||
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
||||
<rule name="my comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>"""(.|\r|\n)*?"""</regex>
|
||||
<regex>
|
||||
<start>"""</start>
|
||||
<stop>"""</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my comment multiline">
|
||||
<color>comment</color>
|
||||
<regex>'''(.|\r|\n)*?'''</regex>
|
||||
<regex>
|
||||
<start>'''</start>
|
||||
<stop>'''</stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="comment multiline Error">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
<regex>("""|''')(.|\n|\r)*</regex>
|
||||
<regex>
|
||||
<start>("""|''')</start>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="my comment doxygen">
|
||||
<color>commentDoxygen</color>
|
||||
|
@ -4,35 +4,41 @@
|
||||
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
||||
<rule name="Comment">
|
||||
<color>comment</color>
|
||||
<!--<regex><![CDATA[<!\-\-(.|\r|\n)*?\-\->]]></regex>-->
|
||||
-<regex><!\-\-(.|\r|\n)*?\-\-></regex>
|
||||
<regex>
|
||||
<start><!\-\-</start>
|
||||
<stop>\-\-></stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="CDATA">
|
||||
<color>macro</color>
|
||||
<!--<regex><![CDATA[<!\[CDATA\[(.|\r|\n)*?\]\]>]]></regex>-->
|
||||
<regex><!\[CDATA\[(.|\r|\n)*?\]\]></regex>
|
||||
<regex>
|
||||
<start><!\[CDATA\[</start>
|
||||
<stop>\]\]></stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="stop balise">
|
||||
<color>functionName</color>
|
||||
<!--<regex><![CDATA[</[ \t]*\w+?[ \t]*>]]></regex>-->
|
||||
<regex></[ \t]*\w+?[ \t]*></regex>
|
||||
</rule>
|
||||
<rule name="stop balise">
|
||||
<color>SYNTAX_ERROR</color>
|
||||
<!--<regex><![CDATA[</(.|\n|\r)*?>]]></regex>-->
|
||||
<regex></(.|\n|\r)*?></regex>
|
||||
<regex>
|
||||
<start></</start>
|
||||
<stop>></stop>
|
||||
</regex>
|
||||
</rule>
|
||||
<rule name="start balise">
|
||||
<color>normal</color>
|
||||
<!--<regex><![CDATA[<(.|\n|\r)*?>]]></regex>-->
|
||||
<regex><(.|\n|\r)*?></regex>
|
||||
<regex>
|
||||
<start><</start>
|
||||
<stop>></stop>
|
||||
</regex>
|
||||
<sub>parseInsideBalise</sub>
|
||||
</rule>
|
||||
</pass1>
|
||||
<pass2>
|
||||
<rule name="start balise">
|
||||
<color>commonDefine</color>
|
||||
<!--<regex><![CDATA[&(gt|lt|amp|apos|quot);]]></regex>-->
|
||||
<regex>&(gt|lt|amp|apos|quot);</regex>
|
||||
</rule>
|
||||
<rule name="start balise">
|
||||
@ -43,17 +49,14 @@
|
||||
<pass name="parseInsideBalise">
|
||||
<rule name="special Balise">
|
||||
<color>error</color>
|
||||
<!--<regex><![CDATA[<\?\w*|\?>]]></regex>-->
|
||||
<regex><\?\w*|\?></regex>
|
||||
</rule>
|
||||
<rule name="open balise">
|
||||
<color>functionName</color>
|
||||
<!--<regex><![CDATA[<[ \t]*[0-9a-zA-Z_]+]]></regex>-->
|
||||
<regex><[ \t]*[0-9a-zA-Z_]+</regex>
|
||||
</rule>
|
||||
<rule name="close balise">
|
||||
<color>functionName</color>
|
||||
<!--<regex><![CDATA[/?>]]></regex>-->
|
||||
<regex>/?></regex>
|
||||
</rule>
|
||||
<rule name="doubleQuteText">
|
||||
|
@ -84,14 +84,11 @@ def create(target, module_name):
|
||||
])
|
||||
my_module.add_module_depend(['ewol'])
|
||||
my_module.copy_path('data/icon.*','')
|
||||
"""
|
||||
my_module.copy_path('data/languages/gcov/*.xml','languages/gcov/')
|
||||
my_module.copy_path('data/languages/asm/*.xml','languages/asm/')
|
||||
my_module.copy_path('data/languages/bash/*.xml','languages/bash/')
|
||||
my_module.copy_path('data/languages/boo/*.xml','languages/boo/')
|
||||
"""
|
||||
my_module.copy_path('data/languages/cpp/*.xml','languages/cpp/')
|
||||
"""
|
||||
my_module.copy_path('data/languages/c/*.xml','languages/c/')
|
||||
my_module.copy_path('data/languages/cmake/*.xml','languages/cmake/')
|
||||
my_module.copy_path('data/languages/glsl/*.xml','languages/glsl/')
|
||||
@ -104,7 +101,6 @@ def create(target, module_name):
|
||||
my_module.copy_path('data/languages/php/*.xml','languages/php/')
|
||||
my_module.copy_path('data/languages/xml/*.xml','languages/xml/')
|
||||
my_module.copy_path('data/languages/python/*.xml','languages/python/')
|
||||
"""
|
||||
my_module.copy_path('data/theme/default/*.svg','theme/shape/square/')
|
||||
my_module.copy_path('data/theme/default/*.edf','theme/shape/square/')
|
||||
my_module.copy_path('data/theme/colorWhite/*.json','theme/color/white/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user