Uses of Class
org.gjt.sp.jedit.Buffer
-
Packages that use Buffer Package Description org.gjt.sp.jedit This package contains jEdit 4's core classes.org.gjt.sp.jedit.bufferio Classes related to loading, saving, autosaving buffers.org.gjt.sp.jedit.bufferset Classes related to implementation of the BufferSets feature of jEdit.org.gjt.sp.jedit.gui Various GUI controls and dialog boxes.org.gjt.sp.jedit.io Virtual file system and multi-threaded I/O.org.gjt.sp.jedit.manager org.gjt.sp.jedit.msg EditBus messages.org.gjt.sp.jedit.print Printing.org.gjt.sp.jedit.search Search and replace classes.org.jedit.keymap Named sets of keyboard shortcuts -
-
Uses of Buffer in org.gjt.sp.jedit
Methods in org.gjt.sp.jedit that return Buffer Modifier and Type Method Description static BufferjEdit. _getBuffer(java.lang.String path)Deprecated.BufferEditPane. getBuffer()Returns the current buffer.static BufferjEdit. getBuffer(java.lang.String path)Deprecated.BufferView. 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 BufferjEdit. getFirstBuffer()Returns the first buffer.static BufferjEdit. getLastBuffer()Returns the last buffer.BufferBuffer. getNext()BufferBuffer. getPrev()static BufferEditServer. handleClient(boolean restore, boolean newView, boolean newPlainView, java.lang.String parent, java.lang.String[] args)static BufferjEdit. newFile(EditPane editPane)Creates a new `untitled' file.static BufferjEdit. newFile(EditPane editPane, java.lang.String dir)Creates a new `untitled' file.static BufferjEdit. newFile(View view)Creates a new `untitled' file.static BufferjEdit. newFile(View view, java.lang.String dir)Creates a new `untitled' file.static BufferjEdit. openFile(EditPane editPane, java.lang.String path)Opens a file.static BufferjEdit. openFile(EditPane editPane, java.lang.String parent, java.lang.String path, boolean newFile, java.util.Hashtable<java.lang.String,java.lang.Object> props)Opens a file.static BufferjEdit. openFile(View view, java.lang.String path)Opens a file.static BufferjEdit. openFile(View view, java.lang.String parent, java.lang.String path, boolean newFile, java.util.Hashtable<java.lang.String,java.lang.Object> props)Opens a file.static BufferjEdit. openFileAfterStartup(java.lang.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 BufferjEdit. openFiles(View view, java.lang.String parent, java.lang.String[] args)Opens the file names specified in the argument array.static BufferjEdit. openTemporary(View view, java.lang.String parent, java.lang.String path, boolean newFile)Opens a temporary buffer.static BufferjEdit. openTemporary(View view, java.lang.String parent, java.lang.String path, boolean newFile, boolean untitled)Opens a temporary buffer.static BufferjEdit. openTemporary(View view, java.lang.String parent, java.lang.String path, boolean newFile, java.util.Hashtable<java.lang.String,java.lang.Object> props)Opens a temporary buffer.static BufferjEdit. openTemporary(View view, java.lang.String parent, java.lang.String path, boolean newFile, java.util.Hashtable<java.lang.String,java.lang.Object> props, boolean untitled)Opens a temporary buffer.Methods in org.gjt.sp.jedit with parameters of type Buffer Modifier and Type Method Description static voidjEdit. _closeBuffer(View view, Buffer buffer)Closes the buffer, even if it has unsaved changes.static voidjEdit. _closeBuffer(View view, Buffer buffer, boolean doNotSave)Closes the buffer, even if it has unsaved changes.static java.io.ReaderMiscUtilities. autodetect(java.io.InputStream in, Buffer buffer)Tries to detect if the stream is gzipped, and if it has an encoding specified with an XML PI.voidEditPane. bufferAdded(Buffer buffer, int index)A buffer was added in the bufferSet.voidEditPane. bufferMoved(Buffer buffer, int oldIndex, int newIndex)A buffer was moved in the BufferSet.voidEditPane. bufferRemoved(Buffer buffer, int index)A buffer was removed from the bufferSet.static voidjEdit. closeBuffer(EditPane editPane, Buffer buffer)Close a buffer.static booleanjEdit. closeBuffer(View view, Buffer buffer)Closes a buffer.static voidjEdit. commitTemporary(Buffer buffer)Adds a temporary buffer to the buffer list.EditPaneView. goToBuffer(Buffer buffer)If this buffer is open in one of the view's edit panes, sets focus to that edit pane.static ViewjEdit. newView(View view, Buffer buffer)Creates a new view of a buffer.static ViewjEdit. newView(View view, Buffer buffer, boolean plainView)Creates a new view of a buffer.static ViewjEdit. newView(View view, Buffer buffer, View.ViewConfig config)Creates a new view.voidEditPane. setBuffer(Buffer buffer)Sets the current buffer.voidEditPane. setBuffer(Buffer buffer, boolean requestFocus)Sets the current buffer.voidView. setBuffer(Buffer buffer)Sets the current edit pane's buffer.voidBuffer. setNext(Buffer next)voidBuffer. setPrev(Buffer prev)voidView. setSplitConfig(Buffer buffer, java.lang.String splitConfig)sets the split configuration as per the splitConfig.EditPaneView. showBuffer(Buffer buffer)If this buffer is open in one of the view's edit panes, activates that edit pane.Constructors in org.gjt.sp.jedit with parameters of type Buffer Constructor Description Recorder(View view, Buffer buffer, boolean temporary) -
Uses of Buffer in org.gjt.sp.jedit.bufferio
Fields in org.gjt.sp.jedit.bufferio declared as Buffer Modifier and Type Field Description protected BufferBufferIORequest. bufferprotected BufferMarkersSaveRequest. bufferMethods in org.gjt.sp.jedit.bufferio with parameters of type Buffer Modifier and Type Method Description protected voidBufferIORequest. write(Buffer buffer, java.io.OutputStream out)Constructors in org.gjt.sp.jedit.bufferio with parameters of type Buffer Constructor Description BufferAutosaveRequest(View view, Buffer buffer, java.lang.Object session, VFS vfs, java.lang.String path)Creates a new buffer I/O request.BufferInsertRequest(View view, Buffer buffer, java.lang.Object session, VFS vfs, java.lang.String path)Creates a new buffer I/O request.BufferIORequest(View view, Buffer buffer, java.lang.Object session, VFS vfs, java.lang.String path)Creates a new buffer I/O request.BufferLoadRequest(View view, Buffer buffer, java.lang.Object session, VFS vfs, java.lang.String path, boolean untitled)Creates a new buffer I/O request.BufferSaveRequest(View view, Buffer buffer, java.lang.Object session, VFS vfs, java.lang.String path)Creates a new buffer I/O request.MarkersSaveRequest(View view, Buffer buffer, java.lang.Object session, VFS vfs, java.lang.String path)Creates a new I/O request for markers. -
Uses of Buffer in org.gjt.sp.jedit.bufferset
Methods in org.gjt.sp.jedit.bufferset that return Buffer Modifier and Type Method Description static BufferBufferSetManager. createUntitledBuffer()Create an untitled bufferBuffer[]BufferSet. getAllBuffers()Returns an array of all buffers in this bufferSet.BufferBufferSet. getBuffer(int index)Returns the Buffer at the given index.BufferBufferSet. getNextBuffer(int index)BufferBufferSet. getPreviousBuffer(int index)Methods in org.gjt.sp.jedit.bufferset that return types with arguments of type Buffer Modifier and Type Method Description java.util.Comparator<Buffer>BufferSet. getSorter()Methods in org.gjt.sp.jedit.bufferset with parameters of type Buffer Modifier and Type Method Description voidBufferSet. addBuffer(Buffer buffer)voidBufferSetManager. addBuffer(EditPane editPane, Buffer buffer)Add a buffer into the given editPane.voidBufferSetManager. addBuffer(View view, Buffer buffer)Add a buffer into the current editPane of the given view.voidBufferSet. addBufferAt(Buffer buffer, int position)voidBufferSetAdapter. bufferAdded(Buffer buffer, int index)voidBufferSetListener. bufferAdded(Buffer buffer, int index)A buffer was added in the bufferSet.voidBufferSetAdapter. bufferMoved(Buffer buffer, int oldIndex, int newIndex)voidBufferSetListener. bufferMoved(Buffer buffer, int oldIndex, int newIndex)A buffer was moved in the BufferSet.voidBufferSetAdapter. bufferRemoved(Buffer buffer, int index)voidBufferSetListener. bufferRemoved(Buffer buffer, int index)A buffer was removed from the bufferSet.intBufferSet.NameSorter. compare(Buffer o1, Buffer o2)intBufferSet.PathSorter. compare(Buffer o1, Buffer o2)intBufferSetManager. countBufferSets(Buffer buffer)Count the bufferSets in which the buffer is.java.util.Set<BufferSet>BufferSetManager. getOwners(Buffer buffer)intBufferSet. indexOf(Buffer buffer)voidBufferSetManager. removeBuffer(Buffer buffer)remove a buffer from all bufferSets.voidBufferSetManager. removeBuffer(EditPane editPane, Buffer buffer)Remove a buffer from the EditPane's bufferSet. -
Uses of Buffer in org.gjt.sp.jedit.gui
Methods in org.gjt.sp.jedit.gui with parameters of type Buffer Modifier and Type Method Description voidBufferSwitcher. updateStyle(Buffer buffer)Constructors in org.gjt.sp.jedit.gui with parameters of type Buffer Constructor Description BufferOptions(View view, Buffer buffer)GrabKeyDialog(java.awt.Dialog parent, GrabKeyDialog.KeyBinding binding, java.util.List<GrabKeyDialog.KeyBinding> allBindings, Buffer debugBuffer)Create and show a new modal dialog.GrabKeyDialog(java.awt.Frame parent, GrabKeyDialog.KeyBinding binding, java.util.List<GrabKeyDialog.KeyBinding> allBindings, Buffer debugBuffer)Create and show a new modal dialog.Constructor parameters in org.gjt.sp.jedit.gui with type arguments of type Buffer Constructor Description CloseDialog(View view, java.util.Collection<Buffer> buffers) -
Uses of Buffer in org.gjt.sp.jedit.io
Methods in org.gjt.sp.jedit.io with parameters of type Buffer Modifier and Type Method Description voidVFS. _finishTwoStageSave(java.lang.Object session, Buffer buffer, java.lang.String path, java.awt.Component comp)Called after a file has been saved and we use twoStageSave (first saving to another file).voidFileVFS. _saveComplete(java.lang.Object session, Buffer buffer, java.lang.String path, java.awt.Component comp)voidVFS. _saveComplete(java.lang.Object session, Buffer buffer, java.lang.String path, java.awt.Component comp)Called after a file has been saved.booleanFileVFS. insert(View view, Buffer buffer, java.lang.String path)booleanVFS. insert(View view, Buffer buffer, java.lang.String path)Inserts a file into the specified buffer.booleanVFS. load(View view, Buffer buffer, java.lang.String path, boolean untitled)Loads the specified buffer.booleanFileVFS. save(View view, Buffer buffer, java.lang.String path)booleanVFS. save(View view, Buffer buffer, java.lang.String path)Saves the specifies buffer. -
Uses of Buffer in org.gjt.sp.jedit.manager
Fields in org.gjt.sp.jedit.manager declared as Buffer Modifier and Type Field Description static Buffer[]BufferManagerImpl. EMPTY_BUFFER_ARRAYMethods in org.gjt.sp.jedit.manager that return Buffer Modifier and Type Method Description BufferBufferManager. getFirst()BufferBufferManagerImpl. getFirst()BufferBufferManagerImpl. getLast()Methods in org.gjt.sp.jedit.manager that return types with arguments of type Buffer Modifier and Type Method Description java.util.Optional<Buffer>BufferManagerImpl. _getBuffer(java.lang.String path)Returns the buffer with the specified path name.java.util.Optional<Buffer>BufferManager. getBuffer(java.lang.String path)java.util.Optional<Buffer>BufferManagerImpl. getBuffer(java.lang.String path)Returns the buffer with the specified path name.java.util.List<Buffer>BufferManager. getBuffers()java.util.List<Buffer>BufferManagerImpl. getBuffers()Returns an array of all open buffers from any View.java.util.List<Buffer>BufferManagerImpl. getBuffers(java.util.function.Predicate<Buffer> predicate)java.util.List<Buffer>BufferManager. getDirtyBuffers()java.util.List<Buffer>BufferManagerImpl. getDirtyBuffers()java.util.List<Buffer>BufferManager. getNonUntitledDirtyBuffers()java.util.List<Buffer>BufferManagerImpl. getNonUntitledDirtyBuffers()java.util.List<Buffer>BufferManager. getTitledBuffers()java.util.List<Buffer>BufferManagerImpl. getTitledBuffers()java.util.List<Buffer>BufferManager. getUntitledBuffers()java.util.List<Buffer>BufferManagerImpl. getUntitledBuffers()Methods in org.gjt.sp.jedit.manager with parameters of type Buffer Modifier and Type Method Description voidBufferManagerImpl. addBufferToList(Buffer buffer)voidBufferManagerImpl. removeBuffer(Buffer buffer)voidBufferManagerImpl. removeBufferFromList(Buffer buffer)voidBufferManagerImpl. updateBufferHash(Buffer buffer)To be used by jEdit class onlyvoidBufferManagerImpl. updatePosition(java.lang.String oldPath, Buffer buffer)If buffer sorting is enabled, this repositions the buffer.Method parameters in org.gjt.sp.jedit.manager with type arguments of type Buffer Modifier and Type Method Description voidBufferManager. forEach(java.util.function.Consumer<? super Buffer> action)voidBufferManagerImpl. forEach(java.util.function.Consumer<? super Buffer> action)Performs the given action for each buffer.java.util.List<Buffer>BufferManagerImpl. getBuffers(java.util.function.Predicate<Buffer> predicate) -
Uses of Buffer in org.gjt.sp.jedit.msg
Methods in org.gjt.sp.jedit.msg that return Buffer Modifier and Type Method Description BufferBufferChanging. getBuffer()BufferBufferUpdate. getBuffer()Returns the buffer involved.Constructors in org.gjt.sp.jedit.msg with parameters of type Buffer Constructor Description BufferChanging(EditPane editPane, Buffer newBuffer)BufferUpdate(Buffer buffer, View view, java.lang.Object what)Creates a new buffer update message. -
Uses of Buffer in org.gjt.sp.jedit.print
Methods in org.gjt.sp.jedit.print that return Buffer Modifier and Type Method Description BufferPrintPreviewModel. getBuffer()Returns the value of buffer.Methods in org.gjt.sp.jedit.print with parameters of type Buffer Modifier and Type Method Description static java.util.HashMap<java.lang.Integer,Range>BufferPrinter1_7. getCurrentPageRange(View view, Buffer buffer, javax.print.attribute.PrintRequestAttributeSet attributes)static java.util.HashMap<java.lang.Integer,Range>BufferPrinter1_7. getPageRanges(View view, Buffer buffer, javax.print.attribute.PrintRequestAttributeSet attributes)This is intended for use by classes that need to know the page ranges of the buffer.static voidBufferPrinter1_3. print(View view, Buffer buffer, boolean selection)Deprecated.static voidBufferPrinter1_4. print(View view, Buffer buffer, boolean selection)Deprecated.static voidBufferPrinter1_7. print(View view, Buffer buffer)voidPrintPreviewModel. setBuffer(Buffer buffer)Sets the value of buffer.Constructors in org.gjt.sp.jedit.print with parameters of type Buffer Constructor Description PrintPreview(View view, Buffer buffer, javax.print.PrintService printService, javax.print.attribute.PrintRequestAttributeSet attributes)PrintPreviewModel(View view, Buffer buffer, javax.print.PrintService printService, javax.print.attribute.PrintRequestAttributeSet attributes, java.util.HashMap<java.lang.Integer,Range> pageRanges) -
Uses of Buffer in org.gjt.sp.jedit.search
Fields in org.gjt.sp.jedit.search declared as Buffer Modifier and Type Field Description BufferHyperSearchResult. bufferMethods in org.gjt.sp.jedit.search that return Buffer Modifier and Type Method Description BufferHyperSearchFileNode. getBuffer(View view)BufferHyperSearchNode. getBuffer(View view)BufferHyperSearchResult. getBuffer(View view)Methods in org.gjt.sp.jedit.search with parameters of type Buffer Modifier and Type Method Description static booleanSearchAndReplace. find(View view, Buffer buffer, int start)Finds the next instance of the search string in the specified buffer.static booleanSearchAndReplace. find(View view, Buffer buffer, int start, boolean firstTime, boolean reverse)Finds the next instance of the search string in the specified buffer.static booleanSearchAndReplace. replace(View view, Buffer buffer, int start, int end)Replaces text in the specified range with the replacement string. -
Uses of Buffer in org.jedit.keymap
Methods in org.jedit.keymap with parameters of type Buffer Modifier and Type Method Description intEmacsUtil. getMark(Buffer buffer)java.lang.StringEmacsUtil. makeBufferPropertyName(Buffer theBuffer, java.lang.String prefix)voidEmacsUtil. setMark(Buffer buffer, int pos)
-