forked from qt-creator/qt-creator
fakevim: Correct visual selection of a quoted object
Change-Id: I76eb6d39efb384cb706847b07bb282a8b2f1a6d3 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -6868,6 +6868,9 @@ bool FakeVimHandler::Private::selectQuotedStringTextObject(bool inner,
|
||||
p2 -= sz - 1;
|
||||
}
|
||||
|
||||
if (isVisualMode())
|
||||
--p2;
|
||||
|
||||
setAnchorAndPosition(p1, p2);
|
||||
m_movetype = MoveExclusive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user