Extending Qt Creator Manual | TextEditorWidget

Extending Qt Creator Manual 4.3.0

# TextEditorWidget Class

(TextEditor::TextEditorWidget)

Inherited By: | TextEditor::SnippetEditorWidget and VcsBase::VcsBaseEditorWidget

- List of all members, including inherited members

## Public Types

class | Link
enum | Side { Left, Right }

## Properties

- verticalBlockSelectionFirstColumn : const int
- verticalBlockSelectionLastColumn : const int

## Public Functions

| TextEditorWidget(QWidget *parent = 0)
void | abortAssist()
virtual void | aboutToOpen(const QString &fileName, const QString &realFileName)
bool | alwaysOpenLinksInNextSplit() const
void | appendStandardContextMenuActions(QMenu *menu)
AutoCompleter * | autoCompleter() const
const BehaviorSettings & | behaviorSettings() const
QTextCursor | blockSelection() const
bool | camelCaseNavigationEnabled() const
QChar | characterAt(int pos) const
void | circularPaste()
void | cleanWhitespace()
bool | codeFoldingSupported() const
bool | codeFoldingVisible() const
int | columnCount() const
void | configureGenericHighlighter()
bool | constrainTooltips() const
QString | contextHelpId()
void | convertPosition(int pos, int *line, int *column) const
virtual void | copy()
void | copyLine()
void | copyLineDown()
void | copyLineUp()
virtual TextEditor::AssistInterface * | createAssistInterface(AssistKind assistKind, AssistReason assistReason) const
QRect | cursorRect(int pos) const
virtual void | cut()
void | cutLine()
void | deleteEndOfWord()
void | deleteEndOfWordCamelCase()
void | deleteLine()
void | deleteStartOfWord()
void | deleteStartOfWordCamelCase()
const DisplaySettings & | displaySettings() const
void | duplicateSelection()
void | duplicateSelectionAndComment()
virtual void | encourageApply()
void | ensureCursorVisible()
QWidget * | extraArea() const
virtual void | extraAreaContextMenuEvent(QContextMenuEvent *)
virtual void | extraAreaLeaveEvent(QEvent *)
virtual void | extraAreaMouseEvent(QMouseEvent *)
virtual void | extraAreaPaintEvent(QPaintEvent *)
virtual int | extraAreaWidth(int *markWidthPtr = 0) const
QString | extraSelectionTooltip(int pos) const
QList<QTextEdit::ExtraSelection> | extraSelections(Core::Id kind) const
void | fold()
virtual void | format()
void | gotoBlockEnd()
void | gotoBlockEndWithSelection()
void | gotoBlockStart()
void | gotoBlockStartWithSelection()
void | gotoLine(int line, int column = 0, bool centerLine = true)
void | gotoLineEnd()
void | gotoLineEndWithSelection()
void | gotoLineStart()
void | gotoLineStartWithSelection()
void | gotoNextCharacter()
void | gotoNextCharacterWithSelection()
void | gotoNextLine()
void | gotoNextLineWithSelection()
void | gotoNextWord()
void | gotoNextWordCamelCase()
void | gotoNextWordCamelCaseWithSelection()
void | gotoNextWordWithSelection()
void | gotoPreviousCharacter()
void | gotoPreviousCharacterWithSelection()
void | gotoPreviousLine()
void | gotoPreviousLineWithSelection()
void | gotoPreviousWord()
void | gotoPreviousWordCamelCase()
void | gotoPreviousWordCamelCaseWithSelection()
void | gotoPreviousWordWithSelection()
bool | hasBlockSelection() const
bool | highlightCurrentLine() const
void | inSnippetMode(bool *active)
void | indent()
void | insertCodeSnippet(const QTextCursor &cursor, const QString &snippet)
QAction * | insertExtraToolBarWidget(Side side, QWidget *widget)
void | insertLineAbove()
void | insertLineBelow()
void | insertPlainText(const QString &text)
void | invokeAssist(AssistKind assistKind, IAssistProvider *provider = 0)
bool | isMissingSyntaxDefinition() const
bool | isParenthesesMatchingEnabled() const
void | joinLines()
void | keepAutoCompletionHighlight(bool keepHighlight)
Core::Id | languageSettingsId() const
bool | lineNumbersVisible() const
bool | lineSeparatorsAllowed() const
void | lowercaseSelection()
const MarginSettings & | marginSettings() const
bool | marksVisible() const
bool | mouseHidingEnabled() const
bool | mouseNavigationEnabled() const
void | moveLineDown()
void | moveLineUp()
virtual void | openFinishedSuccessfully()
void | openLinkUnderCursor()
void | openLinkUnderCursorInNextSplit()
virtual void | paste()
int | position(TextPositionOperation posOp = CurrentPosition, int at = -1) const
void | print(QPrinter *)
void | redo()
RefactorMarkers | refactorMarkers() const
void | remove(int length)
void | replace(int length, const QString &string)
bool | requestMarkEnabled() const
bool | restoreState(const QByteArray &state)
bool | revisionsVisible() const
virtual void | rewrapParagraph()
int | rowCount() const
QByteArray | saveState() const
bool | scrollWheelZoomingEnabled() const
virtual void | selectAll()
virtual bool | selectBlockDown()
virtual bool | selectBlockUp()
void | selectEncoding()
void | selectWordUnderCursor()
QString | selectedText() const
void | setAlwaysOpenLinksInNextSplit(bool b)
void | setAutoCompleteSkipPosition(const QTextCursor &cursor)
void | setAutoCompleter(AutoCompleter *autoCompleter)
void | setBehaviorSettings(const TextEditor::BehaviorSettings &)
void | setBlockSelection(bool on)
void | setBlockSelection(int positionBlock, int positionColumn, int anchhorBlock, int anchorColumn)
void | setBlockSelection(const QTextCursor &cursor)
void | setCamelCaseNavigationEnabled(bool b)
void | setCodeFoldingSupported(bool b)
void | setCodeStyle(ICodeStylePreferences *settings)
void | setCompletionSettings(const TextEditor::CompletionSettings &)
void | setConstrainTooltips(bool b)
void | setContextHelpId(const QString &id)
void | setCursorPosition(int pos)
virtual void | setDisplaySettings(const TextEditor::DisplaySettings &)
void | setExtraEncodingSettings(const TextEditor::ExtraEncodingSettings &)
void | setExtraSelections(Core::Id kind, const QList<QTextEdit::ExtraSelection> &selections)
void | setHighlightCurrentLine(bool b)
void | setIfdefedOutBlocks(const QList<BlockRange> &blocks)
void | setLanguageSettingsId(Core::Id settingsId)
void | setLineNumbersVisible(bool b)
void | setLineSeparatorsAllowed(bool b)
virtual void | setMarginSettings(const TextEditor::MarginSettings &)
void | setMarksVisible(bool b)
void | setMouseHidingEnabled(bool b)
void | setMouseNavigationEnabled(bool b)
void | setParenthesesMatchingEnabled(bool b)
void | setReadOnly(bool b)
void | setRefactorMarkers(const RefactorMarkers &markers)
void | setRequestMarkEnabled(bool b)
void | setRevisionsVisible(bool b)
void | setScrollWheelZoomingEnabled(bool b)
void | setStorageSettings(const TextEditor::StorageSettings &)
void | setTextDocument(const QSharedPointer<TextDocument> &doc)
void | setTypingSettings(const TextEditor::TypingSettings &)
void | setVisibleWrapColumn(int column)
void | setupFallBackEditor(Core::Id id)
void | setupGenericHighlighter()
void | switchUtf8bom()
QString | textAt(int from, int to) const
TextDocument * | textDocument() const
QSharedPointer<TextDocument> | textDocumentPtr() const
QToolBar * | toolBar()
QPoint | toolTipPosition(const QTextCursor &c) const
QRegion | translatedLineRegion(int lineStart, int lineEnd) const
virtual void | unCommentSelection()
void | undo()
void | unfold()
void | unfoldAll()
void | unindent()
void | updateFoldingHighlight(const QPoint &pos)
void | updateTextCodecLabel()
void | uppercaseSelection()
int | verticalBlockSelectionFirstColumn() const
int | verticalBlockSelectionLastColumn() const
void | viewLineDown()
void | viewLineUp()
void | viewPageDown()
void | viewPageUp()
int | visibleWrapColumn() const
void | zoomF(float delta)
void | zoomReset()

