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