From: David Boyd Date: 2005-05-30T23:36:50+09:00 Subject: Re: sciTe editor IRB window getting double characters Neil, Thanks for explanations. I found the changes suggested in the bug-post fixed SciTE's Ruby related behavior enough for me to try to continue to use it. As you say, I may find other problems now, but I'll complain about those later. I just want a usable editor that does a little bit more than Notepad. Will any of those changes make it through the bug process and to the current distribution of the ruby.properties file? Here they are for those that don't want to wade through the bug-fix post I copied (thanks to the original poster) and provided previously: ________________copy below here # Define SciTE settings for Ruby files. filter.ruby=Ruby (.rb,.rbw)|*.rb;*.rbw| lexer.*.rb;*.rbw=ruby file.patterns.rb=*.rb;*.rbw keywordclass.ruby=__FILE__ 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 retry true while alias class elsif if \ not return undef yield keywords.$(file.patterns.rb)=$(keywordclass.ruby) statement.indent.*.rb= statement.end*.rb= statement.lookback.*.rb=1 block.start.*.rb=10 comment.block.ruby=#~ # ruby styles # White space style.ruby.0=fore:#808080 # Comment style.ruby.1=fore:#007F00,$(font.comment) # Number style.ruby.2=fore:#007F7F # String style.ruby.3=fore:#7F007F,$(font.monospace) # Single quoted string style.ruby.4=fore:#7F007F,$(font.monospace) # Keyword style.ruby.5=fore:#00007F,bold # Triple quotes # style.ruby.6=fore:#7F0000 # Triple double quotes style.ruby.7=fore:#7F0000 # Class name definition style.ruby.8=fore:#0000FF,bold # Function or method name definition style.ruby.9=fore:#007F7F,bold # Operators style.ruby.10=bold # Identifiers style.ruby.11=fore:#7F7F7F # Comment-blocks style.ruby.12=fore:#7F7F7F # End of line where string is not closed style.ruby.13=fore:#000000,$(font.monospace),back:#E0C0E0,eolfilled # Matched Operators style.ruby.34=fore:#0000FF,bold style.ruby.35=fore:#FF0000,bold # Braces are only matched in operator style braces.ruby.style=10 if PLAT_WIN command.go.*.rb=ruby $(FileNameExt) command.go.subsystem.*.rb=2 command.go.*.rbw=rubyw $(FileNameExt) command.go.subsystem.*.rbw=1 command.help.*.rb=$(CurrentWord)!c:\apps\ruby\ProgrammingRuby.chm command.help.subsystem.*.rb=4 command.help.*.rbw=$(CurrentWord)!c:\apps\ruby\ProgrammingRuby.chm command.help.subsystem.*.rbw=4 command.name.1.*.rb=Check Syntax command.1.*.rb=ruby -cw $(FileNameExt) command.name.1.*.rbw=Check Syntax command.1.*.rbw=rubyw -cw $(FileNameExt) command.name.2.*.rb=Code Profiler command.2.*.rb=ruby -r profile $(FileNameExt) command.name.2.*.rbw=Code Profiler command.2.*.rbw=rubyw -r profile $(FileNameExt) command.name.3.*.rb=Run irb command.3.*.rb=irb.bat command.subsystem.3.*.rb=2 command.name.3.*.rbw=Run irb command.3.*.rbw=irb.bat command.subsystem.3.*.rbw=2 command.name.4.*.rb=Debug command.4.*.rb=ruby -d -r debug $(FileNameExt) command.subsystem.4.*.rb=2 command.name.4.*.rbw=Debug command.4.*.rbw= ruby -d -r debug $(FileNameExt) command.subsystem.4.*.rbw=2 if PLAT_GTK command.go.*.rb=ruby $(FileNameExt) command.name.1.*.rb=Check Syntax command.1.*.rb=ruby -cw $(FileNameExt) command.name.2.*.rb=Code Profiler command.2.*.rb=ruby -r profile $(FileNameExt) ___________copy above here Note: the path to the help file (c:\apps\ruby\ProgrammingRuby.chm) should be set to where you installed Ruby. Dave