# Uses of Interface
org.eclipse.ui.texteditor.ITextEditor

Packages that use ITextEditor
Package
Description
org.eclipse.debug.ui.actions
Provides a set of actions related to running and debugging applications.
org.eclipse.ui.editors.text
Provides a standard text editor and concrete document providers based `IFileBuffer` and others directly handling `IFile` and `IStorage` as editor input.
org.eclipse.ui.texteditor
Provides a framework for text editors obeying to the desktop rules.
org.eclipse.ui.texteditor.quickdiff
Provides interfaces to for the `org.eclipse.ui.editors.quickDiffReferenceProvider` extension point and adds an action to enable quick diff display for an editor.
org.eclipse.ui.texteditor.rulers
Provides interfaces and classes for the `org.eclipse.ui.workbench.texteditor.rulerColumns`.
org.eclipse.ui.texteditor.spelling
Partial infrastructure for spell checking in text editors.
org.eclipse.ui.texteditor.templates
Application programming interfaces for interaction with the Eclipse text editor template support.

## Uses of ITextEditor in org.eclipse.debug.ui.actions

Methods in org.eclipse.debug.ui.actions that return ITextEditor
Modifier and Type
Method
Description
`protected ITextEditor`
RulerBreakpointAction.`getEditor()`
Returns the editor this action was created for.
Methods in org.eclipse.debug.ui.actions with parameters of type ITextEditor
Modifier and Type
Method
Description
`protected IAction`
RulerEnableDisableBreakpointActionDelegate.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
`protected IAction`
RulerRunToLineActionDelegate.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
`protected IAction`
RulerToggleBreakpointActionDelegate.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
Constructors in org.eclipse.debug.ui.actions with parameters of type ITextEditor
Modifier
Constructor
Description
``
`RulerBreakpointAction(ITextEditor editor, IVerticalRulerInfo info)`
Constructs an action to work on breakpoints in the specified text editor with the specified vertical ruler information.

## Uses of ITextEditor in org.eclipse.ui.editors.text

Classes in org.eclipse.ui.editors.text that implement ITextEditor
Modifier and Type
Class
Description
`class`
`TextEditor`
The standard/default text editor.

## Uses of ITextEditor in org.eclipse.ui.texteditor

