Uses of Class
org.gjt.sp.jedit.Buffer
Package
Description
-
Uses of Buffer in org.gjt.sp.jedit
Modifier and TypeMethodDescriptionstatic Buffer
jEdit._getBuffer
(String path) Deprecated.EditPane.getBuffer()
Returns the current buffer.static Buffer
Deprecated.View.getBuffer()
Returns the current edit pane's buffer.static Buffer[]
jEdit.getBuffers()
Deprecated.Buffer[]
View.getBuffers()
Returns all Buffers opened in this View, Sorted according to View options.static Buffer
jEdit.getFirstBuffer()
Returns the first buffer.static Buffer
jEdit.getLastBuffer()
Returns the last buffer.Buffer.getNext()
Buffer.getPrev()
static Buffer
EditServer.handleClient
(boolean restore, boolean newView, boolean newPlainView, String parent, String[] args) static Buffer
Creates a new `untitled' file.static Buffer
Creates a new `untitled' file.static Buffer
Creates a new `untitled' file.static Buffer
Creates a new `untitled' file.static Buffer
Opens a file.static Buffer
jEdit.openFile
(EditPane editPane, String parent, String path, boolean newFile, Hashtable<String, Object> props) Opens a file.static Buffer
Opens a file.static Buffer
jEdit.openFile
(View view, String parent, String path, boolean newFile, Hashtable<String, Object> props) Opens a file.static Buffer
jEdit.openFileAfterStartup
(String path) Opens a file, either immediately if the application is finished starting up, or after the first view has been created if not.static Buffer
Opens the file names specified in the argument array.static Buffer
jEdit.openTemporary
(View view, String parent, String path, boolean newFile) Opens a temporary buffer.static Buffer
jEdit.openTemporary
(View view, String parent, String path, boolean newFile, boolean untitled) Opens a temporary buffer.static Buffer
jEdit.openTemporary
(View view, String parent, String path, boolean newFile, Hashtable<String, Object> props) Opens a temporary buffer.static Buffer
jEdit.openTemporary
(View view, String parent, String path, boolean newFile, Hashtable<String, Object> props, boolean untitled) Opens a temporary buffer.Modifier and TypeMethodDescriptionstatic void
jEdit._closeBuffer
(View view, Buffer buffer) Closes the buffer, even if it has unsaved changes.static void
jEdit._closeBuffer
(View view, Buffer buffer, boolean doNotSave) Closes the buffer, even if it has unsaved changes.static Reader
MiscUtilities.autodetect
(InputStream in, Buffer buffer) Tries to detect if the stream is gzipped, and if it has an encoding specified with an XML PI.void
EditPane.bufferAdded
(Buffer buffer, int index) A buffer was added in the bufferSet.void
EditPane.bufferMoved
(Buffer buffer, int oldIndex, int newIndex) A buffer was moved in the BufferSet.void
EditPane.bufferRemoved
(Buffer buffer, int index) A buffer was removed from the bufferSet.static void
jEdit.closeBuffer
(EditPane editPane, Buffer buffer) Close a buffer.static boolean
jEdit.closeBuffer
(View view, Buffer buffer) Closes a buffer.static void
jEdit.commitTemporary
(Buffer buffer) Adds a temporary buffer to the buffer list.View.goToBuffer
(Buffer buffer) If this buffer is open in one of the view's edit panes, sets focus to that edit pane.static View
Creates a new view of a buffer.static View
Creates a new view of a buffer.static View
jEdit.newView
(View view, Buffer buffer, View.ViewConfig config) Creates a new view.void
Sets the current buffer.void
Sets the current buffer.void
Sets the current edit pane's buffer.void
void
void
View.setSplitConfig
(Buffer buffer, String splitConfig) sets the split configuration as per the splitConfig.View.showBuffer
(Buffer buffer) If this buffer is open in one of the view's edit panes, activates that edit pane. -
Uses of Buffer in org.gjt.sp.jedit.bufferio
Modifier and TypeFieldDescriptionprotected final Buffer
BufferIORequest.buffer
protected Buffer
MarkersSaveRequest.buffer
Modifier and TypeMethodDescriptionprotected void
BufferIORequest.write
(Buffer buffer, OutputStream out) ModifierConstructorDescriptionCreates a new buffer I/O request.Creates a new buffer I/O request.protected
Creates a new buffer I/O request.Creates a new buffer I/O request.Creates a new buffer I/O request.Creates a new I/O request for markers. -
Uses of Buffer in org.gjt.sp.jedit.bufferset
Modifier and TypeMethodDescriptionstatic Buffer
BufferSetManager.createUntitledBuffer()
Create an untitled bufferBuffer[]
BufferSet.getAllBuffers()
Returns an array of all buffers in this bufferSet.BufferSet.getBuffer
(int index) Returns the Buffer at the given index.BufferSet.getNextBuffer
(int index) BufferSet.getPreviousBuffer
(int index) Modifier and TypeMethodDescriptionvoid
void
Add a buffer into the given editPane.void
Add a buffer into the current editPane of the given view.void
BufferSet.addBufferAt
(Buffer buffer, int position) void
BufferSetAdapter.bufferAdded
(Buffer buffer, int index) void
BufferSetListener.bufferAdded
(Buffer buffer, int index) A buffer was added in the bufferSet.void
BufferSetAdapter.bufferMoved
(Buffer buffer, int oldIndex, int newIndex) void
BufferSetListener.bufferMoved
(Buffer buffer, int oldIndex, int newIndex) A buffer was moved in the BufferSet.void
BufferSetAdapter.bufferRemoved
(Buffer buffer, int index) void
BufferSetListener.bufferRemoved
(Buffer buffer, int index) A buffer was removed from the bufferSet.int
int
int
BufferSetManager.countBufferSets
(Buffer buffer) Count the bufferSets in which the buffer is.int
void
BufferSetManager.removeBuffer
(Buffer buffer) remove a buffer from all bufferSets.void
BufferSetManager.removeBuffer
(EditPane editPane, Buffer buffer) Remove a buffer from the EditPane's bufferSet. -
Uses of Buffer in org.gjt.sp.jedit.gui
ModifierConstructorDescriptionBufferOptions
(View view, Buffer buffer) GrabKeyDialog
(Dialog parent, GrabKeyDialog.KeyBinding binding, List<GrabKeyDialog.KeyBinding> allBindings, Buffer debugBuffer) Create and show a new modal dialog.GrabKeyDialog
(Frame parent, GrabKeyDialog.KeyBinding binding, List<GrabKeyDialog.KeyBinding> allBindings, Buffer debugBuffer) Create and show a new modal dialog. -
Uses of Buffer in org.gjt.sp.jedit.io
Modifier and TypeMethodDescriptionvoid
VFS._finishTwoStageSave
(Object session, Buffer buffer, String path, Component comp) Called after a file has been saved and we use twoStageSave (first saving to another file).void
FileVFS._saveComplete
(Object session, Buffer buffer, String path, Component comp) void
VFS._saveComplete
(Object session, Buffer buffer, String path, Component comp) Called after a file has been saved.boolean
boolean
Inserts a file into the specified buffer.boolean
Loads the specified buffer.boolean
boolean
Saves the specifies buffer. -
Uses of Buffer in org.gjt.sp.jedit.msg
Modifier and TypeMethodDescriptionBufferChanging.getBuffer()
BufferUpdate.getBuffer()
Returns the buffer involved.ModifierConstructorDescriptionBufferChanging
(EditPane editPane, Buffer newBuffer) BufferUpdate
(Buffer buffer, View view, Object what) Creates a new buffer update message. -
Uses of Buffer in org.gjt.sp.jedit.print
Modifier and TypeMethodDescriptionBufferPrinter1_7.getCurrentPageRange
(View view, Buffer buffer, PrintRequestAttributeSet attributes) BufferPrinter1_7.getPageRanges
(View view, Buffer buffer, PrintRequestAttributeSet attributes) This is intended for use by classes that need to know the page ranges of the buffer.static void
Deprecated.static void
Deprecated.static void
void
Sets the value of buffer.ModifierConstructorDescriptionPrintPreview
(View view, Buffer buffer, PrintService printService, PrintRequestAttributeSet attributes) PrintPreviewModel
(View view, Buffer buffer, PrintService printService, PrintRequestAttributeSet attributes, HashMap<Integer, Range> pageRanges) -
Uses of Buffer in org.gjt.sp.jedit.search
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionstatic boolean
Finds the next instance of the search string in the specified buffer.static boolean
Finds the next instance of the search string in the specified buffer.static boolean
Replaces text in the specified range with the replacement string. -
Uses of Buffer in org.jedit.keymap