PageRenderTime 34ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre3/startup/clipboardHangWorkaround.bsh

#
Unknown | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | bfb5539d13886745dcc61e821bf65090 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. /* It has been reported that under some Java versions on Linux, jEdit hangs
  2. * inside AWT code when attempting to use copy and paste.
  3. *
  4. * Until a solution to the problem is found, if you experience it, you can
  5. * uncomment the next line. It will make jEdit not use the system clipboard
  6. * for copy and paste. It will stop the hangs but prevent you from copying
  7. * text between jEdit and other applications. */
  8. // Registers.setRegister('$',new Registers.StringRegister(""));