#1408 When a file is dropped into jEdit, it should become current

closed-fixed
None
5
2011-04-29
2011-04-13
No

When dragging a file from a File Manager into jEdit, jEdit opens the file in a buffer, but does not make it the *current* buffer - so in order to edit the file I just dragged, I need to select it manually. When a file is dragged into jEdit, its buffer should become the active (current) buffer.

Discussion

  • Anonymous - 2011-04-25
    • labels: 102668 -->
     
  • Anonymous - 2011-04-25

    This problem seems to be related to BufferTabs. When BufferTabs is disabled, this does not happen.
    Note that maybe there's some exception thrown from BufferTabs - in which case maybe the core can be less fragile when this happens.

     
  • Anonymous - 2011-04-29
    • assigned_to: kpouer --> shlomy
    • status: open --> closed-fixed
     
  • Anonymous - 2011-04-29

    Fixed in SVN rev. 19527. Turns out to be a JRE bug, which throws an ArrayIndexOutOfBoundsException when a file is dropped into jEdit. The workaround is to catch it early, in BufferTabs, and not let it affect the upper-level code.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks