aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-24 19:41:22 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-24 19:41:22 (GMT)
commita30476dc528cfcbd806906f8e0c5bf1cce22c490 (patch)
tree73635dc11f392ec52beb9c7d32066c0da42f1d90
parent16c44229a4974087cba8c0921d1fa4a930582841 (diff)
fix indent options
-rw-r--r--autotests/src/vimode_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/autotests/src/vimode_test.cpp b/autotests/src/vimode_test.cpp
index f455a81..8763aba 100644
--- a/autotests/src/vimode_test.cpp
+++ b/autotests/src/vimode_test.cpp
@@ -296,6 +296,12 @@ void ViModeTest::init()
delete kate_document;
kate_document = new KTextEditor::DocumentPrivate(false, false, 0, NULL);
+
+ // fixed indentation options
+ kate_document->config()->setTabWidth(8);
+ kate_document->config()->setIndentationWidth(2);
+ kate_document->config()->setReplaceTabsDyn(false);
+
kate_view = new KTextEditor::ViewPrivate(kate_document, mainWindow);
mainWindowLayout->addWidget(kate_view);
kate_view->config()->setViInputMode(true);