Permalink
Browse files

Refactor doublequoted_strings definitions, so that empty strings don'…

…t have a visual/rendering bug.
  • Loading branch information...
Pistos committed Dec 7, 2012
1 parent 01f7c03 commit cb80e23397446f0d24b030b29c81a96ed7840b09
Showing with 15 additions and 15 deletions.
  1. +15 −15 diakonos.conf
View
@@ -702,7 +702,7 @@ lang.xml_tag.indent.size 2
lang.xml_tag.indent.auto true
lang.xml_tag.indent.roundup true
#lang.xml_tag.indent.using_tabs true
-lang.xml_tag.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.xml_tag.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.xml_tag.tokens.doublequoted_strings.format green bold
lang.xml_tag.tokens.singlequoted_strings ('.*?[^\\]')
lang.xml_tag.tokens.singlequoted_strings.format green bold
@@ -772,7 +772,7 @@ lang.html_tag.tokens.elements.case_insensitive \b(A|ABBR|ACRONYM|ADDRES|APPLET|A
lang.html_tag.tokens.elements.format cyan
lang.html_tag.tokens.attributes.case_insensitive \b(abbr|accept-charset|accept|accesskey|action|align|alink|alt|archive|axis|background|bgcolor|border|cellpadding|cellspacing|char|charoff|charset|checked|cite|class|classid|clear|code|codebase|codetype|color|cols|colspan|compact|content|coords|data|datetime|declare|defer|dir|disabled|enctype|face|for|frame|frameborder|headers|height|href|href|hreflang|hspace|http-equiv|id|ismap|label|lang|language|link|longdesc|marginheight|marginwidth|maxlength|media|method|multiple|name|nohref|noresize|noshade|nowrap|object|onblur|onchange|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onreset|onselect|onsubmit|onunload|profile|prompt|readonly|rel|rev|rows|rowspan|rules|scheme|scope|scrolling|selected|shape|size|span|src|standby|start|style|summary|tabindex|target|text|title|type|usemap|valign|value|valuetype|version|vlink|vspace|width)\b
lang.html_tag.tokens.attributes.format white
-lang.html_tag.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.html_tag.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.html_tag.tokens.doublequoted_strings.format green bold
lang.html_tag.tokens.singlequoted_strings ('.*?[^\\]')
lang.html_tag.tokens.singlequoted_strings.format green bold
@@ -860,7 +860,7 @@ lang.ruby.tokens.regular_expressions (\/.+?[^\\]\/)
lang.ruby.tokens.regular_expressions.format red bold
lang.ruby.tokens.regular_expressions2 (%r\{.+?[^\}]\})
lang.ruby.tokens.regular_expressions2.format red bold
-lang.ruby.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
+lang.ruby.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.ruby.tokens.doublequoted_strings.format green bold
lang.ruby.tokens.interpolated_string.open (%Q?\{)
lang.ruby.tokens.interpolated_string.close (\})
@@ -977,7 +977,7 @@ lang.php.bangmask #!.*php|<\?php
lang.php.format.default white bold
lang.php.format.selection inverse
lang.php.format.found yellow inverse
-lang.php.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.php.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.php.tokens.doublequoted_strings.format green bold
lang.php.tokens.singlequoted_strings ('.*?[^\\]')
lang.php.tokens.singlequoted_strings.format green bold
@@ -1031,7 +1031,7 @@ lang.perl.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.perl.tokens.constants.format yellow bold
lang.perl.tokens.regular_expressions (\/.+?[^\\]\/)
lang.perl.tokens.regular_expressions.format red bold
-lang.perl.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.perl.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.perl.tokens.doublequoted_strings.format green bold
lang.perl.tokens.singlequoted_strings ('.*?[^\\]')
lang.perl.tokens.singlequoted_strings.format green bold
@@ -1073,7 +1073,7 @@ lang.python.tokens.constants.format yellow bold
lang.python.tokens.comments (#.*)
lang.python.tokens.comments.format = lang.shared.tokens.comments.format
lang.python.comment_string "# "
-lang.python.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.python.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.python.tokens.doublequoted_strings.format green bold
lang.python.tokens.singlequoted_strings ('.*?[^\\]')
lang.python.tokens.singlequoted_strings.format green bold
@@ -1099,7 +1099,7 @@ lang.java.filemask \.(?:java|js)$
lang.java.format.default white bold
lang.java.format.selection inverse
lang.java.format.found yellow inverse
-lang.java.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.java.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.java.tokens.doublequoted_strings.format green bold
lang.java.tokens.singlequoted_strings ('.*?[^\\]')
lang.java.tokens.singlequoted_strings.format green bold
@@ -1138,7 +1138,7 @@ lang.c.filemask \.(c(pp|xx)?|h)$
lang.c.format.default white bold
lang.c.format.selection inverse
lang.c.format.found yellow inverse
-lang.c.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.c.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.c.tokens.doublequoted_strings.format green bold
lang.c.tokens.singlequoted_strings ('.*?[^\\]')
lang.c.tokens.singlequoted_strings.format green bold
@@ -1179,7 +1179,7 @@ lang.conf.tokens.commands.format cyan bold
lang.conf.tokens.comments (^\s*#.*)
lang.conf.tokens.comments.format yellow bold
lang.conf.comment_string "# "
-lang.conf.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.conf.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.conf.tokens.doublequoted_strings.format green bold
lang.conf.tokens.singlequoted_strings ('.*?[^\\]')
lang.conf.tokens.singlequoted_strings.format green bold
@@ -1266,7 +1266,7 @@ lang.bash.tokens.comments.format = lang.shared.tokens.comments.format
lang.bash.comment_string "# "
lang.bash.tokens.singlequoted_strings ('.*?[^\\]')
lang.bash.tokens.singlequoted_strings.format green bold
-lang.bash.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.bash.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.bash.tokens.doublequoted_strings.format green bold
lang.bash.tokens.backquoted_strings (`.*?[^\\]`)
lang.bash.tokens.backquoted_strings.format red bold
@@ -1294,7 +1294,7 @@ lang.tcl.tokens.reserved_words \b(encoding|incr|pid|tcl_endOfWord|Tcl|eof|info|t
lang.tcl.tokens.reserved_words.format white
lang.tcl.tokens.variables (\$[A-Za-z_][A-Za-z_0-9]*)\b
lang.tcl.tokens.variables.format yellow bold
-lang.tcl.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.tcl.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.tcl.tokens.doublequoted_strings.format green bold
lang.tcl.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.tcl.tokens.non_alphanum.format white
@@ -1341,7 +1341,7 @@ lang.yaml.tokens.inline_series ([\[\]])
lang.yaml.tokens.inline_series.format white
lang.yaml.tokens.inline_keyed ([{}])
lang.yaml.tokens.inline_keyed.format white
-lang.yaml.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
+lang.yaml.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.yaml.tokens.doublequoted_strings.format green bold
lang.yaml.tokens.singlequoted_strings ('.*?[^\\]'|'')
lang.yaml.tokens.singlequoted_strings.format green bold
@@ -1478,7 +1478,7 @@ lang.bind.tokens.keywords1 \b(IN)\b
lang.bind.tokens.keywords1.format white
lang.bind.tokens.keywords2 \b(A|CNAME|MX|NS|SOA|TXT)\b
lang.bind.tokens.keywords2.format yellow bold
-lang.bind.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
+lang.bind.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.bind.tokens.doublequoted_strings.format green bold
lang.bind.indent.size 8
lang.bind.indent.auto true
@@ -1546,7 +1546,7 @@ lang.haskell.tokens.long_comments.format = lang.shared.tokens.comments.format
# lang.haskell.tokens.regular_expressions.format red bold
# lang.haskell.tokens.regular_expressions2 (%r\{.+?[^\}]\})
# lang.haskell.tokens.regular_expressions2.format red bold
-lang.haskell.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
+lang.haskell.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.haskell.tokens.doublequoted_strings.format green bold
lang.haskell.tokens.singlequoted_strings ('.*?[^\\]'|'')
lang.haskell.tokens.singlequoted_strings.format green bold
@@ -1586,7 +1586,7 @@ lang.lua.tokens.comments.format = lang.shared.tokens.comments.format
lang.lua.comment_string "-- "
lang.lua.tokens.singlequoted_strings ('.*?[^\\]')
lang.lua.tokens.singlequoted_strings.format green bold
-lang.lua.tokens.doublequoted_strings (\".*?[^\\]\")
+lang.lua.tokens.doublequoted_strings (\".*?[^\\]?\")
lang.lua.tokens.doublequoted_strings.format green bold
lang.lua.tokens.numbers \b([0-9]+[.e][0-9]+|[0-9]+)
lang.lua.tokens.numbers.format blue bold

0 comments on commit cb80e23

Please sign in to comment.