Configure Katepart like this (From Kate's UI) Configure Kate ..Editor Component ....Editing ......Indentation ........Indent Using ..........Spaces: SELECTED ........Indentation Actions ..........Always advance to the next tab position: SELECTED Works fine for simple editing. But on Block Selection Mode it inserts TABS instead of spaces. Example: if you want to add many spaces between Col1 and Col2 in: Col1 Col2 Col1 Col2 Col1 Col2 result is (not actually \t but a tab) Col1 \tCol2 Col1 \tCol2 Col1 \tCol2 instead of spaces Col1 Col2 Col1 Col2 Col1 Col2
Git commit 78a2e5d1daa5007f9c8a185415c404b189167919 by loh tar. Committed on 13/04/2019 at 18:08. Pushed by lohtar into branch 'master'. DocumentPrivate: Respect indention mode when block selection Summary: Without this patch was in block selection mode always a tab inserted, also when configured to use spaces on tab-key press FIXED-IN: 5.58 Differential Revision: https://phabricator.kde.org/D19450 M +2 -1 src/document/katedocument.cpp https://commits.kde.org/ktexteditor/78a2e5d1daa5007f9c8a185415c404b189167919