Ticket #1829 (new defect)

Opened 6 years ago

Last modified 6 years ago

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

Description

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 6 years ago 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.

Note: See TracTickets for help on using tickets.