Classes in org.eclipse.ui.texteditor that implement ITextEditor
Modifier and Type
Class
Description
`class`
`AbstractDecoratedTextEditor`
An intermediate editor comprising functionality not present in the leaner `AbstractTextEditor`, but used in many heavy weight (and especially source editing) editors, such as line numbers, change ruler, overview ruler, print margins, current line highlighting, etc.
`class`
`AbstractTextEditor`
Abstract base implementation of a text editor.
`class`
`StatusTextEditor`
Capable of handling input elements that have an associated status with them.
Methods in org.eclipse.ui.texteditor that return ITextEditor
Modifier and Type
Method
Description
`protected ITextEditor`
MarkerRulerAction.`getTextEditor()`
Returns this action's text editor.
`protected ITextEditor`
TextEditorAction.`getTextEditor()`
Returns the action's text editor.
Methods in org.eclipse.ui.texteditor with parameters of type ITextEditor
Modifier and Type
Method
Description
`protected abstract IAction`
AbstractRulerActionDelegate.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
The factory method creating the underlying action.
`protected IAction`
BookmarkRulerAction.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
`protected IAction`
SelectRulerAction.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
`protected IAction`
TaskRulerAction.`createAction(ITextEditor editor, IVerticalRulerInfo rulerInfo)`
`protected final IAction`
BasicTextEditorActionContributor.`getAction(ITextEditor editor, String actionId)`
Returns the action registered with the given text editor.
`void`
ContentAssistAction.`setEditor(ITextEditor editor)`
`void`
GotoAnnotationAction.`setEditor(ITextEditor editor)`
`void`
MoveLinesAction.`setEditor(ITextEditor editor)`
`void`
SelectAnnotationRulerAction.`setEditor(ITextEditor editor)`
`void`
ShiftAction.`setEditor(ITextEditor editor)`
`void`
TextEditorAction.`setEditor(ITextEditor editor)`
Retargets this action to the given editor.
`void`
TextOperationAction.`setEditor(ITextEditor editor)`
Constructors in org.eclipse.ui.texteditor with parameters of type ITextEditor
Modifier
Constructor
Description
``
`AddMarkerAction(ResourceBundle bundle, String prefix, ITextEditor textEditor, String markerType, boolean askForLabel)`
Creates a new action for the given text editor.
``
`AddTaskAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates a new action for the given text editor.
``
`ChangeEncodingAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates a new action for the given text editor.
``
`ChangeEncodingAction(ITextEditor editor)`
Creates a new action for the given text editor.
``
`ContentAssistAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates and initializes the action for the given text editor.
``
`ConvertLineDelimitersAction(ResourceBundle bundle, String prefix, ITextEditor editor, String lineDelimiter)`
Deprecated.
``
`ConvertLineDelimitersAction(ITextEditor editor, String lineDelimiter)`
Deprecated.
``
`DeleteLineAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type)`
Creates a line deletion action.
``
`DeleteLineAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type, boolean copyToClipboard)`
Creates a line deletion action.
``
`DeleteLineAction(ITextEditor editor, int type, boolean copyToClipboard)`
Creates a line deletion action.
``
`GotoAnnotationAction(ResourceBundle bundle, String prefix, ITextEditor editor, boolean forward)`
Creates a new action for the given text editor.
``
`GotoAnnotationAction(ITextEditor editor, boolean forward)`
Creates a new action for the given text editor.
``
`GotoLineAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates a new action for the given text editor.
``
`GotoLineAction(ITextEditor editor)`
Creates a new action for the given text editor.
``
`InsertLineAction(ResourceBundle bundle, String prefix, ITextEditor textEditor, boolean above)`
Creates a new smart enter action.
``
`JoinLinesAction(ResourceBundle bundle, String prefix, ITextEditor editor, String joint)`
Creates a line joining action.
``
`MarkAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type)`
Constructor for MarkAction.
``
`MarkerRulerAction(ResourceBundle bundle, String prefix, IVerticalRuler ruler, ITextEditor editor, String markerType, boolean askForLabel)`
Deprecated.
use `MarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo, String, boolean)` instead
``
`MarkerRulerAction(ResourceBundle bundle, String prefix, ITextEditor editor, IVerticalRulerInfo ruler, String markerType, boolean askForLabel)`
Creates a new action for the given ruler and editor.
``
`MarkerRulerInfoAction(ResourceBundle bundle, String prefix, IVerticalRulerInfo ruler, ITextEditor editor, String markerType, boolean askForLabel)`
Deprecated.
use super class constructor instead
``
`MoveLinesAction(ResourceBundle bundle, String prefix, ITextEditor editor, ITextViewer textViewer, boolean upwards, boolean copy)`
Creates and initializes the action for the given text editor.
``
`RecenterAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates a new action for the given text editor.
``
`RevertToSavedAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates a new action for the given text editor.
``
`SaveAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Deprecated.
``
`SelectAnnotationRulerAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates a new action for the given ruler and editor.
``
`SelectMarkerRulerAction(ResourceBundle bundle, String prefix, IVerticalRuler ruler, ITextEditor editor)`
Deprecated.
As of 3.0, replaced by `SelectMarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo)`
``
`SelectMarkerRulerAction(ResourceBundle bundle, String prefix, ITextEditor editor, IVerticalRulerInfo ruler)`
Creates a new action for the given ruler and editor.
``
`SelectMarkerRulerInfoAction(ResourceBundle bundle, String prefix, IVerticalRulerInfo ruler, ITextEditor editor)`
Deprecated.
As of 2.1 replaced by `SelectMarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo)`
``
`ShiftAction(ResourceBundle bundle, String prefix, ITextEditor editor, int operationCode)`
Creates and initializes the action for the given text editor and operation code.
``
`ShowWhitespaceCharactersAction(ResourceBundle resourceBundle, String prefix, ITextEditor editor, IPreferenceStore store)`
Construct the action and initialize its state.
`protected`
`TextEditorAction(ResourceBundle bundle, String prefix, ITextEditor editor)`
Creates and initializes the action for the given text editor.
`protected`
`TextEditorAction(ResourceBundle bundle, String prefix, ITextEditor editor, int style)`
Creates and initializes the action for the given text editor.
``
`TextEditorSavable(ITextEditor textEditor)`
Creates a new savable for this text editor.
``
`TextOperationAction(ResourceBundle bundle, String prefix, ITextEditor editor, int operationCode)`
Creates and initializes the action for the given text editor and operation code.
``
`TextOperationAction(ResourceBundle bundle, String prefix, ITextEditor editor, int operationCode, boolean runsOnReadOnly)`
Creates and initializes the action for the given text editor and operation code.
``
`TextSelectionNavigationLocation(ITextEditor part, boolean initialize)`
Creates a new text selection navigation location.

