[SVN] r10435 (R)

Hans-Jörg Bibiko bibiko at eva.mpg.de
Wed Aug 13 14:32:13 UTC 2008


improvements for the syntax highlighting of the scopes for variable/function/parameter names:
- R runs in a UTF-8 environment, thus accented chars and other chars like Japanese chars are valid for function and variable names (including parameter names)
- non-valid variable/parameter/function name are set to an 'invalid'-scope to visualize that the given name is non-valid
- non-valid is a line of code if it contains a combining diacritic; this line will be set to scope 'invalid' until the last occurrence of such a char

Example:
a.1a12ü他 <- 1
print(a.1a12ü他)

他a12ü他 <- function(üa12ü他 = 234) {
	print(üa12ü他)
}

他a12ü他(2)

is completely valid R code.

Changed:
U   trunk/Review/Bundles/R.tmbundle/Syntaxes/R.plist




More information about the textmate-dev mailing list