Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Deprecated Classes
org.gjt.sp.jedit.Buffer.TokenList Use org.gjt.sp.jedit.syntax.DefaultTokenHandler instead
org.gjt.sp.jedit.EBMessage.NonVetoable Subclass `EBMessage` instead.
org.gjt.sp.jedit.EditPlugin.JAR Use `PluginJAR` instead.
org.gjt.sp.jedit.buffer.LineElement Used to implement backwards-compatibility with jEdit 3.2.2-style document model.
gnu.regexp.REFilterInputStream This class cannot properly handle all character encodings. For proper handling, use the REFilterReader class instead.

Deprecated Fields
org.gjt.sp.jedit.View.ABOVE_ACTION_BAR_LAYER Status bar no longer added as a tool bar.
org.gjt.sp.jedit.io.VFS.BROWSE_CAP Do not define this capability. 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.
org.gjt.sp.jedit.GUIUtilities.DIRTY_BUFFER_ICON Use `GUIUtilities.loadIcon("dirty.gif");` instead.
org.gjt.sp.jedit.msg.BufferUpdate.MODE_CHANGED No longer sent. Listen for PROPERTIES_CHANGED instead.
org.gjt.sp.jedit.GUIUtilities.NEW_BUFFER_ICON Use `GUIUtilities.loadIcon("new.gif");` instead.
org.gjt.sp.jedit.GUIUtilities.NORMAL_BUFFER_ICON Use `GUIUtilities.loadIcon("normal.gif");` instead.
org.gjt.sp.jedit.GUIUtilities.READ_ONLY_BUFFER_ICON Use `GUIUtilities.loadIcon("readonly.gif");` instead.
org.gjt.sp.jedit.GUIUtilities.WINDOW_ICON Use `GUIUtilities.loadIcon("jedit-icon.gif");` instead.

