gnu.jemacs.swing
public class SwingBuffer extends Buffer
| Field Summary | |
|---|---|
| BufferContent | content |
| Caret | curPosition |
| static Style | defaultStyle |
| DefaultStyledDocument | doc |
| Style | inputStyle |
| StyledDocument | modelineDocument |
| static Style | redStyle |
| static StyleContext | styles |
| Constructor Summary | |
|---|---|
| SwingBuffer(String name) | |
| SwingBuffer(String name, BufferContent content) | |
| Method Summary | |
|---|---|
| int | createPos(int index, boolean isAfter) |
| Object | get(int index) |
| int | getDot() |
| int | getLength() |
| CharSeq | getStringContent() |
| void | insert(char ch, int count) |
| void | insert(int index, String string, Object style) |
| void | insert(String string, Object style) |
| void | insert(String string, Object style, int ipos) |
| void | insertFile(Reader in) |
| void | invoke(Runnable doRun) |
| int | lineStartOffset(int offset) |
| int | maxDot() |
| int | nextIndex(int ipos) |
| InPort | openReader(int start, int count) |
| void | redrawModeline() |
| void | removeAll() |
| void | removeChar(int count) |
| void | removePos(int ipos, int count) |
| void | removeRegion(int start, int end) |
| void | restorePointMark(long pointMark) |
| void | save(Writer out) |
| long | savePointMark() |
| long | scan(char target, int start, int end, int count, boolean allowQuit) |
| void | setDot(int i) |
| int | size() |
See Also: Buffer