## Deprecated API

Contents

- Deprecated Classes
- Deprecated Methods

Deprecated Classes
org.gjt.sp.util.WorkRequest
org.gjt.sp.util.WorkThread
org.gjt.sp.util.WorkThreadPool

Deprecated Methods
org.gjt.sp.jedit.Mode.acceptFilename(String) use `Mode.acceptFile(String, String)` instead
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.bsh.JavaCharStream.getLine()
org.gjt.sp.jedit.textarea.TextArea.getMarkPosition() Do not use.
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(Runnable) You should not use this method, this threadpool links the AWT Threads and Work threads.
org.gjt.sp.util.WorkRequest.setProgressMaximum(int) use `WorkRequest.setMaximum(long)`
org.gjt.sp.util.WorkRequest.setProgressValue(int) use `WorkRequest.setValue(long)`
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()