summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-30 10:07:25 +0100
committerhjk <qthjk@ovi.com>2011-11-30 10:08:42 +0100
commit9056dc384aaab2802bfa61c8c03599b65be23547 (patch)
treeaf8fe7bf823590191cfe48833661fd7364dffac6 /src
parentd84b5d459637335b9cd48451e5ad10693995ada2 (diff)
downloadqt-creator-9056dc384aaab2802bfa61c8c03599b65be23547.tar.gz
fakevim: bs=2 "has" start
Task-number: QTCREATORBUG-6640 Change-Id: Iaa90bd9c96207883dbb5889e1c0df544e3a1aa40 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fakevim/fakevimhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp
index 9f59c3f414..2b24efed5e 100644
--- a/src/plugins/fakevim/fakevimhandler.cpp
+++ b/src/plugins/fakevim/fakevimhandler.cpp
@@ -2947,7 +2947,9 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input)
} else if (input.isBackspace()) {
joinPreviousEditBlock();
m_justAutoIndented = 0;
- if (!m_lastInsertion.isEmpty() || hasConfig(ConfigBackspace, "start")) {
+ if (!m_lastInsertion.isEmpty()
+ || hasConfig(ConfigBackspace, "start")
+ || hasConfig(ConfigBackspace, "2")) {
const int line = cursorLine() + 1;
const Column col = cursorColumn();
QString data = lineContents(line);