Fix search_find_text not returning -1 when match is out of range.
[geany-mirror.git] / data / filetypes.cs
blob4cf9bc6b659cbf60d69dc9121537994fac32d2fc
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=abstract as base bool break byte case catch char checked class const continue decimal default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long namespace new null object operator out override params private protected public readonly ref return sbyte sealed short sizeof stackalloc static string struct switch this throw true try typeof uint ulong unchecked unsafe ushort using virtual void volatile while
30 secondary=
31 # these are some doxygen keywords (incomplete)
32 docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
34 [lexer_properties]
35 styling.within.preprocessor=1
36 preprocessor.symbol.$(file.patterns.cpp)=#
37 preprocessor.start.$(file.patterns.cpp)=if
38 preprocessor.middle.$(file.patterns.cpp)=else elif
39 preprocessor.end.$(file.patterns.cpp)=endif
41 [settings]
42 lexer_filetype=C
44 # default extension used when saving files
45 #extension=cs
47 # the following characters are these which a "word" can contains, see documentation
48 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
50 # if only single comment char is supported like # in this file, leave comment_close blank
51 comment_open=//
52 comment_close=
53 # this is an alternative way, so multiline comments are used
54 #comment_open=/*
55 #comment_close=*/
57 # set to false if a comment character/string should start at column 0 of a line, true uses any
58 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
59 #command_example();
60 # setting to false would generate this
61 # command_example();
62 # This setting works only for single line comments
63 comment_use_indent=true
65 # context action command (please see Geany's main documentation for details)
66 context_action_cmd=
68 [build_settings]
69 # %f will be replaced by the complete filename
70 # %e will be replaced by the filename without extension
71 # (use only one of it at one time)
72 # be careful following settings are untested
73 compiler=mcs /t:winexe "%f" /r:System,System.Drawing
74 run_cmd=mono "%e.exe"