-
Notifications
You must be signed in to change notification settings - Fork 9
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
Label & TextraLabel feature parity request: [] sets the color to the previous color #12
Comments
The main issue here is that |
Hi Tommy! I think we can separate the styles applied by square brackets in two categories:
What do you think? |
Now the tag `[ ]` is used to do a full reset, and `[]` should only undo the last square-bracket markup change. Things are a little tricky with curly-brace effect markup, and I don't know how this could undo those.
Currently what I have implemented just records whenever there's a change to the color/style/size/font-family state, and using |
This should work for all square-bracket markup now. I don't see a good way to have it affect curly-brace effects, yet. You can try this (and some more related features) in https://github.com/tommyettinger/textratypist/releases/tag/v0.10.0 ; note that |
Now the tag `[ ]` is used to do a full reset, and `[]` should only undo the last square-bracket markup change. Things are a little tricky with curly-brace effect markup, and I don't know how this could undo those. Former-commit-id: 6d74976
Hi!
A current behavior of
TextraLabel
that does not matchLabel
is the use of[]
.That syntax in
Label
will sets the color to the previous color defined in the label. That syntax inTextraLabel
will reset the color to the label original color instead.Example:
Code:
The request of this issue is to make
TextraLabel
's[]
tag match the behavior ofLabel
.Thanks!
The text was updated successfully, but these errors were encountered: