--=-yevhV/QZg6n7BWzMpjqK
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi
I've just submitted to the NEdit development team a R highligth patterns
for NEdit (www.nedit.org).
NEdit is a text editor for LINUX which I use to write small R functions.
In my opinion is a very good tool for small scripts, maybe for huge
projects is not the best.
I'm attaching the R-5.1.pats file so you can try it.
As usual contributions and comments are welcome.
Regards
EJ
--=-yevhV/QZg6n7BWzMpjqK
Content-Disposition: attachment; filename=R-5.1.pats
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=R-5.1.pats; charset=ISO-8859-1
!=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
!
! Syntax Highlighting Patterns for R
! by Ernesto Jardim, ernesto@ipimar.pt
! version: 1.0
!
! Configuring NEdit to use a new pattern set:=20
!=20
! * Close your NEdit sessions=20
! * Start an NEdit session using the import command line option with the pa=
ttern you downloaded:=20
!=20
! # nedit -import R-5.1.pats
!=20
! * Go into the recognition patterns dialog (Preferences>Default Settings>S=
yntax Highlighting>Recognition Patterns...) and verify that the patterns ar=
e imported=20
! * Use Preferences>Save Defaults... to store the modifications.=20
!=20
! * This version has been verified with the following versions on NEdit
! - 5.1
!
!=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
nedit.highlightPatterns: \n\
R:1:0{\n\
Note:"#!":"$"::Note::\n\
Comment:"#":"$"::TextComment::\n\
Keyword:",|<(return|if|then|else|in|switch|while|for|function|do|done)>":::=
Keyword::D\n\
Loop and Equation:"\\[|\\]|\\(|\\)|\\{|\\}|\\<-|,":::Loop and Equation::\n\
Operators:"!|~|:|\\^|\\*|%|\\<|\\>|=3D=3D|\\>=3D|\\<=3D|&|\\$|-|=3D|\\+|""|=
/":::Operators::\n\
}
nedit.languageModes: R:.q .r .R::::::
nedit.styles: Note:darkRed:Italic\n\
TextComment:darkBlue:Italic\n\
Loop and Equation:darkRed:Bold\n\
Operators:darkGreen:Bold\n\
--=-yevhV/QZg6n7BWzMpjqK--
[R-gui] NEdit Highligth patterns for R
4 messages · Ernesto Jardim, Peter Dalgaard, Dan Putler
Ernesto Jardim <ernesto@ipimar.pt> writes:
I've just submitted to the NEdit development team a R highligth patterns for NEdit (www.nedit.org). NEdit is a text editor for LINUX which I use to write small R functions.
Actually, it would appear to be available for Win32 and MacOSX as well. (Personally I'm still hooked on Emacs though, and would likely be driven nuts by an editor that has a different interpretation of things like Ctrl-A...)
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
Hi It's true, you can use NEdit in windows with cygwin. I just don't like these "emulation" environments. Regards EJ
On Thu, 2002-10-10 at 12:40, Peter Dalgaard BSA wrote:
Ernesto Jardim <ernesto@ipimar.pt> writes:
I've just submitted to the NEdit development team a R highligth patterns for NEdit (www.nedit.org). NEdit is a text editor for LINUX which I use to write small R functions.
Actually, it would appear to be available for Win32 and MacOSX as well. (Personally I'm still hooked on Emacs though, and would likely be driven nuts by an editor that has a different interpretation of things like Ctrl-A...) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi All, Zed Shaw has written an R/S context highlighter for JEdit (www.jedit.org), an open source text editor written in Java (no need for Cygwin, and it runs on Macs as well). The URL to the highlighter is http://community.jedit.org/modules.php?op=modload&name=downloads&file=index&req=getit&lid=217 Dan *********** REPLY SEPARATOR ***********
On 10/10/2002 at 2:24 PM Ernesto Jardim wrote:
Hi It's true, you can use NEdit in windows with cygwin. I just don't like these "emulation" environments. Regards EJ On Thu, 2002-10-10 at 12:40, Peter Dalgaard BSA wrote:
Ernesto Jardim <ernesto@ipimar.pt> writes:
I've just submitted to the NEdit development team a R highligth
patterns
for NEdit (www.nedit.org). NEdit is a text editor for LINUX which I use to write small R
functions.
Actually, it would appear to be available for Win32 and MacOSX as well. (Personally I'm still hooked on Emacs though, and would likely be driven nuts by an editor that has a different interpretation of things like Ctrl-A...) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
_______________________________________________ R-SIG-GUI mailing list R-SIG-GUI@stat.math.ethz.ch http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-gui
_________________________________________ Dan Putler UBC Commerce Email: putler dot commerce dot ubc dot ca Phone: 604-822-8329