public class WrapElementIterator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Document |
myDocument |
protected java.lang.CharSequence |
myText |
Constructor and Description |
---|
WrapElementIterator(EditorEx editor,
int startOffset,
int endOffset) |
Modifier and Type | Method and Description |
---|---|
void |
advance() |
boolean |
atEnd() |
int |
getCodePoint() |
FoldRegion |
getCurrentFold() |
int |
getElementEndOffset() |
int |
getElementStartOffset() |
int |
getFontStyle() |
int |
getLogicalLine() |
boolean |
isFoldRegion() |
boolean |
isLineBreak() |
boolean |
isWhitespace() |
boolean |
nextIsFoldRegion() |
void |
retreat(int offset)
Offset should be the one returned previously from
getElementStartOffset() , otherwise behaviour is unspecified. |
protected final Document myDocument
protected final java.lang.CharSequence myText
public WrapElementIterator(EditorEx editor, int startOffset, int endOffset)
public boolean atEnd()
public void advance()
public void retreat(int offset)
getElementStartOffset()
, otherwise behaviour is unspecified.public int getElementStartOffset()
public int getElementEndOffset()
public boolean isLineBreak()
public FoldRegion getCurrentFold()
public boolean isFoldRegion()
public int getCodePoint()
public boolean isWhitespace()
public int getLogicalLine()
public boolean nextIsFoldRegion()
public int getFontStyle()