[DEV] set back the use of the etk::RegExp and etk::Buffer instead of std::regex and std::string ==> fast edit big files

This commit is contained in:
2017-03-14 21:56:56 +01:00
parent c4f59d8734
commit a42436092b
28 changed files with 238 additions and 280 deletions

View File

@@ -4,11 +4,11 @@
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
<rule name="first line">
<color>commentDoxygen</color>
<regex>#!(.|\\[\\\n])*?$</regex>
<regex>#!(\\[\\\n]|.)*$</regex>
</rule>
<rule name="comment line">
<color>comment</color>
<regex>#(.|\\[\\\n])*?$</regex>
<regex>#(\\[\\\n]|.)*$</regex>
</rule>
<rule name="doubleQuteText">
<color>doubleQuoteText</color>
@@ -22,7 +22,7 @@
<pass2> <!-- Parse on display data ==> nor regenerate every display but every time modification apear -->
<rule name="my keyword">
<color>keyword</color>
<regex>\b(for|done|do|while|in|if|elif|then|else|fi)\b</regex>
<regex>\@for|done|do|while|in|if|elif|then|else|fi\@</regex>
</rule>
<rule name="my Variable">
<color>keyword</color>