Deprecated List (jEdit API Documentation)

# Deprecated API

## Contents

- Classes
- Fields
- Methods

- Classes
  Class | Description
  --- | ---
  org.gjt.sp.jedit.print.BufferPrinter1_3 |
  org.gjt.sp.jedit.print.BufferPrinter1_4 |

- Fields
  Field | Description
  --- | ---
  org.gjt.sp.jedit.Debug.ALTERNATIVE_DISPATCHER | no longer used.

- Methods
  Method | Description
  --- | ---
  org.gjt.sp.jedit.bsh.JavaCharStream.getColumn() |
  org.gjt.sp.jedit.bsh.JavaCharStream.getLine() |
  org.gjt.sp.jedit.bsh.NameSpace.setTypedVariable​(String, Class, Object, boolean) | See #setTypedVariable( String, Class, Object, Modifiers )
  org.gjt.sp.jedit.Buffer.getFile() | Do not call this method, use `Buffer.getPath()` instead.
  org.gjt.sp.jedit.GUIUtilities.adjustForScreenBounds​(Rectangle) | use `GenericGUIUtilities.adjustForScreenBounds(Rectangle)`
  org.gjt.sp.jedit.GUIUtilities.defaultColumnWidth() | use `GenericGUIUtilities.defaultColumnWidth()`
  org.gjt.sp.jedit.GUIUtilities.defaultRowHeight() | use `GenericGUIUtilities.defaultRowHeight()`
  org.gjt.sp.jedit.GUIUtilities.defaultTableCellSize() | use `GenericGUIUtilities.defaultTableCellSize()`
  org.gjt.sp.jedit.GUIUtilities.getParentDialog​(Component) | use `GenericGUIUtilities.getParentDialog(Component)`
  org.gjt.sp.jedit.GUIUtilities.getScreenBounds() | use `GenericGUIUtilities.getScreenBounds()`
  org.gjt.sp.jedit.GUIUtilities.isAncestorOf​(Component, Component) | use `GenericGUIUtilities.isAncestorOf(Component, Component)`
  org.gjt.sp.jedit.GUIUtilities.isMiddleButton​(int) | use `TextAreaMouseHandler.isMiddleButton(MouseEvent)`
  org.gjt.sp.jedit.GUIUtilities.isPopupTrigger​(MouseEvent) | use `GenericGUIUtilities.requestFocus(Window, Component)`
  org.gjt.sp.jedit.GUIUtilities.isRightButton​(int) | use `TextAreaMouseHandler.isRightButton(MouseEvent)`
  org.gjt.sp.jedit.GUIUtilities.makeSameSize​(Component...) | use `GenericGUIUtilities.makeSameSize(Component...)`
  org.gjt.sp.jedit.GUIUtilities.parseColor​(String) | use `SyntaxUtilities.parseColor(String, Color)`
  org.gjt.sp.jedit.GUIUtilities.parseStyle​(String, String, int) | use `SyntaxUtilities.parseStyle(String, String, int, boolean)`
  org.gjt.sp.jedit.GUIUtilities.prettifyMenuLabel​(String) | use `GenericGUIUtilities.prettifyMenuLabel(String)`
  org.gjt.sp.jedit.GUIUtilities.requestFocus​(Window, Component) | use `GenericGUIUtilities.requestFocus(Window, Component)`
  org.gjt.sp.jedit.GUIUtilities.setAutoMnemonic​(AbstractButton) | use `GenericGUIUtilities.setAutoMnemonic(AbstractButton)`
  org.gjt.sp.jedit.GUIUtilities.setButtonContentMargin​(AbstractButton, Insets) | use `GenericGUIUtilities.setButtonContentMargin(AbstractButton, Insets)`
  org.gjt.sp.jedit.GUIUtilities.setEnabledRecursively​(Container, boolean) | use `GenericGUIUtilities.setEnabledRecursively(Container, boolean)`
  org.gjt.sp.jedit.GUIUtilities.showPopupMenu​(JPopupMenu, Component, int, int) | use `GenericGUIUtilities.showPopupMenu(JPopupMenu, Component, int, int)`
  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.jEdit._getBuffer​(String) |
  org.gjt.sp.jedit.jEdit.getBuffer​(String) |
  org.gjt.sp.jedit.jEdit.getBuffers() |
  org.gjt.sp.jedit.jEdit.getViews() |
  org.gjt.sp.jedit.MiscUtilities.getFileNameNoExtension​(String) | use getBaseName() instead.
  org.gjt.sp.jedit.Mode.acceptFilename​(String) | use `Mode.acceptFile(String, String)` instead
  org.gjt.sp.jedit.OperatingSystem.hasJava17() | - there is no point in checking for this since we require Java 11. Returns if Java 2 version 1.7 is in use.
  org.gjt.sp.jedit.OperatingSystem.isDOSDerived() | use `OperatingSystem.isWindows()`
  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.textarea.TextArea.getMarkPosition() | Do not use.
  org.gjt.sp.jedit.textarea.TextArea.showPopupMenu​(JPopupMenu, Component, int, int, boolean) | use `GenericGUIUtilities.showPopupMenu(JPopupMenu, Component, int, int, boolean)`
  org.gjt.sp.jedit.textarea.TextAreaMouseHandler.isMiddleButton​(int) | use `TextAreaMouseHandler.isMiddleButton(MouseEvent)`
  org.gjt.sp.jedit.textarea.TextAreaMouseHandler.isRightButton​(int) | use `TextAreaMouseHandler.isRightButton(MouseEvent)`
  org.gjt.sp.jedit.TextUtilities.join​(Collection<?>, String) | use `String.join(CharSequence, CharSequence...)` or `String.join(CharSequence, Iterable)`, thos methods are available since Java 8 and are faster in all situations
  org.gjt.sp.util.GenericGUIUtilities.isMiddleButton​(int) | use `GenericGUIUtilities.isMiddleButton(MouseEvent)`
  org.gjt.sp.util.GenericGUIUtilities.isRightButton​(int) | use `GenericGUIUtilities.isRightButton(MouseEvent)`
  org.gjt.sp.util.StandardUtilities.objectsEqual​(Object, Object) | use {java.util.Objects#equals(Object, Object}
  org.gjt.sp.util.StringList.join​(Collection<String>, String) | use `String.join(CharSequence, CharSequence...)` or `String.join(CharSequence, Iterable)`, thos methods are available since Java 8 and are faster in all situations