[rkward-tracker] [ rkward-Bugs-3433501 ] FIXED IN SVN: Editor doesn't detect end of words correctly

SourceForge.net noreply at sourceforge.net
Wed Nov 21 13:08:48 UTC 2012


Bugs item #3433501, was opened at 2011-11-04 05:56
Message generated for change (Settings changed) made by tfry
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3433501&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Milan Bouchet-Valat (nalimilan)
Assigned to: Thomas Friedrichsmeier (tfry)
Summary: FIXED IN SVN: Editor doesn't detect end of words correctly

Initial Comment:
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 By: Thomas Friedrichsmeier (tfry)
Date: 2011-11-14 08:19

Message:
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 By: Milan Bouchet-Valat (nalimilan)
Date: 2011-11-14 07:23

Message:
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 By: Thomas Friedrichsmeier (tfry)
Date: 2011-11-04 12:30

Message:
> You mean "that . is seen as a delimiter", don't you? ;-)

Yes, of course... the dot was not not seen as a delimiter.

----------------------------------------------------------------------

Comment By: Milan Bouchet-Valat (nalimilan)
Date: 2011-11-04 12:15

Message:
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 By: Thomas Friedrichsmeier (tfry)
Date: 2011-11-04 12:10

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3433501&group_id=50231




More information about the rkward-tracker mailing list