fix bracket matching in tcl mode
This commit is contained in:
parent
782e3f8743
commit
4012a11208
1 changed files with 5 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ var TclHighlightRules = function() {
|
|||
regex : '[ ]*["]',
|
||||
next : "qqstring"
|
||||
}, {
|
||||
token : "variable.instancce", // variable xotcl with braces
|
||||
token : "variable.instance", // variable xotcl with braces
|
||||
regex : "[$]",
|
||||
next : "variable"
|
||||
}, {
|
||||
|
|
@ -103,7 +103,7 @@ var TclHighlightRules = function() {
|
|||
token : "string", // single line
|
||||
regex : '[ ]*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
|
||||
}, {
|
||||
token : "variable.instancce", // variable xotcl with braces
|
||||
token : "variable.instance", // variable xotcl with braces
|
||||
regex : "[$]",
|
||||
next : "variable"
|
||||
}, {
|
||||
|
|
@ -118,6 +118,9 @@ var TclHighlightRules = function() {
|
|||
token : "support.function",
|
||||
regex : "(?:[:][:])",
|
||||
next : "commandItem"
|
||||
}, {
|
||||
token : "paren.rparen",
|
||||
regex : "[\\])}]"
|
||||
}, {
|
||||
token : "support.function",
|
||||
regex : "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|{\\*}|;|::"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue