From 04625e8cb3627544bfaae048997c05aba98cab2a Mon Sep 17 00:00:00 2001 From: satetsu888 Date: Fri, 29 Mar 2019 12:34:46 +0900 Subject: [PATCH 1/3] Fix to treat jshint E041 as error annotations E041: "Unrecoverable syntax error.", --- src-noconflict/worker-javascript.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src-noconflict/worker-javascript.js b/src-noconflict/worker-javascript.js index 36e6110ab..b1d93e046 100644 --- a/src-noconflict/worker-javascript.js +++ b/src-noconflict/worker-javascript.js @@ -14789,6 +14789,7 @@ var errorsRe = startRegex([ "Unclosed ", "Unmatched ", "Unbegun comment", + "Unrecoverable", "Bad invocation", "Missing space after", "Missing operator at" From b65129d11e0ef0148eff728d6e50b2cc5628f218 Mon Sep 17 00:00:00 2001 From: hirakawa Date: Mon, 29 Aug 2022 12:59:32 +0900 Subject: [PATCH 2/3] fix a tag snippets not to use multi select --- src-noconflict/snippets/html.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-noconflict/snippets/html.js b/src-noconflict/snippets/html.js index 4dea7fbda..debba5e27 100644 --- a/src-noconflict/snippets/html.js +++ b/src-noconflict/snippets/html.js @@ -1,4 +1,4 @@ -ace.define("ace/snippets/html.snippets",["require","exports","module"], function(require, exports, module){module.exports = "# Some useful Unicode entities\n# Non-Breaking Space\nsnippet nbs\n\t \n# \u2190\nsnippet left\n\t←\n# \u2192\nsnippet right\n\t→\n# \u2191\nsnippet up\n\t↑\n# \u2193\nsnippet down\n\t↓\n# \u21A9\nsnippet return\n\t↩\n# \u21E4\nsnippet backtab\n\t⇤\n# \u21E5\nsnippet tab\n\t⇥\n# \u21E7\nsnippet shift\n\t⇧\n# \u2303\nsnippet ctrl\n\t⌃\n# \u2305\nsnippet enter\n\t⌅\n# \u2318\nsnippet cmd\n\t⌘\n# \u2325\nsnippet option\n\t⌥\n# \u2326\nsnippet delete\n\t⌦\n# \u232B\nsnippet backspace\n\t⌫\n# \u238B\nsnippet esc\n\t⎋\n# Generic Doctype\nsnippet doctype HTML 4.01 Strict\n\t\nsnippet doctype HTML 4.01 Transitional\n\t\nsnippet doctype HTML 5\n\t\nsnippet doctype XHTML 1.0 Frameset\n\t\nsnippet doctype XHTML 1.0 Strict\n\t\nsnippet doctype XHTML 1.0 Transitional\n\t\nsnippet doctype XHTML 1.1\n\t\n# HTML Doctype 4.01 Strict\nsnippet docts\n\t\n# HTML Doctype 4.01 Transitional\nsnippet doct\n\t\n# HTML Doctype 5\nsnippet doct5\n\t\n# XHTML Doctype 1.0 Frameset\nsnippet docxf\n\t\n# XHTML Doctype 1.0 Strict\nsnippet docxs\n\t\n# XHTML Doctype 1.0 Transitional\nsnippet docxt\n\t\n# XHTML Doctype 1.1\nsnippet docx\n\t\n# html5shiv\nsnippet html5shiv\n\t\nsnippet html5printshiv\n\t\n# Attributes\nsnippet attr\n\t${1:attribute}=\"${2:property}\"\nsnippet attr+\n\t${1:attribute}=\"${2:property}\" attr+${3}\nsnippet .\n\tclass=\"${1}\"${2}\nsnippet #\n\tid=\"${1}\"${2}\nsnippet alt\n\talt=\"${1}\"${2}\nsnippet charset\n\tcharset=\"${1:utf-8}\"${2}\nsnippet data\n\tdata-${1}=\"${2:$1}\"${3}\nsnippet for\n\tfor=\"${1}\"${2}\nsnippet height\n\theight=\"${1}\"${2}\nsnippet href\n\thref=\"${1:#}\"${2}\nsnippet lang\n\tlang=\"${1:en}\"${2}\nsnippet media\n\tmedia=\"${1}\"${2}\nsnippet name\n\tname=\"${1}\"${2}\nsnippet rel\n\trel=\"${1}\"${2}\nsnippet scope\n\tscope=\"${1:row}\"${2}\nsnippet src\n\tsrc=\"${1}\"${2}\nsnippet title=\n\ttitle=\"${1}\"${2}\nsnippet type\n\ttype=\"${1}\"${2}\nsnippet value\n\tvalue=\"${1}\"${2}\nsnippet width\n\twidth=\"${1}\"${2}\n# Elements\nsnippet a\n\t${2:$1}\nsnippet a.\n\t${3:$1}\nsnippet a#\n\t${3:$1}\nsnippet a:ext\n\t${2:$1}\nsnippet a:mail\n\t${3:email me}\nsnippet abbr\n\t${2}\nsnippet address\n\t
\n\t\t${1}\n\t
\nsnippet area\n\t\"${4}\"\nsnippet area+\n\t\"${4}\"\n\tarea+${5}\nsnippet area:c\n\t\"${3}\"\nsnippet area:d\n\t\"${3}\"\nsnippet area:p\n\t\"${3}\"\nsnippet area:r\n\t\"${3}\"\nsnippet article\n\t
\n\t\t${1}\n\t
\nsnippet article.\n\t
\n\t\t${2}\n\t
\nsnippet article#\n\t
\n\t\t${2}\n\t
\nsnippet aside\n\t\nsnippet aside.\n\t\nsnippet aside#\n\t\nsnippet audio\n\t\nsnippet b\n\t${1}\nsnippet base\n\t\nsnippet bdi\n\t${1}\nsnippet bdo\n\t${2}\nsnippet bdo:l\n\t${1}\nsnippet bdo:r\n\t${1}\nsnippet blockquote\n\t
\n\t\t${1}\n\t
\nsnippet body\n\t\n\t\t${1}\n\t\nsnippet br\n\t
${1}\nsnippet button\n\t\nsnippet button.\n\t\nsnippet button#\n\t\nsnippet button:s\n\t\nsnippet button:r\n\t\nsnippet canvas\n\t\nsnippet caption\n\t${1}\nsnippet cite\n\t${1}\nsnippet code\n\t${1}\nsnippet col\n\t${1}\nsnippet col+\n\t\n\tcol+${1}\nsnippet colgroup\n\t\n\t\t${1}\n\t\nsnippet colgroup+\n\t\n\t\t\n\t\tcol+${1}\n\t\nsnippet command\n\t\nsnippet command:c\n\t\nsnippet command:r\n\t\nsnippet datagrid\n\t\n\t\t${1}\n\t\nsnippet datalist\n\t\n\t\t${1}\n\t\nsnippet datatemplate\n\t\n\t\t${1}\n\t\nsnippet dd\n\t
${1}
\nsnippet dd.\n\t
${2}
\nsnippet dd#\n\t
${2}
\nsnippet del\n\t${1}\nsnippet details\n\t
${1}
\nsnippet dfn\n\t${1}\nsnippet dialog\n\t\n\t\t${1}\n\t\nsnippet div\n\t
\n\t\t${1}\n\t
\nsnippet div.\n\t
\n\t\t${2}\n\t
\nsnippet div#\n\t
\n\t\t${2}\n\t
\nsnippet dl\n\t
\n\t\t${1}\n\t
\nsnippet dl.\n\t
\n\t\t${2}\n\t
\nsnippet dl#\n\t
\n\t\t${2}\n\t
\nsnippet dl+\n\t
\n\t\t
${1}
\n\t\t
${2}
\n\t\tdt+${3}\n\t
\nsnippet dt\n\t
${1}
\nsnippet dt.\n\t
${2}
\nsnippet dt#\n\t
${2}
\nsnippet dt+\n\t
${1}
\n\t
${2}
\n\tdt+${3}\nsnippet em\n\t${1}\nsnippet embed\n\t\nsnippet fieldset\n\t
\n\t\t${1}\n\t
\nsnippet fieldset.\n\t
\n\t\t${2}\n\t
\nsnippet fieldset#\n\t
\n\t\t${2}\n\t
\nsnippet fieldset+\n\t
\n\t\t${1}\n\t\t${2}\n\t
\n\tfieldset+${3}\nsnippet figcaption\n\t
${1}
\nsnippet figure\n\t
${1}
\nsnippet footer\n\t
\n\t\t${1}\n\t
\nsnippet footer.\n\t
\n\t\t${2}\n\t
\nsnippet footer#\n\t
\n\t\t${2}\n\t
\nsnippet form\n\t
\n\t\t${3}\n\t
\nsnippet form.\n\t
\n\t\t${4}\n\t
\nsnippet form#\n\t
\n\t\t${4}\n\t
\nsnippet h1\n\t

${1}

\nsnippet h1.\n\t

${2}

\nsnippet h1#\n\t

${2}

\nsnippet h2\n\t

${1}

\nsnippet h2.\n\t

${2}

\nsnippet h2#\n\t

${2}

\nsnippet h3\n\t

${1}

\nsnippet h3.\n\t

${2}

\nsnippet h3#\n\t

${2}

\nsnippet h4\n\t

${1}

\nsnippet h4.\n\t

${2}

\nsnippet h4#\n\t

${2}

\nsnippet h5\n\t
${1}
\nsnippet h5.\n\t
${2}
\nsnippet h5#\n\t
${2}
\nsnippet h6\n\t
${1}
\nsnippet h6.\n\t
${2}
\nsnippet h6#\n\t
${2}
\nsnippet head\n\t\n\t\t\n\n\t\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t\t${2}\n\t\nsnippet header\n\t
\n\t\t${1}\n\t
\nsnippet header.\n\t
\n\t\t${2}\n\t
\nsnippet header#\n\t
\n\t\t${2}\n\t
\nsnippet hgroup\n\t
\n\t\t${1}\n\t
\nsnippet hgroup.\n\t
\n\t\t${2}\n\t
\nsnippet hr\n\t
${1}\nsnippet html\n\t\n\t${1}\n\t\nsnippet xhtml\n\t\n\t${1}\n\t\nsnippet html5\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t\t\t${2:meta}\n\t\t\n\t\t\n\t\t\t${3:body}\n\t\t\n\t\nsnippet xhtml5\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t\t\t${2:meta}\n\t\t\n\t\t\n\t\t\t${3:body}\n\t\t\n\t\nsnippet i\n\t${1}\nsnippet iframe\n\t${2}\nsnippet iframe.\n\t${3}\nsnippet iframe#\n\t${3}\nsnippet img\n\t\"${2}\"${3}\nsnippet img.\n\t\"${3}\"${4}\nsnippet img#\n\t\"${3}\"${4}\nsnippet input\n\t${5}\nsnippet input.\n\t${6}\nsnippet input:text\n\t${4}\nsnippet input:submit\n\t${4}\nsnippet input:hidden\n\t${4}\nsnippet input:button\n\t${4}\nsnippet input:image\n\t${5}\nsnippet input:checkbox\n\t${3}\nsnippet input:radio\n\t${3}\nsnippet input:color\n\t${4}\nsnippet input:date\n\t${4}\nsnippet input:datetime\n\t${4}\nsnippet input:datetime-local\n\t${4}\nsnippet input:email\n\t${4}\nsnippet input:file\n\t${4}\nsnippet input:month\n\t${4}\nsnippet input:number\n\t${4}\nsnippet input:password\n\t${4}\nsnippet input:range\n\t${4}\nsnippet input:reset\n\t${4}\nsnippet input:search\n\t${4}\nsnippet input:time\n\t${4}\nsnippet input:url\n\t${4}\nsnippet input:week\n\t${4}\nsnippet ins\n\t${1}\nsnippet kbd\n\t${1}\nsnippet keygen\n\t${1}\nsnippet label\n\t\nsnippet label:i\n\t\n\t${7}\nsnippet label:s\n\t\n\t\nsnippet legend\n\t${1}\nsnippet legend+\n\t${1}\nsnippet li\n\t
  • ${1}
  • \nsnippet li.\n\t
  • ${2}
  • \nsnippet li+\n\t
  • ${1}
  • \n\tli+${2}\nsnippet lia\n\t
  • ${1}
  • \nsnippet lia+\n\t
  • ${1}
  • \n\tlia+${3}\nsnippet link\n\t${5}\nsnippet link:atom\n\t${2}\nsnippet link:css\n\t${4}\nsnippet link:favicon\n\t${2}\nsnippet link:rss\n\t${2}\nsnippet link:touch\n\t${2}\nsnippet map\n\t\n\t\t${2}\n\t\nsnippet map.\n\t\n\t\t${3}\n\t\nsnippet map#\n\t\n\t\t${3}\n\t\nsnippet map+\n\t\n\t\t\"${5}\"${6}\n\t${7}\nsnippet mark\n\t${1}\nsnippet menu\n\t\n\t\t${1}\n\t\nsnippet menu:c\n\t\n\t\t${1}\n\t\nsnippet menu:t\n\t\n\t\t${1}\n\t\nsnippet meta\n\t${3}\nsnippet meta:compat\n\t${3}\nsnippet meta:refresh\n\t${3}\nsnippet meta:utf\n\t${3}\nsnippet meter\n\t${1}\nsnippet nav\n\t\nsnippet nav.\n\t\nsnippet nav#\n\t\nsnippet noscript\n\t\nsnippet object\n\t\n\t\t${3}\n\t${4}\n# Embed QT Movie\nsnippet movie\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t${6}\nsnippet ol\n\t
      \n\t\t${1}\n\t
    \nsnippet ol.\n\t
      \n\t\t${2}\n\t
    \nsnippet ol#\n\t
      \n\t\t${2}\n\t
    \nsnippet ol+\n\t
      \n\t\t
    1. ${1}
    2. \n\t\tli+${2}\n\t
    \nsnippet opt\n\t\nsnippet opt+\n\t\n\topt+${3}\nsnippet optt\n\t\nsnippet optgroup\n\t\n\t\t\n\t\topt+${3}\n\t\nsnippet output\n\t${1}\nsnippet p\n\t

    ${1}

    \nsnippet param\n\t${3}\nsnippet pre\n\t
    \n\t\t${1}\n\t
    \nsnippet progress\n\t${1}\nsnippet q\n\t${1}\nsnippet rp\n\t${1}\nsnippet rt\n\t${1}\nsnippet ruby\n\t\n\t\t${1}\n\t\nsnippet s\n\t${1}\nsnippet samp\n\t\n\t\t${1}\n\t\nsnippet script\n\t\nsnippet scriptsrc\n\t\nsnippet newscript\n\t\nsnippet newscriptsrc\n\t\nsnippet section\n\t
    \n\t\t${1}\n\t
    \nsnippet section.\n\t
    \n\t\t${2}\n\t
    \nsnippet section#\n\t
    \n\t\t${2}\n\t
    \nsnippet select\n\t\nsnippet select.\n\t\nsnippet select+\n\t\nsnippet small\n\t${1}\nsnippet source\n\t\nsnippet span\n\t${1}\nsnippet strong\n\t${1}\nsnippet style\n\t\nsnippet sub\n\t${1}\nsnippet summary\n\t\n\t\t${1}\n\t\nsnippet sup\n\t${1}\nsnippet table\n\t\n\t\t${2}\n\t
    \nsnippet table.\n\t\n\t\t${3}\n\t
    \nsnippet table#\n\t\n\t\t${3}\n\t
    \nsnippet tbody\n\t\n\t\t${1}\n\t\nsnippet td\n\t${1}\nsnippet td.\n\t${2}\nsnippet td#\n\t${2}\nsnippet td+\n\t${1}\n\ttd+${2}\nsnippet textarea\n\t${6}\nsnippet tfoot\n\t\n\t\t${1}\n\t\nsnippet th\n\t${1}\nsnippet th.\n\t${2}\nsnippet th#\n\t${2}\nsnippet th+\n\t${1}\n\tth+${2}\nsnippet thead\n\t\n\t\t${1}\n\t\nsnippet time\n\t\nsnippet title\n\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\nsnippet tr\n\t\n\t\t${1}\n\t\nsnippet tr+\n\t\n\t\t${1}\n\t\ttd+${2}\n\t\nsnippet track\n\t${5}${6}\nsnippet ul\n\t
      \n\t\t${1}\n\t
    \nsnippet ul.\n\t
      \n\t\t${2}\n\t
    \nsnippet ul#\n\t
      \n\t\t${2}\n\t
    \nsnippet ul+\n\t
      \n\t\t
    • ${1}
    • \n\t\tli+${2}\n\t
    \nsnippet var\n\t${1}\nsnippet video\n\t${8}\nsnippet wbr\n\t${1}\n"; +ace.define("ace/snippets/html.snippets",["require","exports","module"], function(require, exports, module){module.exports = "# Some useful Unicode entities\n# Non-Breaking Space\nsnippet nbs\n\t \n# \u2190\nsnippet left\n\t←\n# \u2192\nsnippet right\n\t→\n# \u2191\nsnippet up\n\t↑\n# \u2193\nsnippet down\n\t↓\n# \u21A9\nsnippet return\n\t↩\n# \u21E4\nsnippet backtab\n\t⇤\n# \u21E5\nsnippet tab\n\t⇥\n# \u21E7\nsnippet shift\n\t⇧\n# \u2303\nsnippet ctrl\n\t⌃\n# \u2305\nsnippet enter\n\t⌅\n# \u2318\nsnippet cmd\n\t⌘\n# \u2325\nsnippet option\n\t⌥\n# \u2326\nsnippet delete\n\t⌦\n# \u232B\nsnippet backspace\n\t⌫\n# \u238B\nsnippet esc\n\t⎋\n# Generic Doctype\nsnippet doctype HTML 4.01 Strict\n\t\nsnippet doctype HTML 4.01 Transitional\n\t\nsnippet doctype HTML 5\n\t\nsnippet doctype XHTML 1.0 Frameset\n\t\nsnippet doctype XHTML 1.0 Strict\n\t\nsnippet doctype XHTML 1.0 Transitional\n\t\nsnippet doctype XHTML 1.1\n\t\n# HTML Doctype 4.01 Strict\nsnippet docts\n\t\n# HTML Doctype 4.01 Transitional\nsnippet doct\n\t\n# HTML Doctype 5\nsnippet doct5\n\t\n# XHTML Doctype 1.0 Frameset\nsnippet docxf\n\t\n# XHTML Doctype 1.0 Strict\nsnippet docxs\n\t\n# XHTML Doctype 1.0 Transitional\nsnippet docxt\n\t\n# XHTML Doctype 1.1\nsnippet docx\n\t\n# html5shiv\nsnippet html5shiv\n\t\nsnippet html5printshiv\n\t\n# Attributes\nsnippet attr\n\t${1:attribute}=\"${2:property}\"\nsnippet attr+\n\t${1:attribute}=\"${2:property}\" attr+${3}\nsnippet .\n\tclass=\"${1}\"${2}\nsnippet #\n\tid=\"${1}\"${2}\nsnippet alt\n\talt=\"${1}\"${2}\nsnippet charset\n\tcharset=\"${1:utf-8}\"${2}\nsnippet data\n\tdata-${1}=\"${2:$1}\"${3}\nsnippet for\n\tfor=\"${1}\"${2}\nsnippet height\n\theight=\"${1}\"${2}\nsnippet href\n\thref=\"${1:#}\"${2}\nsnippet lang\n\tlang=\"${1:en}\"${2}\nsnippet media\n\tmedia=\"${1}\"${2}\nsnippet name\n\tname=\"${1}\"${2}\nsnippet rel\n\trel=\"${1}\"${2}\nsnippet scope\n\tscope=\"${1:row}\"${2}\nsnippet src\n\tsrc=\"${1}\"${2}\nsnippet title=\n\ttitle=\"${1}\"${2}\nsnippet type\n\ttype=\"${1}\"${2}\nsnippet value\n\tvalue=\"${1}\"${2}\nsnippet width\n\twidth=\"${1}\"${2}\n# Elements\nsnippet a\n\t${2}\nsnippet a.\n\t${3:$1}\nsnippet a#\n\t${3:$1}\nsnippet a:ext\n\t${2:$1}\nsnippet a:mail\n\t${3:email me}\nsnippet abbr\n\t${2}\nsnippet address\n\t
    \n\t\t${1}\n\t
    \nsnippet area\n\t\"${4}\"\nsnippet area+\n\t\"${4}\"\n\tarea+${5}\nsnippet area:c\n\t\"${3}\"\nsnippet area:d\n\t\"${3}\"\nsnippet area:p\n\t\"${3}\"\nsnippet area:r\n\t\"${3}\"\nsnippet article\n\t
    \n\t\t${1}\n\t
    \nsnippet article.\n\t
    \n\t\t${2}\n\t
    \nsnippet article#\n\t
    \n\t\t${2}\n\t
    \nsnippet aside\n\t\nsnippet aside.\n\t\nsnippet aside#\n\t\nsnippet audio\n\t\nsnippet b\n\t${1}\nsnippet base\n\t\nsnippet bdi\n\t${1}\nsnippet bdo\n\t${2}\nsnippet bdo:l\n\t${1}\nsnippet bdo:r\n\t${1}\nsnippet blockquote\n\t
    \n\t\t${1}\n\t
    \nsnippet body\n\t\n\t\t${1}\n\t\nsnippet br\n\t
    ${1}\nsnippet button\n\t\nsnippet button.\n\t\nsnippet button#\n\t\nsnippet button:s\n\t\nsnippet button:r\n\t\nsnippet canvas\n\t\nsnippet caption\n\t${1}\nsnippet cite\n\t${1}\nsnippet code\n\t${1}\nsnippet col\n\t${1}\nsnippet col+\n\t\n\tcol+${1}\nsnippet colgroup\n\t\n\t\t${1}\n\t\nsnippet colgroup+\n\t\n\t\t\n\t\tcol+${1}\n\t\nsnippet command\n\t\nsnippet command:c\n\t\nsnippet command:r\n\t\nsnippet datagrid\n\t\n\t\t${1}\n\t\nsnippet datalist\n\t\n\t\t${1}\n\t\nsnippet datatemplate\n\t\n\t\t${1}\n\t\nsnippet dd\n\t
    ${1}
    \nsnippet dd.\n\t
    ${2}
    \nsnippet dd#\n\t
    ${2}
    \nsnippet del\n\t${1}\nsnippet details\n\t
    ${1}
    \nsnippet dfn\n\t${1}\nsnippet dialog\n\t\n\t\t${1}\n\t\nsnippet div\n\t
    \n\t\t${1}\n\t
    \nsnippet div.\n\t
    \n\t\t${2}\n\t
    \nsnippet div#\n\t
    \n\t\t${2}\n\t
    \nsnippet dl\n\t
    \n\t\t${1}\n\t
    \nsnippet dl.\n\t
    \n\t\t${2}\n\t
    \nsnippet dl#\n\t
    \n\t\t${2}\n\t
    \nsnippet dl+\n\t
    \n\t\t
    ${1}
    \n\t\t
    ${2}
    \n\t\tdt+${3}\n\t
    \nsnippet dt\n\t
    ${1}
    \nsnippet dt.\n\t
    ${2}
    \nsnippet dt#\n\t
    ${2}
    \nsnippet dt+\n\t
    ${1}
    \n\t
    ${2}
    \n\tdt+${3}\nsnippet em\n\t${1}\nsnippet embed\n\t\nsnippet fieldset\n\t
    \n\t\t${1}\n\t
    \nsnippet fieldset.\n\t
    \n\t\t${2}\n\t
    \nsnippet fieldset#\n\t
    \n\t\t${2}\n\t
    \nsnippet fieldset+\n\t
    \n\t\t${1}\n\t\t${2}\n\t
    \n\tfieldset+${3}\nsnippet figcaption\n\t
    ${1}
    \nsnippet figure\n\t
    ${1}
    \nsnippet footer\n\t
    \n\t\t${1}\n\t
    \nsnippet footer.\n\t
    \n\t\t${2}\n\t
    \nsnippet footer#\n\t
    \n\t\t${2}\n\t
    \nsnippet form\n\t
    \n\t\t${3}\n\t
    \nsnippet form.\n\t
    \n\t\t${4}\n\t
    \nsnippet form#\n\t
    \n\t\t${4}\n\t
    \nsnippet h1\n\t

    ${1}

    \nsnippet h1.\n\t

    ${2}

    \nsnippet h1#\n\t

    ${2}

    \nsnippet h2\n\t

    ${1}

    \nsnippet h2.\n\t

    ${2}

    \nsnippet h2#\n\t

    ${2}

    \nsnippet h3\n\t

    ${1}

    \nsnippet h3.\n\t

    ${2}

    \nsnippet h3#\n\t

    ${2}

    \nsnippet h4\n\t

    ${1}

    \nsnippet h4.\n\t

    ${2}

    \nsnippet h4#\n\t

    ${2}

    \nsnippet h5\n\t
    ${1}
    \nsnippet h5.\n\t
    ${2}
    \nsnippet h5#\n\t
    ${2}
    \nsnippet h6\n\t
    ${1}
    \nsnippet h6.\n\t
    ${2}
    \nsnippet h6#\n\t
    ${2}
    \nsnippet head\n\t\n\t\t\n\n\t\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t\t${2}\n\t\nsnippet header\n\t
    \n\t\t${1}\n\t
    \nsnippet header.\n\t
    \n\t\t${2}\n\t
    \nsnippet header#\n\t
    \n\t\t${2}\n\t
    \nsnippet hgroup\n\t
    \n\t\t${1}\n\t
    \nsnippet hgroup.\n\t
    \n\t\t${2}\n\t
    \nsnippet hr\n\t
    ${1}\nsnippet html\n\t\n\t${1}\n\t\nsnippet xhtml\n\t\n\t${1}\n\t\nsnippet html5\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t\t\t${2:meta}\n\t\t\n\t\t\n\t\t\t${3:body}\n\t\t\n\t\nsnippet xhtml5\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\n\t\t\t${2:meta}\n\t\t\n\t\t\n\t\t\t${3:body}\n\t\t\n\t\nsnippet i\n\t${1}\nsnippet iframe\n\t${2}\nsnippet iframe.\n\t${3}\nsnippet iframe#\n\t${3}\nsnippet img\n\t\"${2}\"${3}\nsnippet img.\n\t\"${3}\"${4}\nsnippet img#\n\t\"${3}\"${4}\nsnippet input\n\t${5}\nsnippet input.\n\t${6}\nsnippet input:text\n\t${4}\nsnippet input:submit\n\t${4}\nsnippet input:hidden\n\t${4}\nsnippet input:button\n\t${4}\nsnippet input:image\n\t${5}\nsnippet input:checkbox\n\t${3}\nsnippet input:radio\n\t${3}\nsnippet input:color\n\t${4}\nsnippet input:date\n\t${4}\nsnippet input:datetime\n\t${4}\nsnippet input:datetime-local\n\t${4}\nsnippet input:email\n\t${4}\nsnippet input:file\n\t${4}\nsnippet input:month\n\t${4}\nsnippet input:number\n\t${4}\nsnippet input:password\n\t${4}\nsnippet input:range\n\t${4}\nsnippet input:reset\n\t${4}\nsnippet input:search\n\t${4}\nsnippet input:time\n\t${4}\nsnippet input:url\n\t${4}\nsnippet input:week\n\t${4}\nsnippet ins\n\t${1}\nsnippet kbd\n\t${1}\nsnippet keygen\n\t${1}\nsnippet label\n\t\nsnippet label:i\n\t\n\t${7}\nsnippet label:s\n\t\n\t\nsnippet legend\n\t${1}\nsnippet legend+\n\t${1}\nsnippet li\n\t
  • ${1}
  • \nsnippet li.\n\t
  • ${2}
  • \nsnippet li+\n\t
  • ${1}
  • \n\tli+${2}\nsnippet lia\n\t
  • ${1}
  • \nsnippet lia+\n\t
  • ${1}
  • \n\tlia+${3}\nsnippet link\n\t${5}\nsnippet link:atom\n\t${2}\nsnippet link:css\n\t${4}\nsnippet link:favicon\n\t${2}\nsnippet link:rss\n\t${2}\nsnippet link:touch\n\t${2}\nsnippet map\n\t\n\t\t${2}\n\t\nsnippet map.\n\t\n\t\t${3}\n\t\nsnippet map#\n\t\n\t\t${3}\n\t\nsnippet map+\n\t\n\t\t\"${5}\"${6}\n\t${7}\nsnippet mark\n\t${1}\nsnippet menu\n\t\n\t\t${1}\n\t\nsnippet menu:c\n\t\n\t\t${1}\n\t\nsnippet menu:t\n\t\n\t\t${1}\n\t\nsnippet meta\n\t${3}\nsnippet meta:compat\n\t${3}\nsnippet meta:refresh\n\t${3}\nsnippet meta:utf\n\t${3}\nsnippet meter\n\t${1}\nsnippet nav\n\t\nsnippet nav.\n\t\nsnippet nav#\n\t\nsnippet noscript\n\t\nsnippet object\n\t\n\t\t${3}\n\t${4}\n# Embed QT Movie\nsnippet movie\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t${6}\nsnippet ol\n\t
      \n\t\t${1}\n\t
    \nsnippet ol.\n\t
      \n\t\t${2}\n\t
    \nsnippet ol#\n\t
      \n\t\t${2}\n\t
    \nsnippet ol+\n\t
      \n\t\t
    1. ${1}
    2. \n\t\tli+${2}\n\t
    \nsnippet opt\n\t\nsnippet opt+\n\t\n\topt+${3}\nsnippet optt\n\t\nsnippet optgroup\n\t\n\t\t\n\t\topt+${3}\n\t\nsnippet output\n\t${1}\nsnippet p\n\t

    ${1}

    \nsnippet param\n\t${3}\nsnippet pre\n\t
    \n\t\t${1}\n\t
    \nsnippet progress\n\t${1}\nsnippet q\n\t${1}\nsnippet rp\n\t${1}\nsnippet rt\n\t${1}\nsnippet ruby\n\t\n\t\t${1}\n\t\nsnippet s\n\t${1}\nsnippet samp\n\t\n\t\t${1}\n\t\nsnippet script\n\t\nsnippet scriptsrc\n\t\nsnippet newscript\n\t\nsnippet newscriptsrc\n\t\nsnippet section\n\t
    \n\t\t${1}\n\t
    \nsnippet section.\n\t
    \n\t\t${2}\n\t
    \nsnippet section#\n\t
    \n\t\t${2}\n\t
    \nsnippet select\n\t\nsnippet select.\n\t\nsnippet select+\n\t\nsnippet small\n\t${1}\nsnippet source\n\t\nsnippet span\n\t${1}\nsnippet strong\n\t${1}\nsnippet style\n\t\nsnippet sub\n\t${1}\nsnippet summary\n\t\n\t\t${1}\n\t\nsnippet sup\n\t${1}\nsnippet table\n\t\n\t\t${2}\n\t
    \nsnippet table.\n\t\n\t\t${3}\n\t
    \nsnippet table#\n\t\n\t\t${3}\n\t
    \nsnippet tbody\n\t\n\t\t${1}\n\t\nsnippet td\n\t${1}\nsnippet td.\n\t${2}\nsnippet td#\n\t${2}\nsnippet td+\n\t${1}\n\ttd+${2}\nsnippet textarea\n\t${6}\nsnippet tfoot\n\t\n\t\t${1}\n\t\nsnippet th\n\t${1}\nsnippet th.\n\t${2}\nsnippet th#\n\t${2}\nsnippet th+\n\t${1}\n\tth+${2}\nsnippet thead\n\t\n\t\t${1}\n\t\nsnippet time\n\t\nsnippet title\n\t${1:`substitute(Filename('', 'Page Title'), '^.', '\\u&', '')`}\nsnippet tr\n\t\n\t\t${1}\n\t\nsnippet tr+\n\t\n\t\t${1}\n\t\ttd+${2}\n\t\nsnippet track\n\t${5}${6}\nsnippet ul\n\t
      \n\t\t${1}\n\t
    \nsnippet ul.\n\t
      \n\t\t${2}\n\t
    \nsnippet ul#\n\t
      \n\t\t${2}\n\t
    \nsnippet ul+\n\t
      \n\t\t
    • ${1}
    • \n\t\tli+${2}\n\t
    \nsnippet var\n\t${1}\nsnippet video\n\t${8}\nsnippet wbr\n\t${1}\n"; }); @@ -13,4 +13,4 @@ exports.scope = "html"; } }); })(); - \ No newline at end of file + From 5d26ab1bf94b2a43907b8cce75958ee0729dcc94 Mon Sep 17 00:00:00 2001 From: satetsu888 Date: Fri, 24 May 2019 15:01:02 +0900 Subject: [PATCH 3/3] Add some css support constants for flexbox --- src-noconflict/mode-css.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-noconflict/mode-css.js b/src-noconflict/mode-css.js index b0f280326..5487e2a20 100644 --- a/src-noconflict/mode-css.js +++ b/src-noconflict/mode-css.js @@ -4,7 +4,7 @@ var lang = require("../lib/lang"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var supportType = exports.supportType = "align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index"; var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters"; -var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom"; +var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|column-reverse|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-start|flex-end|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row|row-resize|row-reverse|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|space-around|space-between|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|wrap|wrap-reverse|z-index|zero|zoom"; var supportConstantColor = exports.supportConstantColor = "aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen"; var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace"; var numRe = exports.numRe = "\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))"; @@ -621,4 +621,4 @@ exports.Mode = Mode; } }); })(); - \ No newline at end of file +