|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
This was the official API for adding items to a file
system browser's Plugins menu in jEdit 4.1 and earlier. In
jEdit 4.2, there is a different way of doing this, you must provide
a browser.actions.xml
file in your plugin JAR, and
define plugin.class.browser-menu-item
or plugin.class.browser-menu
properties.
See EditPlugin
for details.
Buffer
represents the contents of an open text
file as it is maintained in the computer's memory (as opposed to
how it may be stored on a disk).BufferChangeListener
interface.gnu.regexp
search within Segment
objects.CharIndexedSegment
.
CharIndexedSegment
.
ClassVisitor
that generates Java class files.ClassWriter
object.
CodeVisitor
that generates Java bytecode instructions.null
.
DisplayManager.collapseFold(int)
, but
also moves the caret to the first line of the fold.
compareStrings()
instead
MiscUtilities.constructPath(java.lang.String, java.lang.String)
, except path
will be
appended to parent
even if it is absolute.
GUIUtilities.loadIcon("dirty.gif");
instead.
Chunk
objects that can be painted on screen.DockableWindowManager
keeps track of dockable windows.EBMessage
instead.PluginJAR
instead.error()
method instead.
rethrowBshErrors
parameter is now
obsolete; call _eval()
or eval()
instead.
rethrowBshErrors
parameter is now
obsolete; call _eval()
or eval()
instead.
DisplayManager.expandFold(int,boolean)
, but
also moves the caret to the first sub-fold.
actions.xml
.
jEdit.getActionContext()
.
VFSBrowser.getActionContext()
.
BufferHistory.getHistory()
instead.
BeanShellAction
s.
getLineOfOffset()
,
getLineStartOffset()
, and
getLineEndOffset()
instead.
PROPERTIES_CHANGED
.
dockables.xml
file.
-1
if
the subexpression does not exist.
Frame.getExtendedState()
.
Buffer.getPath()
instead.
getVFSs()
instead.
ServiceManager.getServiceNames(
"org.gjt.sp.jedit.buffer.FoldHandler" );
instead. See
ServiceManager
.
getPluginJAR()
instead.
Segment
.
null
if there is none.
null
if there is no selection at that offset.
getEnd()
method
getEnd(int)
method
getEndLine()
method
getStart()
method
getStart(int)
method
getStartLine()
method
services.xml
file.
-1
if
the subexpression does not exist.
Segment
.
getVFSForProtocol()
instead.
GUIUtilities.getView()
instead.
PluginJAR.getZipFile()
instead.
next()
method
next()
method
next()
method
Buffer.indentLine(int,boolean)
instead.
AbstractOptionPane._init()
instead.
Buffer.insert(int,String)
method, but inserts the string at
the specified virtual column.
insert()
instead.
-background
command-line switch.
jEdit.closeBuffer(View,Buffer)
.
jEdit.closeView(View)
.
KeyEventWorkaround
, hides some
warts in the AWT key event API.KeywordMap
is similar to a hashtable in that it maps keys
to values.KeywordMap
.
KeywordMap
.
services.xml
file.
markTokens()
instead
GUIUtilities.loadIcon("new.gif");
instead.
GUIUtilities.loadIcon("normal.gif");
instead.
jeditresource:
URL protocol handler, used to load
resources from plugin JAR files.DockableWindowManager
and
ServiceManager
to handle caching.setBooleanProperty()
instead
setProperty()
instead.
GUIUtilities.loadIcon("readonly.gif");
instead.
gnu.regexp
.Buffer.readLock()
and Buffer.readUnlock()
.
Buffer.readLock()
and Buffer.readUnlock()
.
Segment
is equal to a
character array.
services.xml
file instead;
see ServiceManager
.
services.xml
file instead;
see ServiceManager
.
ParserRuleSet.addRuleSet(ParserRuleSet)
.
File.getCanonicalPath()
.
rethrowBshErrors
parameter is now
obsolete; call _runScript()
or runScript()
instead.
rethrowBshErrors
parameter is now
obsolete; call _runScript()
or runScript()
instead.
AbstractOptionPane._save()
instead.
addToSelection()
,
or setSelection()
with a new Selection instance.
addToSelection()
,
or setSelection()
with a new Selection instance.
Frame.setExtendedState()
.
C
, A
, M
, S
) and
Java modifier flags.
multi
.
XModeHandler
.
rectangularSelectionMode
.
objectsEqual()
instead.
KeyEventWorkaround.processKeyEvent(java.awt.event.KeyEvent)
.
services.xml
file instead;
see ServiceManager
.
MiscUtilities.Compare
interface that compares VFS.DirectoryEntry
instances.DirectoryEntryCompare
.
VariableGridLayout
class is a layout manager
that lays out a container's components in a rectangular grid
with variable cell sizes.View
is jEdit's top-level frame window.GUIUtilities.loadIcon("jedit-icon.gif");
instead.
Buffer.writeLock()
and Buffer.writeUnlock()
.
Buffer.writeLock()
and Buffer.writeUnlock()
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |