forked from qt-creator/qt-creator
TextEditor: Move SnippetsEditor to new editor construction scheme
Change-Id: I10612d86b6a634e7370c1a29507f709132f4e54b Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -47,8 +47,6 @@ class TEXTEDITOR_EXPORT SnippetEditor : public BaseTextEditor
|
||||
|
||||
public:
|
||||
SnippetEditor();
|
||||
|
||||
Core::IEditor *duplicate() { return 0; }
|
||||
};
|
||||
|
||||
class TEXTEDITOR_EXPORT SnippetEditorWidget : public BaseTextEditorWidget
|
||||
@@ -56,7 +54,7 @@ class TEXTEDITOR_EXPORT SnippetEditorWidget : public BaseTextEditorWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SnippetEditorWidget(QWidget *parent);
|
||||
SnippetEditorWidget(QWidget *parent = 0);
|
||||
|
||||
void setSyntaxHighlighter(SyntaxHighlighter *highlighter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user