Bug 380737 - FIXED IN SVN: Editor doesn't detect end of words correctly
Summary: FIXED IN SVN: Editor doesn't detect end of words correctly
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 11:56 UTC by RKWard Team
Modified: 2012-11-21 12:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RKWard Team 2011-11-04 11:56:08 UTC
-- Originally posted by (AT sourceforge.net): nalimilan --

-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/108 on 2017-05-30 15:26:48 +0100 --
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?
Comment 1 Thomas Friedrichsmeier 2011-11-04 18:10:37 UTC
Hi,

> 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.

Regards
Thomas
Comment 2 Thomas Friedrichsmeier 2011-11-04 18:10:37 UTC
- **assigned_to**: nobody --> tfry
- **summary**: Editor doesn't detect end of words correctly --> FIXED IN SVN: Editor doesn't detect end of words correctly
- **status**: open --> open-fixed
Comment 3 RKWard Team 2011-11-04 18:15:35 UTC
-- Originally posted by (AT sourceforge.net): nalimilan --
Thanks\!

> 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? ;-\)
Comment 4 Thomas Friedrichsmeier 2011-11-04 18:30:06 UTC
> You mean "that . is seen as a delimiter", don't you? ;-\)

Yes, of course... the dot was not not seen as a delimiter.
Comment 5 RKWard Team 2011-11-14 14:23:33 UTC
-- Originally posted by (AT sourceforge.net): nalimilan --
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.
Comment 6 Thomas Friedrichsmeier 2011-11-14 15:19:02 UTC
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.

Regards
Thomas
Comment 7 Thomas Friedrichsmeier 2012-11-21 12:08:48 UTC
- **status**: open-fixed --> closed-fixed