Bug 356118 - word highlight selection plugin includes special character
Summary: word highlight selection plugin includes special character
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 15:27 UTC by gillesgalipeau
Modified: 2015-12-02 14:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gillesgalipeau 2015-11-30 15:27:58 UTC
Double-clicking a word does highlight all occurrences of a word but when I click on a variable (bash), the "$" is also highlighted. This plugin "Highlight Selection" is not listed in the plugin manager

Reproducible: Always

Steps to Reproduce:
1. Double-click a variable (Example: $test_var)

Actual Results:  
The string "$test_var" is highlighted

Expected Results:  
Only the string "test_var" should be highlighted
Comment 1 gillesgalipeau 2015-11-30 15:28:47 UTC
This is seen with Kate 3.13.3 using KDE 4.13.3
Comment 2 gillesgalipeau 2015-12-02 14:32:10 UTC
This is not a bug: This behaviour was because the "weakDeliminator" in the default bash syntax file include the "$" character.

Once I removed it, as well as many others, it worked fine.