Try to fix Gtk warning when using Tools->Reload Configuration.
[geany-mirror.git] / data / filetypes.javascript
blob9c2fe5295b4097b816a42e40c5189c94efd98753
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # foreground;background;bold;italic
4 default=default
5 comment=comment
6 commentline=comment
7 commentdoc=commentdoc
8 number=number
9 word=word
10 word2=word2
11 string=string
12 character=string
13 uuid=0x404080
14 preprocessor=preprocessor
15 operator=operator
16 identifier=default
17 stringeol=stringeol
18 # @"verbatim"
19 verbatim=0x101030
20 # (/regex/)
21 regex=0x105090
22 commentlinedoc=commentdoc,bold
23 commentdockeyword=commentdoc,bold,italic
24 commentdockeyworderror=commentdoc
25 globalclass=type
27 [keywords]
28 # all items must be in one line
29 primary=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
31 [settings]
32 # default extension used when saving files
33 #extension=js
35 # the following characters are these which a "word" can contains, see documentation
36 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
38 # if only single comment char is supported like # in this file, leave comment_close blank
39 comment_open=//
40 comment_close=
42 # set to false if a comment character/string should start at column 0 of a line, true uses any
43 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
44         #command_example();
45 # setting to false would generate this
46 #       command_example();
47 # This setting works only for single line comments
48 comment_use_indent=true
50 # context action command (please see Geany's main documentation for details)
51 context_action_cmd=
53 [build_settings]
54 # %f will be replaced by the complete filename
55 # %e will be replaced by the filename without extension
56 # (use only one of it at one time)
57 compiler=
58 run=