From: Albert Wagner Date: 2002-09-08T01:12:10+09:00 Subject: Re: SciTE/VIM Syntax highlighting On Saturday 07 September 2002 04:41 am, Neil Hodgson wrote: > Jim Bartlett: > > aPhrase.scan /\w[-\w']+/ > > > > The syntax highlighting in SciTE and Vim then interprets all code > > following > > > the apostrophe to be part of a single quoted string (making it pink). > > SciTE's Ruby lexer does not understand regular expressions so there is > no way short of fixing the lexer to make this work. > > Neil I just spent the last six weeks trying to write an editor using the Ruby lexer from irb to aid in syntax highlighting. So at the moment, I am of the opinion that a proper lexer is probably not fast enough to be anything more than an aggravation in syntax highlighting :-)