## Signals

void | activateEditor()
void | assistFinished()
void | markContextMenuRequested(TextEditor::TextEditorWidget *widget, int line, QMenu *menu)
void | markRequested(TextEditor::TextEditorWidget *widget, int line, TextEditor::TextMarkRequestKind kind)
void | readOnlyChanged()
void | requestBlockUpdate(const QTextBlock &)
void | tooltipOverrideRequested(TextEditor::TextEditorWidget *widget, const QPoint &globalPos, int position, bool *handled)
void | tooltipRequested(const QPoint &globalPos, int position)

## Static Public Members

TextEditorWidget * | currentTextEditorWidget()
QMimeData * | duplicateMimeData(const QMimeData *source)
QString | msgTextTooLarge(quint64 size)

## Protected Functions

virtual void | applyFontSettings()
QTextBlock | blockForVisibleRow(int row) const
void | doSetTextCursor(const QTextCursor &cursor, bool keepBlockSelection)
virtual void | drawCollapsedBlockPopup(QPainter &painter, const QTextBlock &block, QPointF offset, const QRect &clip)
virtual void | finalizeInitialization()
virtual void | finalizeInitializationAfterDuplication(TextEditorWidget *)
bool | inFindScope(const QTextCursor &cursor)
bool | inFindScope(int selectionStart, int selectionEnd)
virtual QString | lineNumber(int blockNumber) const
virtual int | lineNumberDigits() const
virtual void | onRefactorMarkerClicked(const RefactorMarker &)
virtual void | paintBlock(QPainter *painter, const QTextBlock &block, const QPointF &offset, const QVector<QTextLayout::FormatRange> &selections, const QRect &clipRect) const
virtual QString | plainTextFromSelection(const QTextCursor &cursor) const
virtual QColor | replacementPenColor(int blockNumber) const
virtual bool | replacementVisible(int blockNumber) const
virtual bool | selectionVisible(int blockNumber) const
void | showDefaultContextMenu(QContextMenuEvent *e, Core::Id menuContextId)
virtual void | slotCodeStyleSettingsChanged(const QVariant &)
virtual void | slotCursorPositionChanged()
virtual void | triggerPendingUpdates()
int | visibleFoldedBlockNumber() const

