Add xml_indent_tags filetype setting for documents using the
[geany-mirror.git] / data / filetypes.xml
blobe067e3df86394789de74e04115b4652a998ecd71
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # foreground;background;bold;italic
4 html_default=0x000000;0xffffff;false;false
5 html_tag=0x000099;0xffffff;false;false
6 html_tagunknown=0xff0000;0xffffff;false;false
7 html_attribute=0x007f00;0xffffff;false;false
8 html_attributeunknown=0xff0000;0xffffff;false;false
9 html_number=0x800080;0xffffff;false;false
10 html_doublestring=0xff901e;0xffffff;false;false
11 html_singlestring=0xff901e;0xffffff;false;false
12 html_other=0x800080;0xffffff;false;false
13 html_comment=0x808080;0xffffff;false;false
14 html_entity=0x800080;0xffffff;false;false
15 html_tagend=0x000080;0xffffff;false;false
16 # <?
17 html_xmlstart=0x000099;0xf0f0f0;false;false
18 # ?>
19 html_xmlend=0x000099;0xf0f0f0;false;false
20 # <script
21 html_script=0x000080;0xf0f0f0;false;false
22 # <% ... %>
23 html_asp=0x004f4f;0xf0f0f0;false;false
24 # <%@ ... %>
25 html_aspat=0x004f4f;0xf0f0f0;false;false
26 html_cdata=0x660099;0xffffff;false;false
27 html_question=0x0000ff;0xffffff;false;false
28 html_value=0x660099;0xffffff;false;false
29 html_xccomment=0x660099;0xffffff;false;false
31 sgml_default=0x000000;0xffffff;false;false
32 sgml_comment=0x808080;0xffffff;false;false
33 sgml_special=0x007f00;0xffffff;false;false
34 sgml_command=0x111199;0xffffff;true;false
35 sgml_doublestring=0xff901e;0xffffff;false;false
36 sgml_simplestring=0xff901e;0xffffff;false;false
37 sgml_1st_param=0x404080;0xffffff;false;false
38 sgml_entity=0x301010;0xffffff;false;false
39 sgml_block_default=0x000000;0xffffff;false;false
40 sgml_1st_param_comment=0x406090;0xffffff;false;false
41 sgml_error=0xff0000;0xffffff;false;false
43 php_default=0x000000;0xffffff;false;false
44 php_simplestring=0xff901e;0xffffff;false;false
45 php_hstring=0x008000;0xffffff;false;false
46 php_number=0x606000;0xffffff;false;false
47 php_word=0x000099;0xffffff;false;false
48 php_variable=0x7f0000;0xffffff;false;false
49 php_comment=0x808080;0xffffff;false;false
50 php_commentline=0x808080;0xffffff;false;false
51 php_operator=0x102060;0xffffff;false;false
52 php_hstring_variable=0x101060;0xffffff;false;false
53 php_complex_variable=0x105010;0xffffff;false;false
55 # used for JavaScript, ASP Javascript, VBScript
56 jscript_start=0x008080;0xffffff;false;false
57 jscript_default=0x000000;0xffffff;false;false
58 jscript_comment=0xd00000;0xffffff;false;false
59 jscript_commentline=0xd00000;0xffffff;false;false
60 jscript_commentdoc=0x3f5fbf;0xffffff;true;false
61 jscript_number=0x007f00;0xffffff;false;false
62 jscript_word=0x000000;0xffffff;false;false
63 jscript_keyword=0x00007f;0xffffff;true;false
64 jscript_doublestring=0xff901e;0xffffff;false;false
65 jscript_singlestring=0xff901e;0xffffff;false;false
66 # same as operators
67 jscript_symbols=0x301010;0xffffff;false;false
68 jscript_stringeol=0x000000;0xe0c0e0;false;false
69 jscript_regex=0x105090;0xffffff;false;false
71 # for embedded Python script (<script language="python">...</script>), Python styles from
72 # filetypes.python are used
75 [keywords]
76 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 canvas command details datalist figure figcaption footer header hgroup keygen mark meter nav output progress section time video wbr async autocomplete autofocus contenteditable contextmenu draggable formaction formenctype formnovalidate formtarget list manifest max min novalidate pattern ping placeholder required reversed role sandbox scoped seamless sizes spellcheck srcdoc step ^data- ^aria-
77 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
78 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
79 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
80 php=abstract and array as bool boolean break case catch cfunction __class__ class clone const continue declare default die __dir__ directory do double echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval exception exit extends false __file__ final float for foreach __function__ function goto global if implements include include_once int integer interface isset __line__ list __method__ namespace __namespace__ new null object old_function or parent php_user_filter print private protected public real require require_once resource return __sleep static stdclass string switch this throw true try unset use var __wakeup while xor
81 sgml=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
84 [settings]
85 # default extension used when saving files
86 extension=xml
88 # the following characters are these which a "word" can contains, see documentation
89 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
91 # if only single comment char is supported like # in this file, leave comment_close blank
92 comment_open=<!--
93 comment_close=-->
95 # set to false if a comment character/string should start at column 0 of a line, true uses any
96 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
97         #command_example();
98 # setting to false would generate this
99 #       command_example();
100 # This setting works only for single line comments
101 comment_use_indent=true
103 # context action command (please see Geany's main documentation for details)
104 context_action_cmd=
106 # If this setting is set to true, a new line after a line ending with an
107 # unclosed tag will be automatically indented
108 xml_indent_tags=true