TextEditorFactory Class | Extending Qt Creator Manual

Extending Qt Creator Manual | TextEditorFactory

Extending Qt Creator Manual 4.3.0

# TextEditorFactory Class

(TextEditor::TextEditorFactory)

Inherits: | Core::IEditorFactory

- List of all members, including inherited members

## 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 | setCommentStyle(Utils::CommentDefinition::Style style)
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)

- 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.

### void TextEditorFactory::addHoverHandler(BaseHoverHandler *handler)

### void TextEditorFactory::setAutoCompleterCreator(const AutoCompleterCreator &creator)

### void TextEditorFactory::setCodeFoldingSupported(bool on)

### void TextEditorFactory::setCommentStyle(Utils::CommentDefinition::Style style)

### void TextEditorFactory::setCompletionAssistProvider(CompletionAssistProvider *provider)

### void TextEditorFactory::setDocumentCreator(const DocumentCreator &creator)

### void TextEditorFactory::setDuplicatedSupported(bool on)

### void TextEditorFactory::setEditorActionHandlers(Core::Id contextId, uint optionalActions)

### void TextEditorFactory::setEditorActionHandlers(uint optionalActions)

### void TextEditorFactory::setEditorCreator(const EditorCreator &creator)

### void TextEditorFactory::setEditorWidgetCreator(const EditorWidgetCreator &creator)

### void TextEditorFactory::setIndenterCreator(const IndenterCreator &creator)

### void TextEditorFactory::setMarksVisible(bool on)

### void TextEditorFactory::setParenthesesMatchingEnabled(bool on)

### void TextEditorFactory::setSyntaxHighlighterCreator(const SyntaxHighLighterCreator &creator)

### void TextEditorFactory::setUseGenericHighlighter(bool enabled)