fakevim: Correct visual selection of a quoted object

Change-Id: I76eb6d39efb384cb706847b07bb282a8b2f1a6d3
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Lukas Holecek
2012-11-24 08:26:34 +01:00
committed by hjk
parent fc47af3ab7
commit 9ed83d4e2b
2 changed files with 18 additions and 0 deletions

View File

@@ -6868,6 +6868,9 @@ bool FakeVimHandler::Private::selectQuotedStringTextObject(bool inner,
p2 -= sz - 1;
}
if (isVisualMode())
--p2;
setAnchorAndPosition(p1, p2);
m_movetype = MoveExclusive;