"Fossies" - the Fresh Open Source Software Archive

Member "wscite/ruby.properties" (11 Sep 2020, 3311 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for Ruby files.
    2 
    3 file.patterns.rb=*.rb;*.rbw;*.rake;*.rjs;Rakefile
    4 
    5 *source.patterns.ruby=$(file.patterns.rb);
    6 
    7 shbang.ruby=rb
    8 
    9 filter.ruby=Ruby (rb rbw)|$(file.patterns.rb)|
   10 
   11 *filter.ruby=$(filter.ruby)
   12 
   13 lexer.$(file.patterns.rb)=ruby
   14 
   15 *language.ruby=Ruby|rb||
   16 
   17 keywordclass.ruby=__FILE__ and def end in or self unless __LINE__ begin \
   18 defined? ensure module redo super until BEGIN break do false next rescue \
   19 then when END case else for nil retry true while alias class elsif if \
   20 not return undef yield
   21 keywords.$(file.patterns.rb)=$(keywordclass.ruby)
   22 
   23 statement.indent.$(file.patterns.rb)=5 def class if do elsif else case while for
   24 
   25 block.start.$(file.patterns.rb)=5 do
   26 block.end.$(file.patterns.rb)=5 end
   27 
   28 indent.opening.$(file.patterns.rb)=1
   29 indent.closing.$(file.patterns.rb)=1
   30 
   31 comment.block.ruby=#~
   32 
   33 # ruby styles
   34 # White space
   35 style.ruby.0=fore:#808080
   36 # Error
   37 style.ruby.1=back:#FF0000
   38 # Comment line
   39 style.ruby.2=fore:#007F00,$(font.comment)
   40 # POD
   41 style.ruby.3=fore:#004000,back:#C0FFC0,$(font.monospace),eolfilled
   42 # Number
   43 style.ruby.4=fore:#007F7F
   44 # Word
   45 style.ruby.5=fore:#00007F,bold
   46 # String
   47 style.ruby.6=fore:#7F007F,$(font.monospace)
   48 # Character
   49 style.ruby.7=fore:#7F007F,$(font.monospace)
   50 # Class name
   51 style.ruby.8=fore:#0000FF,bold
   52 # Def name
   53 style.ruby.9=fore:#007F7F,bold
   54 # Operator
   55 style.ruby.10=bold
   56 # Identifier
   57 style.ruby.11=
   58 # Regex
   59 style.ruby.12=fore:#000000,back:#A0FFA0
   60 # Global
   61 style.ruby.13=fore:#800080
   62 # Symbol
   63 style.ruby.14=fore:#C0A030
   64 # MODULE_NAME
   65 style.ruby.15=fore:#A000A0,bold
   66 # INSTANCE_VAR
   67 style.ruby.16=fore:#B00080
   68 # CLASS_VAR
   69 style.ruby.17=fore:#8000B0
   70 # BACKTICKS
   71 style.ruby.18=fore:#FFFF00,back:#A08080
   72 # DATASECTION
   73 style.ruby.19=fore:#600000,back:#FFF0D8,eolfilled
   74 # HERE_DELIM
   75 style.ruby.20=fore:#000000,back:#DDD0DD
   76 # HERE_Q
   77 style.ruby.21=fore:#7F007F,back:#DDD0DD,eolfilled,notbold
   78 # HERE_QQ
   79 style.ruby.22=fore:#7F007F,back:#DDD0DD,eolfilled,bold
   80 # HERE_QX
   81 style.ruby.23=fore:#7F007F,back:#DDD0DD,eolfilled,italics
   82 # STRING_Q
   83 style.ruby.24=fore:#7F007F,$(font.monospace),notbold
   84 # STRING_QQ
   85 style.ruby.25=$(colour.string),$(font.monospace)
   86 # STRING_QX
   87 style.ruby.26=fore:#FFFF00,back:#A08080
   88 # STRING_QR
   89 style.ruby.27=fore:#000000,back:#A0FFA0
   90 # STRING_QW
   91 style.ruby.28=fore:#000000,back:#FFFFE0
   92 # Demoted Keyword
   93 style.ruby.29=$(style.ruby.5)
   94 # STDIN
   95 style.ruby.30=back:#FF8080
   96 # STDOUT
   97 style.ruby.31=back:#FF8080
   98 # STDERR
   99 style.ruby.40=back:#FF8080
  100 # SCE_RB_UPPER_BOUND allocated but unused
  101 style.ruby.41=back:#FF0000
  102 
  103 # Matched Operators
  104 style.ruby.34=fore:#0000FF,bold
  105 style.ruby.35=fore:#FF0000,bold
  106 # Braces are only matched in operator style
  107 braces.ruby.style=10
  108 
  109 if PLAT_WIN
  110 	command.go.*.rb=ruby $(FileNameExt)
  111 	command.go.subsystem.*.rb=1
  112 	command.go.*.rbw=rubyw $(FileNameExt)
  113 	command.go.subsystem.*.rbw=1
  114 	command.help.*.rb=$(CurrentWord)!c:\apps\ruby\ProgrammingRuby.chm
  115 	command.help.subsystem.*.rb=4
  116 
  117 if PLAT_GTK
  118 	command.go.*.rb=ruby $(FileNameExt)
  119 
  120 	command.name.1.*.rb=Check Syntax
  121 	command.1.*.rb=ruby -cw $(FileNameExt)
  122 
  123 	command.name.2.*.rb=Code Profiler
  124 	command.2.*.rb=ruby -r profile $(FileNameExt)
  125 
  126 if PLAT_MAC
  127 	command.go.*.rb=ruby $(FileNameExt)
  128 	command.name.1.*.rb=Check Syntax
  129 	command.1.*.rb=ruby -cw $(FileNameExt)
  130 	command.name.2.*.rb=Code Profiler
  131 	command.2.*.rb=ruby -r profile $(FileNameExt)