[Geany-devel] Adding an R parser

Jon Senior jon at xxxxx
Mon Feb 22 13:57:03 UTC 2010


On Mon, 22 Feb 2010 13:25:49 +0000
Liviu Andronic <landronimirc at gmail.com> wrote:
> I've been investigating filetypes.r to see if it is possible to make
> Geany more friendly (when <ctrl>+right/left, selecting, double-click
> selecting, etc.) toward strings containing "." (dot), and I noticed
> this line:
> #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
> 
> Changing it to
> wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
> 
> doesn't seem to make a difference, although the documentation
> specifies that "wordchars
> These characters define word boundaries when making selections and
> searching using word matching options."
> 
> Any ideas on what's going wrong?

I might be wrong, but I think that some of the stuff in the
filetypes.foo files has now been taken over by Scintilla. Certainly,
Scintilla seems to be responsible for comments and I'd suspect that you
can change the comment start parameter to whatever you like with no ill
effects!

Jon



More information about the Devel mailing list