HTML auto-completion: Additions to HTML lang and auto-complete (fixes #222, closes #336)

HTML auto-complete
- add missing html elements and global events/attributes
- remove some deprecated elements, keeping popular ones
- remove duplicates

HTML lang
- add missing html elements (including deprecated ones) and global events/attributes to langs.model.xml
- remove duplicates

Use JavaScript highlight for JSON, because they have the same syntax.
This commit is contained in:
Ricardo 2015-06-25 20:27:50 -03:00 committed by Damien GERARD
parent c329442ed7
commit a9ed6b436b
2 changed files with 55 additions and 33 deletions

View File

@ -59,6 +59,7 @@
<KeyWord name="bdo" /> <KeyWord name="bdo" />
<KeyWord name="behind" /> <KeyWord name="behind" />
<KeyWord name="below" /> <KeyWord name="below" />
<KeyWord name="bgsound" />
<KeyWord name="bidi-override" /> <KeyWord name="bidi-override" />
<KeyWord name="black" /> <KeyWord name="black" />
<KeyWord name="blink" /> <KeyWord name="blink" />
@ -97,8 +98,9 @@
<KeyWord name="canvas" /> <KeyWord name="canvas" />
<KeyWord name="capitalize" /> <KeyWord name="capitalize" />
<KeyWord name="caption" /> <KeyWord name="caption" />
<KeyWord name="caption" />
<KeyWord name="caption-side" /> <KeyWord name="caption-side" />
<KeyWord name="cellpadding" />
<KeyWord name="cellspacing" />
<KeyWord name="center" /> <KeyWord name="center" />
<KeyWord name="center-left" /> <KeyWord name="center-left" />
<KeyWord name="center-right" /> <KeyWord name="center-right" />
@ -107,14 +109,12 @@
<KeyWord name="checked" /> <KeyWord name="checked" />
<KeyWord name="circle" /> <KeyWord name="circle" />
<KeyWord name="cite" /> <KeyWord name="cite" />
<KeyWord name="cite" />
<KeyWord name="cjk-ideographic" /> <KeyWord name="cjk-ideographic" />
<KeyWord name="class" /> <KeyWord name="class" />
<KeyWord name="clear" /> <KeyWord name="clear" />
<KeyWord name="clip" /> <KeyWord name="clip" />
<KeyWord name="close-quote" /> <KeyWord name="close-quote" />
<KeyWord name="code" /> <KeyWord name="code" />
<KeyWord name="code" />
<KeyWord name="col" /> <KeyWord name="col" />
<KeyWord name="colgroup" /> <KeyWord name="colgroup" />
<KeyWord name="collapse" /> <KeyWord name="collapse" />
@ -125,7 +125,6 @@
<KeyWord name="compact" /> <KeyWord name="compact" />
<KeyWord name="condensed" /> <KeyWord name="condensed" />
<KeyWord name="content" /> <KeyWord name="content" />
<KeyWord name="content" />
<KeyWord name="contenteditable" /> <KeyWord name="contenteditable" />
<KeyWord name="contextmenu" /> <KeyWord name="contextmenu" />
<KeyWord name="continuous" /> <KeyWord name="continuous" />
@ -152,9 +151,9 @@
<KeyWord name="del" /> <KeyWord name="del" />
<KeyWord name="details" /> <KeyWord name="details" />
<KeyWord name="dfn" /> <KeyWord name="dfn" />
<KeyWord name="dialog" />
<KeyWord name="digits" /> <KeyWord name="digits" />
<KeyWord name="dir" /> <KeyWord name="dir" />
<KeyWord name="dir" />
<KeyWord name="direction" /> <KeyWord name="direction" />
<KeyWord name="disabled" /> <KeyWord name="disabled" />
<KeyWord name="disc" /> <KeyWord name="disc" />
@ -165,10 +164,9 @@
<KeyWord name="dropzone" /> <KeyWord name="dropzone" />
<KeyWord name="dt" /> <KeyWord name="dt" />
<KeyWord name="e-resize" /> <KeyWord name="e-resize" />
<KeyWord name="element" />
<KeyWord name="elevation" /> <KeyWord name="elevation" />
<KeyWord name="em" /> <KeyWord name="em" />
<KeyWord name="em" />
<KeyWord name="embed" />
<KeyWord name="embed" /> <KeyWord name="embed" />
<KeyWord name="empty-cells" /> <KeyWord name="empty-cells" />
<KeyWord name="enctype" /> <KeyWord name="enctype" />
@ -196,12 +194,13 @@
<KeyWord name="footer" /> <KeyWord name="footer" />
<KeyWord name="for" /> <KeyWord name="for" />
<KeyWord name="form" /> <KeyWord name="form" />
<KeyWord name="form" />
<KeyWord name="formaction" /> <KeyWord name="formaction" />
<KeyWord name="formenctype" /> <KeyWord name="formenctype" />
<KeyWord name="formmethod" /> <KeyWord name="formmethod" />
<KeyWord name="formnovalidate" /> <KeyWord name="formnovalidate" />
<KeyWord name="formtarget" /> <KeyWord name="formtarget" />
<KeyWord name="frame" />
<KeyWord name="frameset" />
<KeyWord name="fuchsia" /> <KeyWord name="fuchsia" />
<KeyWord name="georgian" /> <KeyWord name="georgian" />
<KeyWord name="grad" /> <KeyWord name="grad" />
@ -218,14 +217,11 @@
<KeyWord name="headers" /> <KeyWord name="headers" />
<KeyWord name="hebrew" /> <KeyWord name="hebrew" />
<KeyWord name="height" /> <KeyWord name="height" />
<KeyWord name="height" />
<KeyWord name="help" /> <KeyWord name="help" />
<KeyWord name="hgroup" /> <KeyWord name="hgroup" />
<KeyWord name="hidden" /> <KeyWord name="hidden" />
<KeyWord name="hidden" />
<KeyWord name="hide" /> <KeyWord name="hide" />
<KeyWord name="high" /> <KeyWord name="high" />
<KeyWord name="high" />
<KeyWord name="higher" /> <KeyWord name="higher" />
<KeyWord name="hiragana" /> <KeyWord name="hiragana" />
<KeyWord name="hiragana-iroha" /> <KeyWord name="hiragana-iroha" />
@ -237,7 +233,6 @@
<KeyWord name="hz" /> <KeyWord name="hz" />
<KeyWord name="i" /> <KeyWord name="i" />
<KeyWord name="icon" /> <KeyWord name="icon" />
<KeyWord name="icon" />
<KeyWord name="id" /> <KeyWord name="id" />
<KeyWord name="iframe" /> <KeyWord name="iframe" />
<KeyWord name="img" /> <KeyWord name="img" />
@ -258,7 +253,6 @@
<KeyWord name="khz" /> <KeyWord name="khz" />
<KeyWord name="kind" /> <KeyWord name="kind" />
<KeyWord name="label" /> <KeyWord name="label" />
<KeyWord name="label" />
<KeyWord name="landscape" /> <KeyWord name="landscape" />
<KeyWord name="lang" /> <KeyWord name="lang" />
<KeyWord name="left" /> <KeyWord name="left" />
@ -282,7 +276,6 @@
<KeyWord name="loop" /> <KeyWord name="loop" />
<KeyWord name="loud" /> <KeyWord name="loud" />
<KeyWord name="low" /> <KeyWord name="low" />
<KeyWord name="low" />
<KeyWord name="lower" /> <KeyWord name="lower" />
<KeyWord name="lower-alpha" /> <KeyWord name="lower-alpha" />
<KeyWord name="lower-greek" /> <KeyWord name="lower-greek" />
@ -302,6 +295,7 @@
<KeyWord name="marker-offset" /> <KeyWord name="marker-offset" />
<KeyWord name="marks" /> <KeyWord name="marks" />
<KeyWord name="maroon" /> <KeyWord name="maroon" />
<KeyWord name="marquee" />
<KeyWord name="max" /> <KeyWord name="max" />
<KeyWord name="max-height" /> <KeyWord name="max-height" />
<KeyWord name="max-width" /> <KeyWord name="max-width" />
@ -309,7 +303,7 @@
<KeyWord name="media" /> <KeyWord name="media" />
<KeyWord name="medium" /> <KeyWord name="medium" />
<KeyWord name="menu" /> <KeyWord name="menu" />
<KeyWord name="menu" /> <KeyWord name="menuitem" />
<KeyWord name="message-box" /> <KeyWord name="message-box" />
<KeyWord name="meta" /> <KeyWord name="meta" />
<KeyWord name="meter" /> <KeyWord name="meter" />
@ -321,6 +315,7 @@
<KeyWord name="mix" /> <KeyWord name="mix" />
<KeyWord name="move" /> <KeyWord name="move" />
<KeyWord name="ms" /> <KeyWord name="ms" />
<KeyWord name="multicol" />
<KeyWord name="multiple" /> <KeyWord name="multiple" />
<KeyWord name="muted" /> <KeyWord name="muted" />
<KeyWord name="n-resize" /> <KeyWord name="n-resize" />
@ -332,6 +327,8 @@
<KeyWord name="no-close-quote" /> <KeyWord name="no-close-quote" />
<KeyWord name="no-open-quote" /> <KeyWord name="no-open-quote" />
<KeyWord name="no-repeat" /> <KeyWord name="no-repeat" />
<KeyWord name="nobr" />
<KeyWord name="noframes" />
<KeyWord name="none" /> <KeyWord name="none" />
<KeyWord name="normal" /> <KeyWord name="normal" />
<KeyWord name="noscript" /> <KeyWord name="noscript" />
@ -343,19 +340,25 @@
<KeyWord name="ol" /> <KeyWord name="ol" />
<KeyWord name="olive" /> <KeyWord name="olive" />
<KeyWord name="onabort" /> <KeyWord name="onabort" />
<KeyWord name="onautocomplete" />
<KeyWord name="onautocompleteerror" />
<KeyWord name="onbeforeprint" /> <KeyWord name="onbeforeprint" />
<KeyWord name="onbeforeunload" /> <KeyWord name="onbeforeunload" />
<KeyWord name="onblur" /> <KeyWord name="onblur" />
<KeyWord name="oncancel" />
<KeyWord name="oncanplay" /> <KeyWord name="oncanplay" />
<KeyWord name="oncanplaythrough" /> <KeyWord name="oncanplaythrough" />
<KeyWord name="once" /> <KeyWord name="once" />
<KeyWord name="onchange" /> <KeyWord name="onchange" />
<KeyWord name="onclick" /> <KeyWord name="onclick" />
<KeyWord name="onclose" />
<KeyWord name="oncontextmenu" /> <KeyWord name="oncontextmenu" />
<KeyWord name="oncuechange" />
<KeyWord name="ondblclick" /> <KeyWord name="ondblclick" />
<KeyWord name="ondrag" /> <KeyWord name="ondrag" />
<KeyWord name="ondragend" /> <KeyWord name="ondragend" />
<KeyWord name="ondragenter" /> <KeyWord name="ondragenter" />
<KeyWord name="ondragexit" />
<KeyWord name="ondragleave" /> <KeyWord name="ondragleave" />
<KeyWord name="ondragover" /> <KeyWord name="ondragover" />
<KeyWord name="ondragstart" /> <KeyWord name="ondragstart" />
@ -365,9 +368,7 @@
<KeyWord name="onended" /> <KeyWord name="onended" />
<KeyWord name="onerror" /> <KeyWord name="onerror" />
<KeyWord name="onfocus" /> <KeyWord name="onfocus" />
<KeyWord name="onformchange" /> <KeyWord name="onhashchange" />
<KeyWord name="onforminput" />
<KeyWord name="onhaschange" />
<KeyWord name="oninput" /> <KeyWord name="oninput" />
<KeyWord name="oninvalid" /> <KeyWord name="oninvalid" />
<KeyWord name="onkeydown" /> <KeyWord name="onkeydown" />
@ -379,6 +380,8 @@
<KeyWord name="onloadstart" /> <KeyWord name="onloadstart" />
<KeyWord name="onmessage" /> <KeyWord name="onmessage" />
<KeyWord name="onmousedown" /> <KeyWord name="onmousedown" />
<KeyWord name="onmouseenter" />
<KeyWord name="onmouseleave" />
<KeyWord name="onmousemove" /> <KeyWord name="onmousemove" />
<KeyWord name="onmouseout" /> <KeyWord name="onmouseout" />
<KeyWord name="onmouseover" /> <KeyWord name="onmouseover" />
@ -391,21 +394,35 @@
<KeyWord name="onpause" /> <KeyWord name="onpause" />
<KeyWord name="onplay" /> <KeyWord name="onplay" />
<KeyWord name="onplaying" /> <KeyWord name="onplaying" />
<KeyWord name="onpointercancel" />
<KeyWord name="onpointerdown" />
<KeyWord name="onpointerenter" />
<KeyWord name="onpointerleave" />
<KeyWord name="onpointerlockchange" />
<KeyWord name="onpointerlockerror" />
<KeyWord name="onpointermove" />
<KeyWord name="onpointerout" />
<KeyWord name="onpointerover" />
<KeyWord name="onpointerup" />
<KeyWord name="onpopstate" /> <KeyWord name="onpopstate" />
<KeyWord name="onprogress" /> <KeyWord name="onprogress" />
<KeyWord name="onratechange" /> <KeyWord name="onratechange" />
<KeyWord name="onreadystatechange" /> <KeyWord name="onreadystatechange" />
<KeyWord name="onredo" /> <KeyWord name="onredo" />
<KeyWord name="onreset" />
<KeyWord name="onresize" /> <KeyWord name="onresize" />
<KeyWord name="onscroll" /> <KeyWord name="onscroll" />
<KeyWord name="onseeked" /> <KeyWord name="onseeked" />
<KeyWord name="onseeking" /> <KeyWord name="onseeking" />
<KeyWord name="onselect" /> <KeyWord name="onselect" />
<KeyWord name="onshow" />
<KeyWord name="onsort" />
<KeyWord name="onstalled" /> <KeyWord name="onstalled" />
<KeyWord name="onstorage" /> <KeyWord name="onstorage" />
<KeyWord name="onsubmit" /> <KeyWord name="onsubmit" />
<KeyWord name="onsuspend" /> <KeyWord name="onsuspend" />
<KeyWord name="ontimeupdate" /> <KeyWord name="ontimeupdate" />
<KeyWord name="ontoggle" />
<KeyWord name="onundo" /> <KeyWord name="onundo" />
<KeyWord name="onunload" /> <KeyWord name="onunload" />
<KeyWord name="onvolumechange" /> <KeyWord name="onvolumechange" />
@ -439,6 +456,7 @@
<KeyWord name="pause" /> <KeyWord name="pause" />
<KeyWord name="pause-after" /> <KeyWord name="pause-after" />
<KeyWord name="pause-before" /> <KeyWord name="pause-before" />
<KeyWord name="picture" />
<KeyWord name="pitch" /> <KeyWord name="pitch" />
<KeyWord name="pitch-range" /> <KeyWord name="pitch-range" />
<KeyWord name="placeholder" /> <KeyWord name="placeholder" />
@ -448,7 +466,6 @@
<KeyWord name="position" /> <KeyWord name="position" />
<KeyWord name="poster" /> <KeyWord name="poster" />
<KeyWord name="pre" /> <KeyWord name="pre" />
<KeyWord name="pre" />
<KeyWord name="preload" /> <KeyWord name="preload" />
<KeyWord name="progress" /> <KeyWord name="progress" />
<KeyWord name="pt" /> <KeyWord name="pt" />
@ -476,6 +493,7 @@
<KeyWord name="rowspan" /> <KeyWord name="rowspan" />
<KeyWord name="rp" /> <KeyWord name="rp" />
<KeyWord name="rt" /> <KeyWord name="rt" />
<KeyWord name="rtc" />
<KeyWord name="rtl" /> <KeyWord name="rtl" />
<KeyWord name="ruby" /> <KeyWord name="ruby" />
<KeyWord name="run-in" /> <KeyWord name="run-in" />
@ -495,6 +513,7 @@
<KeyWord name="semi-condensed" /> <KeyWord name="semi-condensed" />
<KeyWord name="semi-expanded" /> <KeyWord name="semi-expanded" />
<KeyWord name="separate" /> <KeyWord name="separate" />
<KeyWord name="shadow" />
<KeyWord name="shape" /> <KeyWord name="shape" />
<KeyWord name="show" /> <KeyWord name="show" />
<KeyWord name="silent" /> <KeyWord name="silent" />
@ -509,7 +528,6 @@
<KeyWord name="soft" /> <KeyWord name="soft" />
<KeyWord name="source" /> <KeyWord name="source" />
<KeyWord name="span" /> <KeyWord name="span" />
<KeyWord name="span" />
<KeyWord name="speak" /> <KeyWord name="speak" />
<KeyWord name="speak-header" /> <KeyWord name="speak-header" />
<KeyWord name="speak-numeral" /> <KeyWord name="speak-numeral" />
@ -526,14 +544,17 @@
<KeyWord name="status-bar" /> <KeyWord name="status-bar" />
<KeyWord name="step" /> <KeyWord name="step" />
<KeyWord name="stress" /> <KeyWord name="stress" />
<KeyWord name="strike" />
<KeyWord name="strong" /> <KeyWord name="strong" />
<KeyWord name="style" /> <KeyWord name="style" />
<KeyWord name="sub" /> <KeyWord name="sub" />
<KeyWord name="summary" /> <KeyWord name="summary" />
<KeyWord name="sup" /> <KeyWord name="sup" />
<KeyWord name="super" /> <KeyWord name="super" />
<KeyWord name="svg" />
<KeyWord name="svg:svg" />
<KeyWord name="sw-resize" /> <KeyWord name="sw-resize" />
<KeyWord name="table" /> <KeyWord name="tabindex" />
<KeyWord name="table" /> <KeyWord name="table" />
<KeyWord name="table-caption" /> <KeyWord name="table-caption" />
<KeyWord name="table-cell" /> <KeyWord name="table-cell" />
@ -548,6 +569,7 @@
<KeyWord name="tbody" /> <KeyWord name="tbody" />
<KeyWord name="td" /> <KeyWord name="td" />
<KeyWord name="teal" /> <KeyWord name="teal" />
<KeyWord name="template" />
<KeyWord name="text" /> <KeyWord name="text" />
<KeyWord name="text-align" /> <KeyWord name="text-align" />
<KeyWord name="text-bottom" /> <KeyWord name="text-bottom" />
@ -595,7 +617,6 @@
<KeyWord name="wider" /> <KeyWord name="wider" />
<KeyWord name="widows" /> <KeyWord name="widows" />
<KeyWord name="width" /> <KeyWord name="width" />
<KeyWord name="width" />
<KeyWord name="word-spacing" /> <KeyWord name="word-spacing" />
<KeyWord name="wrap" /> <KeyWord name="wrap" />
<KeyWord name="x-fast" /> <KeyWord name="x-fast" />
@ -604,6 +625,7 @@
<KeyWord name="x-low" /> <KeyWord name="x-low" />
<KeyWord name="x-slow" /> <KeyWord name="x-slow" />
<KeyWord name="x-soft" /> <KeyWord name="x-soft" />
<KeyWord name="xml:base" />
<KeyWord name="xml:lang" /> <KeyWord name="xml:lang" />
<KeyWord name="xmlns" /> <KeyWord name="xmlns" />
<KeyWord name="yellow" /> <KeyWord name="yellow" />

File diff suppressed because one or more lines are too long