fakevim: fix problem with <Backspace> in insert mode on new line when

AutoIndent is on
This commit is contained in:
hjk
2009-07-10 14:56:12 +02:00
parent d7fb6ea562
commit 05d555acec
2 changed files with 2 additions and 0 deletions

View File

@@ -1585,6 +1585,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(int key, int,
} else if (key >= control('a') && key <= control('z')) {
// ignore these
} else if (!text.isEmpty()) {
m_justAutoIndented = false;
m_lastInsertion.append(text);
if (m_submode == ReplaceSubMode) {
if (atEndOfLine())