fakevim: use QTextCursor for fakevim marks

This commit is contained in:
hjk
2010-09-15 13:47:52 +02:00
parent 080f1186c8
commit 59a341d650
3 changed files with 12 additions and 76 deletions

View File

@@ -1121,14 +1121,6 @@ void FakeVimPluginPrivate::indentRegion(int beginLine, int endLine,
block = block.next();
}
// Adjust marks.
block = startBlock;
for (int i = beginLine; i <= endLine; ++i) {
const int amount = block.text().length() - lineLengths[i - beginLine];
handler->fixMarks(block.position(), amount);
block = block.next();
}
bt->setTabSettings(oldTabSettings);
}