[geany/geany] 702737: Update HTML keywords (#1530)

Vasiliy Faronov git-noreply at xxxxx
Tue Jul 11 23:44:53 UTC 2017


Branch:      refs/heads/master
Author:      Vasiliy Faronov <vfaronov at gmail.com>
Committer:   elextr <elextr at gmail.com>
Date:        Tue, 11 Jul 2017 23:44:53 UTC
Commit:      70273779981e4ce3610955ee4d27f557188c3717
             https://github.com/geany/geany/commit/70273779981e4ce3610955ee4d27f557188c3717

Log Message:
-----------
Update HTML keywords (#1530)

* Add newly standardized HTML elements to filetypes.html

To enable highlighting them as keywords in HTML documents, add
the following elements defined in W3C HTML 5.1
(https://www.w3.org/TR/html51/fullindex.html#index-elements):

- menuitem
- picture
- rb
- rtc
- template

as well as the following elements defined in WHATWG HTML Living Standard
(https://html.spec.whatwg.org/multipage/indices.html#elements-3):

- math
- slot
- svg

* Add newly standardized HTML attributes to filetypes.html

To enable highlighting them as keywords in HTML documents, add
30 attributes defined in W3C HTML 5.1
(https://www.w3.org/TR/html51/fullindex.html#attributes-table)
and a further 15 attributes defined in the WHATWG HTML Living Standard
(https://html.spec.whatwg.org/multipage/indices.html#attributes-3).

* Sort the list of HTML keywords


Modified Paths:
--------------
    data/filedefs/filetypes.html

Modified: data/filedefs/filetypes.html
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -77,7 +77,7 @@
 
 
 [keywords]
-html=a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em embed fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q quality s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns leftmargin topmargin abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder selected headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media framespacing method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt pluginspage readonly rel rev rows rowspan rules scheme scope scrolling shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public doctype xml xml:lang article aside audio bdi canvas command details datalist dialog figure figcaption footer header hgroup keygen main mark meter nav output progress section source time video wbr async autocomplete autofocus contenteditable contextmenu draggable formaction formenctype formnovalidate formtarget list manifest max min novalidate pattern ping placeholder required reversed role rp rt ruby sandbox scoped seamless sizes spellcheck srcdoc step summary track ^data- ^aria-
+html=^aria- ^data- a abbr accept accept-charset accesskey acronym action address align alink allowfullscreen allowpaymentrequest allowusermedia alt applet archive area article as aside async audio autocomplete autofocus autoplay axis b background base basefont bdi bdo bgcolor big blockquote body border br button canvas caption cellpadding cellspacing center challenge char charoff charset checkbox checked cite class classid clear code codebase codetype col colgroup color cols colspan command compact content contenteditable contextmenu controls coords crossorigin data datafld dataformatas datalist datapagesize datasrc datetime dd declare default defer del details dfn dialog dir dirname disabled div dl doctype download draggable dropzone dt em embed enctype face fieldset figcaption figure file font footer for form formaction formenctype formmethod formnovalidate formtarget frame frameborder frameset framespacing h1 h2 h3 h4 h5 h6 head header headers height hgroup hidden high hr href hreflang hspace html http-equiv i icon id iframe image img input inputmode ins integrity is isindex ismap itemid itemprop itemref itemscope itemtype kbd keygen keytype kind label lang language leftmargin legend li link list longdesc loop low main manifest map marginheight marginwidth mark math max maxlength media menu menuitem meta meter method min minlength multiple muted name nav noframes nohref nomodule nonce noresize noscript noshade novalidate nowrap object ol onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseout onmouseover onmouseup onreset onselect onsubmit onunload open optgroup optimum option output p param password pattern picture ping placeholder playsinline pluginspage poster pre preload profile progress prompt public q quality radio radiogroup rb readonly referrerpolicy rel required reset rev reversed role rows rowspan rp rt rtc ruby rules s samp sandbox scheme scope scoped script scrolling seamless section select selected shape size sizes slot small source span spellcheck src srcdoc srclang srcset standby start step strike strong style sub submit summary sup svg tabindex table target tbody td template text textarea tfoot th thead time title topmargin tr track translate tt type typemustmatch u ul updateviacache usemap valign value valuetype var version video vlink vspace wbr width workertype wrap xml xml:lang xmlns
 javascript=abs abstract acos anchor asin atan atan2 big bold boolean break byte case catch ceil char charAt charCodeAt class concat const continue cos Date debugger default delete do double else enum escape eval exp export extends false final finally fixed float floor fontcolor fontsize for fromCharCode function goto if implements import in indexOf Infinity instanceof int interface isFinite isNaN italics join lastIndexOf length link log long Math max MAX_VALUE min MIN_VALUE NaN native NEGATIVE_INFINITY new null Number package parseFloat parseInt pop POSITIVE_INFINITY pow private protected public push random return reverse round shift short sin slice small sort splice split sqrt static strike string String sub substr substring sup super switch synchronized tan this throw throws toLowerCase toString toUpperCase transient true try typeof undefined unescape unshift valueOf var void volatile while with
 vbscript=and as boolean byref byte byval call case class const continue currency date dim do double each else elseif empty end error exit false for function get global goto if in integer long loop me new next not nothing object on optional or private property public put redim rem resume select set single string sub then to true type until variant wend while with
 python=and assert break class continue complex def del elif else except exec finally for from global if import in inherit is int lambda not or pass print raise return tuple try unicode while yield long float str list



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list