Closed gselzer closed 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!
This PR does part of the work of partitioning ImageJ Legacy's
SourceSearchActionFactory
, splitting off the section of thatSearchActionFactory
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...