No 'R' syntax highlighting

460 views
Skip to first unread message

Lionel B

unread,
Apr 17, 2009, 5:39:03 AM4/17/09
to scite-interest
Hi,

Setting Language to R (the statistical computing language, that is)
appears to have no effect - syntax is not highlighted.

In my SciTEUser.properties I have the line

import r

and

R|R||

is listed in menu.language. R appears as an option in the Languages
menu but selecting it appears to have no effect. I notice that
r.properties is not listed under Options -> Edit Properties.

Am I missing something?

SCiTE 1.75 (Linux GTK)

Alberto Santini

unread,
Apr 17, 2009, 9:18:46 AM4/17/09
to scite-interest


On Apr 17, 11:39 am, Lionel B <lionelb.nos...@googlemail.com> wrote:
> Setting Language to R (the statistical computing language, that is)
> appears to have no effect - syntax is not highlighted.

I resolved it copying the properties file in the user directory
containing SciTEUser.properties.

Regards,
Alberto

Lionel B

unread,
Apr 17, 2009, 12:10:30 PM4/17/09
to scite-interest
Thanks Alberto, that does seem to work - but it shouldn't be
necessary, surely?

Lionel

Alberto Santini

unread,
Apr 17, 2009, 2:01:04 PM4/17/09
to scite-interest


On Apr 17, 6:10 pm, Lionel B <lionelb.nos...@googlemail.com> wrote:
> Thanks Alberto, that does seem to work - but it shouldn't be
> necessary, surely?

I am not sure if it is a bug or a feature. :)
Now if you tweak the file, you don't overwrite it when you install the
latest release.

Regards,
Alberto

Neil Hodgson

unread,
Apr 17, 2009, 7:04:52 PM4/17/09
to scite-i...@googlegroups.com
Lionel B:

> In my SciTEUser.properties I have the line
>
>  import r

The import statement is relative to the file it is located in so if
"import r" is in user properties then r.properties should be in the
same directory as user properties.

> is listed in menu.language. R appears as an option in the Languages
> menu but selecting it appears to have no effect.

I should have commented that out when the the import was added
commented out. Fixed in CVS. The reason that R is disabled is that the
.R extension clashes with REBOL on case-insensitive platforms.

Neil

Reply all
Reply to author
Forward
0 new messages