## Uses of ITextEditor in org.eclipse.ui.texteditor.quickdiff

Methods in org.eclipse.ui.texteditor.quickdiff with parameters of type ITextEditor
Modifier and Type
Method
Description
`IAnnotationModel`
QuickDiff.`createQuickDiffAnnotationModel(ITextEditor editor, String id)`
Creates a new line differ annotation model with its reference provider set to the reference provider obtained by calling `getReferenceProviderOrDefault(editor, id)`.
`IQuickDiffReferenceProvider`
QuickDiff.`getReferenceProviderOrDefault(ITextEditor editor, String id)`
Returns the quick diff reference provider registered under `id`, or the default reference provider.
`void`
IQuickDiffReferenceProvider.`setActiveEditor(ITextEditor editor)`
Sets the active editor for the provider implementation.

## Uses of ITextEditor in org.eclipse.ui.texteditor.rulers

Methods in org.eclipse.ui.texteditor.rulers that return ITextEditor
Modifier and Type
Method
Description
`final ITextEditor`
AbstractContributedRulerColumn.`getEditor()`
`ITextEditor`
IContributedRulerColumn.`getEditor()`
Returns the editor targeted by this ruler instance.
Methods in org.eclipse.ui.texteditor.rulers with parameters of type ITextEditor
Modifier and Type
Method
Description
`IContributedRulerColumn`
RulerColumnDescriptor.`createColumn(ITextEditor editor)`
Creates a `IContributedRulerColumn` instance as described by the receiver.
`boolean`
RulerColumnDescriptor.`matchesEditor(ITextEditor editor)`
Returns `true` if this contribution matches the passed editor, `false` if not.
`final void`
AbstractContributedRulerColumn.`setEditor(ITextEditor editor)`
`void`
IContributedRulerColumn.`setEditor(ITextEditor editor)`
Sets the editor (called right after the extension was instantiated).

## Uses of ITextEditor in org.eclipse.ui.texteditor.spelling

Methods in org.eclipse.ui.texteditor.spelling with parameters of type ITextEditor
Modifier and Type
Method
Description
`static void`
SpellingProblem.`removeAllInActiveEditor(ITextEditor editor, String word)`
Deprecated, for removal: This API element is subject to removal in a future version.
As of 3.4, replaced by `SpellingProblem.removeAll(ISourceViewer, String)`

## Uses of ITextEditor in org.eclipse.ui.texteditor.templates

Constructors in org.eclipse.ui.texteditor.templates with parameters of type ITextEditor
Modifier
Constructor
Description
`protected`
`AbstractTemplatesPage(ITextEditor editor, ISourceViewer viewer)`
Creates a new templates page.