Method Summary |
|
public void | acquire() |
final public void | addEdit(UndoableEdit edit) |
final public void | addUndoBoundary() |
final public void | appendUndoFold(Editor editor) |
public boolean | attempt() |
public boolean | attempt(long msecs) |
public synchronized void | autosave() |
public CompoundEdit | beginCompoundEdit() |
final public boolean | canBeRestored() |
public boolean | canRedo() |
public boolean | canUndo() |
public void | changeFile(File f) |
public void | changeMode(Mode newMode) |
final public void | checkCVS() |
public static Buffer | createBuffer(File file) |
protected static Buffer | createBuffer(File file, File cache, String listing) |
public void | deleteAutosaveFile() |
public void | dispose() |
public void | empty() |
public void | endCompoundEdit(CompoundEdit compoundEdit) |
protected void | enforceOutputLimit(Property property) |
protected void | finalize() |
public Position | findOriginal(int lineNumber, int offset) Returns position in buffer based on original line number. |
public int | getAbsoluteOffset(Position pos) |
final public BackgroundProcess | getBackgroundProcess() |
public boolean | getBooleanProperty(Property property) |
final public CVSEntry | getCVSEntry() |
final public File | getCache() |
final public int | getCol(Position pos) |
final public int | getCol(Line line, int offset) |
final public static int | getCol(Line line, int offset, int tabWidth) |
final public String | getCommentEnd() |
final public String | getCommentStart() |
public File | getCompletionDirectory() |
final public Compression | getCompression() |
public FastStringBuffer | getCorrectIndentationString(int indent) |
public File | getCurrentDirectory() |
public Cursor | getDefaultCursor() |
public Cursor | getDefaultCursor(Position pos) |
public Mode | getDefaultMode() |
public int | getDisplayHeight() |
public int | getDisplayWidth() |
public Expansion | getExpansion(Position dot) |
public String | getFileNameForDisplay() |
final public int | getFileType() |
final public Formatter | getFormatter() |
public Icon | getIcon() |
final public int | getIndentSize() |
public int | getIndentation(Line line) |
public Position | getInitialDotPos() |
public View | getInitialView() |
public int | getIntegerProperty(Property property) |
final public KeyMap | getKeyMapForMode() |
final public long | getLastActivated() |
final public long | getLastModified() |
final public View | getLastView() |
public Line | getLine(int lineNumber) |
final public int | getLineCount() |
final public String | getListing() |
public int | getMaximumColumns() |
final public int | getModCount() |
final public Buffer | getParentBuffer() |
public Position | getPosition(int goal) |
public Buffer | getPrimary() |
final public PropertyList | getProperties() |
public Buffer | getSecondary() |
public float | getSplit() |
public String | getStatusText(Editor editor) |
public String | getStringProperty(Property property) |
final public int | getTabWidth() |
public List | getTags(boolean update) |
public synchronized String | getText() |
public String | getTitle() |
final public UndoManager | getUndoManager() |
final public boolean | getUseTabs() |
public int | getY(Line line) |
final public synchronized void | incrementModCount() |
public synchronized void | initialize() |
protected void | initializeUndo() |
public synchronized boolean | initialized() |
public void | insertChars(Position pos, String s) |
public void | insertLineSeparator(Position pos) |
public void | insertString(Position pos, String s) |
public void | invalidate() |
final public synchronized boolean | isBusy() |
public boolean | isEmpty() |
final public boolean | isInUse() |
final public boolean | isKeyword(String s) |
final public boolean | isLocked() |
public boolean | isModified() |
final public boolean | isNewFile() |
public boolean | isPaired() |
public boolean | isPrimary() |
public boolean | isReadOnly() |
public boolean | isSecondary() |
public boolean | isTaggable() |
public boolean | isTransient() |
final public boolean | isUntitled() |
public boolean | isVisible() |
final public boolean | isWriteLocked() |
public synchronized void | kill() |
public int | load() |
protected void | loadFile(File toBeLoaded) |
public synchronized boolean | lock() |
final public void | lockRead() |
final public void | lockWrite() |
public void | modified() |
public boolean | needsParsing() |
final public boolean | needsRenumbering() |
final public void | needsRenumbering(boolean b) |
public static Buffer | precreateBuffer(File file) |
public void | promote() |
public void | redo() |
public synchronized void | release() |
public synchronized void | relink() |
public void | reload() |
boolean | removeProperty(Property property) |
public void | removeTrailingWhitespace() |
final public void | renumber() |
protected void | renumberOriginal() |
final public void | repaint() |
public void | resetRedo() |
public void | resetUndo() |
public void | restoreView(Editor editor) |
public boolean | save() |
public void | saveAs(File destination) |
public void | saveCopy(File destination) |
public void | saveProperties() |
public boolean | saveToCache() |
public void | saveView(Editor editor) |
protected View | saveViewInternal(Editor editor) |
public void | saved() |
final public void | setBackgroundProcess(BackgroundProcess backgroundProcess) |
final public synchronized void | setBusy(boolean b) |
final public void | setCache(File file) |
final public void | setCompression(Compression compression) |
public void | setDefaultCursor() |
public void | setFirstLine(Line line) |
final public void | setFormatter(Formatter formatter) |
final public void | setIndentSize(int indentSize) |
public void | setIndentation(Line line, int indent) |
public void | setInitialDotPos(int lineNumber, int offset) |
public synchronized void | setInitialized(boolean b) |
final public void | setLastActivated(long l) |
final public void | setLastModified(long lastModified) |
final public void | setLastView(View view) |
final public void | setListing(String s) |
final public synchronized void | setModCount(int count) |
final public void | setModCountWhenLastSaved(int count) |
final public void | setMode(Mode mode) |
protected void | setModeFromFilename(String filename) |
final public void | setNeedsParsing(boolean b) |
final public void | setParentBuffer(Buffer b) |
public void | setProperty(Property property, Object value) |
public void | setProperty(Property property, boolean value) |
public void | setProperty(Property property, int value) |
boolean | setPropertyFromString(Property property, String value) |
public void | setTabWidth(int tabWidth) |
protected void | setText(String text) |
final public void | setTitle(String s) |
final public void | setTransient(boolean b) |
final public void | setUnsplitOnClose(boolean b) |
public void | setWaitCursor() |
final public boolean | supportsUndo() |
public String | toString() |
public void | undo() |
public synchronized void | unlock() |
final public void | unlockRead() |
final public void | unlockWrite() |
public void | unmodified() |
public boolean | unsplitOnClose() |
public boolean | validateMaximumColumns() |
public void | windowClosing() |