## Static Protected Members

QString | convertToPlainText(const QString &txt)
QTextCursor | flippedCursor(const QTextCursor &cursor)

## Member Type Documentation

### enum TextEditorWidget::Side

## Property Documentation

### verticalBlockSelectionFirstColumn : const int

Access functions:

int | verticalBlockSelectionFirstColumn() const

### verticalBlockSelectionLastColumn : const int

Access functions:

int | verticalBlockSelectionLastColumn() const

## Member Function Documentation

### TextEditorWidget::TextEditorWidget(QWidget *parent = 0)

Default constructs an instance of TextEditorWidget.

### void TextEditorWidget::abortAssist()

### `[virtual]` void TextEditorWidget::aboutToOpen(const QString &fileName, const QString &realFileName)

### `[signal]` void TextEditorWidget::activateEditor()

### bool TextEditorWidget::alwaysOpenLinksInNextSplit() const

See also setAlwaysOpenLinksInNextSplit().

### void TextEditorWidget::appendStandardContextMenuActions(QMenu *menu)

### `[virtual protected]` void TextEditorWidget::applyFontSettings()

### `[signal]` void TextEditorWidget::assistFinished()

### AutoCompleter *TextEditorWidget::autoCompleter() const

See also setAutoCompleter().

### const BehaviorSettings &TextEditorWidget::behaviorSettings() const

See also setBehaviorSettings().

### `[protected]` QTextBlock TextEditorWidget::blockForVisibleRow(int row) const

### QTextCursor TextEditorWidget::blockSelection() const

