forked from qt-creator/qt-creator
TextEditors: Move some auto-indentation code to document
From the editor widget. Also name them autoIndent/autoReindent to distinguish from the manual indent functions. Change-Id: I4e1b9d503f53870b669fee66467e5e567eacefec Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -443,10 +443,6 @@ protected:
|
||||
void showDefaultContextMenu(QContextMenuEvent *e, const Core::Id menuContextId);
|
||||
|
||||
public:
|
||||
void indentInsertedText(const QTextCursor &tc);
|
||||
void indent(QTextDocument *doc, const QTextCursor &cursor, QChar typedChar);
|
||||
void reindent(QTextDocument *doc, const QTextCursor &cursor);
|
||||
|
||||
struct Link
|
||||
{
|
||||
Link(const QString &fileName = QString(), int line = 0, int column = 0)
|
||||
|
||||
Reference in New Issue
Block a user