;R Syntax highlight Script for Twistpad

[::Header::]
SyntaxName=R
Extensions=r;rdata;rds;rda
Spelling=0 
SpellingContexts=1;2
CommentChar=#

[Comment]
Type=StartStop
Context=1
Scope=0
Priority=10
WholeWordOnly=1
First=#
Last=
ColorConstant=ColorComments
italic=1

[Quote]
Type=StartStop
Context=2
Scope=0
Priority=10
WholeWordOnly=0
First="
Last="
ColorConstant=ColorStrings

[Numbers]
Type=Numbers
Context=101
Priority=7
ColorConstant=ColorNumbers
Bold=1

[Keywords]
Type=keyword
Context=102
Scope=0
Priority=6
WholeWordOnly=1
Keyword1=break;else;FALSE;for;function;if;ifelse;in;Inf;NA;NA_character_;NA_complex_;NA_integer_;NA_real_;NaN;new;new.col;new.env;new.row;next;NULL;repeat;return;TRUE;while;
ColorConstant=ColorKeyword1
Bold=0
