Bug 493723

Summary: Indentation Actions Setting is ignored when in block mode
Product: [Applications] kate Reporter: Joey Crockett <kdebugs>
Component: indentationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Joey Crockett 2024-09-27 07:21:05 UTC
STEPS TO REPRODUCE
1. Insert multiple lines of text without spaces.
2. Enter block mode.
3. Select a line down the middle.
4. Press Tab.

OBSERVED RESULT
The whole block of text indents despite the setting
"Editing" -> "Indentation" -> "Increase indentation level if in leading blank space"
being active. Block mode somehow seems to make kate believe that either the cursor is in a leading position or that it is next to blank space.

EXPECTED RESULT
When in block mode, All of the lines should be split with a tab character at the current cursor position, as long as the first or third option is active ("Always increase indentation level"  should obviously always indent).

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kernel 6.4.0-150600.23.22-default (64-bit)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Comment 1 Waqar Ahmed 2024-09-27 08:56:58 UTC

*** This bug has been marked as a duplicate of bug 448695 ***