TextEditorFactory Class
(TextEditor::TextEditorFactory)Inherits: | Core::IEditorFactory |
Public Types
typedef | AutoCompleterCreator |
typedef | DocumentCreator |
typedef | EditorCreator |
typedef | EditorWidgetCreator |
typedef | IndenterCreator |
typedef | SyntaxHighLighterCreator |
Public Functions
TextEditorFactory(QObject *parent = 0) | |
~TextEditorFactory() | |
void | addHoverHandler(BaseHoverHandler *handler) |
void | setAutoCompleterCreator(const AutoCompleterCreator &creator) |
void | setCodeFoldingSupported(bool on) |
void | setCommentDefinition(Utils::CommentDefinition definition) |
void | setCompletionAssistProvider(CompletionAssistProvider *provider) |
void | setDocumentCreator(const DocumentCreator &creator) |
void | setDuplicatedSupported(bool on) |
void | setEditorActionHandlers(Core::Id contextId, uint optionalActions) |
void | setEditorActionHandlers(uint optionalActions) |
void | setEditorCreator(const EditorCreator &creator) |
void | setEditorWidgetCreator(const EditorWidgetCreator &creator) |
void | setIndenterCreator(const IndenterCreator &creator) |
void | setMarksVisible(bool on) |
void | setParenthesesMatchingEnabled(bool on) |
void | setSyntaxHighlighterCreator(const SyntaxHighLighterCreator &creator) |
void | setUseGenericHighlighter(bool enabled) |
Reimplemented Public Functions
virtual Core::IEditor * | createEditor() override |
- 9 public functions inherited from Core::IEditorFactory
Member Type Documentation
typedef TextEditorFactory::AutoCompleterCreator
typedef TextEditorFactory::DocumentCreator
typedef TextEditorFactory::EditorCreator
typedef TextEditorFactory::EditorWidgetCreator
typedef TextEditorFactory::IndenterCreator
typedef TextEditorFactory::SyntaxHighLighterCreator
Member Function Documentation
TextEditorFactory::TextEditorFactory(QObject *parent = 0)
Default constructs an instance of TextEditorFactory.
TextEditorFactory::~TextEditorFactory()
Destroys the instance of TextEditorFactory.