wok-current view qedit/stuff/strvar_color_slitaz @ rev 20811

cplay: corrected error in fr.po
author Hans-G?nter Theisgen
date Sun Feb 17 17:54:18 2019 +0100 (2019-02-17)
parents
children b2bca81a399e
line source
1 --- oshell_patterns.xml
2 +++ shell_patterns.xml
3 @@ -1,5 +1,5 @@
4 <patterns>
5 - <class pattern="((/\.(((t?c)|ba)?sh)rc)|(/\w+\.(((t?c)|ba)?sh))|(/\w+\.cmake)|(/configure(\.in)?)|\.alias|CMakeLists\.txt|\.jdl)$" icon="text-x-script.png" first_line_pattern="^\s*#\s*!\s*(/.*bin/)?((t?c|k|ba)?sh)" name="shell" >
6 + <class pattern="((/\.(((t?c)|ba)?sh)rc)|(/\w+\.(((t?c)|ba)?sh))|(/\w+\.cmake)|(/configure(\.in)?)|\.alias|CMakeLists\.txt|\.jdl)$" icon="text-x-script.png" first_line_pattern="^\s*#\s*!\s*(/.*bin/)?((t?c|k|ba)?sh)|( SliTaz)" name="shell+" >
8 <!--Options-->
9 <Option>
10 @@ -9,7 +9,7 @@
11 </Option>
12 <Option>
13 <Name>emulate_tabs</Name>
14 - <Value>1</Value>
15 + <Value>0</Value>
16 <flags>2</flags>
17 </Option>
18 <Option>
19 @@ -29,7 +29,7 @@
20 <style format="0" name="Function" color="#aa0000" />
21 <style format="0" name="Keyword" color="#0000ff" />
22 <style format="0" name="Keyword2" color="#0000aa" />
23 - <style format="0" name="String" color="#00cd00" />
24 + <style format="0" name="String" color="#008824" />
26 <!--Highlight patterns-->
27 <range_pattern options="no_indent comments" style="Comment" parent="" name="Comment" >
28 @@ -60,6 +60,10 @@
29 <comments></comments>
30 <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword>
31 </keyword_pattern>
32 + <keyword_pattern style="Keyword2" parent="String" name="Variable" >
33 + <comments></comments>
34 + <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword>
35 + </keyword_pattern>
36 <keyword_pattern style="Keyword2" parent="" name="Assigned variables" >
37 <comments></comments>
38 <keyword>\b(set(env)?|alias)\s+\w+\b</keyword>
39 @@ -70,7 +74,7 @@
40 </keyword_pattern>
41 <keyword_pattern style="Keyword" parent="" name="Keyword" >
42 <comments></comments>
43 - <keyword>\b((set)?env|eval|export|umask|bindkey|(end)?if|break|end|then|else|source|echo|fi|test|in|case|esac|for(each)?|print|cd|cp|exit|rm|ls|do(ne)?)\b</keyword>
44 + <keyword>\b((set)?env|eval|export|umask|bindkey|then|else|source|echo|test|in|print|cd|mkdir|mv|cp|rm|exit|ls|ln|cat|find|grep|awk|ch(mod|own)|kill|(c|q|)make|dialog|install)\b</keyword>
45 </keyword_pattern>
46 <keyword_pattern style="Keyword" parent="" name="Braces" >
47 <comments></comments>
48 @@ -86,7 +90,7 @@
49 </keyword_pattern>
50 <keyword_pattern style="Function" parent="" name="Function" >
51 <comments></comments>
52 - <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()</keyword>
53 + <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()|sed|patch|(end)?if|fi|case|esac|for(each)?|do(ne)?|break|end|EOT</keyword>
54 </keyword_pattern>
56 <!--Indentation patterns-->