See also setBlockSelection().

### bool TextEditorWidget::camelCaseNavigationEnabled() const

See also setCamelCaseNavigationEnabled().

### QChar TextEditorWidget::characterAt(int pos) const

### void TextEditorWidget::circularPaste()

### void TextEditorWidget::cleanWhitespace()

### bool TextEditorWidget::codeFoldingSupported() const

See also setCodeFoldingSupported().

### bool TextEditorWidget::codeFoldingVisible() const

### int TextEditorWidget::columnCount() const

### void TextEditorWidget::configureGenericHighlighter()

### bool TextEditorWidget::constrainTooltips() const

See also setConstrainTooltips().

### QString TextEditorWidget::contextHelpId()

See also setContextHelpId().

### void TextEditorWidget::convertPosition(int pos, int *line, int *column) const

### `[static protected]` QString TextEditorWidget::convertToPlainText(const QString &txt)

### `[virtual]` void TextEditorWidget::copy()

### void TextEditorWidget::copyLine()

### void TextEditorWidget::copyLineDown()

### void TextEditorWidget::copyLineUp()

### `[virtual]` TextEditor::AssistInterface *TextEditorWidget::createAssistInterface(AssistKind assistKind, AssistReason assistReason) const

### `[static]` TextEditorWidget *TextEditorWidget::currentTextEditorWidget()

### QRect TextEditorWidget::cursorRect(int pos) const

### `[virtual]` void TextEditorWidget::cut()

### void TextEditorWidget::cutLine()

### void TextEditorWidget::deleteEndOfWord()

### void TextEditorWidget::deleteEndOfWordCamelCase()

### void TextEditorWidget::deleteLine()

### void TextEditorWidget::deleteStartOfWord()

### void TextEditorWidget::deleteStartOfWordCamelCase()

### const DisplaySettings &TextEditorWidget::displaySettings() const

See also setDisplaySettings().

### `[protected]` void TextEditorWidget::doSetTextCursor(const QTextCursor &cursor, bool keepBlockSelection)

### `[virtual protected]` void TextEditorWidget::drawCollapsedBlockPopup(QPainter &painter, const QTextBlock &block, QPointF offset, const QRect &clip)

### `[static]` QMimeData *TextEditorWidget::duplicateMimeData(const QMimeData *source)

### void TextEditorWidget::duplicateSelection()

### void TextEditorWidget::duplicateSelectionAndComment()

### `[virtual]` void TextEditorWidget::encourageApply()

### void TextEditorWidget::ensureCursorVisible()

### QWidget *TextEditorWidget::extraArea() const

### `[virtual]` void TextEditorWidget::extraAreaContextMenuEvent(QContextMenuEvent *)

### `[virtual]` void TextEditorWidget::extraAreaLeaveEvent(QEvent *)

### `[virtual]` void TextEditorWidget::extraAreaMouseEvent(QMouseEvent *)

### `[virtual]` void TextEditorWidget::extraAreaPaintEvent(QPaintEvent *)

### `[virtual]` int TextEditorWidget::extraAreaWidth(int *markWidthPtr = 0) const

### QString TextEditorWidget::extraSelectionTooltip(int pos) const

### QList<QTextEdit::ExtraSelection> TextEditorWidget::extraSelections(Core::Id kind) const

See also setExtraSelections().

### `[virtual protected]` void TextEditorWidget::finalizeInitialization()

### `[virtual protected]` void TextEditorWidget::finalizeInitializationAfterDuplication(TextEditorWidget *)

### `[static protected]` QTextCursor TextEditorWidget::flippedCursor(const QTextCursor &cursor)

### void TextEditorWidget::fold()

### `[virtual]` void TextEditorWidget::format()

### void TextEditorWidget::gotoBlockEnd()

### void TextEditorWidget::gotoBlockEndWithSelection()

### void TextEditorWidget::gotoBlockStart()

### void TextEditorWidget::gotoBlockStartWithSelection()

### void TextEditorWidget::gotoLine(int line, int column = 0, bool centerLine = true)

### void TextEditorWidget::gotoLineEnd()

