Bug 487095 - Make text highlighting characters based not ‘whole word’ only
Summary: Make text highlighting characters based not ‘whole word’ only
Status: REPORTED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-16 10:05 UTC by drop.521k0
Modified: 2025-09-25 22:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description drop.521k0 2024-05-16 10:05:49 UTC
SUMMARY
Currently, text highlighting in kate is ‘whole word’ only. For usability, I suggest to make it based on characters instead (this is how it is currently done in gedit and in VS Code).

For example, highlighting the word ‘mode’ in: `mode.function`

Highlights also mode in: mode.script() but not: modeNew.script()

I think it would be useful to alter it so that not words are highlighted, but any sequence of characters.

Ref: https://discuss.kde.org/t/text-highlighting-in-kate-is-whole-word-only-make-it-based-on-characters-instead/15622