/usr/share/codeblocks/lexers/lexer_glsl.xml is in codeblocks-common 13.12-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | <?xml version="1.0"?>
<!DOCTYPE CodeBlocks_lexer_properties>
<CodeBlocks_lexer_properties>
<Lexer name="OpenGL Shading Language"
index="3"
filemasks="*.vert,*.frag,*.glsl">
<Style name="Default"
index="0"
fg="0,0,0"
bg="255,255,255"
bold="0"
italics="0"
underlined="0"/>
<Style name="Comment (normal)"
index="1,2"
fg="160,160,160"/>
<Style name="Comment (documentation)"
index="3,15"
fg="128,128,255"
bold="1"/>
<Style name="Comment keyword (documentation)"
index="17"
fg="0,128,128"/>
<Style name="Comment keyword error (documentation)"
index="18"
fg="128,0,0"/>
<Style name="Number"
index="4"
fg="240,0,240"/>
<Style name="Keyword or build-in variables and constants"
index="5"
fg="0,0,160"
bold="1"/>
<Style name="glsl Standard library function"
index="16"
fg="0,200,0"
bold="1"/>
<Style name="Preprocessor"
index="9"
fg="0,160,0"/>
<Style name="Operator"
index="10"
fg="255,0,0"/>
<Style name="Selection"
index="-99"
bg="192,192,192"/>
<Style name="Active line"
index="-98"
bg="255,255,160"/>
<Style name="Breakpoint line"
index="-2"
bg="255,160,160"/>
<Style name="Debugger active line"
index="-3"
bg="160,160,255"/>
<Style name="Compiler error line"
index="-4"
bg="255,128,0"/>
<Style name="Matching brace highlight"
index="34"
fg="255,0,0"
bold="1"
underlined="1"/>
<Style name="No matching brace highlight"
index="35"
bg="255,0,0"/>
<Keywords>
<Language index="0"
value="
attribute const uniform varying
break continue do for while
if else
in out inout
float int void bool true false
discard return
mat2 mat3 mat4
vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4
sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow
struct
asm
class union enum typedef template this packed
goto switch default
inline noinline volatile public static extern external interface
long short double half fixed unsigned
input output
hvec2 hvec3 hvec4 dvec2 dvec3 dvec4 fvec2 fvec3 fvec4
sampler2DRect sampler3DRect sampler2DRectShadow
sizeof cast
namespace using
gl_Color gl_SecondaryColor gl_Normal gl_Vertex
gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3
gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7
gl_FogCoord
gl_Position gl_PointSize gl_ClipVertex
gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor
gl_TexCoord gl_FogFragCoord
gl_FragCoord gl_FrontFacing
gl_FragColor gl_fragDepth
gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix
gl_NormalMatrix gl_TextureMatrix
gl_NormalScale
gl_DepthRangeParameters gl_DepthRange
gl_ClipPlane gl_PointParameters gl_Point
gl_MaterialParameters gl_FrontMaterial gl_BackMaterial
gl_LightSourceParameters gl_LightSource
gl_LightModelParameters gl_LightModel
gl_LightModelProducts gl_FrontLightModelProduct gl_BackLightModelProduct
gl_LightProducts gl_FrontLightProduct gl_BackLightProduct
gl_TextureEnvColor
gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ
gl_ObjectPlaneS gl_ObjectPlaneT gl_ObjectPlaneR gl_ObjectPlaneQ
gl_FogParameters gl_Fog
gl_MaxLights gl_MaxClipPlanes
gl_MaxTextureUnits gl_MaxTextureCoords
gl_MaxVertexAttribs gl_MaxVertexUniformComponents
gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits
gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents
gl_MaxCombinedTextureImageUnits
"/>
<User index="1"
value="
radians degrees sin cos tan asin acos atan
pow exp2 log2 sqrt inversesqrt
abs sign floor ceil fract mod min max clamp min step smoothstep
length distance dot cross normalize ftransform faceforward reflect
matrixcompmult
lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not
texture1D texture1DProj texture1DLod texture1DProjLod
texture2D texture2DProj texture2DLod texture2DProjLod
texture3D texture3DProj texture3DLod texture3DProjLod
textureCube textureCubeLod
shadow1D shadow1DProj shadow1DLod shadow1DProjLod
shadow2D shadow2DProj shadow2DLod shadow2DProjLod
dFdx dFdy fwidth
noise1 noise2 noise3 noise3
"/>
<Documentation index="2"
value="a addindex addtogroup anchor arg attention
author b brief bug c class code date def defgroup deprecated dontinclude
e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception
f$ f[ f] file fn hideinitializer htmlinclude htmlonly
if image include ingroup internal invariant interface latexonly li line link
mainpage name namespace nosubgrouping note overload
p page par param post pre ref relates remarks return retval
sa section see showinitializer since skip skipline struct subsection
test throw todo typedef union until
var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }
"/>
</Keywords>
<SampleCode value="lexer_glsl.sample"
error_line="17"/>
<LanguageAttributes
LineComment="//"
StreamCommentStart="/*"
StreamCommentEnd="*/"
BoxCommentStart="/* "
BoxCommentMid=" * "
BoxCommentEnd=" */"
CaseSensitive="1"
LexerCommentStyles="1,2,3,15,17,18,23,65,66,67,79,81,82,87"
LexerCharacterStyles="7,71"
LexerStringStyles="6,12,70,76"
LexerPreprocessorStyles="9,73"/>
</Lexer>
</CodeBlocks_lexer_properties>
|