forked from qt-creator/qt-creator
Made the indenter more Qt friendly. Added support for moc keywords.
This commit is contained in:
@@ -150,7 +150,7 @@ QString ExpressionUnderCursor::operator()(const QTextCursor &cursor)
|
||||
if (i == initialSize)
|
||||
return QString();
|
||||
|
||||
return scanner.text(i, initialSize);
|
||||
return scanner.text(i);
|
||||
}
|
||||
|
||||
int ExpressionUnderCursor::startOfFunctionCall(const QTextCursor &cursor) const
|
||||
|
||||
Reference in New Issue
Block a user