java.lang.Object
org.gjt.sp.jedit.textarea.Selection
org.gjt.sp.jedit.textarea.Selection.Rect
org.gjt.sp.jedit.textarea.ColumnBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gjt.sp.jedit.textarea.Selection
Selection.Range, Selection.Rect
-
Constructor Summary
ConstructorDescriptionColumnBlock
(JEditBuffer buffer, int startLine, int endLine) ColumnBlock
(JEditBuffer buffer, int startLine, int startColumn, int endLine, int endColumn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
getColumnBlock
(int line, int offset) int
getContainingBlock
(int line, int offset) int
Returns the ending line number of this selection.getLines()
int
Returns the starting line number of this selection.int
isLineWithinThisBlock
(int line) searchChildren
(int line) void
setDirtyStatus
(boolean status) void
setLines
(Vector<ColumnBlockLine> lines) void
void
setTabSizeDirtyStatus
(boolean dirty, boolean recursive) void
setWidth
(int width) toString()
void
updateColumnBlockLineOffset
(int line, int offsetAdd, boolean increaseStartOffset) void
updateLineNo
(int line) Methods inherited from class org.gjt.sp.jedit.textarea.Selection.Rect
getEnd, getEndColumn, getStart, getStartColumn
-
Constructor Details
-
ColumnBlock
public ColumnBlock() -
ColumnBlock
-
ColumnBlock
-
-
Method Details
-
addChild
-
getChildren
- Specified by:
getChildren
in interfaceNode
-
getParent
-
setWidth
public void setWidth(int width) -
setParent
-
setLines
-
getLines
-
getStartLine
public int getStartLine()Description copied from class:Selection
Returns the starting line number of this selection.- Overrides:
getStartLine
in classSelection
-
getEndLine
public int getEndLine()Description copied from class:Selection
Returns the ending line number of this selection.- Overrides:
getEndLine
in classSelection
-
getColumnWidth
public int getColumnWidth() -
isLineWithinThisBlock
public int isLineWithinThisBlock(int line) -
getContainingBlock
-
getColumnBlock
-
searchChildren
-
toString
-
setDirtyStatus
public void setDirtyStatus(boolean status) -
updateLineNo
public void updateLineNo(int line) -
updateColumnBlockLineOffset
public void updateColumnBlockLineOffset(int line, int offsetAdd, boolean increaseStartOffset) -
setTabSizeDirtyStatus
public void setTabSizeDirtyStatus(boolean dirty, boolean recursive) -
areTabSizesDirty
public boolean areTabSizesDirty()
-