QmlJSEditor: Move reparse trigger to document

Change-Id: I65bb9002a44343bb1d13b9c5c92f5057c1d5b25e
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Eike Ziller
2014-01-23 15:28:06 +01:00
parent 3422995521
commit 782e0d37c3
8 changed files with 105 additions and 31 deletions

View File

@@ -35,13 +35,17 @@
namespace QmlJSEditor {
namespace Internal {
class QmlJSEditorDocumentPrivate;
class QmlJSEditorDocument : public TextEditor::BaseTextDocument
{
Q_OBJECT
public:
QmlJSEditorDocument();
private slots:
void invalidateFormatterCache();
~QmlJSEditorDocument();
private:
QmlJSEditorDocumentPrivate *m_d;
};
} // Internal