Keep the original encoded text around while preprocessing.

This commit is contained in:
Roberto Raggi
2009-06-15 15:38:20 +02:00
parent dbba0ff8d7
commit e2a0a4d7c5
12 changed files with 67 additions and 46 deletions

View File

@@ -112,7 +112,7 @@ public:
int updateDocumentInterval() const;
void setUpdateDocumentInterval(int updateDocumentInterval);
QByteArray contents(); // UTF-8 encoded
QString contents();
Q_SIGNALS:
void contentsChanged();
@@ -132,7 +132,7 @@ private:
QTimer *_updateDocumentTimer;
int _updateDocumentInterval;
QFuture<void> _documentParser;
QByteArray _cachedContents;
QString _cachedContents;
QTimer *_quickFixTimer;
TextEditor::ITextMark *_quickFixMark;