java.lang.Object
org.gjt.sp.jedit.textarea.Selection
org.gjt.sp.jedit.textarea.Selection.Rect
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ColumnBlock
- Enclosing class:
Selection
A rectangular 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetEnd(JEditBuffer buffer, int line) Returns the end of the portion of the selection falling on the specified line.intgetEndColumn(JEditBuffer buffer) intgetStart(JEditBuffer buffer, int line) Returns the beginning of the portion of the selection falling on the specified line.intgetStartColumn(JEditBuffer buffer) Methods inherited from class org.gjt.sp.jedit.textarea.Selection
clone, getEnd, getEndLine, getStart, getStartLine, overlaps, toString
-
Constructor Details
-
Rect
public Rect() -
Rect
-
Rect
public Rect(int start, int end) -
Rect
public Rect(int startLine, int start, int endLine, int end) -
Rect
-
-
Method Details
-
getStartColumn
-
getEndColumn
-
getStart
Description copied from class:SelectionReturns 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:SelectionReturns the end of the portion of the selection falling on the specified line. Used to manipulate selection text on a line-by-line basis.
-