Changes between Version 8 and Version 9 of ETextEditorSupport
- Timestamp:
- 06/19/09 10:30:42 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ETextEditorSupport
v8 v9 83 83 }, 84 84 { 85 "begin" : "^\\s*\"\"\"\\s+",86 "name" : "comment.block.cobra",87 "comment" : "comment blocks including docstrings",88 "end" : "^\\s*\"\"\"$"89 },90 {91 85 "name" : "storage.type.function.cobra", 92 86 "match" : "\\b(def|cue|get|set|test|ensure|body|require)\\b" … … 159 153 }, 160 154 { 161 "name" : "keyword.operator.from.cobra",162 "match" : "\\bfrom|as\\b"163 },164 {165 155 "name" : "support.variable.cobra", 166 "match" : "\\bvar\\b" 156 "match" : "\\bvar|from|as|get\\b" 157 }, 158 { 159 "include" : "#type" 160 }, 161 { 162 "include" : "#multiline-comments" 167 163 } 168 164 ], … … 177 173 } 178 174 } 175 }, 176 { 177 "include" : "#multiline-comments" 179 178 } 180 179 ], … … 184 183 "cobra" 185 184 ], 186 "foldingStopMarker" : "^ \\s*$",187 "foldingStartMarker" : "^\\s*(def|class|cue )(.*)",185 "foldingStopMarker" : "^$", 186 "foldingStartMarker" : "^\\s*(def|class|cue|get|set)(.*)", 188 187 "repository" : { 189 188 "argument-list" : { … … 206 205 } 207 206 }, 207 "multiline-comments" : { 208 "begin" : "^\\s*\"\"\"\\s+", 209 "name" : "comment.block.cobra", 210 "comment" : "comment blocks including docstrings", 211 "end" : "(^\\s*|\\s+)\"\"\"$" 212 }, 208 213 "escaped-characters" : { 209 214 "name" : "constant.character.escape.cobra",