Uses of Interface
org.eclipse.jface.text.ITextSelection
-
Packages that use ITextSelection Package Description org.eclipse.jface.text Provides a framework for creating and manipulating text documents.org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. -
-
Uses of ITextSelection in org.eclipse.jface.text
Subinterfaces of ITextSelection in org.eclipse.jface.text Modifier and Type Interface Description interface
IBlockTextSelection
A rectangular selection in a text document.interface
IMultiTextSelection
This interface represents a textual selection that can be made of multiple discontinued selected ranges.Classes in org.eclipse.jface.text that implement ITextSelection Modifier and Type Class Description class
BlockTextSelection
Standard implementation ofIBlockTextSelection
.class
MultiTextSelection
class
TextSelection
Standard implementation ofITextSelection
.Methods in org.eclipse.jface.text that return ITextSelection Modifier and Type Method Description static ITextSelection
TextSelection. emptySelection()
Returns the shared instance of the empty text selection.ITextSelection
ITextViewerExtension9. getLastKnownSelection()
Returns the last known selection from a cache, without polling widget.ITextSelection
TextViewer. getLastKnownSelection()
Methods in org.eclipse.jface.text with parameters of type ITextSelection Modifier and Type Method Description static 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
Methods in org.eclipse.ui.texteditor with parameters of type ITextSelection Modifier and Type Method Description void
TextViewerDeleteLineTarget. deleteLine(IDocument document, ITextSelection selection, int type, boolean copyToClipboard)
Deletes the lines that intersect with the givenselection
.
-