### void TextEditorWidget::gotoLineEndWithSelection()

### void TextEditorWidget::gotoLineStart()

### void TextEditorWidget::gotoLineStartWithSelection()

### void TextEditorWidget::gotoNextCharacter()

### void TextEditorWidget::gotoNextCharacterWithSelection()

### void TextEditorWidget::gotoNextLine()

### void TextEditorWidget::gotoNextLineWithSelection()

### void TextEditorWidget::gotoNextWord()

### void TextEditorWidget::gotoNextWordCamelCase()

### void TextEditorWidget::gotoNextWordCamelCaseWithSelection()

### void TextEditorWidget::gotoNextWordWithSelection()

### void TextEditorWidget::gotoPreviousCharacter()

### void TextEditorWidget::gotoPreviousCharacterWithSelection()

### void TextEditorWidget::gotoPreviousLine()

### void TextEditorWidget::gotoPreviousLineWithSelection()

### void TextEditorWidget::gotoPreviousWord()

### void TextEditorWidget::gotoPreviousWordCamelCase()

### void TextEditorWidget::gotoPreviousWordCamelCaseWithSelection()

### void TextEditorWidget::gotoPreviousWordWithSelection()

### bool TextEditorWidget::hasBlockSelection() const

### bool TextEditorWidget::highlightCurrentLine() const

See also setHighlightCurrentLine().

### `[protected]` bool TextEditorWidget::inFindScope(const QTextCursor &cursor)

### `[protected]` bool TextEditorWidget::inFindScope(int selectionStart, int selectionEnd)

### void TextEditorWidget::inSnippetMode(bool *active)

### void TextEditorWidget::indent()

### void TextEditorWidget::insertCodeSnippet(const QTextCursor &cursor, const QString &snippet)

### QAction *TextEditorWidget::insertExtraToolBarWidget(Side side, QWidget *widget)

### void TextEditorWidget::insertLineAbove()

### void TextEditorWidget::insertLineBelow()

### void TextEditorWidget::insertPlainText(const QString &text)

### void TextEditorWidget::invokeAssist(AssistKind assistKind, IAssistProvider *provider = 0)

### bool TextEditorWidget::isMissingSyntaxDefinition() const

### bool TextEditorWidget::isParenthesesMatchingEnabled() const

### void TextEditorWidget::joinLines()

### void TextEditorWidget::keepAutoCompletionHighlight(bool keepHighlight)

### Core::Id TextEditorWidget::languageSettingsId() const

See also setLanguageSettingsId().

### `[virtual protected]` QString TextEditorWidget::lineNumber(int blockNumber) const

### `[virtual protected]` int TextEditorWidget::lineNumberDigits() const

### bool TextEditorWidget::lineNumbersVisible() const

See also setLineNumbersVisible().

### bool TextEditorWidget::lineSeparatorsAllowed() const

See also setLineSeparatorsAllowed().

### void TextEditorWidget::lowercaseSelection()

### const MarginSettings &TextEditorWidget::marginSettings() const

See also setMarginSettings().

### `[signal]` void TextEditorWidget::markContextMenuRequested(TextEditor::TextEditorWidget *widget, int line, QMenu *menu)

### `[signal]` void TextEditorWidget::markRequested(TextEditor::TextEditorWidget *widget, int line, TextEditor::TextMarkRequestKind kind)

### bool TextEditorWidget::marksVisible() const

See also setMarksVisible().

### bool TextEditorWidget::mouseHidingEnabled() const

See also setMouseHidingEnabled().

### bool TextEditorWidget::mouseNavigationEnabled() const

See also setMouseNavigationEnabled().

### void TextEditorWidget::moveLineDown()

### void TextEditorWidget::moveLineUp()

### `[static]` QString TextEditorWidget::msgTextTooLarge(quint64 size)

### `[virtual protected]` void TextEditorWidget::onRefactorMarkerClicked(const RefactorMarker &)

### `[virtual]` void TextEditorWidget::openFinishedSuccessfully()

### void TextEditorWidget::openLinkUnderCursor()

### void TextEditorWidget::openLinkUnderCursorInNextSplit()

