Fix search_find_text not returning -1 when match is out of range.
[geany-mirror.git] / data / filetypes.pascal
blob762487eeecac434fce93e669bbf3a2d4baf5b184
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # foreground;background;bold;italic
4 default=0x000000;0xffffff;false;false
5 identifier=0x000000;0xffffff;false;false
6 comment=0xd00000;0xffffff;false;false
7 comment2=0x3f5fbf;0xffffff;false;false
8 commentline=0xd00000;0xffffff;false;false
9 preprocessor=0x007f7f;0xffffff;false;false
10 preprocessor2=0x007f7f;0xffffff;false;false
11 number=0x007F00;0xffffff;false;false
12 hexnumber=0x007F00;0xffffff;false;false
13 word=0x111199;0xffffff;true;false
14 string=0xff901e;0xffffff;false;false
15 stringeol=0x000000;0xe0c0e0;false;false
16 character=0x404000;0xffffff;false;false
17 operator=0x301010;0xffffff;false;false
18 asm=0x804080;0xffffff;false;false
21 [keywords]
22 # all items must be in one line
23 primary=absolute abstract add and array as asm assembler automated begin byte case cdecl char class const constructor contains default deprecated destructor dispid dispinterface div do downto dynamic else end except export exports external far file final finalization finally for forward function goto if implementation implements in index inherited initialization inline integer interface is label library message mod name near nil nodefault not object of on or out overload override package packed pascal platform private procedure program property protected public published raise read readonly real record register reintroduce remove repeat requires resourcestring safecall sealed set shl shr static stdcall stored strict string then threadvar to try type unit unsafe until uses var varargs virtual while with word write writeonly xor
25 [lexer_properties]
26 # only highlight keywords like read,write if in appropriate context
27 lexer.pascal.smart.highlighting=1
29 [settings]
30 # default extension used when saving files
31 #extension=pas
33 # the following characters are these which a "word" can contains, see documentation
34 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
36 # if only single comment char is supported like # in this file, leave comment_close blank
37 comment_open={
38 comment_close=}
40 # set to false if a comment character/string should start at column 0 of a line, true uses any
41 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
42         #command_example();
43 # setting to false would generate this
44 #       command_example();
45 # This setting works only for single line comments
46 comment_use_indent=true
48 # context action command (please see Geany's main documentation for details)
49 context_action_cmd=
51 [build_settings]
52 # %f will be replaced by the complete filename
53 # %e will be replaced by the filename without extension
54 # (use only one of it at one time)
55 compiler=fpc "%f"
56 run_cmd="./%e"