forked from qt-creator/qt-creator
Moved indentation utility method from CPPEditor into BaseTextEditor.
Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -1561,11 +1561,6 @@ bool CPPEditor::isInComment(const QTextCursor &cursor) const
|
||||
return false;
|
||||
}
|
||||
|
||||
void CPPEditor::indentInsertedText(const QTextCursor &tc)
|
||||
{
|
||||
indent(tc.document(), tc, QChar::Null);
|
||||
}
|
||||
|
||||
// Indent a code line based on previous
|
||||
template <class Iterator>
|
||||
static void indentCPPBlock(const CPPEditor::TabSettings &ts,
|
||||
|
||||
Reference in New Issue
Block a user