Moved indentation utility method from CPPEditor into BaseTextEditor.

Reviewed-by: Roberto Raggi
This commit is contained in:
Erik Verbruggen
2010-02-03 16:34:54 +01:00
parent 85ff8c2259
commit 62705df65f
4 changed files with 8 additions and 7 deletions

View File

@@ -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,