I've writed a schemedef for R, and everything is working very well but not the strings. I can't understand why it's not working. Can someone help me? Below is my r.schemedef file.
<?xml version="1.0" encoding="UTF-8"?>
<Scheme>
<keyword-classes>
<keyword-class name="rfunctions">
help help.search apropos help.start str summary ls
ls.str dir methods options library require attach detach
load data read.table read.csv read.delim read.fwf save
save.image cat print format write.table sink
c seq rep data.frame list array matrix factor gl
expand.grid rbind cbind as.array as.data.frame as.numeric
as.logical as.complex as.character is.na is.null is.array
is.data.frame is.numeric is.complex is.character length
dim dimnames nrow ncol class unclass attr attributes
which.max which.min rev sort cut match which choose na.omit
na.fail unique table subset transform sample prop.table
sin cos tan asin acos atan atan2 log log10 exp
max min range sum diff prod mean median quantile weighted.mean
rank var sd cor var cov round log scale pmin pmax cumsum
cumprod cummin cummax union intersect setdiff setequal is.element
Re Im Mod abs Arg Conj convolve fft mvfft filter
t diag solve rowsum colsum colSums rowMeans colMeans
apply lapply tapply tapply by ave merge aggregate stack unstack reshape
paste substr strsplit grep gsub tolower toupper match pmatch nchar
as.Date as.POSIXct difftime strftime x11 windows
postscript ps.options pdf png jpeg bitmap xfig pictex dev.off
plot hist barplot dotchart pie boxplot sunflowerplot stripplot
coplot interaction.plot matplot fourfoldplot assocplot
mosaicplot pairs plot.ts ts.plot qqnorm qqplot contour
filled.contour image persp stars symbols termplot
points lines text mtext segments arrows abline rect
polygon legend title axis box rug locator
xyplot barchart dotplot densityplot histogram bwplot
qqmath stripplot qq splom parallel levelplot wireframe cloud
optim nlm lm glm nls approx spline lowss
predict df.residual coef residuals deviance fitted logLik AIC
aov anova density binom.test pairwise.t.test power.t.test
prop.test t.test
rnorm rexp rgamma rpois rweibull rcauchy rbeta rt rf rchisq
rbinom rgeom rhyper rlogis rlnorm rnbinom runif rwilcox
function return if else for while repeat break next ifelse do.call
source shell Sweave print mahalanobis
rm ls objects setwd getwd names
prcomp princomp loadings biplot screeplot
</keyword-class>
</keyword-classes>
<!-- base-language -->
<schemedef name="r" title="R" folding="false" casesensitive="true" braces="{[()]}">
<strings>
<!-- Single and double quotes string, with \ as an escape character -->
<stringtype id="0" start=""" end=""" multiline="false" escape="\" />
<stringtype id="1" start="'" end="'" multiline="false" escape="\" />
</strings>
<identifiers start="[a-zA-Z]" content="[._a-zA-Z0-9]" />
<comments>
<!-- continuation="\" -->
<line start="#" />
</comments>
<numbers start="[0-9]" content="[0-9a-f.x]" />
<lexer name="r" />
<use-styles>
<style name="Default" key="32" />
<style name="Whitespace" key="0" />
<style name="Line Comment" key="1" class="comment" />
<style name="Identifier" key="3" class="identifier" />
<style name="Number" key="4" class="number" />
<style name="Keyword" key="5" class="keyword" />
<style name="String" key="10" class="string" />
<style name="String 2" key="11" class="string" />
</use-styles>
<use-keywords>
<keyword key="0" name="Keywords" class="rfunctions" />
</use-keywords>
</schemedef>
</Scheme>