forked from qt-creator/qt-creator
use better a default range for :d
This commit is contained in:
@@ -771,8 +771,8 @@ void FakeVimHandler::Private::handleCommand(const QString &cmd0)
|
|||||||
if (cmd.startsWith("%"))
|
if (cmd.startsWith("%"))
|
||||||
cmd = "1,$" + cmd.mid(1);
|
cmd = "1,$" + cmd.mid(1);
|
||||||
|
|
||||||
int beginLine = 0;
|
int beginLine = -1;
|
||||||
int endLine = linesInDocument();
|
int endLine = -1;
|
||||||
|
|
||||||
int line = readLineCode(cmd);
|
int line = readLineCode(cmd);
|
||||||
if (line != -1)
|
if (line != -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user