Ticket #811 (closed enhancement: moved)

Opened 8 years ago

Last modified 5 years ago

Include a stripped-down Fiji Script Editor

Reported by: dscho Owned by: dscho
Priority: major Milestone: imagej2-b8-analysis
Component: Scripting Version:
Severity: major Keywords:
Cc: curtis Blocked By:
Blocking: #1516

Description

Fiji's Script Editor uses the RSyntaxTextArea component (which is LGPL, but let's not depend on it in core IJ2). So we need to split out the RSyntaxTextArea support, probably using some sezpoz approach to have "JTextArea-based syntax highlighting providers" and using a very simple wrapper around JTextArea (which does not do syntax highlighting by default). We might even use the jeditsyntax ( http://syntax.jedit.org/) which is MIT licensed (and which is used by Micro-Manager's Script Panel), and either integrate it directly into the package or make jeditsyntax a new artifact.

Change History

comment:1 Changed 8 years ago by curtis

  • Blocking 12 added

comment:2 Changed 8 years ago by dscho

  • Status changed from new to accepted

comment:3 Changed 7 years ago by dscho

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:4 Changed 7 years ago by dscho

Happily, RSyntaxTextArea is BSD-licensed in the meantime, so we postpone the down-stripping to a later point in time.

comment:5 Changed 7 years ago by curtis

  • Blocking 1516 added; 12 removed

comment:6 Changed 7 years ago by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:7 Changed 7 years ago by dscho

We have a functional Script Editor now.

These steps are missing for this ticket to be closed:

  • all of Fiji's scripting languages need to be supported
  • we should allow for 3rd-party Templates so that Fiji can ship its ImageJ 1.x-based ones
  • Fiji needs to use the Script Editor itself (this most likely requires an ImageJ2 context, to be initialized at Fiji startup)

comment:8 Changed 7 years ago by dscho

  • Cc curtis added
  • Component changed from Other to Scripting

The ScriptService needs to be enhanced to open scripts in the editor (see 9f20b3ec6c297a356ec5da44d5ce85ff04327290). For this, we need to introduce a ScriptEditorService.

comment:9 Changed 5 years ago by curtis

  • Status changed from accepted to closed
  • Resolution set to moved

all of Fiji's scripting languages need to be supported

They are, except macros; see  https://github.com/imagej/imagej-legacy/issues/7

we should allow for 3rd-party Templates so that Fiji can ship its ImageJ 1.x-based ones

See  https://github.com/imagej/imagej/issues/78

Fiji needs to use the Script Editor itself

See  https://github.com/fiji/fiji/issues/70

Note: See TracTickets for help on using tickets.