From: David Ross Date: 2004-12-07T21:03:26+09:00 Subject: Re: Slashdot mention (Kate/KDevelop syntax highlighting) Stefan Lang wrote: >Am Dienstag, 7. Dezember 2004 01:52 schrieb David Ross: > > >>CT wrote: >> >> >>>http://developers.slashdot.org/developers/04/12/06/1158251.shtml?tid=156&t >>>id=1 "RAD in Ruby" >>> >>>I didn't know KDevelop had Ruby support. >>> >>>Cheers! >>>CT >>> >>> >>KDevelop uses Kate by default. Its even better in this recent >>release because the regex engine. The past releases engine >>was not too great, so it was difficult to implement a few >>specifications. The syntax highlighting uses regexes to identify >>keywords. :) >> >>David Ross >> >> > >If you want better Ruby syntax highlighting for Kate, >(perhaps it is already better for Kate versions newer than 2.2) >just copy the file in the attachement into the following directory: >~/.kde/share/apps/katepart/syntax/ > >The newest available version (1.07) of "ruby.xml" >wasn't really good, so I did many improvements. > > > >------------------------------------------------------------------------ > > > > > > > > > > > > > > > BEGIN > END > and > begin > break > case > > defined? > do > else > elsif > end > ensure > for > if > in > include > next > not > or > redo > rescue > retry > return > then > unless > until > when > while > yield > > > > private_class_method > private > protected > public_class_method > public > > > > attr_reader > attr_writer > attr_accessor > > > > alias > module > class > def > undef > > > > self > super > nil > false > true > caller > __FILE__ > __LINE__ > > > > $stdout > $defout > $stderr > $deferr > $stdin > > > > > Array > Float > Integer > String > > abort > at_exit > autoload > > autoload? > binding > > block_given? > callcc > caller > catch > chomp > chomp! > chop > chop! > eval > exec > exit > exit! > fail > fork > format > getc > gets > global_variables > gsub > gsub! > > iterator? > lambda > load > local_variables > loop > method_missing > open > p > print > printf > proc > putc > puts > raise > rand > readline > readlines > require > scan > select > set_trace_func > sleep > split > sprintf > srand > sub > sub! > syscall > system > test > throw > trace_var > trap > untrace_var > warn > > > > TODO > FIXME > NOTE > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I actually have 1.08 installed, I had the file upgraded. It was in CVS, but the highlighting for ?: which were being highlighted so I had it pulled back. It didn't have look back at the time, It should now so I'll have the file upgraded again with the improvements in a bit. I'll take some of your stuff too ;) Thanks, David Ross -- Want to see others who are interested in Ruby? See more Info at [ Website: http://www.rubymine.org/?q=IRC ] #ruby-talk on Freenode [ IRC: irc://freenode.net/ruby-talk ] Hazzle free packages for Ruby? RPA is available from [ Website: http://www.rubyarchive.org/ ]