Interface IMultiTextSelection
- All Superinterfaces:
ISelection, ITextSelection
- All Known Implementing Classes:
BlockTextSelection, MultiTextSelection, TextSelection
This interface represents a textual selection that can be made of multiple discontinued selected
ranges.
- Since:
- 3.19
-
Method Summary
Modifier and TypeMethodDescriptionIRegion[]Returns a non-empty array containing the selected text range for each line covered by the selection.Methods inherited from interface ISelection
isEmptyMethods inherited from interface ITextSelection
getEndLine, getLength, getOffset, getStartLine, getText
-
Method Details
-
getRegions
IRegion[] getRegions()Returns a non-empty array containing the selected text range for each line covered by the selection.- Returns:
- an array containing a the covered text range for each line covered by the receiver
-