NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1829 (new defect)

Opened 2013-04-18T16:59:28-05:00

Last modified 2013-04-18T23:15:28-05:00

Drag and Drop: open various kinds of text files

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b10-compatibility
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1821


IJ1's drag and drop code opens the following files as text: .txt, .ijm, .java, .js, .html, .htm, .bsh, and files with no extension. This was working (including .py, .rb, .clj) at some point on the branch before it was merged to master. Now that its in master it no longer works.

Change History

comment:1 Changed 2013-04-18T23:15:28-05:00 by curtis

The reason I removed some of those formats is because they are scripts which should be opened in the Script Editor, rather than in a generic text display. We need a programmatic way of doing that using the ScriptService. To my knowledge there isn't one yet, so I  left a TODO for hooking it up later.