Deprecated Methods
org.gjt.sp.jedit.MiscUtilities.compareVersions(String, String) Call `compareStrings()` instead
org.gjt.sp.jedit.EditPlugin.createMenuItems(Vector) Instead of overriding this method, define properties as specified in the description of this class.
org.gjt.sp.jedit.EditPlugin.createOptionPanes(OptionsDialog) Instead of overriding this method, define properties as specified in the description of this class.
org.gjt.sp.jedit.io.VFSManager.error(Component, String, Object[]) Call the other `error()` method instead.
org.gjt.sp.jedit.BeanShell.eval(View, NameSpace, String, boolean) The `rethrowBshErrors` parameter is now obsolete; call `_eval()` or `eval()` instead.
org.gjt.sp.jedit.BeanShell.eval(View, String, boolean) The `rethrowBshErrors` parameter is now obsolete; call `_eval()` or `eval()` instead.
org.gjt.sp.jedit.jEdit.getActions() Call getActionNames() instead
org.gjt.sp.jedit.PluginJAR.getActions() Call getActionSet() instead
org.gjt.sp.jedit.jEdit.getActionSetForAction(EditAction) Use the form that takes a String instead
org.gjt.sp.jedit.BufferHistory.getBufferHistory() Call `BufferHistory.getHistory()` instead.
bsh.JavaCharStream.getColumn()
org.gjt.sp.jedit.Buffer.getCurrentIdentForLine(int, int[]) Use the correctly spelled getCurrentIndentForLine() instead.
org.gjt.sp.jedit.Buffer.getDefaultRootElement() Use `getLineOfOffset()`, `getLineStartOffset()`, and `getLineEndOffset()` instead.
org.gjt.sp.jedit.Buffer.getFile() Do not call this method, use `Buffer.getPath()` instead.
org.gjt.sp.jedit.MiscUtilities.getFileParent(String) Call getParentOfPath() instead
org.gjt.sp.jedit.MiscUtilities.getFileProtocol(String) Call getProtocolOfURL() instead
org.gjt.sp.jedit.io.VFSManager.getFilesystems() Use `getVFSs()` instead.
org.gjt.sp.jedit.buffer.FoldHandler.getFoldHandlers() Call `ServiceManager.getServiceNames( "org.gjt.sp.jedit.buffer.FoldHandler" );` instead. See `ServiceManager`.
org.gjt.sp.jedit.EditPlugin.getJAR() Call `getPluginJAR()` instead.
bsh.JavaCharStream.getLine()
org.gjt.sp.jedit.textarea.JEditTextArea.getMarkLine() Do not use.
org.gjt.sp.jedit.textarea.JEditTextArea.getMarkPosition() Do not use.
org.gjt.sp.jedit.Buffer.getParagraphElement(int)
org.gjt.sp.jedit.Buffer.getRootElements()
org.gjt.sp.jedit.textarea.JEditTextArea.getSelectionEnd() Instead, obtain a Selection instance using any means, and call its `getEnd()` method
org.gjt.sp.jedit.textarea.JEditTextArea.getSelectionEnd(int) Instead, obtain a Selection instance using any means, and call its `getEnd(int)` method
org.gjt.sp.jedit.textarea.JEditTextArea.getSelectionEndLine() Instead, obtain a Selection instance using any means, and call its `getEndLine()` method
org.gjt.sp.jedit.textarea.JEditTextArea.getSelectionStart() Instead, obtain a Selection instance using any means, and call its `getStart()` method
org.gjt.sp.jedit.textarea.JEditTextArea.getSelectionStart(int) Instead, obtain a Selection instance using any means, and call its `getStart(int)` method
org.gjt.sp.jedit.textarea.JEditTextArea.getSelectionStartLine() Instead, obtain a Selection instance using any means, and call its `getStartLine()` method
gnu.regexp.REMatch.getSubEndIndex(int) Use getEndIndex(int) instead
gnu.regexp.REMatch.getSubStartIndex(int) Use getStartIndex(int) instead.
org.gjt.sp.jedit.io.VFSManager.getVFSByName(String) Use `getVFSForProtocol()` instead.
org.gjt.sp.jedit.EditAction.getView(Component) Call `GUIUtilities.getView()` instead.
org.gjt.sp.jedit.JARClassLoader.getZipFile() Call `PluginJAR.getZipFile()` instead.
org.gjt.sp.jedit.Buffer.indentLine(int, boolean, boolean) Use `Buffer.indentLine(int,boolean)` instead.
org.gjt.sp.jedit.Buffer.insertString(int, String, AttributeSet) Call `insert()` instead.
org.gjt.sp.jedit.textarea.JEditTextArea.isSelectionRectangular() Instead, check if the appropriate Selection is an instance of the Selection.Rect class.
org.gjt.sp.jedit.EBMessage.isVetoed() Returns false.
org.gjt.sp.jedit.Buffer.markTokens(int) Use the other form of `markTokens()` instead
org.gjt.sp.jedit.jEdit.openFile(View, String, String, boolean, boolean) The openFile() forms with the readOnly parameter should not be used. The readOnly prameter is no longer supported.
org.gjt.sp.jedit.jEdit.openFile(View, String, String, boolean, boolean, Hashtable) The openFile() forms with the readOnly parameter should not be used. The readOnly prameter is no longer supported.
org.gjt.sp.jedit.gui.DefaultInputHandler.parseKeyStroke(String) We don't use Swing KeyStrokes anymore.
org.gjt.sp.jedit.Buffer.putBooleanProperty(String, boolean) Call `setBooleanProperty()` instead
org.gjt.sp.jedit.Buffer.putProperty(Object, Object) Call `setProperty()` instead.
org.gjt.sp.jedit.gui.InputHandler.readNextChar(String) Use the other form of this method instead
org.gjt.sp.jedit.buffer.FoldHandler.registerFoldHandler(FoldHandler) Write a `services.xml` file instead; see `ServiceManager`.
org.gjt.sp.jedit.io.VFSManager.registerVFS(String, VFS) Write a `services.xml` file instead; see `ServiceManager`.
org.gjt.sp.jedit.BeanShell.runScript(View, String, boolean, boolean) The `rethrowBshErrors` parameter is now obsolete; call `_runScript()` or `runScript()` instead.
org.gjt.sp.jedit.BeanShell.runScript(View, String, Reader, boolean, boolean) The `rethrowBshErrors` parameter is now obsolete; call `_runScript()` or `runScript()` instead.
org.gjt.sp.jedit.textarea.JEditTextArea.select(int, int) Instead, call either `addToSelection()`, or `setSelection()` with a new Selection instance.
org.gjt.sp.jedit.textarea.JEditTextArea.select(int, int, boolean) Instead, call either `addToSelection()`, or `setSelection()` with a new Selection instance.
org.gjt.sp.jedit.textarea.JEditTextArea.setSelectionEnd(int) Do not use.
org.gjt.sp.jedit.textarea.JEditTextArea.setSelectionStart(int) Do not use.
bsh.NameSpace.setTypedVariable(String, Class, Object, boolean) See #setTypedVariable( String, Class, Object, Modifiers )
org.gjt.sp.jedit.MiscUtilities.stringsEqual(String, String) Call `objectsEqual()` instead.
org.gjt.sp.jedit.buffer.FoldHandler.unregisterFoldHandler(FoldHandler) Write a `services.xml` file instead; see `ServiceManager`.
org.gjt.sp.jedit.EBMessage.veto() Does nothing.

Deprecated Constructors
org.gjt.sp.jedit.io.VFS(String) Use the form where the constructor takes a capability list.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES