Extending Qt Creator Manual | TextDocumentManipulatorInterface

Extending Qt Creator Manual 4.4.0

# TextDocumentManipulatorInterface Class

(TextEditor::TextDocumentManipulatorInterface)

- List of all members, including inherited members

## Public Functions

virtual | ~TextDocumentManipulatorInterface() = default
virtual void | autoIndent(int position, int length) = 0
virtual QChar | characterAt(int position) const = 0
virtual int | currentPosition() const = 0
virtual void | encourageApply() = 0
virtual void | insertCodeSnippet(int position, const QString &text) = 0
virtual void | paste() = 0
virtual int | positionAt(TextPositionOperation textPositionOperation) const = 0
virtual bool | replace(int position, int length, const QString &text) = 0
virtual void | setAutoCompleteSkipPosition(int position) = 0
virtual void | setCursorPosition(int position) = 0
virtual QString | textAt(int position, int length) const = 0
virtual QTextCursor | textCursorAt(int position) const = 0

## Member Function Documentation

### `[default]` TextDocumentManipulatorInterface::~TextDocumentManipulatorInterface()

Destroys the instance of TextDocumentManipulatorInterface. The destructor is virtual.

### `[pure virtual]` void TextDocumentManipulatorInterface::autoIndent(int position, int length)

### `[pure virtual]` QChar TextDocumentManipulatorInterface::characterAt(int position) const

### `[pure virtual]` int TextDocumentManipulatorInterface::currentPosition() const

### `[pure virtual]` void TextDocumentManipulatorInterface::encourageApply()

### `[pure virtual]` void TextDocumentManipulatorInterface::insertCodeSnippet(int position, const QString &text)

### `[pure virtual]` void TextDocumentManipulatorInterface::paste()

### `[pure virtual]` int TextDocumentManipulatorInterface::positionAt(TextPositionOperation textPositionOperation) const

### `[pure virtual]` bool TextDocumentManipulatorInterface::replace(int position, int length, const QString &text)

### `[pure virtual]` void TextDocumentManipulatorInterface::setAutoCompleteSkipPosition(int position)

### `[pure virtual]` void TextDocumentManipulatorInterface::setCursorPosition(int position)

### `[pure virtual]` QString TextDocumentManipulatorInterface::textAt(int position, int length) const

### `[pure virtual]` QTextCursor TextDocumentManipulatorInterface::textCursorAt(int position) const