Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify ImageJMacroTokenMaker with the new code completion functionality #23

Open
imagejan opened this issue Jun 28, 2018 · 0 comments
Open

Comments

@imagejan
Copy link
Member

imagejan commented Jun 28, 2018

With the new IJ1 Macro auto-completion implemented by @haesleinhuepf, we get nice completions for all currently implemented macro functions, but not all of them are recognized by the syntax highlighter, because syntax highlighting relies on ImageJMacroTokenMaker in this repository.

To illustrate this, paste the following lines in the script editor:

getTitle() // is highlighted
Table.applyMacro(code) // is not highlighted

Let's migrate IJ1MacroHighlighter to imagej-legacy and unify the way how macro tokens are recognized, such that all functions that can be auto-completed will also be shown with a dedicated syntax color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant