1 # Define SciTE settings for Ruby files.
3 filter.ruby=Ruby (rb)|*.rb|
9 keywordclass.ruby=__FILE__ and def end in or self unless __LINE__ begin \
10 defined? ensure module redo super until BEGIN break do false next rescue \
11 then when END case else for nil require retry true while alias class elsif if \
12 not return undef yield
13 keywords.$(file.patterns.rb)=$(keywordclass.ruby)
15 statement.indent.*.rb=
17 statement.lookback.*.rb=1
24 style.ruby.0=fore:#808080
26 style.ruby.1=fore:#007F00,$(font.comment)
28 style.ruby.2=fore:#007F7F
30 style.ruby.3=fore:#7F007F,$(font.monospace)
31 # Single quoted string
32 style.ruby.4=fore:#7F007F,$(font.monospace)
34 style.ruby.5=fore:#00007F,bold
36 # style.ruby.6=fore:#7F0000
37 # Triple double quotes
38 style.ruby.7=fore:#7F0000
39 # Class name definition
40 style.ruby.8=fore:#0000FF,bold
41 # Function or method name definition
42 style.ruby.9=fore:#007F7F,bold
46 style.ruby.11=fore:#7F7F7F
48 style.ruby.12=fore:#7F7F7F
49 # End of line where string is not closed
50 style.ruby.13=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled
52 style.ruby.34=fore:#0000FF,bold
53 style.ruby.35=fore:#FF0000,bold
54 # Braces are only matched in operator style
58 command.go.*.rb=ruby $(FileNameExt)
59 command.go.subsystem.*.rb=1
62 command.go.*.rb=ruby $(FileNameExt)