TextEditor: modernize TextDocument

Change-Id: I9ea17165ba4eade89a6119135378793256e13358
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2018-02-15 08:34:26 +01:00
parent 6e236d04a6
commit e10b220189
2 changed files with 16 additions and 20 deletions

View File

@@ -89,9 +89,9 @@ public:
void autoIndent(const QTextCursor &cursor, QChar typedChar = QChar::Null);
void autoReindent(const QTextCursor &cursor);
QTextCursor indent(const QTextCursor &cursor, bool blockSelection = false, int column = 0,
int *offset = 0);
int *offset = nullptr);
QTextCursor unindent(const QTextCursor &cursor, bool blockSelection = false, int column = 0,
int *offset = 0);
int *offset = nullptr);
TextMarks marks() const;
bool addMark(TextMark *mark);