Supported languages:
- JavaScript: Uses JsLint and V8 Python binding — PyV8
I could adapt this code to this tmLanguage file? Is a WIP work. Ty for your time!
[code]<?xml version="1.0" encoding="UTF-8"?>
fileTypes txt name tinspire patterns match \b(?i:(Prgm|EndPrgm|Func|EndFunc|If|Then|Else|ElseIf|For|While|Loop|Try|PassErr|Return|Cycle|Exit|Lbl|Goto|Stop|EndFor|EndTry|EndWhile|EndIf|EndLoop|Disp|Text))\b name keyword.control.tinspire captures 1 name storage.type.function.tinspire 2 name entity.name.function.tinspire match \b(?i:(Define))\b\s+(\w+(\.\w+)?) name meta.function.tinspire captures 1 name storage.type.function.tinspire 2 name entity.name.function.tinspire match \b(?i:(FUNÇOES DA CALC))\b name meta.function.tinspire match \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b name constant.numeric.tinspire captures 1 name punctuation.definition.comment.tinspire match (©).*$©n? name comment.symbol.tinspire.one captures 1 name punctuation.definition.comment.tinspire match (©).*$©n? name comment.line.tinspire.two begin © captures 0 name punctuation.definition.comment.tinspire end © name comment.block.tinspire.one begin © captures 0 name punctuation.definition.comment.tinspire end © name comment.block.tinspire.two scopeName source.tinspire uuid ddabc4ed-2790-45e0-8e55-31c8a2c14563 [/code]Your idea is excellent and really should be an option within sublimetext!
Great idea! For my taste, it is a little too much though. Would it be possible to move the coloring to the gutter? That would be excellent and also does not require to modify the language file.