Package org.gjt.sp.jedit.textarea
Class Selection.Range
- java.lang.Object
-
- org.gjt.sp.jedit.textarea.Selection
-
- org.gjt.sp.jedit.textarea.Selection.Range
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.gjt.sp.jedit.textarea.Selection
Selection.Range, Selection.Rect
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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 Detail
-
Range
public Range()
-
Range
public Range(Selection sel)
-
Range
public Range(int start, int end)
-
-
Method Detail
-
getStart
public int getStart(JEditBuffer buffer, int line)
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
public int getEnd(JEditBuffer buffer, int line)
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.
-
-