Uses of Interface
org.eclipse.jface.text.ITextSelection
Package
Description
Provides a framework for creating and manipulating text documents.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of ITextSelection in org.eclipse.jface.text
Modifier and TypeInterfaceDescriptioninterface
A rectangular selection in a text document.interface
This interface represents a textual selection that can be made of multiple discontinued selected ranges.Modifier and TypeClassDescriptionclass
Standard implementation ofIBlockTextSelection
.class
class
Standard implementation ofITextSelection
.Modifier and TypeMethodDescriptionstatic ITextSelection
TextSelection.emptySelection()
Returns the shared instance of the empty text selection.ITextViewerExtension9.getLastKnownSelection()
Returns the last known selection from a cache, without polling widget.TextViewer.getLastKnownSelection()
Modifier and TypeMethodDescriptionstatic IRegion[]
JFaceTextUtil.getCoveredRanges
(ITextViewer viewer, ITextSelection selection) Returns the text regions covered by the given selection in the given viewer.static boolean
JFaceTextUtil.isEmpty
(ITextViewer viewer, ITextSelection selection) Returnstrue
if the text covered byselection
does not contain any characters in the given viewer. -
Uses of ITextSelection in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionvoid
TextViewerDeleteLineTarget.deleteLine
(IDocument document, ITextSelection selection, int type, boolean copyToClipboard) Deletes the lines that intersect with the givenselection
.