Modelines: fix indent-mode value and remove deprecated variables
There are currently documented variables on https://docs.kde.org/stable5/en/kate/katepart/config-variables.html (where's the doc for version 6?), but they don't exist:
-
replace-tabs-save
: theset-replace-tabs-save
command exists but doesn't work (KTextEditor bug inutils/katecmds.h
). I don't even see where this option is configured? -
icon-border
: butset-icon-border
exists and works -
folding-markers
: butset-folding-markers
exists and works bookmark-sorting
The last 3 are in a list (document/katedocument.cpp) of values propagated to the view, but this is the only reference.
The block-selection
variable exists, is documented, but doesn't work. Nor is there a set-block-selection
command.
The question is, do we delete or keep? If we keep it, the least we can do is fix KTextEditor
.
Still on KTextEditor, I see a reference to set-wrap-cursor
, but the condition leads nowhere. What is wrap-cursor
anyway?
There are also set-*
missing at least for the following variables:
folding-preview
-
show-trailing-spaces
: a code forset-show-trailing-spaces
exists, but it's inaccessible and the function isn't documented.