gnu.jemacs.swt

Class SwtBuffer

public class SwtBuffer extends Buffer

Constructor Summary
SwtBuffer(String name)
SwtBuffer(String name, BufferContent content)
Method Summary
intcreatePos(int index, boolean isAfter)
intforwardLine(int lines)
Objectget(int index)
StyledTextContentgetBufferContent()
intgetDot()
intgetLength()
FStringgetModelineFormat()
CharSeqgetStringContent()
voidinsert(String string, Object style, int ipos)
voidinsert(char ch, int count, Object style)
voidinsert(char ch, int count)
voidinsertFile(Reader in)
voidinvoke(Runnable doRun)
intlineStartOffset(int offset)
intmaxDot()
InPortopenReader(int start, int count)
voidredrawModeline()
voidremoveAll()
voidremoveChar(int count)
voidrestorePointMark(long pointMark)
voidsave(Writer out)
longsavePointMark()
longscan(char target, int start, int end, int count, boolean allowQuit)
voidsetDot(int dot)
intsize()

Constructor Detail

SwtBuffer

public SwtBuffer(String name)

SwtBuffer

public SwtBuffer(String name, BufferContent content)

Method Detail

createPos

public int createPos(int index, boolean isAfter)

See Also: AbstractSequence

forwardLine

public int forwardLine(int lines)

See Also: Buffer

get

public Object get(int index)

See Also: AbstractSequence

getBufferContent

public StyledTextContent getBufferContent()

getDot

public int getDot()

See Also: getDot

getLength

public int getLength()

See Also: getLength

getModelineFormat

public FString getModelineFormat()

getStringContent

public CharSeq getStringContent()

insert

public void insert(String string, Object style, int ipos)

See Also: Buffer

insert

public void insert(char ch, int count, Object style)

See Also: Buffer

insert

public void insert(char ch, int count)

See Also: Buffer

insertFile

public void insertFile(Reader in)

See Also: Buffer

invoke

public void invoke(Runnable doRun)

See Also: Buffer

lineStartOffset

public int lineStartOffset(int offset)

See Also: Buffer

maxDot

public int maxDot()

See Also: maxDot

openReader

public InPort openReader(int start, int count)

See Also: Buffer

redrawModeline

public void redrawModeline()

See Also: redrawModeline

removeAll

public void removeAll()

See Also: removeAll

removeChar

public void removeChar(int count)

See Also: Buffer

restorePointMark

public void restorePointMark(long pointMark)

See Also: Buffer

save

public void save(Writer out)

See Also: Buffer

savePointMark

public long savePointMark()

See Also: savePointMark

scan

public long scan(char target, int start, int end, int count, boolean allowQuit)

See Also: Buffer

setDot

public void setDot(int dot)

See Also: Buffer

size

public int size()

See Also: size