From: Stefan Lang Date: 2004-12-07T20:32:26+09:00 Subject: Re: Slashdot mention (Kate/KDevelop syntax highlighting) --Boundary-00=_cnZtBg+gxX5hyvZ Content-Type: Multipart/Mixed; boundary="Boundary-00=_cnZtBg+gxX5hyvZ" --Boundary-00=_cnZtBg+gxX5hyvZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. -- Stefan --Boundary-00=_cnZtBg+gxX5hyvZ Content-Type: text/xml; charset="iso-8859-1"; name="ruby.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ruby.xml" 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 --Boundary-00=_cnZtBg+gxX5hyvZ-- --Boundary-00=_cnZtBg+gxX5hyvZ--