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

new syntax-color protocol to support more token attributes #244

Closed
wants to merge 4 commits into from

Conversation

mflatt
Copy link
Member

@mflatt mflatt commented Sep 23, 2021

Part of an implementation for racket/drracket#512 . There's a "FIXME" where an alpha foreground setting is needed instyle% from the editor system, though.

mflatt added 4 commits October 3, 2021 08:35
Relies on coresponding changes in the "snip-lib" package.

The WXME format number has increased to accomodate alpha values.
Preserve selected color--alpha combinations exactly, while also
encoding the old way for backward compatibility. The old encoding is
lossy due to round-off and doesn't support the full range of what can
be encoded, so that's why a direct representation is also kept.

Also, color preferences that include backgrounds didn't work as
intended before, since installing a background color did not
disable transparency.
@mflatt
Copy link
Member Author

mflatt commented Oct 8, 2021

Merged.

@mflatt mflatt closed this Oct 8, 2021
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

Successfully merging this pull request may close these issues.

1 participant