wok annotate qedit/stuff/strvar_color_slitaz @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (2022-06-13)
parents cec5a7f20966
children
rev   line source
psychomaniak@17113 1 --- oshell_patterns.xml
psychomaniak@17113 2 +++ shell_patterns.xml
psychomaniak@17113 3 @@ -1,5 +1,5 @@
psychomaniak@17113 4 <patterns>
psychomaniak@17113 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" >
psychomaniak@17113 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+" >
psychomaniak@17113 7
psychomaniak@17113 8 <!--Options-->
psychomaniak@17113 9 <Option>
psychomaniak@17113 10 @@ -9,7 +9,7 @@
psychomaniak@17113 11 </Option>
psychomaniak@17113 12 <Option>
psychomaniak@17113 13 <Name>emulate_tabs</Name>
psychomaniak@17113 14 - <Value>1</Value>
psychomaniak@17113 15 + <Value>0</Value>
psychomaniak@17113 16 <flags>2</flags>
psychomaniak@17113 17 </Option>
psychomaniak@17113 18 <Option>
psychomaniak@17113 19 @@ -29,7 +29,7 @@
psychomaniak@17113 20 <style format="0" name="Function" color="#aa0000" />
psychomaniak@17113 21 <style format="0" name="Keyword" color="#0000ff" />
psychomaniak@17113 22 <style format="0" name="Keyword2" color="#0000aa" />
psychomaniak@17113 23 - <style format="0" name="String" color="#00cd00" />
psychomaniak@17113 24 + <style format="0" name="String" color="#008824" />
psychomaniak@17113 25
psychomaniak@17113 26 <!--Highlight patterns-->
psychomaniak@17113 27 <range_pattern options="no_indent comments" style="Comment" parent="" name="Comment" >
psychomaniak@17113 28 @@ -60,6 +60,10 @@
psychomaniak@17113 29 <comments></comments>
psychomaniak@17113 30 <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword>
psychomaniak@17113 31 </keyword_pattern>
psychomaniak@17113 32 + <keyword_pattern style="Keyword2" parent="String" name="Variable" >
psychomaniak@17113 33 + <comments></comments>
psychomaniak@17113 34 + <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword>
psychomaniak@17113 35 + </keyword_pattern>
psychomaniak@17113 36 <keyword_pattern style="Keyword2" parent="" name="Assigned variables" >
psychomaniak@17113 37 <comments></comments>
psychomaniak@17113 38 <keyword>\b(set(env)?|alias)\s+\w+\b</keyword>
psychomaniak@17113 39 @@ -70,7 +74,7 @@
psychomaniak@17113 40 </keyword_pattern>
psychomaniak@17113 41 <keyword_pattern style="Keyword" parent="" name="Keyword" >
psychomaniak@17113 42 <comments></comments>
psychomaniak@17113 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>
psychomaniak@17113 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>
psychomaniak@17113 45 </keyword_pattern>
psychomaniak@17113 46 <keyword_pattern style="Keyword" parent="" name="Braces" >
psychomaniak@17113 47 <comments></comments>
Hans-G?nter@21737 48 @@ -90,7 +90,7 @@
psychomaniak@17113 49 </keyword_pattern>
psychomaniak@17113 50 <keyword_pattern style="Function" parent="" name="Function" >
psychomaniak@17113 51 <comments></comments>
Hans-G?nter@21737 52 - <keyword>(\b|&amp;)([^\s]+)\s*(?=\()</keyword>
psychomaniak@17113 53 + <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()|sed|patch|(end)?if|fi|case|esac|for(each)?|do(ne)?|break|end|EOT</keyword>
psychomaniak@17113 54 </keyword_pattern>
psychomaniak@17113 55
psychomaniak@17113 56 <!--Indentation patterns-->