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

Add a syntax definition for our format that will be used in the insert panel #19

Open
FichteFoll opened this issue Jun 6, 2016 · 1 comment

Comments

@FichteFoll
Copy link
Member

FichteFoll commented Jun 6, 2016

You can set syntaxes for input panels (afaik), so we should probably add a definition for our format language and highlight the input with it.

There's a EBNF-like syntax specification for this in the repo: https://github.com/jbrooksuk/InsertNums/blob/master/format_syntax.txt

@FichteFoll
Copy link
Member Author

FichteFoll commented Apr 10, 2024

This is likely to conflict with #28 because I don't think you can reliably set a syntax for the quick panel since you can't acquire a handle (or id) for its view. We could do display some syntax help there and show how the current expression would be split into the different sections, however.

Or we just separate into multiple input handlers for each section which would be easier to use with fewer special operators to remember but also prevent you from quickly editing a previous section without losing what you have specified later in the pipeline …

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

No branches or pull requests

1 participant