wok diff qedit/stuff/strvar_color_slitaz @ rev 19885
bluez: add /usr/bin/bluepin (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 03 18:54:18 2017 +0200 (2017-04-03) |
parents | |
children | b2bca81a399e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qedit/stuff/strvar_color_slitaz Mon Apr 03 18:54:18 2017 +0200 1.3 @@ -0,0 +1,56 @@ 1.4 +--- oshell_patterns.xml 1.5 ++++ shell_patterns.xml 1.6 +@@ -1,5 +1,5 @@ 1.7 + <patterns> 1.8 +- <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" > 1.9 ++ <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+" > 1.10 + 1.11 + <!--Options--> 1.12 + <Option> 1.13 +@@ -9,7 +9,7 @@ 1.14 + </Option> 1.15 + <Option> 1.16 + <Name>emulate_tabs</Name> 1.17 +- <Value>1</Value> 1.18 ++ <Value>0</Value> 1.19 + <flags>2</flags> 1.20 + </Option> 1.21 + <Option> 1.22 +@@ -29,7 +29,7 @@ 1.23 + <style format="0" name="Function" color="#aa0000" /> 1.24 + <style format="0" name="Keyword" color="#0000ff" /> 1.25 + <style format="0" name="Keyword2" color="#0000aa" /> 1.26 +- <style format="0" name="String" color="#00cd00" /> 1.27 ++ <style format="0" name="String" color="#008824" /> 1.28 + 1.29 + <!--Highlight patterns--> 1.30 + <range_pattern options="no_indent comments" style="Comment" parent="" name="Comment" > 1.31 +@@ -60,6 +60,10 @@ 1.32 + <comments></comments> 1.33 + <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword> 1.34 + </keyword_pattern> 1.35 ++ <keyword_pattern style="Keyword2" parent="String" name="Variable" > 1.36 ++ <comments></comments> 1.37 ++ <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword> 1.38 ++ </keyword_pattern> 1.39 + <keyword_pattern style="Keyword2" parent="" name="Assigned variables" > 1.40 + <comments></comments> 1.41 + <keyword>\b(set(env)?|alias)\s+\w+\b</keyword> 1.42 +@@ -70,7 +74,7 @@ 1.43 + </keyword_pattern> 1.44 + <keyword_pattern style="Keyword" parent="" name="Keyword" > 1.45 + <comments></comments> 1.46 +- <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> 1.47 ++ <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> 1.48 + </keyword_pattern> 1.49 + <keyword_pattern style="Keyword" parent="" name="Braces" > 1.50 + <comments></comments> 1.51 +@@ -86,7 +90,7 @@ 1.52 + </keyword_pattern> 1.53 + <keyword_pattern style="Function" parent="" name="Function" > 1.54 + <comments></comments> 1.55 +- <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()</keyword> 1.56 ++ <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()|sed|patch|(end)?if|fi|case|esac|for(each)?|do(ne)?|break|end|EOT</keyword> 1.57 + </keyword_pattern> 1.58 + 1.59 + <!--Indentation patterns-->