Fix search_find_text not returning -1 when match is out of range.
[geany-mirror.git] / data / filetypes.ruby
blob6593268f86aab519fb94f40bbe586397a75aafe5
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
5 commentline=0xd00000;0xffffff;false;false
6 number=0x400080;0xffffff;false;false
7 string=0x008000;0xffffff;false;false
8 character=0x008000;0xffffff;false;false
9 word=0x111199;0xffffff;true;false
10 global=0x111199;0xffffff;false;false
11 symbol=0x008020;0xffffff;false;false
12 classname=0x7f0000;0xffffff;true;false
13 defname=0x7f0000;0xffffff;false;false
14 operator=0x000000;0xffffff;false;false
15 identifier=0x000000;0xffffff;false;false
16 modulename=0x111199;0xffffff;true;false
17 backticks=0x000000;0xe0c0e0;false;false
18 instancevar=0x000000;0xffffff;false;true
19 classvar=0x000000;0xffffff;true;true
20 datasection=0x000000;0xffffff;false;false
21 heredelim=0x000000;0xffffff;false;false
22 worddemoted=0x111199;0xffffff;false;false
23 stdin=0x000000;0xffffff;false;false
24 stdout=0x000000;0xffffff;false;false
25 stderr=0x000000;0xffffff;false;false
26 datasection=0x600000;0xfff0d8;false;false
27 regex=0x105090;0xffffff;false;false
28 here_q=0x7f007f;0xddd0dd;false;false
29 here_qq=0x7f007f;0xddd0dd;true;false
30 here_qx=0x7f007f;0xddd0dd;false;true
31 string_q=0x7f007f;0xffffff;false;false
32 string_qq=0xff901e;0xffffff;false;false
33 string_qx=0x000000;0xe0c0e0;false;false
34 string_qr=0x105090;0xffffff;false;false
35 string_qw=0x105090;0xffffff;false;false
36 upper_bound=0x000000;0xffffff;false;false
37 error=0xe500cc;0xffffff;false;false
38 pod=0x035650;0xffffff;false;false
40 [keywords]
41 # all items must be in one line
42 primary=__FILE__ load define_method attr_accessor attr_writer attr_reader and def end in or self unless __LINE__ begin defined? ensure module redo super until BEGIN break do false next rescue then when END case else for nil include require retry true while alias class elsif if not return undef yield
45 [settings]
46 # default extension used when saving files
47 #extension=rb
49 # the following characters are these which a "word" can contains, see documentation
50 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
52 # if only single comment char is supported like # in this file, leave comment_close blank
53 comment_open=#
54 comment_close=
56 # set to false if a comment character/string should start at column 0 of a line, true uses any
57 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
58 #command_example();
59 # setting to false would generate this
60 # command_example();
61 # This setting works only for single line comments
62 comment_use_indent=true
64 # context action command (please see Geany's main documentation for details)
65 context_action_cmd=
67 [build_settings]
68 # %f will be replaced by the complete filename
69 # %e will be replaced by the filename without extension
70 # (use only one of it at one time)
71 compiler=ruby -c "%f"
72 run_cmd=ruby "%f"