forked from qt-creator/qt-creator
fakevim: bs=2 "has" start
Task-number: QTCREATORBUG-6640 Change-Id: Iaa90bd9c96207883dbb5889e1c0df544e3a1aa40 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user