TextEditor: Introduce a BaseTextEditorFactory

The BaseTextEditorFactory will keep a collection of all
relevant creation functions (document, editor, widget,
indenter, syntax highlighter) and will use them to
create or duplicate base text editors in a uniform way.

Change-Id: I255b519e35cf1c28d5e198242f99316951a0235e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-08-22 12:14:06 +02:00
parent bb8d0d2181
commit 5d41421533
4 changed files with 149 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ class VCSBASE_EXPORT VcsEditorFactory : public Core::IEditorFactory
public:
VcsEditorFactory(const VcsBaseEditorParameters *type,
const TextEditor::BaseTextEditor::WidgetCreator &creator,
const TextEditor::BaseTextEditorWidgetCreator &creator,
QObject *describeReceiver,
const char *describeSlot);
~VcsEditorFactory();