Changes between Version 2 and Version 3 of ETextEditorSupport
- Timestamp:
- 06/17/09 19:30:44 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ETextEditorSupport
v2 v3 248 248 "begin" : "'", 249 249 "name" : "string.quoted.single.cobra", 250 "comment" : "single quoted strings", 251 "end" : "'" 250 "end" : "'", 251 "patterns" : [ 252 { "include" : "#escaped_characters" } 253 ] 254 }, 255 { 256 "begin" : "\"", 257 "name" : "string.quoted.double.cobra", 258 "end" : "\"", 259 "patterns" : [ 260 { "include" : "#escaped_characters" } 261 ] 252 262 }, 253 263 { … … 258 268 { 259 269 "name" : "support.class.cobra", 260 "match" : "\\b(String|List|Dictionary|Set|Stack|Queue|TextWriter|TextReader|StringBuilder)(?:\\?)?\\s*(<of\\s*[a-zA-Z0-9_]+>)\\b", 261 270 "match" : "\\b(String|List|Dictionary|Set|Stack|Queue|TextWriter|TextReader|StringBuilder)(?:\\?)?\\s*(<of\\s*[a-zA-Z0-9_]+>)\\b" 262 271 } 263 272 ], … … 274 283 "match" : "(?i:%(\\([a-z_]+\\))?#?0?\\-?[ ]?\\+?([0-9]*|\\*)(\\.([0-9]*|\\*))?[hL]?[a-z%])" 275 284 }, 276 "keyword_arguments" : { 277 "begin" : "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(=)(?!=)", 278 "patterns" : [ 279 { 280 "include" : "$self" 281 } 282 ], 283 "endCaptures" : { 284 "1" : { 285 "name" : "punctuation.separator.parameters.cobra" 286 } 287 }, 288 "end" : "\\s*(?:(,)|(?=$\\n?|[\\)]))", 289 "beginCaptures" : { 290 "1" : { 291 "name" : "variable.parameter.function.cobra" 292 }, 293 "2" : { 294 "name" : "keyword.operator.assignment.cobra" 295 } 296 } 285 "escaped_characters" : { 286 "match" : "(\\\\x[0-9A-F]{2})|(\\\\[0-7]{3})|(\\\\\\n)|(\\\\\\\\)|(\\\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)", 287 "name" : "constant.character.escape.cobra" 297 288 }, 298 289 "generic_names" : { … … 302 293 "firstLineMatch" : "^#!/.*\\bcobra\\b" 303 294 } 295 304 296 }}}