public final class Marker extends SeqPosition
ipos, sequence
Constructor and Description |
---|
Marker() |
Marker(Buffer buffer,
int offset,
boolean isAfter) |
Marker(Marker marker) |
Modifier and Type | Method and Description |
---|---|
void |
backwardChar(int i) |
int |
currentColumn() |
boolean |
equals(java.lang.Object other) |
java.lang.String |
evalLastSexp() |
void |
forwardChar(int i) |
int |
forwardLine(int lines) |
Buffer |
getBuffer() |
int |
getOffset() |
int |
getPoint() |
int |
hashCode() |
void |
insert(char[] data,
int off,
int len,
java.lang.Object style) |
void |
insert(java.lang.String string,
java.lang.Object style) |
void |
insertChar(int ch,
int count,
java.lang.Object style)
Insert count copies of ch at the current position.
|
boolean |
isBeginningOfLine()
Move to start of frame line COUNTs down.
|
boolean |
isEndOfLine() |
boolean |
isPoint()
Is this the special point marker?
|
int |
moveToColumn(int column,
boolean force) |
void |
removeChar(int count) |
static java.lang.String |
repeatChar(int ch,
int n) |
void |
set(Buffer newBuffer,
int newPosition) |
void |
setBuffer(Buffer buf) |
void |
setDot(int newPosition) |
java.lang.String |
toString() |
add, copy, finalize, fromEndIndex, getContainingSequenceSize, getNext, getNextKind, getNextTypeName, getNextTypeObject, getPos, getPrevious, gotoChildrenStart, gotoEnd, gotoNext, gotoPrevious, gotoStart, hasMoreElements, hasNext, hasPrevious, isAfter, make, next, nextElement, nextIndex, previous, previousIndex, release, remove, set, set, set, setNext, setPos, setPos, setPrevious, toInfo
public Marker()
public Marker(Marker marker)
public Marker(Buffer buffer, int offset, boolean isAfter)
public final boolean isPoint()
public java.lang.String evalLastSexp()
public int getOffset()
public int getPoint()
public Buffer getBuffer()
public void setBuffer(Buffer buf)
public void setDot(int newPosition)
public void set(Buffer newBuffer, int newPosition)
public void removeChar(int count)
public void insert(char[] data, int off, int len, java.lang.Object style)
public void insert(java.lang.String string, java.lang.Object style)
public static final java.lang.String repeatChar(int ch, int n)
public void insertChar(int ch, int count, java.lang.Object style)
public void forwardChar(int i)
public void backwardChar(int i)
public int currentColumn()
public int moveToColumn(int column, boolean force)
public int forwardLine(int lines)
public boolean isBeginningOfLine()
public boolean isEndOfLine()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class SeqPosition