Uses of Interface
org.eclipse.jface.text.ITextSelection
Packages that use 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
Subinterfaces of ITextSelection in org.eclipse.jface.textModifier and TypeInterfaceDescriptioninterfaceA rectangular selection in a text document.interfaceThis interface represents a textual selection that can be made of multiple discontinued selected ranges.Classes in org.eclipse.jface.text that implement ITextSelectionModifier and TypeClassDescriptionclassStandard implementation ofIBlockTextSelection.classclassStandard implementation ofITextSelection.Methods in org.eclipse.jface.text that return ITextSelectionModifier and TypeMethodDescriptionstatic ITextSelectionTextSelection.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()Methods in org.eclipse.jface.text with parameters of type ITextSelectionModifier and TypeMethodDescriptionstatic IRegion[]JFaceTextUtil.getCoveredRanges(ITextViewer viewer, ITextSelection selection) Returns the text regions covered by the given selection in the given viewer.static booleanJFaceTextUtil.isEmpty(ITextViewer viewer, ITextSelection selection) Returnstrueif the text covered byselectiondoes 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 ITextSelectionModifier and TypeMethodDescriptionvoidTextViewerDeleteLineTarget.deleteLine(IDocument document, ITextSelection selection, int type, boolean copyToClipboard) Deletes the lines that intersect with the givenselection.