Merge 0.18.1 branch changes.
[geany-mirror.git] / data / filetypes.common
blob2957b8bf3185b8235023fe271e6661b10f303f39
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # use foreground;background;bold;italic or named_style,bold,italic
5 # used for filetype All/None
6 default=default
8 # 3rd selection argument is true to override default foreground
9 # 4th selection argument is true to override default background
10 selection=0x000000;0xc0c0c0;false;false
12 # style for a matching brace
13 brace_good=0x0000ff;0xFFFFFF;true;false
14 # style for a non-matching brace (a brace without a counterpart)
15 brace_bad=0xff0000;0xFFFFFF;true;false
17 # the following settings define the colours of the margins on the left side
18 margin_linenumber=0x000000;0xd0d0d0;
19 margin_folding=0x000000;0xdfdfdf;
21 # background colour of the current line, only the second and third argument is interpreted
22 # use the third argument to enable or disable the highlighting of the current line (has to be true/false)
23 current_line=0x000000;0xf0f0f0;true;
25 # translucency for the current line(first argument) and the selection (second argument)
26 # values between 0 and 256 are accepted. Note for Windows 95, 98 and ME users:
27 # keep this value at 256 to disable translucency otherwise Geany might crash
28 translucency=256;256
30 # style for a highlighted line (e.g when using Goto line or goto tag)
31 marker_line=0x000000;0xffff00;
33 # style for a marked search results (when using "Mark" in Search dialogs)
34 # the second argument sets the background colour for the drawn rectangle
35 # only the second argument is interpreted
36 marker_search=0x000000;0x0000f0;
38 # style for a marked line (e.g when using the "Toggle Marker" keybinding (Ctrl-M))
39 marker_mark=0x000000;0xb8f4b8;
41 # translucency for the line marker(first argument) and the search marker (second argument)
42 marker_translucency=256;256
44 # colour of the caret(the blinking cursor), only first and third argument is interpreted
45 # set the third argument to true to change the caret into a block caret
46 caret=0x000000;0x000000;false;
48 # width of the caret(the blinking cursor)
49 # width in pixels, use 0 to make it invisible, maximum width is 3
50 caret_width=1
52 # set foreground and background colour of indentation guides
53 indent_guide=0xc0c0c0;;
55 # third argument: if true, use this foreground color. If false, use the default value defined by the filetypes.
56 # fourth argument: if true, use this background color. If false, use the default value defined by the filetypes.
57 white_space=0xc0c0c0;0xffffff;true;false
59 # style of folding icons, valid values are:
60 # first argument:  1 for boxes, 2 for circles
61 # second argument: 1 for straight lines, 2 for curved lines
62 folding_style=1;1;
64 # should an horizontal line be drawn at the line where text is folded
65 # 0 to disable
66 # 1 to draw the line above folded text
67 # 2 to draw the line below folded text
68 folding_horiz_line=2
70 # first argument: drawing of visual flags to indicate a line is wrapped. This is a bitmask of the
71 # values: 0 - No visual flags, 1 - Visual flag at end of subline of a wrapped line, 2 - Visual flag
72 # at begin of subline of a wrapped line, Subline is indented by at least 1 to make room for the flag.
73 # second argument: whether the visual flags to indicate a line is wrapped are drawn near the border
74 # or near the text. This is a bitmask of the values: 0 - Visual flags drawn near border,
75 # 1 - Visual flag at end of subline drawn near text, 2 - Visual flag at begin of subline drawn near text
76 line_wrap_visuals=1;0;
78 # first argument: sets the size of indentation of sublines for wrapped lines in terms of
79 # the width of a space, only used when the second argument is 0
80 # second argument: wrapped sublines can be indented to the position of their first subline or
81 # one more indent level, possible values:
82 # 0 - Wrapped sublines aligned to left of window plus amount set by the first argument
83 # 1 - Wrapped sublines are aligned to first subline indent (use the same indentation)
84 # 2 - Wrapped sublines are aligned to first subline indent plus one more level of indentation
85 line_wrap_indent=0;1;
87 # first argument: amount of space to be drawn above the line's baseline
88 # second argument: amount of space to be drawn below the line's baseline
89 line_height=0;0;
91 # 3rd argument is true to override default foreground of calltips
92 # 4th argument is true to override default background of calltips
93 calltips=0xc0c0c0;0xffffff;false;false
95 [settings]
96 # which characters should be skipped when moving (or included when deleting) to word boundaries
97 # should always include space and tab (\s\t)
98 whitespace_chars=\s\t!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~
100 [named_styles]
101 # style names to use in filetypes.* [styling] sections
102 # use foreground;background;bold;italic
103 # normally background should be left blank to use the "default" style
105 default=0x000000;0xffffff;false;false
106 comment=0xd00000
107 commentdoc=0x3f5fbf
108 number=0x007f00
109 # keyword
110 word=0x00007f;;true;false
111 # e.g. global types from a *.c.tags file
112 word2=0x991111;;true;false
113 string=0xff901e
114 preprocessor=0x007f7f
115 operator=0x301010
116 # unterminated string
117 stringeol=0x000000;0xe0c0e0;false;false
118 type=0x0000d0;;true;false