Deprecated API


Contents
Deprecated Classes
org.gjt.sp.jedit.options.GlobalOptions
          - use CombinedOptions 
org.gjt.sp.jedit.options.PluginOptions
          use CombinedOptions 
 

Deprecated Methods
org.gjt.sp.jedit.Mode.acceptFilename(String)
          use Mode.acceptFile(String, String) instead 
org.gjt.sp.util.IOUtilities.closeQuietly(InputStream)
          we want to remove this method without breaking compatibility with your plugin. Closeable works for this type as of Java5. 
org.gjt.sp.util.IOUtilities.closeQuietly(OutputStream)
          we want to remove this method without breaking compatibility with your plugin. Closeable works for this type as of Java5. 
org.gjt.sp.util.IOUtilities.closeQuietly(Reader)
          we want to remove this method without breaking compatibility with your plugin. Closeable works for this type as of Java5. 
org.gjt.sp.util.IOUtilities.closeQuietly(Writer)
          we want to remove this method without breaking compatibility with your plugin. Closeable works for this type as of Java5. 
org.gjt.sp.jedit.bsh.JavaCharStream.getColumn()
            
org.gjt.sp.jedit.Buffer.getFile()
          Do not call this method, use Buffer.getPath() instead. 
org.gjt.sp.jedit.MiscUtilities.getFileNameNoExtension(String)
          use getBaseName() instead. 
org.gjt.sp.jedit.bsh.JavaCharStream.getLine()
            
org.gjt.sp.jedit.textarea.TextArea.getMarkPosition()
          Do not use. 
org.gjt.sp.jedit.OperatingSystem.hasJava16()
          obsolete, since we depend on Java 1.6 now 
org.gjt.sp.jedit.GUIUtilities.initContinuousLayout(JSplitPane)
          since jEdit 5.0 using or not continuous layout is not anymore an option. 
org.gjt.sp.jedit.OperatingSystem.isDOSDerived()
          use OperatingSystem.isWindows() 
org.gjt.sp.jedit.io.VFSManager.runInAWTThread(Runnable)
          Using that method, when you run a task in AWT Thread, it will wait for all background task causing some unwanted delays. If you need calling a task after a background work, please add your runnable to the EDT thread yourself at the end of the background task 
org.gjt.sp.jedit.io.VFSManager.runInWorkThread(Task)
          You should not use this method, this threadpool links the AWT Threads and Work threads. 
org.gjt.sp.jedit.bsh.NameSpace.setTypedVariable(String, Class, Object, boolean)
          See #setTypedVariable( String, Class, Object, Modifiers ) 
org.gjt.sp.jedit.Registers.Register.setValue(String)
          use Registers.Register.setTransferable(java.awt.datatransfer.Transferable) instead, for example setTransferable(new StringSelection("")) 
org.gjt.sp.jedit.Registers.Register.toString()