TextIndenter Class
(TextEditor::TextIndenter)| Inherits: | TextEditor::Indenter |
Public Functions
| TextIndenter(QTextDocument *doc) | |
| ~TextIndenter() override |
Reimplemented Public Functions
| virtual void | indent(const QTextCursor &cursor, const QChar &typedChar, const TabSettings &tabSettings, int cursorPositionInEditor = -1) override |
| virtual void | indentBlock(const QTextBlock &block, const QChar &typedChar, const TabSettings &tabSettings, int cursorPositionInEditor = -1) override |
| virtual IndentationForBlock | indentationForBlocks(const QVector<QTextBlock> &blocks, const TabSettings &tabSettings, int cursorPositionInEditor = -1) override |
| virtual void | reindent(const QTextCursor &cursor, const TabSettings &tabSettings, int cursorPositionInEditor = -1) override |
| virtual Utils::optional<TabSettings> | tabSettings() const override |
- 13 public functions inherited from TextEditor::Indenter
Member Function Documentation
TextIndenter::TextIndenter(QTextDocument *doc)
Default constructs an instance of TextIndenter.
TextIndenter::~TextIndenter()
Destroys the instance of TextIndenter.