The editor considers '.' as the end of a word, but not '$'. Given the R syntax, it should be the contrary. This is annoying when double-clicking on a name, or when using Ctrl+arrows.
Is this a bug in RKward or in Kate?
> Is this a bug in RKward or in Kate?
it's 50/50. The portion of the bug that '.' is not seen as a delimiter had already been fixed in RKWard for quite some time. If this doesn't work for you, this means kate is still using an older version of the R highlighting, most likely the one shipped with kdelibs. In fact, it looks like I forgot to sync the fix to kdelibs, back then.
Regarding '$', that should be a delimiter, indeed, but was not, yet. I've fixed that in our SVN. I have also pushed both changes to kdelibs.
> The portion of the bug that '.' is not seen as a delimiter had
> already been fixed in RKWard for quite some time.
You mean "that . is seen as a delimiter", don't you? ;-)
> You mean "that . is seen as a delimiter", don't you? ;-)
Yes, of course... the dot was not not seen as a delimiter.
I'm using revision 4015, and $ is still not detected as a separator. Do I need kdelibs from SVN too? Just to check the fix works.
4015 is exactly one revision too early. Was fixed in r4016. Note also, that most distribution packages (including our daily builds!) do not include the highlighting definition, to avoid clashes. Installing from source should work, though.
It seems you can even download the new highlighting definition from the kate website, by now. Open a script editor, go to Settings->Configure Editor->Open/Save->Modes & Filetypes and click the "Download Highlighting Files..."-button. You want "R Script", version 2.04.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.