aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-24 18:42:19 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-24 18:42:19 (GMT)
commitecd2deb5e32379d37ab4d55712da35dfde8f91d1 (patch)
tree3532b96472d59751b79c6efb01d7b8ea2dbaf423
parentefeebc587fcbba68ff78d0e36493e5e1277bb060 (diff)
more sane defaults for indentation
-rw-r--r--src/utils/kateconfig.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/kateconfig.cpp b/src/utils/kateconfig.cpp
index 65f5830..16909df 100644
--- a/src/utils/kateconfig.cpp
+++ b/src/utils/kateconfig.cpp
@@ -327,7 +327,7 @@ void KateDocumentConfig::readConfig(const KConfigGroup &config)
setTabWidth(config.readEntry(KEY_TAB_WIDTH, 8));
- setIndentationWidth(config.readEntry(KEY_INDENTATION_WIDTH, 2));
+ setIndentationWidth(config.readEntry(KEY_INDENTATION_WIDTH, 4));
setIndentationMode(config.readEntry(KEY_INDENTATION_MODE, "normal"));
@@ -342,9 +342,9 @@ void KateDocumentConfig::readConfig(const KConfigGroup &config)
setTabIndents(config.readEntry(KEY_TAB_INDENTS, true));
setKeepExtraSpaces(config.readEntry(KEY_KEEP_EXTRA_SPACES, false));
setIndentPastedText(config.readEntry(KEY_INDENT_PASTED_TEXT, false));
- setBackspaceIndents(config.readEntry(KEY_BACKSPACE_INDENTS, false));
+ setBackspaceIndents(config.readEntry(KEY_BACKSPACE_INDENTS, true));
setShowSpaces(config.readEntry(KEY_SHOW_SPACES, false));
- setReplaceTabsDyn(config.readEntry(KEY_REPLACE_TABS_DYN, false));
+ setReplaceTabsDyn(config.readEntry(KEY_REPLACE_TABS_DYN, true));
setRemoveSpaces(config.readEntry(KEY_REMOVE_SPACES, 0));
setNewLineAtEof(config.readEntry(KEY_NEWLINE_AT_EOF, false));
setOvr(config.readEntry(KEY_OVR, false));