https://bugs.kde.org/show_bug.cgi?id=523048
Bug ID: 523048
Summary: No way to disable snake case cursor movement
Classification: Applications
Product: kate
Version First 26.04.1
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: part
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
There is an option to "Enable camel case cursor movement" in Editing Options.
When disabled, example behaviors include Ctrl+Backspace removing the whole word
and Ctrl+Arrow moving cursor past the whole word. When enabled, the cursor only
moves in "sub-words", so for example Ctrl+Delete does not remove whole word
from right, it only removes until the next capital letter.
It is nice to have an option for it, but a similar option is missing for snake
case movement. Currently for example Ctrl+Backspace only removes sub-words
delimited by underscores regardless of "Enable camel case cursor movement"
setting. If that setting was supposed to disable snake case movement too, then
consider this a bug report, otherwise this can be considered a feature request
for "Enable snake case cursor movement" setting.
As I was writing this report, I also tried Kate 26.03.70 on Windows 10. I turns
out that "Enable camel case cursor movement" setting does work as expected on
Windows enabling/disabling snake case movement too, so this seems like a bug.
I'm personally fine with not having separate settings for snake case and camel
case, I would just like to be able to disable both.
STEPS TO REPRODUCE
1. Disable "Enable camel case cursor movement" setting in Editing -> Text
Navigation. Press "Ok".
2. Type "foo_bar"
3. Press Ctrl+Backspace
OBSERVED RESULT
Only "bar" was removed from "foo_bar" leaving "foo_".
EXPECTED RESULT
Full removal of "foo_bar".
SOFTWARE/OS VERSIONS
Kate 26.04.1
Operating System: openSUSE Tumbleweed-Slowroll 20260601
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
--
You are receiving this mail because:
You are watching all bug changes.