### `[virtual protected]` void TextEditorWidget::paintBlock(QPainter *painter, const QTextBlock &block, const QPointF &offset, const QVector<QTextLayout::FormatRange> &selections, const QRect &clipRect) const

### `[virtual]` void TextEditorWidget::paste()

### `[virtual protected]` QString TextEditorWidget::plainTextFromSelection(const QTextCursor &cursor) const

### int TextEditorWidget::position(TextPositionOperation posOp = CurrentPosition, int at = -1) const

### void TextEditorWidget::print(QPrinter *)

### `[signal]` void TextEditorWidget::readOnlyChanged()

### void TextEditorWidget::redo()

### RefactorMarkers TextEditorWidget::refactorMarkers() const

See also setRefactorMarkers().

### void TextEditorWidget::remove(int length)

### void TextEditorWidget::replace(int length, const QString &string)

### `[virtual protected]` QColor TextEditorWidget::replacementPenColor(int blockNumber) const

### `[virtual protected]` bool TextEditorWidget::replacementVisible(int blockNumber) const

### `[signal]` void TextEditorWidget::requestBlockUpdate(const QTextBlock &)

### bool TextEditorWidget::requestMarkEnabled() const

See also setRequestMarkEnabled().

### bool TextEditorWidget::restoreState(const QByteArray &state)

### bool TextEditorWidget::revisionsVisible() const

See also setRevisionsVisible().

### `[virtual]` void TextEditorWidget::rewrapParagraph()

### int TextEditorWidget::rowCount() const

### QByteArray TextEditorWidget::saveState() const

### bool TextEditorWidget::scrollWheelZoomingEnabled() const

See also setScrollWheelZoomingEnabled().

### `[virtual]` void TextEditorWidget::selectAll()

### `[virtual]` bool TextEditorWidget::selectBlockDown()

### `[virtual]` bool TextEditorWidget::selectBlockUp()

### void TextEditorWidget::selectEncoding()

### void TextEditorWidget::selectWordUnderCursor()

### QString TextEditorWidget::selectedText() const

### `[virtual protected]` bool TextEditorWidget::selectionVisible(int blockNumber) const

### void TextEditorWidget::setAlwaysOpenLinksInNextSplit(bool b)

See also alwaysOpenLinksInNextSplit().

### void TextEditorWidget::setAutoCompleteSkipPosition(const QTextCursor &cursor)

### void TextEditorWidget::setAutoCompleter(AutoCompleter *autoCompleter)

See also autoCompleter().

### void TextEditorWidget::setBehaviorSettings(const TextEditor::BehaviorSettings &)

See also behaviorSettings().

### void TextEditorWidget::setBlockSelection(bool on)

See also blockSelection().

### void TextEditorWidget::setBlockSelection(int positionBlock, int positionColumn, int anchhorBlock, int anchorColumn)

### void TextEditorWidget::setBlockSelection(const QTextCursor &cursor)

### void TextEditorWidget::setCamelCaseNavigationEnabled(bool b)

See also camelCaseNavigationEnabled().

### void TextEditorWidget::setCodeFoldingSupported(bool b)

See also codeFoldingSupported().

### void TextEditorWidget::setCodeStyle(ICodeStylePreferences *settings)

### void TextEditorWidget::setCompletionSettings(const TextEditor::CompletionSettings &)

### void TextEditorWidget::setConstrainTooltips(bool b)

See also constrainTooltips().

### void TextEditorWidget::setContextHelpId(const QString &id)

See also contextHelpId().

### void TextEditorWidget::setCursorPosition(int pos)

### `[virtual]` void TextEditorWidget::setDisplaySettings(const TextEditor::DisplaySettings &)

See also displaySettings().

### void TextEditorWidget::setExtraEncodingSettings(const TextEditor::ExtraEncodingSettings &)

### void TextEditorWidget::setExtraSelections(Core::Id kind, const QList<QTextEdit::ExtraSelection> &selections)

See also extraSelections().

### void TextEditorWidget::setHighlightCurrentLine(bool b)

See also highlightCurrentLine().

