Package | Description |
---|---|
org.gjt.sp.jedit |
This package contains jEdit 4's core classes.
|
org.gjt.sp.jedit.browser |
jEdit's file system browser.
|
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.gui.statusbar |
Widget Factory classes for Status Bar Widgets
|
org.gjt.sp.jedit.io |
Virtual file system and multi-threaded I/O.
|
org.gjt.sp.jedit.msg |
EditBus messages.
|
org.gjt.sp.jedit.print |
Printing.
|
org.gjt.sp.jedit.search |
Search and replace classes.
|
org.gjt.sp.jedit.textarea |
Classes related to jEdit's TextArea.
|
org.gjt.sp.jedit.visitors |
Visitor classes for EditPanes, Views, and Text Areas.
|
org.jedit.core |
Core jEdit classes
|
Modifier and Type | Method and Description |
---|---|
static View |
jEdit.getActiveView()
Returns the currently focused view.
|
static View |
jEdit.getActiveViewInternal()
Returns the internal active view, which might be null.
|
static View |
jEdit.getFirstView()
Returns the first view.
|
static View |
jEdit.getLastView()
Returns the last view.
|
View |
View.getNext()
Returns the next view in the list.
|
View |
View.getPrev()
Returns the previous view in the list.
|
View |
EditPane.getView()
Returns the view containing this edit pane.
|
static View |
GUIUtilities.getView(java.awt.Component comp)
Finds the view parent of the specified component.
|
static View[] |
jEdit.getViews()
Returns an array of all open views.
|
static View |
PerspectiveManager.loadPerspective(boolean restoreFiles) |
static View |
jEdit.newView(View view)
Creates a new view.
|
static View |
jEdit.newView(View view,
Buffer buffer)
Creates a new view of a buffer.
|
static View |
jEdit.newView(View view,
Buffer buffer,
boolean plainView)
Creates a new view of a buffer.
|
static View |
jEdit.newView(View view,
Buffer buffer,
View.ViewConfig config)
Creates a new view.
|
Modifier and Type | Method and Description |
---|---|
static 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 java.lang.Object |
BeanShell._eval(View view,
NameSpace namespace,
java.lang.String command)
Evaluates the specified BeanShell expression.
|
static void |
BeanShell._runScript(View view,
java.lang.String path,
java.io.Reader in,
boolean ownNamespace)
Runs a BeanShell script.
|
static void |
BeanShell._runScript(View view,
java.lang.String path,
java.io.Reader in,
NameSpace namespace)
Runs a BeanShell script.
|
void |
View.adjust(View parent,
View.ViewConfig config) |
static void |
jEdit.checkBufferStatus(View view)
Checks each buffer's status on disk and shows the dialog box
informing the user that buffers changed on disk, if necessary.
|
static void |
jEdit.checkBufferStatus(View view,
boolean currentBuffer)
Checks buffer status on disk and shows the dialog box
informing the user that buffers changed on disk, if necessary.
|
int |
Buffer.checkFileStatus(View view)
Check if the buffer has changed on disk.
|
static boolean |
jEdit.closeAllBuffers(View view)
Closes all open buffers.
|
static boolean |
jEdit.closeAllBuffers(View view,
boolean isExiting)
Closes all open buffers.
|
static boolean |
jEdit.closeBuffer(View view,
Buffer buffer)
Closes a buffer.
|
static void |
jEdit.closeView(View view)
Closes a view.
|
static java.lang.Object |
BeanShell.eval(View view,
NameSpace namespace,
java.lang.String command)
Evaluates the specified BeanShell expression.
|
static void |
BeanShell.evalSelection(View view,
JEditTextArea textArea)
Evaluates the text selected in the specified text area.
|
static void |
jEdit.exit(View view,
boolean reallyExit)
Exits cleanly from jEdit, prompting the user if any unsaved files
should be saved first.
|
static boolean |
Abbrevs.expandAbbrev(View view,
boolean add)
Expands the abbrev at the caret position in the specified
view.
|
boolean |
Buffer.insertFile(View view,
java.lang.String path)
Loads a file from disk, and inserts it into this buffer.
|
void |
BeanShellAction.invoke(View view) |
abstract void |
EditAction.invoke(View view)
Invokes the action.
|
void |
Macros.Macro.invoke(View view) |
boolean |
Buffer.load(View view,
boolean reload)
Loads the buffer from disk.
|
static Buffer |
jEdit.newFile(View view)
Creates a new `untitled' file.
|
static Buffer |
jEdit.newFile(View view,
java.lang.String dir)
Creates a new `untitled' file.
|
static View |
jEdit.newView(View view)
Creates a new view.
|
static View |
jEdit.newView(View view,
Buffer buffer)
Creates a new view of a buffer.
|
static View |
jEdit.newView(View view,
Buffer buffer,
boolean plainView)
Creates a new view of a buffer.
|
static View |
jEdit.newView(View view,
Buffer buffer,
View.ViewConfig config)
Creates a new view.
|
static Buffer |
jEdit.openFile(View view,
java.lang.String path)
Opens a file.
|
static Buffer |
jEdit.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 Buffer |
jEdit.openFiles(View view,
java.lang.String parent,
java.lang.String[] args)
Opens the file names specified in the argument array.
|
static Buffer |
jEdit.openTemporary(View view,
java.lang.String parent,
java.lang.String path,
boolean newFile)
Opens a temporary buffer.
|
static Buffer |
jEdit.openTemporary(View view,
java.lang.String parent,
java.lang.String path,
boolean newFile,
boolean untitled)
Opens a temporary buffer.
|
static Buffer |
jEdit.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 Buffer |
jEdit.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.
|
static void |
Macros.recordMacro(View view)
Starts recording a macro.
|
static void |
Macros.recordTemporaryMacro(View view)
Starts recording a temporary macro.
|
void |
Buffer.reload(View view)
Reloads the buffer from disk, asking for confirmation if the buffer
has unsaved changes.
|
static void |
jEdit.reloadAllBuffers(View view,
boolean confirm)
Reloads all open buffers.
|
static java.lang.Object |
BeanShell.runCachedBlock(BshMethod method,
View view,
NameSpace namespace)
Runs a cached block of code in the specified namespace.
|
abstract void |
Macros.Handler.runMacro(View view,
Macros.Macro macro)
Runs the specified macro.
|
void |
Macros.Handler.runMacro(View view,
Macros.Macro macro,
boolean ownNamespace)
Runs the specified macro.
|
static void |
Macros.runScript(View view,
java.lang.String path,
boolean ignoreUnknown)
Runs the specified script.
|
static void |
BeanShell.runScript(View view,
java.lang.String path,
java.io.Reader in,
boolean ownNamespace)
Runs a BeanShell script.
|
static void |
BeanShell.runScript(View view,
java.lang.String path,
java.io.Reader in,
NameSpace namespace)
Runs a BeanShell script.
|
static void |
Macros.runTemporaryMacro(View view)
Runs the temporary macro.
|
boolean |
Buffer.save(View view,
java.lang.String path)
Saves this buffer to the specified path name, or the current path
name if it's null.
|
boolean |
Buffer.save(View view,
java.lang.String path,
boolean rename)
Saves this buffer to the specified path name, or the current path
name if it's null.
|
boolean |
Buffer.save(View view,
java.lang.String path,
boolean rename,
boolean disableFileStatusCheck)
Saves this buffer to the specified path name, or the current path
name if it's null.
|
static void |
jEdit.saveAllBuffers(View view)
Saves all open buffers.
|
static void |
jEdit.saveAllBuffers(View view,
boolean confirm)
Saves all open buffers.
|
boolean |
Buffer.saveAs(View view,
boolean rename)
Prompts the user for a file to save this buffer to.
|
static void |
BeanShell.showEvaluateDialog(View view)
Prompts for a BeanShell expression to evaluate.
|
static void |
BeanShell.showEvaluateLinesDialog(View view)
Evaluates the specified script for each selected line.
|
static void |
jEdit.showMemoryDialog(View view)
Performs garbage collection and displays a dialog box showing
memory status.
|
static void |
Macros.showRunScriptDialog(View view)
Prompts for one or more files to run as macros
|
static java.lang.String[] |
GUIUtilities.showVFSFileDialog(java.awt.Dialog parent,
View view,
java.lang.String path,
int type,
boolean multipleSelection)
Displays a VFS file selection dialog box.
|
static java.lang.String[] |
GUIUtilities.showVFSFileDialog(java.awt.Frame parent,
View view,
java.lang.String path,
int type,
boolean multipleSelection)
Displays a VFS file selection dialog box.
|
static java.lang.String[] |
GUIUtilities.showVFSFileDialog(View view,
java.lang.String path,
int type,
boolean multipleSelection)
Displays a VFS file selection dialog box.
|
static void |
Macros.stopRecording(View view)
Stops a recording currently in progress.
|
void |
Buffer.toggleAutoIndent(View view)
Toggles automatic indentation on and off.
|
void |
Buffer.toggleLineSeparator(View view)
Toggles the line separator between the three available settings.
|
void |
Buffer.toggleWordWrap(View view)
Toggles word wrap between the three available modes.
|
boolean |
Buffer.updateMarkersFile(View view)
Save the markers file, or delete it when there are mo markers left
Handling markers is now independent from saving the buffer.
|
Constructor and Description |
---|
Recorder(View view,
Buffer buffer,
boolean temporary) |
Modifier and Type | Method and Description |
---|---|
View |
VFSBrowser.getView() |
Modifier and Type | Method and Description |
---|---|
static void |
VFSBrowser.browseDirectory(View view,
java.lang.String path)
Opens the specified directory in a file system browser.
|
static void |
VFSBrowser.browseDirectoryInNewWindow(View view,
java.lang.String path)
Opens the specified directory in a new, floating, file system browser.
|
Constructor and Description |
---|
VFSBrowser(View view,
java.lang.String position)
Creates a new VFS browser.
|
VFSBrowser(View view,
java.lang.String path,
int mode,
boolean multipleSelection,
java.lang.String position)
Creates a new VFS browser.
|
VFSFileChooserDialog(java.awt.Dialog parent,
View view,
java.lang.String path,
int mode,
boolean multipleSelection,
boolean autoshow)
Constructs a new VFSFileChooserDialog.
|
VFSFileChooserDialog(java.awt.Frame parent,
View view,
java.lang.String path,
int mode,
boolean multipleSelection,
boolean autoshow)
Constructs a new VFSFileChooserDialog.
|
VFSFileChooserDialog(View view,
java.lang.String path,
int mode,
boolean multipleSelection) |
VFSFileChooserDialog(View view,
java.lang.String path,
int mode,
boolean multipleSelection,
boolean autoshow)
Constructs a new VFSFileChooserDialog.
|
Modifier and Type | Field and Description |
---|---|
protected View |
BufferIORequest.view |
protected View |
MarkersSaveRequest.view |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
BufferSetManager.addBuffer(View view,
Buffer buffer)
Add a buffer into the current editPane of the given view.
|
Modifier and Type | Field and Description |
---|---|
protected View |
DockableWindowManager.view |
protected View |
InputHandler.view |
Modifier and Type | Method and Description |
---|---|
View |
DockableWindowManager.getView()
Returns this dockable window manager's view.
|
Modifier and Type | Method and Description |
---|---|
static void |
CompleteWord.completeWord(View view) |
DockableWindowManager |
DockingFrameworkProvider.create(View view,
DockableWindowFactory instance,
View.ViewConfig config) |
DockableWindowManager |
DockableWindowManagerProvider.create(View view,
DockableWindowFactory instance,
View.ViewConfig config) |
static void |
DockingLayoutManager.load(View view) |
static void |
DockingLayoutManager.loadCurrentModeLayout(View view) |
static void |
DockingLayoutManager.saveAs(View view) |
static void |
DockingLayoutManager.saveCurrentModeLayout(View view) |
Constructor and Description |
---|
AboutDialog(View view) |
ActionBar(View view,
boolean temp) |
AddAbbrevDialog(View view,
java.lang.String abbrev) |
AddModeDialog(View view) |
BeanShellErrorDialog(View view,
java.lang.Throwable t) |
BufferOptions(View view,
Buffer buffer) |
CloseDialog(View view) |
CloseDialog(View view,
java.util.Collection<Buffer> buffers) |
CompleteWord(View view,
java.lang.String word,
org.gjt.sp.jedit.gui.CompleteWord.Completion[] completions,
java.awt.Point location,
java.lang.String noWordSep) |
CompletionPopup(View view)
Create a completion popup.
|
CompletionPopup(View view,
java.awt.Point location) |
DefaultInputHandler(View view)
Creates a new input handler with no key bindings defined.
|
DefaultInputHandler(View view,
DefaultInputHandler copy)
Creates a new input handler with the same set of key bindings
as the one specified.
|
DefaultInputHandler(View view,
java.util.Hashtable bindings)
Creates a new input handler with no key bindings defined.
|
DockableWindowManager(View view,
DockableWindowFactory instance,
View.ViewConfig config) |
DockableWindowManagerImpl(View view,
DockableWindowFactory factory,
View.ViewConfig config)
Creates a new dockable window manager.
|
FilePropertiesDialog(View view,
VFSBrowser browser,
VFSFile[] files)
The FilePropertiesDialog's constructor
|
FilesChangedDialog(View view,
int[] states,
boolean alreadyReloaded) |
InputHandler(View view)
Creates a new input handler.
|
MarkerViewer(View view) |
PasteFromListDialog(java.lang.String name,
View view,
MutableListModel<java.lang.String> model) |
PasteSpecialDialog(View view,
TextArea textArea) |
RegisterViewer(View view,
java.lang.String position) |
SelectLineRange(View view) |
StatusBar(View view) |
TipOfTheDay(View view) |
Modifier and Type | Method and Description |
---|---|
Widget |
RectSelectWidgetFactory.getWidget(View view) |
Widget |
LastModifiedWidgetFactory.getWidget(View view) |
Widget |
StatusWidgetFactory.getWidget(View view)
returns an instance of Widget for the given view
|
Widget |
MultiSelectWidgetFactory.getWidget(View view) |
Widget |
BufferSetWidgetFactory.getWidget(View view) |
Widget |
FoldWidgetFactory.getWidget(View view) |
Widget |
WrapWidgetFactory.getWidget(View view) |
Widget |
IndentWidgetFactory.getWidget(View view) |
Widget |
ErrorsWidgetFactory.getWidget(View view) |
Widget |
SelectionLengthWidgetFactory.getWidget(View view) |
Widget |
ClockWidgetFactory.getWidget(View view) |
Widget |
MemoryStatusWidgetFactory.getWidget(View view) |
Widget |
ModeWidgetFactory.getWidget(View view) |
Widget |
LineSepWidgetFactory.getWidget(View view) |
Widget |
EncodingWidgetFactory.getWidget(View view) |
Widget |
OverwriteWidgetFactory.getWidget(View view) |
Widget |
TaskMonitorWidgetFactory.getWidget(View view) |
Modifier and Type | Method and Description |
---|---|
boolean |
VFS.insert(View view,
Buffer buffer,
java.lang.String path)
Inserts a file into the specified buffer.
|
boolean |
FileVFS.insert(View view,
Buffer buffer,
java.lang.String path) |
boolean |
VFS.load(View view,
Buffer buffer,
java.lang.String path,
boolean untitled)
Loads the specified buffer.
|
boolean |
VFS.save(View view,
Buffer buffer,
java.lang.String path)
Saves the specifies buffer.
|
boolean |
FileVFS.save(View view,
Buffer buffer,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
View |
ViewUpdate.getView()
Returns the view involved.
|
View |
EditorExitRequested.getView()
Returns the view involved.
|
View |
BufferUpdate.getView()
Returns the view involved, which may be null.
|
View |
VFSPathSelected.getView() |
Constructor and Description |
---|
BufferUpdate(Buffer buffer,
View view,
java.lang.Object what)
Creates a new buffer update message.
|
EditorExitRequested(View view)
Creates a new editor exiting started message.
|
VFSPathSelected(View source,
java.lang.String path,
boolean isDirectory) |
ViewUpdate(View view,
java.lang.Object what)
Creates a new view update message.
|
Modifier and Type | Method and Description |
---|---|
View |
PrintPreviewModel.getView()
Returns the value of view.
|
Modifier and Type | Method and 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 void |
BufferPrinter1_3.pageSetup(View view)
Deprecated.
|
static void |
BufferPrinter1_7.pageSetup(View view)
Shows the printer dialog with the page setup tab active, other tabs inactive.
|
static void |
BufferPrinter1_4.pageSetup(View view)
Deprecated.
|
static void |
BufferPrinter1_7.print(View view,
Buffer buffer) |
static void |
BufferPrinter1_3.print(View view,
Buffer buffer,
boolean selection)
Deprecated.
|
static void |
BufferPrinter1_4.print(View view,
Buffer buffer,
boolean selection)
Deprecated.
|
void |
PrintPreviewModel.setView(View view)
Sets the value of view.
|
Constructor and Description |
---|
PrinterDialog(View owner,
javax.print.attribute.PrintRequestAttributeSet attributes,
boolean pageSetupOnly) |
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) |
Modifier and Type | Method and Description |
---|---|
View |
AllBufferSet.getView() |
Modifier and Type | Method and Description |
---|---|
static boolean |
SearchAndReplace.find(View view)
Finds the next occurrence of the search string.
|
static boolean |
SearchAndReplace.find(View view,
Buffer buffer,
int start)
Finds the next instance of the search string in the specified
buffer.
|
static boolean |
SearchAndReplace.find(View view,
Buffer buffer,
int start,
boolean firstTime,
boolean reverse)
Finds the next instance of the search string in the specified
buffer.
|
Buffer |
HyperSearchFileNode.getBuffer(View view) |
Buffer |
HyperSearchNode.getBuffer(View view) |
Buffer |
HyperSearchResult.getBuffer(View view) |
int |
SearchFileSet.getFileCount(View view)
Returns the number of files in this file set.
|
int |
BufferListSet.getFileCount(View view) |
int |
CurrentBufferSet.getFileCount(View view) |
java.lang.String[] |
SearchFileSet.getFiles(View view)
Returns all path names in this file set.
|
java.lang.String[] |
BufferListSet.getFiles(View view) |
java.lang.String[] |
CurrentBufferSet.getFiles(View view) |
java.lang.String |
SearchFileSet.getFirstFile(View view)
Returns the first file to search.
|
java.lang.String |
BufferListSet.getFirstFile(View view) |
java.lang.String |
CurrentBufferSet.getFirstFile(View view) |
java.lang.String |
SearchFileSet.getLastFile(View view)
Returns the last file to search.
|
java.lang.String |
BufferListSet.getLastFile(View view) |
java.lang.String |
CurrentBufferSet.getLastFile(View view) |
java.lang.String |
SearchFileSet.getNextFile(View view,
java.lang.String path)
Returns the next file to search.
|
java.lang.String |
BufferListSet.getNextFile(View view,
java.lang.String path) |
java.lang.String |
CurrentBufferSet.getNextFile(View view,
java.lang.String file) |
java.lang.String |
SearchFileSet.getPrevFile(View view,
java.lang.String path)
Returns the previous file in the set.
|
java.lang.String |
BufferListSet.getPrevFile(View view,
java.lang.String path) |
java.lang.String |
CurrentBufferSet.getPrevFile(View view,
java.lang.String file) |
static SearchDialog |
SearchDialog.getSearchDialog(View view) |
static boolean |
SearchAndReplace.hyperSearch(View view)
Performs a HyperSearch.
|
static boolean |
SearchAndReplace.hyperSearch(View view,
boolean selection)
Performs a HyperSearch.
|
static boolean |
SearchAndReplace.replace(View view)
Replaces the current selection with the replacement string.
|
static boolean |
SearchAndReplace.replace(View view,
Buffer buffer,
int start,
int end)
Replaces text in the specified range with the replacement string.
|
static boolean |
SearchAndReplace.replaceAll(View view)
Replaces all occurrences of the search string with the replacement
string.
|
static boolean |
SearchAndReplace.replaceAll(View view,
boolean dontOpenChangedFiles)
Replaces all occurrences of the search string with the replacement
string.
|
static void |
SearchDialog.showSearchDialog(View view,
java.lang.String searchString,
int searchIn)
Displays a search and replace dialog box, reusing an existing one
if necessary.
|
Constructor and Description |
---|
AllBufferSet(java.lang.String glob,
View view)
Creates a view buffer set.
|
HyperSearchResults(View view) |
SearchBar(View view,
boolean temp) |
Modifier and Type | Method and Description |
---|---|
View |
JEditTextArea.getView()
Returns this text area's view.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
JEditTextArea.doWordCount(View view,
java.lang.String text) |
Constructor and Description |
---|
JEditTextArea(View view)
Creates a new JEditTextArea.
|
Modifier and Type | Method and Description |
---|---|
void |
JEditVisitor.visit(View view)
Visit a view.
|
void |
JEditVisitorAdapter.visit(View view)
Visit a view.
|
Modifier and Type | Method and Description |
---|---|
static void |
FileOpenerService.open(java.lang.String fileName,
View view)
Searches available FileOpenerServices and uses the first, or the
preferred one based on the "fileopener.service" property.
|
abstract void |
FileOpenerService.openFile(java.lang.String fileName,
View view)
Opens a file in jEdit, given only a filename and no path.
|