0

I tried to change all the indentation settings to fix another problem yesterday, but now I have the following problem and I don't know which setting causes it.

If I select lines and type Tab, I would expect the selected lines to be indented. Instead, the selection is replaced with a tabulation. For example, I start with:

aa
bb
cc

Then I select a part (what's between [ and ] is the selected part):

aa
b[b
c]c

Then I press Tab (---> represents a tabulation), I expect this:

aa
--->bb
--->cc

But I get this instead:

aa
b--->c

How can I revert this behaviour? I'm using Kate 21.12.3.

1 Answer 1

1

From the main window, settings -> Configure Kate. In the sidebar, go to Editing and there go the the tab Indentation.

Under Indentation Actions select Increase indentation level if in leading blank space (this is the default action).

Indentation settings

2
  • sorry, had to edit the question as I swapped the options while testing it. (Gave the wrong answer first)
    – Tim
    Commented Mar 17, 2022 at 18:28
  • Yesss, thank you! However the text is misleading. I thought "if no selection exists" meant something like "if nothing is selected", which is not my case, since I did select a part of the text, no?
    – optical
    Commented Mar 17, 2022 at 19:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .