diff --git a/demo/kitchen-sink/demo.js b/demo/kitchen-sink/demo.js index ac22629686e..cd3b8d6e816 100644 --- a/demo/kitchen-sink/demo.js +++ b/demo/kitchen-sink/demo.js @@ -130,6 +130,7 @@ function loadLanguageProvider(editor) { } }, true); function showOccurrenceMarkers(session, positions) { + if (!session.state) session.state = {} if (!session.state.occurrenceMarkers) { session.state.occurrenceMarkers = new MarkerGroup(session); } @@ -179,7 +180,7 @@ function loadLanguageProvider(editor) { let docPos = e.getDocumentPosition(); languageProvider.doHover(session, docPos, function(hover) { - var errorMarker = session.state?.diagnosticMarkers.getMarkerAtPosition(docPos); + var errorMarker = session.state?.diagnosticMarkers?.getMarkerAtPosition(docPos); if (!errorMarker && !hover?.content) return; diff --git a/demo/kitchen-sink/token_tooltip.js b/demo/kitchen-sink/token_tooltip.js index f352463aecb..b5f05c66195 100644 --- a/demo/kitchen-sink/token_tooltip.js +++ b/demo/kitchen-sink/token_tooltip.js @@ -58,13 +58,23 @@ class TokenTooltip extends Tooltip { return; } - var tokenText = token.type; - if (token.state) - tokenText += "|" + token.state; - if (token.merge) - tokenText += "\n merge"; - if (token.stateTransitions) - tokenText += "\n " + token.stateTransitions.join("\n "); + var tokenText = ""; + var scope = token.type; + if (scope.name !== undefined) { + do { + tokenText += scope.name + "\n" + if (!scope.parent) + tokenText += "\ntoken count:" + count(scope); + } while(scope = scope.parent) + } else { + tokenText += token.type; + if (token.state) + tokenText += "|" + token.state; + if (token.merge) + tokenText += "\n merge"; + if (token.stateTransitions) + tokenText += "\n " + token.stateTransitions.join("\n "); + } if (this.tokenText != tokenText) { this.setText(tokenText); @@ -121,4 +131,16 @@ class TokenTooltip extends Tooltip { } +function count(root) { + return Object.keys(root.children).reduce(function (n, key) { + return n + count(root.children[key]); + }, 1); +} + +function count(root) { + return Object.keys(root.children).reduce(function (n, key) { + return n + count(root.children[key]); + }, 1); +} + exports.TokenTooltip = TokenTooltip; diff --git a/src/background_tokenizer.js b/src/background_tokenizer.js index f52649caea8..3dca45b2de6 100644 --- a/src/background_tokenizer.js +++ b/src/background_tokenizer.js @@ -192,9 +192,12 @@ class BackgroundTokenizer { var state = this.states[row - 1]; // @ts-expect-error TODO: potential wrong argument var data = this.tokenizer.getLineTokens(line, state, row); + var lastToken = data.tokens[data.tokens.length - 1]; + var newState = (lastToken !== undefined && lastToken.type !== undefined && lastToken.type.parent !== undefined) + ? lastToken.type.parent : data.state; - if (this.states[row] + "" !== data.state + "") { - this.states[row] = data.state; + if (this.states[row] !== newState) { + this.states[row] = newState; this.lines[row + 1] = null; if (this.currentLine > row + 1) this.currentLine = row + 1; diff --git a/src/edit_session/bracket_match.js b/src/edit_session/bracket_match.js index abc872ba174..70d1b632692 100644 --- a/src/edit_session/bracket_match.js +++ b/src/edit_session/bracket_match.js @@ -178,7 +178,7 @@ function BracketMatch() { // whose type matches typeRe do { token = iterator.stepBackward(); - } while (token && !typeRe.test(token.type)); + } while (token && !typeRe.test(token.type.toString())); if (token == null) break; @@ -245,7 +245,7 @@ function BracketMatch() { // whose type matches typeRe do { token = iterator.stepForward(); - } while (token && !typeRe.test(token.type)); + } while (token && !typeRe.test(token.type.toString())); if (token == null) break; diff --git a/src/edit_session/folding.js b/src/edit_session/folding.js index 19deef96980..97ec84c21d1 100644 --- a/src/edit_session/folding.js +++ b/src/edit_session/folding.js @@ -708,9 +708,9 @@ function Folding() { var token = iterator.getCurrentToken(); var type = token && token.type; if (token && /^comment|string/.test(type)) { - type = type.match(/comment|string/)[0]; + type = /comment|string/.exec(type)[0]; if (type == "comment") - type += "|doc-start|\\.doc"; + type += "|doc-start|\\.doc|empty"; var re = new RegExp(type); var range = new Range(); if (dir != 1) { diff --git a/src/ext/beautify.js b/src/ext/beautify.js index be367fb4e21..230459160df 100644 --- a/src/ext/beautify.js +++ b/src/ext/beautify.js @@ -147,13 +147,13 @@ exports.beautify = function(session) { breakBefore = true; // trim value if not in a comment or string - if (!is(token, "comment") && !token.type.match(/^(comment|string)$/)) + if (!is(token, "comment") && !/^(comment|string)$/.test(token.type)) value = value.trimLeft(); } if (value) { // whitespace - if (token.type === "keyword" && value.match(/^(if|else|elseif|for|foreach|while|switch)$/)) { + if (token.type === "keyword" && /^(if|else|elseif|for|foreach|while|switch)$/.test(value)) { parents[depth] = value; trimNext(); diff --git a/src/layer/text.js b/src/layer/text.js index 20cc1194316..c33925acfab 100644 --- a/src/layer/text.js +++ b/src/layer/text.js @@ -413,10 +413,10 @@ class Text { valueFragment.appendChild(this.dom.createTextNode(i ? value.slice(i) : value, this.element)); - if (!isTextToken(token.type)) { - var classes = "ace_" + token.type.replace(/\./g, " ace_"); + if (!isTextToken(token.type.toString())) { + var classes = "ace_" + token.type.toString().replace(/\./g, " ace_"); var span = this.dom.createElement("span"); - if (token.type == "fold"){ + if (token.type.toString() === "fold") { span.style.width = (token.value.length * this.config.characterWidth) + "px"; span.setAttribute("title", nls("inline-fold.closed.title", "Unfold code")); } diff --git a/src/mode/_test/highlight_rules_test.js b/src/mode/_test/highlight_rules_test.js index 9bbab769557..b5f54314a1e 100644 --- a/src/mode/_test/highlight_rules_test.js +++ b/src/mode/_test/highlight_rules_test.js @@ -50,11 +50,11 @@ function checkModes() { testComments(m.lineCommentStart, testLineComment, tokenizer, modeName); testComments(m.blockComment, testBlockComment, tokenizer, modeName); testBrackets(m, modeName); - + if (m.snippetFileId) snippets[m.snippetFileId] = modeName; }); - + jsFileList(cwd + "../../snippets").forEach(function(snippetFileName) { if (/\.snippets$/.test(snippetFileName)) return; if (!snippets["ace/snippets/" + snippetFileName]) @@ -65,7 +65,7 @@ function checkModes() { console.error("Snippet files missing", snippets); throw new Error("Snippet files missing"); } - + function testNextState(tokenizer, modeName) { let keys = Object.keys(tokenizer.states); for (let i = 0; i < keys.length; i++) { @@ -97,24 +97,28 @@ function checkModes() { } } } - + function testBlockComment(tokenizer, blockComment, modeName) { if (blockComment.lineStartOnly) - return; // TODO test + return; // TODO test var str = blockComment.start + " " + blockComment.end; str = blockComment.start + str; if (blockComment.nestable) - str += blockComment.end; + str += blockComment.end; var data = tokenizer.getLineTokens(str, "start"); + + var type = data.tokens.length > 0 ? data.tokens[data.tokens.length - 1].type : ""; + var state = typeof type === "string" ? data.state : type.parent; + var isBroken = data.tokens.some(function(t) { return !/comment/.test(t.type); }); if (isBroken) { die("broken blockComment in " + modeName, data); } - if (!/start/.test(data.state)) { + if (!/start/.test(state)) { die("broken state after blockComment in " + modeName, data); } } - + function testLineComment(tokenizer, commentStart, modeName) { var tokens = tokenizer.getLineTokens(commentStart + " ", "start").tokens; if (!/comment/.test(tokens[0].type)) { @@ -124,11 +128,11 @@ function checkModes() { function testBrackets(mode, modeName) { if (/^(forth|mask)$/.test(modeName)) return; - + var session = new EditSession("{ foo[ bar(baz) ] }", mode); - - var isInvalid = session.getTokens(0).some(function(t) { - return /invalid|illegal|string/.test(t.type); + + var isInvalid = session.getTokens(0).some(function(t) { + return /invalid|illegal|string/.test(t.type); }); if (isInvalid) return; @@ -141,7 +145,7 @@ function checkModes() { position = session.findMatchingBracket({row:0, column:11}); if (!position || position.column != 14) die("Matching bracket not found in " + modeName); - + if (mode.$behaviour) { session.setValue(""); editor.setSession(session); @@ -161,7 +165,7 @@ function checkModes() { } function generateTestData(names, force) { - var docRoot = root + "/demo/kitchen-sink/docs"; + var docRoot = root + "/ace/demo/kitchen-sink/docs"; var docs = fs.readdirSync(docRoot); var specialDocs = fs.readdirSync(cwd); var modes = modeList(); @@ -183,7 +187,7 @@ function generateTestData(names, force) { if (names && names.length && names.indexOf(modeName) == -1) return; - + var outputPath = cwd + "tokens_" + modeName + ".json"; try { var oldOutput = require(outputPath); @@ -197,7 +201,7 @@ function generateTestData(names, force) { }).join(""); }).join("\n"); } - + var filePath = "text_" + modeName + ".txt"; if (specialDocs.indexOf(filePath) !== -1) { filePath = cwd + filePath; @@ -206,7 +210,7 @@ function generateTestData(names, force) { // oldText = ""; } var text = oldText ||fs.readFileSync(filePath, "utf8"); - + try { var Mode = require("../" + modeName).Mode; } catch(e) { @@ -217,26 +221,33 @@ function generateTestData(names, force) { var tokenizer = new Mode().getTokenizer(); var state = "start"; - var data = text.split(/\r\n|\r|\n/).map(function(line) { + var data = text.split(/\r\n|\r|\n/).map(function (line) { var data = tokenizer.getLineTokens(line, state); + + var type = data.tokens.length > 0 ? data.tokens[data.tokens.length - 1].type : ""; var tmp = []; - tmp.push(JSON.stringify(data.state)); + var stateString; + if (/^[\x00]/.test(line)) { + stateString = "start"; + } + else { + stateString = typeof type === "string" ? data.state : type.getAllScopeNames(); + } + tmp.push(JSON.stringify(stateString)); var tokenizedLine = ""; - data.tokens.forEach(function(x) { + data.tokens.forEach(function (x) { tokenizedLine += x.value; - tmp.push(JSON.stringify([x.type, x.value])); + tmp.push(JSON.stringify([x.type.toString(), x.value])); }); - if (tokenizedLine != line) - tmp.push(JSON.stringify(line)); - state = data.state; + if (tokenizedLine !== line) tmp.push(JSON.stringify(line)); + state = typeof type === "string" ? data.state : type.parent; return tmp.join(",\n "); }); - + var jsonStr = "[[\n " + data.join("\n],[\n ") + "\n]]"; - - if (oldOutput && JSON.stringify(JSON.parse(jsonStr)) == JSON.stringify(oldOutput)) - return; - + + if (oldOutput && JSON.stringify(JSON.parse(jsonStr)) == JSON.stringify(oldOutput)) return; + fs.writeFileSync(outputPath, jsonStr, "utf8"); }); } @@ -280,18 +291,19 @@ function testMode(modeName, i) { var tokens = tokenizer.getLineTokens(line, state); var values = tokens.tokens.map(function(x) {return x.value;}); var types = tokens.tokens.map(function(x) {return x.type;}); - + var type = tokens.tokens.length > 0 ? tokens.tokens[tokens.tokens.length - 1].type: ""; + var stateString = /^[\x00]/.test(line) ? "start" : typeof type === "string" ? tokens.state : type.getAllScopeNames(); var err = testEqual([ - JSON.stringify(lineData.state), JSON.stringify(tokens.state), + JSON.stringify(lineData.state), JSON.stringify(stateString), lineData.types, types, lineData.values, values]); - + if (err) { console.log(line); throw "error"; } - state = tokens.state; + state = typeof type === "string" ? tokens.state : type.parent; }); } function testEqual(a) { diff --git a/src/mode/_test/text_markdown.txt b/src/mode/_test/text_markdown.txt index 557767368d6..5c623e8585b 100644 Binary files a/src/mode/_test/text_markdown.txt and b/src/mode/_test/text_markdown.txt differ diff --git a/src/mode/_test/tokens_markdown.json b/src/mode/_test/tokens_markdown.json index 9ed34bc0d75..5bcd7a71756 100644 --- a/src/mode/_test/tokens_markdown.json +++ b/src/mode/_test/tokens_markdown.json @@ -1,119 +1,11696 @@ [[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 1"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo baz bim"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 2"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo baz bim"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 3"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," a a"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," ὐ a"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 4"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.4"," - "], + ["list","foo"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["indent"," "], + ["list","bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 5"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["list","foo"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["indent"," "], + ["support.function","bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 6"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","blockquote","markdown"], + ["string.blockquote","> "], + ["support.function"," foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 7"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["support.function"," foo"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ "start", - ["text.xml","test: header 1 "] + ["text","\u0000 test 8"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," bar"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","#f"] + ["text","\u0000 test 9"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.3"," - "], + ["list","foo"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","lineStart","listBlock","start","markdown"], + ["indent"," "], + ["markup.list.5","- "], + ["list","bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","lineStart","listBlock","lineStart","listBlock","start","markdown"], + ["indent"," "], + ["markup.list.7","- "], + ["list","baz"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","lineStart","listBlock","lineStart","listBlock","start","markdown"], + ["empty",""] ],[ "start", + ["text","\u0000 test 10"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], ["markup.heading.1","#"], - ["heading"," f"] + ["heading"," Foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 11"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","* * * "] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","test: header 2"] + ["text","\u0000 test 12"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","listBlock","start","markdown"], + ["markup.list.2","- "], + ["support.function","`one"] +],[ + ["support.function","listBlock","start","markdown"], + ["support.function","- two"], + ["support.function","`"] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["empty",""] ],[ "start", - ["markup.heading.2","##"], - ["heading"," foo"] + ["list","\u0000 test 13"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","***"] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["constant","start","markdown"], + ["constant","___"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 14"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","+++"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 15"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1","==="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 16"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","--"] +],[ + ["empty","paragraph","markdown"], + ["string.emphasis","**"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["string.emphasis","__"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 17"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant"," ***"] +],[ + ["constant","start","markdown"], + ["constant"," ***"] +],[ + ["constant","start","markdown"], + ["constant"," ***"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 18"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," ***"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 19"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["string.strong","strongState","paragraph","markdown"], + ["text"," "], + ["string.strong","***"] +],[ + ["empty","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 20"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","_____________________________________"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 21"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant"," - - -"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 22"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant"," ** * ** * ** * **"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 23"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","- - - -"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 24"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","- - - -"] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","test: header ends with ' #'"] + ["text","\u0000 test 25"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","_ _ _ _ a"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","a------"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","---a---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 26"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["text"," "], + ["string.emphasis","*-*"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 27"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["list","foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","***"] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["list","bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 28"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["constant","start","markdown"], + ["constant","***"] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 29"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---"] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 30"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","* "], + ["list","Foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","* * *"] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","* "], + ["list","Bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] ],[ "start", + ["text","\u0000 test 31"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["list","Foo"], + ["empty",""] +],[ + ["constant","start","start","markdown"], + ["markup.list.2","- "], + ["constant","* * *"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 32"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], ["markup.heading.1","#"], - ["heading"," # # "] + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.2","##"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.3","###"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.4","####"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.5","#####"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.6","######"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 33"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","start","markdown"], + ["text","####### foo"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 34"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","start","markdown"], + ["text","#5 bolt"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","start","markdown"], + ["text","#hashtag"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 35"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","start","markdown"], + ["constant.language.escape","\\#"], + ["text","# foo"] +],[ + ["empty","start","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","test: header ends with '#'"] + ["text","\u0000 test 36"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.1","#"], + ["heading"," foo "], + ["string.emphasis","*bar*"], + ["heading"," "], + ["constant.language.escape","\\*"], + ["heading","baz"], + ["constant.language.escape","\\*"], + ["empty",""] +],[ + ["empty","start","start","markdown"], + ["empty",""] ],[ "start", + ["text","\u0000 test 37"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], ["markup.heading.1","#"], - ["heading"," foo# "] + ["heading"," foo"], + ["empty",""] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 38"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.3"," ###"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.2"," ##"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","paragraph","start","markdown"], + ["markup.heading.1"," #"], + ["heading"," foo"], + ["empty",""] +],[ + ["empty","start","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","test: 6+ #s is not a valid header"] + ["text","\u0000 test 39"] +],[ + ["empty","start","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," # foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","####### foo"] + ["text","\u0000 test 40"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","foo"] +],[ + ["text","paragraph","markdown"], + ["text"," # bar"] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","test: # followed be only space is a valid header"] + ["text","\u0000 test 41"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.2","##"], + ["heading"," foo ##"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.3"," ###"], + ["heading"," bar ###"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", + ["text","\u0000 test 42"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], ["markup.heading.1","#"], - ["heading"," "] + ["heading"," foo ##################################"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.5","#####"], + ["heading"," foo ##"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 43"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.3","###"], + ["heading"," foo ###"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","test: only space between #s is a valid header"] + ["text","\u0000 test 44"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.3","###"], + ["heading"," foo ### b"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", + ["text","\u0000 test 45"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], ["markup.heading.1","#"], - ["heading"," #"] + ["heading"," foo#"], + ["empty",""] ],[ - "allowBlock" + ["empty","start","markdown"], + ["empty",""] ],[ "start", + ["text","\u0000 test 46"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.3","###"], + ["heading"," foo "], + ["constant.language.escape","\\#"], + ["heading","##"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.2","##"], + ["heading"," foo #"], + ["constant.language.escape","\\#"], + ["heading","#"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], ["markup.heading.1","#"], - ["heading"," test links "], - ["text","["], - ["string","Cloud9 IDE"], - ["text","]("], - ["markup.underline","http://www.c9.io/"], - ["text",")"], - ["heading"," #"] + ["heading"," foo "], + ["constant.language.escape","\\#"], + ["empty",""] ],[ - "listblock", - ["markup.list","* "], - ["text","["], - ["string","demo"], - ["text","]("], - ["markup.underline","http://ajaxorg.github.com/ace/"], - ["text",")"], - ["list"," "], - ["text","["], - ["string","+"], - ["text","]("], - ["markup.underline","escape(\\) "], - ["text",")"], - ["list"," "], - ["text","["], - ["string","+"], - ["text","]("], - ["markup.underline","a"], - ["string"," \"title\""], - ["text",")"], - ["list"," "], - ["text","["], - ["string","+"], - ["text","]("], - ["markup.underline","a"], - ["string"," \"space\" "], - ["text",")"] + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 47"] ],[ - "listblock", - ["markup.list","* "], - ["list","usually "], - ["string.emphasis","*work*"], - ["list"," fine ("], - ["string.emphasis","_em_"], - ["list",")"] + ["empty","start","markdown"], + ["empty",""] ],[ - "listblock", - ["list","in lists"] + ["constant","start","markdown"], + ["constant","****"] ],[ - "start" + ["empty","paragraph","markdown"], + ["markup.heading.2","##"], + ["heading"," foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","****"] +],[ + ["empty","start","markdown"], + ["empty",""] ],[ "start", - ["text.xml","in plain text "], - ["meta.tag.punctuation.tag-open.xml","<"], - ["meta.tag.tag-name.xml","b"], - ["meta.tag.punctuation.tag-close.xml",">"], - ["text.xml","http://ace.ajaxorg.com"], + ["text","\u0000 test 48"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo bar"] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.1","#"], + ["heading"," baz"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Bar foo"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 49"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["markup.heading.2","header","paragraph","markdown"], + ["markup.heading.2","##"] +],[ + ["empty","paragraph","markdown"], + ["heading","#"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.3","###"], + ["heading"," ###"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 50"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["text","Foo "], + ["string.emphasis","*bar*"], + ["empty",""] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1","========="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["text","Foo "], + ["string.emphasis","*bar*"], + ["empty",""] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---------"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 51"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["string.emphasis","emphasisState","paragraph","markdown"], + ["text","Foo "], + ["string.emphasis","*bar"] +],[ + ["empty","paragraph","markdown"], + ["string.emphasis","baz*"], + ["empty",""] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1","===="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 52"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["string.emphasis","emphasisState","paragraph","markdown"], + ["text"," Foo "], + ["string.emphasis","*bar"] +],[ + ["text","paragraph","markdown"], + ["string.emphasis","baz*"], + ["text"," "] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1","===="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 53"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","-------------------------"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1","="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 54"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text"," Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text"," Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","-----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text"," Foo"] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1"," ==="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 55"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," Foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," ---"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," Foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 56"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2"," ----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 57"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text"," ---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 58"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text","= ="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["constant","start","markdown"], + ["constant","--- -"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 59"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","-----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 60"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo\\"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 61 (not supported Setex headers)"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","`Foo"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","----"] +],[ + ["support.function","paragraph","markdown"], + ["support.function","`"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["entity.other.attribute-name.xml","tag_stuff","markdown"], ["meta.tag.punctuation.tag-open.xml","<"], - ["meta.tag.tag-name.xml","b"], - ["meta.tag.punctuation.tag-close.xml",">"] + ["meta.tag.anchor.tag-name.xml","a"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","title"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","a"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","lot"] +],[ + ["entity.other.attribute-name.xml","tag_stuff","markdown"], + ["entity.other.attribute-name.xml","---"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["entity.other.attribute-name.xml","of"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","dashes"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml","/>"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 62"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["string.blockquote","blockquote","markdown"], + ["string.blockquote","> Foo"] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 63"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["string.blockquote","blockquote","markdown"], + ["string.blockquote","> foo"] +],[ + ["string.blockquote","blockquote","markdown"], + ["string.blockquote","bar"] +],[ + ["string.blockquote","blockquote","markdown"], + ["string.blockquote","==="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 64"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["list","Foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 65"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text","Bar"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 66"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---"] +],[ + ["text","paragraph","markdown"], + ["text","Bar"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---"] +],[ + ["text","paragraph","markdown"], + ["text","Baz"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 67"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["markup.heading.1","start","markdown"], + ["markup.heading.1","===="] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 68"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 69"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.2","- "], + ["list","foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","-----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 70"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 71"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["string.blockquote","blockquote","markdown"], + ["string.blockquote","> foo"] +],[ + ["constant","start","markdown"], + ["constant","-----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 72"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["constant.language.escape","\\>"], + ["text"," foo"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","------"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 73"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","---"] +],[ + ["text","paragraph","markdown"], + ["text","baz"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 74"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","---"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","baz"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 75"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["constant","start","markdown"], + ["constant","* * *"] +],[ + ["text","paragraph","markdown"], + ["text","baz"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 76"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["text","paragraph","markdown"], + ["constant.language.escape","\\-"], + ["text","--"] +],[ + ["text","paragraph","markdown"], + ["text","baz"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 77"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," a simple"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," indented code block"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 78"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.4"," - "], + ["list","foo"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["indent"," "], + ["list","bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 79"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","start","markdown"], + ["markup.list.4","1. "], + ["list","foo"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + ["empty","lineStart","listBlock","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["indent"," "], + ["markup.list.6","- "], + ["list","bar"], + ["empty",""] +],[ + ["empty","lineStart","listBlockEmpty","listBlock","lineStart","listBlockEmpty","listBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 80"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," "], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," *hi*"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," - one"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 81"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," chunk1"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," chunk2"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," chunk3"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 82"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," chunk1"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," chunk2"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 83"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","Foo"] +],[ + ["text","paragraph","markdown"], + ["text"," bar"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 84"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 85"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["markup.heading.1","#"], + ["heading"," Heading"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text"," foo"] +],[ + ["text","paragraph","markdown"], + ["text","Heading"] +],[ + ["markup.heading.2","start","markdown"], + ["markup.heading.2","------"] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["constant","start","markdown"], + ["constant","----"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 86"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," bar"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 87"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 88"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["support.function"," foo"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 89"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","```"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","<"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function"," >"] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 90"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","~~~"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","<"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function"," >"] +],[ + ["support.function","start","markdown"], + ["support.function","~~~"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 91"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","``"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","foo"] +],[ + ["support.function","paragraph","markdown"], + ["support.function","``"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 92"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","```"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","aaa"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","~~~"] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 93"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","~~~"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","aaa"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","```"] +],[ + ["support.function","start","markdown"], + ["support.function","~~~"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 94"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","````"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","aaa"] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","``````"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 95"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","~~~~"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","aaa"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","~~~"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","~~~~"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 96"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 97"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","`````"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 98 (not supported; high complexity in realization, because if each line starts with > , then it should be normal code block (needs to treat > as whitespace))"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","blockquote","markdown"], + ["string.blockquote",">"], + ["support.function"," ```"] +],[ + ["support.function","githubblock","codeBlock","blockquote","markdown"], + ["support.function","> aaa"] +],[ + ["empty","githubblock","codeBlock","blockquote","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","blockquote","markdown"], + ["support.function","bbb"] +],[ + ["empty","githubblock","codeBlock","blockquote","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 99"] +],[ + ["empty","githubblock","codeBlock","blockquote","markdown"], + ["empty",""] +],[ + ["support.function","blockquote","markdown"], + ["support.function","```"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","```"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 100"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","```"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 101"] +],[ + ["empty","githubblock","codeBlock","start","markdown"], + ["empty",""] +],[ + ["support.function","start","markdown"], + ["support.function"," ```"] +],[ + ["text","paragraph","markdown"], + ["text"," aaa"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 102"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","paragraph","markdown"], + ["support.function"," "], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["text","paragraph","markdown"], + ["text"," aaa"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["text"," "], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 103"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","paragraph","markdown"], + ["support.function"," "], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text"," aaa"] +],[ + ["text","paragraph","markdown"], + ["text"," aaa"] +],[ + ["text","paragraph","markdown"], + ["text"," aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["text"," "], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 104"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","paragraph","markdown"], + ["support.function"," "], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text"," aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["text"," "], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 105"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","paragraph","markdown"], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["text"," "], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 106"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","paragraph","markdown"], + ["support.function"," "], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["text"," "], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 107"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","paragraph","markdown"], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text","aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["text"," "], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 108"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","```"], + ["text"," "], + ["support.function","```"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","aaa"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 109"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","~~~~~~"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","aaa"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","~~~ ~~"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 110"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","foo"] +],[ + ["support.function","paragraph","markdown"], + ["support.function","```"] +],[ + ["text","paragraph","markdown"], + ["text","bar"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","```"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","baz"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 111"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","foo"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","---"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","~~~"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","bar"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","~~~"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","# baz"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 112"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["support.function","```"], + ["text","ruby"] +],[ + ["text","paragraph","markdown"], + ["text","def foo(x)"] +],[ + ["text","paragraph","markdown"], + ["text"," return 3"] +],[ + ["text","paragraph","markdown"], + ["text","end"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","```"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 113"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","~~~~ ruby startline=3 $%@#$"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","def foo(x)"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function"," return 3"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","end"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","~~~~~~~"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 114"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","````;"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","````"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 115"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","```"], + ["text"," aa "], + ["support.function","```"] +],[ + ["support.function","codeSpan","paragraph","markdown"], + ["support.function","foo"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + "start", + ["support.function","\u0000 test 116"] +],[ + ["empty","codeSpan","paragraph","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["support.function","~~~ aa "], + ["support.function","```"], + ["text"," ~~~"] +],[ + ["text","paragraph","markdown"], + ["text","foo"] +],[ + ["text","paragraph","markdown"], + ["text","~~~"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 117"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","```"] +],[ + ["support.function","githubblock","codeBlock","start","markdown"], + ["support.function","``` aaa"] +],[ + ["support.function","start","markdown"], + ["support.function","```"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 118"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","table"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","tr"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","td"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["meta.tag.punctuation.tag-close.xml","innerTagSpace","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","pre"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","**Hello**,"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["string.emphasis","_world_"], + ["text","."] +],[ + ["meta.tag.punctuation.tag-close.xml","paragraph","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["meta.tag.punctuation.tag-close.xml","paragraph","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""], + ["meta.tag.punctuation.end-tag-open.xml",""], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 119"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","table"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text"," "], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","tr"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text"," "], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","td"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text"," hi"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text"," "], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text"," "], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","paragraph","markdown"], + ["text","okay."] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 120"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["indent"," "], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text"," *hello*"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text"," "], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","foo"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.anchor.tag-name.xml","a"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 121"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["text","html","markdown"], + ["text","*foo*"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 122"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","DIV"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","CLASS"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","foo"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["string.emphasis","*Markdown*"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 123"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","tag_stuff","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","id"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","foo"], + ["text","\""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","class"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","bar"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 124"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["entity.other.attribute-name.xml","tag_stuff","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","id"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","foo"], + ["text","\""], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","class"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","bar"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","baz"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 125"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text","*foo*"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["string.emphasis","*bar*"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 126"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","tag_stuff","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","id"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","foo"], + ["text","\""] +],[ + ["text","tag_stuff","markdown"], + ["text","*"], + ["entity.other.attribute-name.xml","hi"], + ["text","*"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 127"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["entity.other.attribute-name.xml","tag_stuff","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","class"] +],[ + ["entity.other.attribute-name.xml","tag_stuff","markdown"], + ["entity.other.attribute-name.xml","foo"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 128"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["entity.other.attribute-name.xml","tag_stuff","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["text.tag-whitespace.xml"," "], + ["text","*???"], + ["entity.other.attribute-name.xml","-"], + ["text","&&&"], + ["entity.other.attribute-name.xml","-"], + ["text","<"], + ["entity.other.attribute-name.xml","---"] +],[ + ["text","tag_stuff","markdown"], + ["text","*"], + ["entity.other.attribute-name.xml","foo"], + ["text","*"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 129"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.anchor.tag-name.xml","a"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","href"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","bar"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"], + ["text","*foo*"], + ["meta.tag.punctuation.end-tag-open.xml",""], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 130"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","table"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","tr"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.table.tag-name.xml","td"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text","foo"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""], + ["meta.tag.punctuation.end-tag-open.xml",""], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 131"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","div"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["text","html","markdown"], + ["text","``` c"] +],[ + ["text","html","markdown"], + ["text","int x = 33;"] +],[ + ["text","html","markdown"], + ["text","```"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 132"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.anchor.tag-name.xml","a"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","href"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","foo"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text","*bar*"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 133"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","Warning"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text","*bar*"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 134"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","i"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","class"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","foo"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text","*bar*"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 135"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["text","html","markdown"], + ["text","*bar*"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 136"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","del"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","html","markdown"], + ["text","*foo*"] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 137"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","del"], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["empty","paragraph","markdown"], + ["string.emphasis","*foo*"], + ["empty",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 138"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","del"], + ["meta.tag.punctuation.tag-close.xml",">"], + ["text","*foo*"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 139"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","pre"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","language"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","haskell"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"], + ["text",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","import Text.HTML.TagSoup"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","main :: IO ()"] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","main = print $ parseTags tags"] +],[ + ["meta.tag.punctuation.tag-close.xml","start","markdown"], + ["text",""], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["text","paragraph","markdown"], + ["text","okay"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 140"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","innerTagSpace","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","script"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","type"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","text"], + ["text","/"], + ["entity.other.attribute-name.xml","javascript"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","// JavaScript example"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","document.getElementById(\"demo\").innerHTML = \"Hello JavaScript!\";"] +],[ + ["meta.tag.punctuation.tag-close.xml","start","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["text","paragraph","markdown"], + ["text","okay"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 141"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.tag-name.xml","tag_stuff","innerTagSpace","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","style"] +],[ + ["meta.tag.punctuation.tag-close.xml","innerTagSpace","html","markdown"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","type"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","text"], + ["text","/"], + ["entity.other.attribute-name.xml","css"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","h1 {color:red;}"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","p {color:blue;}"] +],[ + ["meta.tag.punctuation.tag-close.xml","start","markdown"], + ["meta.tag.punctuation.end-tag-open.xml",""] +],[ + ["text","paragraph","markdown"], + ["text","okay"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 142"] +],[ + ["empty","start","markdown"], + ["empty",""] +],[ + ["meta.tag.tag-name.xml","tag_stuff","innerTagSpace","html","markdown"], + ["meta.tag.punctuation.tag-open.xml","<"], + ["meta.tag.tag-name.xml","style"] +],[ + ["meta.tag.punctuation.tag-close.xml","innerTagSpace","html","markdown"], + ["text.tag-whitespace.xml"," "], + ["entity.other.attribute-name.xml","type"], + ["keyword.operator.attribute-equals.xml","="], + ["text","\""], + ["entity.other.attribute-name.xml","text"], + ["text","/"], + ["entity.other.attribute-name.xml","css"], + ["text","\""], + ["meta.tag.punctuation.tag-close.xml",">"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","foo"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 143"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text",">
"] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","> foo"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","bar"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 144"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","-
"] +],[ + ["text","innerTagSpace","html","markdown"], + ["text","- foo"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + "start", + ["text","\u0000 test 145"] +],[ + ["empty","innerTagSpace","html","markdown"], + ["empty",""] +],[ + ["meta.tag.punctuation.tag-close.xml","start","markdown"], + ["text","