scijava / script-editor

Script Editor and Interpreter for SciJava script languages
http://imagej.net/Script_Editor
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

Add Source Search Action for SciJava Scripts #63

Closed gselzer closed 1 year ago

gselzer commented 1 year ago

This PR does part of the work of partitioning ImageJ Legacy's SourceSearchActionFactory, splitting off the section of that SearchActionFactory that deals with scripts.

That section depends on this project's TextEditor, making this project my candidate for housing this addition.

Is there a better place for this @ctrueden? I hate to introduce a dependency on SciJava Search here...

ctrueden commented 1 year ago

@gselzer I also dislike introducing this search action here. The script-editor is a mess, design-wise, and has a lot of dependencies. But... in the interest of pragmatism, I'm going to merge this. We can always move it again later. What we really need, at some point, is the ability to ask the UIService to open up source code, without a dependency on the specific code editor implementation. But it's not in place yet, so LGTM!