Bug 356118

Summary: word highlight selection plugin includes special character
Product: [Applications] kate Reporter: gillesgalipeau
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: major CC: gillesgalipeau
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.