java.lang.Object
org.gjt.sp.jedit.textarea.Selection
org.gjt.sp.jedit.textarea.Selection.Range
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Selection
An ordinary range selection.
- Since:
- jEdit 3.2pre1
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gjt.sp.jedit.textarea.Selection
Selection.Range, Selection.Rect
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getEnd
(JEditBuffer buffer, int line) Returns the end of the portion of the selection falling on the specified line.int
getStart
(JEditBuffer buffer, int line) Returns the beginning of the portion of the selection falling on the specified line.Methods inherited from class org.gjt.sp.jedit.textarea.Selection
clone, getEnd, getEndLine, getStart, getStartLine, overlaps, toString
-
Constructor Details
-
Range
public Range() -
Range
-
Range
public Range(int start, int end)
-
-
Method Details
-
getStart
Description copied from class:Selection
Returns the beginning of the portion of the selection falling on the specified line. Used to manipulate selection text on a line-by-line basis. -
getEnd
Description copied from class:Selection
Returns the end of the portion of the selection falling on the specified line. Used to manipulate selection text on a line-by-line basis.
-