C++: handle file type changes for choosing highlighters.

If the file type (mime type) of an editor changes, it might need a
different kind of highlighter/highlighting-support.

Change-Id: I470dbf69e71856c9593d201416c4d4bd2958aaec
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Erik Verbruggen
2013-05-02 11:42:33 +02:00
committed by Nikolai Kosjar
parent dc4822d123
commit 033ad8875b
5 changed files with 26 additions and 14 deletions

View File

@@ -105,6 +105,7 @@ public:
signals:
void titleChanged(QString title);
void mimeTypeChanged();
private:
void cleanWhitespace(QTextCursor &cursor, bool cleanIndentation, bool inEntireDocument);