forked from qt-creator/qt-creator
Revert "FakeVim: Also record NoVisualMode as last visual mode"
This reverts commit e5dd24322f
which caused QTCREATORBUG-26214.
Fixes: QTCREATORBUG-26214
Change-Id: I0d285b4df8fa428201fb6c48bbbad81f8195a941
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -8201,10 +8201,10 @@ void FakeVimHandler::Private::saveLastVisualMode()
|
||||
if (isVisualMode() && g.mode == CommandMode && g.submode == NoSubMode) {
|
||||
setMark('<', markLessPosition());
|
||||
setMark('>', markGreaterPosition());
|
||||
}
|
||||
m_buffer->lastVisualModeInverted = anchor() > position();
|
||||
m_buffer->lastVisualMode = g.visualMode;
|
||||
}
|
||||
}
|
||||
|
||||
QWidget *FakeVimHandler::Private::editor() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user