https://bugs.kde.org/show_bug.cgi?id=416022
Bug ID: 416022
Summary: Treat underscores as symbols instead of letters
Product: frameworks-ktexteditor
Version: unspecified
Platform: Neon Packages
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Underscores are currently treated as letters instead of symbols, making it
impossible to use "ctrl+right/left" to navigate text which uses underscores as
separator characters.
STEPS TO REPRODUCE
1. write "this_is_a_text_using_underscores_as_separators" and
"this-time-we-are-using-hyphens";
2. use "ctrl+right/left" to navigate through the words;
3. see how the first text is treated as a whole word, instead of multiple words
using underscores as separator characters, while the second one is correctly
identified as being made of multiple used with hyphens used as separators.
OBSERVED RESULT
Underscores are treated like letters, so long sequences of characters using
underscores as separators are treated as if they were a single word. This is
especially frustrating if one has to select a portion of text inside a string
which uses underscores as separators.
EXPECTED RESULT
Underscores are treated the same as all other symbols such as hyphens, commas,
dots and so on, so that one can navigate text using "ctrl+right/left". As far
as I have been able to asses GNOME follows this convention, which appears more
intuitive and practical.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.4
--
You are receiving this mail because:
You are watching all bug changes.