### void TextEditorWidget::setIfdefedOutBlocks(const QList<BlockRange> &blocks)

### void TextEditorWidget::setLanguageSettingsId(Core::Id settingsId)

See also languageSettingsId().

### void TextEditorWidget::setLineNumbersVisible(bool b)

See also lineNumbersVisible().

### void TextEditorWidget::setLineSeparatorsAllowed(bool b)

See also lineSeparatorsAllowed().

### `[virtual]` void TextEditorWidget::setMarginSettings(const TextEditor::MarginSettings &)

See also marginSettings().

### void TextEditorWidget::setMarksVisible(bool b)

See also marksVisible().

### void TextEditorWidget::setMouseHidingEnabled(bool b)

See also mouseHidingEnabled().

### void TextEditorWidget::setMouseNavigationEnabled(bool b)

See also mouseNavigationEnabled().

### void TextEditorWidget::setParenthesesMatchingEnabled(bool b)

See also isParenthesesMatchingEnabled().

### void TextEditorWidget::setReadOnly(bool b)

### void TextEditorWidget::setRefactorMarkers(const RefactorMarkers &markers)

See also refactorMarkers().

### void TextEditorWidget::setRequestMarkEnabled(bool b)

See also requestMarkEnabled().

### void TextEditorWidget::setRevisionsVisible(bool b)

See also revisionsVisible().

### void TextEditorWidget::setScrollWheelZoomingEnabled(bool b)

See also scrollWheelZoomingEnabled().

### void TextEditorWidget::setStorageSettings(const TextEditor::StorageSettings &)

### void TextEditorWidget::setTextDocument(const QSharedPointer<TextDocument> &doc)

See also textDocument().

### void TextEditorWidget::setTypingSettings(const TextEditor::TypingSettings &)

### void TextEditorWidget::setVisibleWrapColumn(int column)

See also visibleWrapColumn().

### void TextEditorWidget::setupFallBackEditor(Core::Id id)

### void TextEditorWidget::setupGenericHighlighter()

### `[protected]` void TextEditorWidget::showDefaultContextMenu(QContextMenuEvent *e, Core::Id menuContextId)

### `[virtual protected]` void TextEditorWidget::slotCodeStyleSettingsChanged(const QVariant &)

### `[virtual protected]` void TextEditorWidget::slotCursorPositionChanged()

### void TextEditorWidget::switchUtf8bom()

### QString TextEditorWidget::textAt(int from, int to) const

### TextDocument *TextEditorWidget::textDocument() const

See also setTextDocument().

### QSharedPointer<TextDocument> TextEditorWidget::textDocumentPtr() const

### QToolBar *TextEditorWidget::toolBar()

### QPoint TextEditorWidget::toolTipPosition(const QTextCursor &c) const

### `[signal]` void TextEditorWidget::tooltipOverrideRequested(TextEditor::TextEditorWidget *widget, const QPoint &globalPos, int position, bool *handled)

### `[signal]` void TextEditorWidget::tooltipRequested(const QPoint &globalPos, int position)

### QRegion TextEditorWidget::translatedLineRegion(int lineStart, int lineEnd) const

### `[virtual protected]` void TextEditorWidget::triggerPendingUpdates()

### `[virtual]` void TextEditorWidget::unCommentSelection()

### void TextEditorWidget::undo()

### void TextEditorWidget::unfold()

### void TextEditorWidget::unfoldAll()

### void TextEditorWidget::unindent()

### void TextEditorWidget::updateFoldingHighlight(const QPoint &pos)

### void TextEditorWidget::updateTextCodecLabel()

### void TextEditorWidget::uppercaseSelection()

### void TextEditorWidget::viewLineDown()

### void TextEditorWidget::viewLineUp()

### void TextEditorWidget::viewPageDown()

### void TextEditorWidget::viewPageUp()

### `[protected]` int TextEditorWidget::visibleFoldedBlockNumber() const

### int TextEditorWidget::visibleWrapColumn() const

See also setVisibleWrapColumn().

### void TextEditorWidget::zoomF(float delta)

### void TextEditorWidget::zoomReset()