Added missing PHP keywords, especially for PHP 7.x. (#1547)
[geany-mirror.git] / data / filedefs / filetypes.html
blob3f53536b6392040f0fbf4216dc69055895604e01
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # Edit these in the colorscheme .conf file instead
4 html_default=default
5 html_tag=tag
6 html_tagunknown=tag_unknown
7 html_attribute=attribute
8 html_attributeunknown=attribute_unknown
9 html_number=number_1
10 html_doublestring=string_2
11 html_singlestring=string_1
12 html_other=other
13 html_comment=comment
14 html_entity=entity
15 html_tagend=tag_end
16 html_xmlstart=tag
17 html_xmlend=tag_end
18 html_script=tag
19 html_asp=tag
20 html_aspat=tag
21 html_cdata=string_2
22 html_question=number_2
23 html_value=value
24 html_xccomment=comment
26 sgml_default=default
27 sgml_comment=comment
28 sgml_special=number_1
29 sgml_command=number_2
30 sgml_doublestring=string_2
31 sgml_simplestring=string_1
32 sgml_1st_param=attribute
33 sgml_entity=entity
34 sgml_block_default=default
35 sgml_1st_param_comment=comment
36 sgml_error=error
38 php_default=default
39 php_simplestring=string_1
40 php_hstring=string_2
41 php_number=number_1
42 php_word=keyword_1
43 php_variable=preprocessor
44 php_comment=comment
45 php_commentline=comment_line
46 php_operator=operator
47 php_hstring_variable=preprocessor
48 php_complex_variable=preprocessor
50 jscript_start=tag
51 jscript_default=default
52 jscript_comment=comment
53 jscript_commentline=comment_line
54 jscript_commentdoc=comment_doc
55 jscript_number=number_1
56 jscript_word=default
57 jscript_keyword=keyword_1
58 jscript_doublestring=string_2
59 jscript_singlestring=string_1
61 jscript_symbols=operator
62 jscript_stringeol=string_eol
63 jscript_regex=regex
65 python_default=default
66 python_commentline=comment_line
67 python_number=number_1
68 python_string=string_1
69 python_character=character
70 python_word=keyword_1
71 python_triple=string_2
72 python_tripledouble=string_2
73 python_classname=type
74 python_defname=function
75 python_operator=operator
76 python_identifier=identifier_1
79 [keywords]
80 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
81 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
82 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
83 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
84 php=abstract and argumentcounterror arithmeticerror array arrayaccess as assert assertionerror bool boolean break __call __callstatic callable case catch cfunction __class__ class clone __clone closure const __construct continue countable __debuginfo declare default __destruct die __dir__ directory divisionbyzeroerror do double echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile error errorexception eval exception exit extends false __file__ final finally float for foreach __function__ function generator __get goto global __halt_compiler if implements include include_once instanceof insteadof int integer interface __invoke isset __isset iterable iterator iteratoraggregate __line__ list __method__ namespace __namespace__ new null object old_function or parent parseerror php_user_filter print private protected public real require require_once resource return self serializable __set __set_state __sleep static stdclass stderr stdin stdout string switch __tostring this throw throwable trait __trait__ traversable true try typeerror unset __unset use var void __wakeup while xor yield
85 sgml=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
88 [lexer_properties]
89 # default scripting language for ASP
90 # 1 = JavaScript (or leave blank for default)
91 # 2 = VBScript
92 # 3 = Python
93 # asp.default.language=2
95 [settings]
96 # default extension used when saving files
97 extension=html
99 # MIME type
100 mime_type=text/html
102 # the following characters are these which a "word" can contains, see documentation
103 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
105 # these comments are used for PHP, the comments used in HTML are in filetypes.xml
106 # single comments, like # in this file
107 #comment_single=
108 # multiline comments
109 comment_open=<!--
110 comment_close=-->
112 # set to false if a comment character/string should start at column 0 of a line, true uses any
113 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
114 #command_example();
115 # setting to false would generate this
116 # command_example();
117 # This setting works only for single line comments
118 comment_use_indent=true
120 # context action command (please see Geany's main documentation for details)
121 context_action_cmd=
123 # if this setting is set to true, a new line after a line ending with an
124 # unclosed tag will be automatically indented
125 xml_indent_tags=true
127 [indentation]
128 #width=4
129 # 0 is spaces, 1 is tabs, 2 is tab & spaces
130 #type=1
132 [build_settings]
133 # %f will be replaced by the complete filename
134 # %e will be replaced by the filename without extension
135 # (use only one of it at one time)
136 # use a syntax checker and ignore the formatted output
137 compiler=tidy %f >/dev/null
139 # the file will be opened with the default browser which can be set in the preferences dialog
140 run_cmd=builtin