Fix search_find_text not returning -1 when match is out of range.
[geany-mirror.git] / data / filetypes.glsl
blob1312e28d3230f7c29984e9be0701f8be711b44c2
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
26 # whether arguments of preprocessor commands should be styled (only first argument is used)
27 # 1 to enable, 0 to disable
28 styling_within_preprocessor=1;0;false;false
30 [keywords]
31 # all items must be in one line
32 primary=if else switch case default for while do discard return break continue true false struct void bool int uint float vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 uvec2 uvec3 uvec4 mat2 mat3 mat4 mat2x2 mat2x3 mat2x4 mat3x2 mat3x3 mat3x4 mat4x2 mat4x3 mat4x4 sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow sampler1DArray sampler2DArray sampler1DArrayShadow sampler2DArrayShadow isampler1D isampler2D isampler3D isamplerCube isampler1DArray isampler2DArray usampler1D usampler2D usampler3D usamplerCube usampler1DArray usampler2DArray const invariant centroid in out inout attribute uniform varying smooth flat noperspective highp mediump lowp
33 secondary=
34 # these are some doxygen keywords (incomplete)
35 docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return returns see since struct throw todo typedef var version warning union
37 [lexer_properties]
38 styling.within.preprocessor=1
39 preprocessor.symbol.$(file.patterns.cpp)=#
40 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
41 preprocessor.middle.$(file.patterns.cpp)=else elif
42 preprocessor.end.$(file.patterns.cpp)=endif
44 [settings]
45 lexer_filetype=C
47 # default extension used when saving files
48 #extension=glsl
50 # the following characters are these which a "word" can contains, see documentation
51 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
53 # if only single comment char is supported like # in this file, leave comment_close blank
54 comment_open=//
55 comment_close=
56 # this is an alternative way, so multiline comments are used
57 #comment_open=/*
58 #comment_close=*/
60 # set to false if a comment character/string should start at column 0 of a line, true uses any
61 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
62         #command_example();
63 # setting to false would generate this
64 #       command_example();
65 # This setting works only for single line comments
66 comment_use_indent=true
68 # context action command (please see Geany's main documentation for details)
69 context_action_cmd=
71 [build_settings]
72 # %f will be replaced by the complete filename
73 # %e will be replaced by the filename without extension
74 # (use only one of it at one time)
75 #compiler=
76 #linker=
77 #run_cmd=