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

Important: Reconsider option handling #98

Open
uliska opened this issue Aug 5, 2019 · 0 comments
Open

Important: Reconsider option handling #98

uliska opened this issue Aug 5, 2019 · 0 comments
Assignees

Comments

@uliska
Copy link
Owner

uliska commented Aug 5, 2019

Option handling is somewhat more complicated than usual:

  • Package option
  • Instance option
  • "Design option" (= spacing parameter defaults for a given command)
    => instance options should be relative to the design option.

Maybe there's the need for a class here that transparently handles the options. The goal must be that the individual Formatter can be declared as simple as possible. Glyph formatters for example should be created simply with the command name and the glyph name, and optional design options.

In any case this has to be thought through before implementing the actual commands.

@uliska uliska added this to the 0.5. luaformatters milestone Aug 5, 2019
@uliska uliska self-assigned this Aug 5, 2019
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