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
-
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
getEndColumn
(JEditBuffer buffer) int
getStart
(JEditBuffer buffer, int line) Returns the beginning of the portion of the selection falling on the specified line.int
getStartColumn
(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: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.
-