SnippetEditorWidget Class

(TextEditor::SnippetEditorWidget)

The SnippetEditorWidget class is a lightweight editor for code snippets with basic support for syntax highlighting, indentation, and others. More...

Header: #include <SnippetEditorWidget>
Inherits: TextEditor::TextEditorWidget

Public Functions

SnippetEditorWidget(QWidget *parent = 0)

Signals

Protected Functions

virtual void focusOutEvent(QFocusEvent *event) override

Reimplemented Protected Functions

virtual int extraAreaWidth(int *markWidthPtr = 0) const override

Additional Inherited Members

Detailed Description

The SnippetEditorWidget class is a lightweight editor for code snippets with basic support for syntax highlighting, indentation, and others.

Member Function Documentation

SnippetEditorWidget::SnippetEditorWidget(QWidget *parent = 0)

Default constructs an instance of SnippetEditorWidget.

[override virtual protected] int SnippetEditorWidget::extraAreaWidth(int *markWidthPtr = 0) const

[override virtual protected] void SnippetEditorWidget::focusOutEvent(QFocusEvent *event)

[signal] void SnippetEditorWidget::snippetContentChanged()