[R-gui] Re: Highligthing for NEdit

Ernesto Jardim ernesto at ipimar.pt
Tue Sep 9 13:49:09 MEST 2003


On Tue, 2003-09-09 at 12:08, Mark Myatt wrote:
> Ernesto wrote:
> 
> > I've just put together a new R syntax highlighting file for Nedit 5.3.
> > 
> > I've borrow the "base" functions of Jedit (thanks to Tobias Elze and Zed
> > A. Shaw) so now NEdit highlights a little more than before :)
> > 
> > You can download the file here: 
> > 
> > http://ernesto.freezope.org/cmf/starthere/r/R-5.3.pats
> > 
> > Just import it into NEdit with 
> > 
> >>nedit -import R-5.3.pats
> > 
> > and save your preferences when leaving the editor.
> > 
> > If you want to use NEdit as your default editor inside R do
> > 
> >>options(editor="nedit -lm R")
> > 
> > I usually change NEdit fonts to lucida-mono 12 so if you use other fonts
> > it may look uglier (or pretier) ...
> > 
> > Hope you enjoy it and, as usual, all comments are welcome.
> 
> A really nice job. Thanks. Just one comment ... I prefer not to have 
> line-wrapping on when writing code. That requires a simple change to the 
> file on the nedit.languagesModes line to:
> 
> 	nedit.languagesModes:	R:.r .R .q::Auto:None:::\n\
> 
> Just my preference.
> 
> Mark

Hi Mark,

I've changed some NEdit settings with R highlighting and may be that's
not the best way to do it. The NEdit settings might be left for each
user to deal with.

Regards and thanks for your opinion.

EJ



More information about the R-SIG-GUI mailing list