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.buffer.LineElement
          Used to implement backwards-compatibility with jEdit 3.2.2-style document model. 
 

Deprecated Fields
org.gjt.sp.jedit.View.ABOVE_STATUS_BAR_LAYER
          Status bar no longer added as a tool bar. 
org.gjt.sp.jedit.View.BELOW_STATUS_BAR_LAYER
          Status bar no longer added as a tool bar. 
org.gjt.sp.jedit.msg.BufferUpdate.MODE_CHANGED
          No longer sent. Listen for PROPERTIES_CHANGED instead. 
org.gjt.sp.jedit.View.STATUS_BAR_LAYER
          Status bar no longer added as a tool bar. 
 

Deprecated Methods
org.gjt.sp.jedit.MiscUtilities.compareVersions(String, String)
          Call compareStrings() instead 
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.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.textarea.JEditTextArea.getMagicCaretPosition()
          Do not call this method. 
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 
org.gjt.sp.jedit.EditAction.getView(Component)
          Call GUIUtilities.getView() 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.GUIUtilities.loadMenu(View, String)
          Use loadMenu(name) instead 
org.gjt.sp.jedit.Buffer.markTokens(int)
          Use the other form of markTokens() instead 
org.gjt.sp.jedit.textarea.JEditTextArea.offsetToX(int, int)
          Call offsetToXY() instead. Converts an offset in a line into an x co-ordinate. 
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.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.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. 
org.gjt.sp.jedit.EBMessage.veto()
          Does nothing. 
org.gjt.sp.jedit.textarea.JEditTextArea.xToOffset(int, int)
          Call xyToOffset() instead. Converts an x co-ordinate to an offset within a line. 
org.gjt.sp.jedit.textarea.JEditTextArea.xToOffset(int, int, boolean)
          Call xyToOffset() instead. Converts an x co-ordinate to an offset within a line.