forked from qt-creator/qt-creator
Compile fix on Mac OS X (gcc 4.0.1)
This commit is contained in:
@@ -2016,7 +2016,7 @@ EventResult FakeVimHandler::Private::handleInsertMode(int key, int,
|
||||
if (col <= ind.logical && col && startsWithWhitespace(data, col)) {
|
||||
const int ts = config(ConfigTabStop).toInt();
|
||||
const int newcol = col - 1 - (col - 1) % ts;
|
||||
setLineContents(line, tabExpand(newcol) + data.midRef(col));
|
||||
setLineContents(line, tabExpand(newcol).append(data.midRef(col)));
|
||||
m_lastInsertion.clear(); // FIXME
|
||||
} else {
|
||||
m_tc.deletePreviousChar();
|
||||
|
||||
Reference in New Issue
Block a user