Prevent reading past start of Scintilla buffer
[geany-mirror.git] / data / filetypes.c
blob0e7ca64e0be9972e70425fc94afcb3ca0ac00115
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 default=default
5 comment=comment
6 commentline=comment_line
7 commentdoc=comment_doc
8 preprocessorcomment=comment
9 preprocessorcommentdoc=comment_doc
10 number=number_1
11 word=keyword_1
12 word2=keyword_2
13 string=string_1
14 stringraw=string_2
15 character=character
16 uuid=other
17 preprocessor=preprocessor
18 operator=operator
19 identifier=identifier_1
20 stringeol=string_eol
21 verbatim=string_2
22 regex=regex
23 commentlinedoc=comment_line_doc
24 commentdockeyword=comment_doc_keyword
25 commentdockeyworderror=comment_doc_keyword_error
26 globalclass=class
27 # """verbatim"""
28 tripleverbatim=string_2
29 hashquotedstring=string_2
31 [keywords]
32 # all items must be in one line
33 primary=asm auto break case char const continue default do double else enum extern float for goto if inline int long register restrict return short signed sizeof static struct switch typedef union unsigned void volatile while FALSE NULL TRUE
34 secondary=
35 # these are the Doxygen keywords
36 docComment=a addindex addtogroup anchor arg attention author authors b brief bug c callergraph callgraph category cite class code cond copybrief copydetails copydoc copyright date def defgroup deprecated details dir dontinclude dot dotfile e else elseif em endcode endcond enddot endhtmlonly endif endinternal endlatexonly endlink endmanonly endmsc endrtfonly endverbatim endxmlonly enum example exception extends file fn headerfile hideinitializer htmlinclude htmlonly if ifnot image implements include includelineno ingroup interface internal invariant latexonly li line link mainpage manonly memberof msc mscfile n name namespace nosubgrouping note overload p package page par paragraph param post pre private privatesection property protected protectedsection protocol public publicsection ref related relatedalso relates relatesalso remark remarks result return returns retval rtfonly sa section see short showinitializer since skip skipline snippet struct subpage subsection subsubsection tableofcontents test throw throws todo tparam typedef union until var verbatim verbinclude version warning weakgroup xmlonly xrefitem
38 [lexer_properties]
39 styling.within.preprocessor=1
40 lexer.cpp.track.preprocessor=0
41 preprocessor.symbol.$(file.patterns.cpp)=#
42 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
43 preprocessor.middle.$(file.patterns.cpp)=else elif
44 preprocessor.end.$(file.patterns.cpp)=endif
46 [settings]
47 # default extension used when saving files
48 extension=c
50 # the following characters are these which a "word" can contains, see documentation
51 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
53 # single comments, like # in this file
54 comment_single=//
55 # multiline comments
56 comment_open=/*
57 comment_close=*/
59 # set to false if a comment character/string should start at column 0 of a line, true uses any
60 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
61 #command_example();
62 # setting to false would generate this
63 # command_example();
64 # This setting works only for single line comments
65 comment_use_indent=true
67 # context action command (please see Geany's main documentation for details)
68 context_action_cmd=
70 [indentation]
71 #width=4
72 # 0 is spaces, 1 is tabs, 2 is tab & spaces
73 #type=1
75 [build_settings]
76 # %f will be replaced by the complete filename
77 # %e will be replaced by the filename without extension
78 # (use only one of it at one time)
79 compiler=gcc -Wall -c "%f"
80 linker=gcc -Wall -o "%e" "%f"
81 run_cmd="./%e"