Skip to content

[Speculative] Implement AnnotatedDisplay for ANSI rendering #115

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

tecosaur
Copy link
Member

Remove invalidating methods, and use the write-barrier introduced by Base.

This is an minimal alternative to #100.

Remove invalidating methods, and use the write-barrier introduced by
Base.
@tecosaur tecosaur force-pushed the annot-display-barrier branch from 7cf8538 to 3fe829f Compare April 14, 2025 17:24
topolarity added a commit to JuliaLang/julia that referenced this pull request Apr 22, 2025
After discussion with Cody, this is an attempt at a more minimal version
of #56194.

The intent is to work around the invalidation issue introduced by the
split design with AnnotatedStrings, resolving the headache for 1.12.

Paired with JuliaLang/StyledStrings.jl#115

Many thanks to @topolarity for working out this approach, the discussion
on balancing the short/long term fixes for this issue.

------

From my understanding of the problem, this should fix the
`write`/`print`/`show` invalidations, but this needs to be checked.

---------

Co-authored-by: Cody Tapscott <[email protected]>
@tecosaur tecosaur merged commit 3fe829f into main Apr 23, 2025
5 of 7 checks passed
@tecosaur tecosaur deleted the annot-display-barrier branch April 23, 2025 15:08
KristofferC pushed a commit to JuliaLang/julia that referenced this pull request Apr 24, 2025
After discussion with Cody, this is an attempt at a more minimal version
of #56194.

The intent is to work around the invalidation issue introduced by the
split design with AnnotatedStrings, resolving the headache for 1.12.

Paired with JuliaLang/StyledStrings.jl#115

Many thanks to @topolarity for working out this approach, the discussion
on balancing the short/long term fixes for this issue.

------

From my understanding of the problem, this should fix the
`write`/`print`/`show` invalidations, but this needs to be checked.

---------

Co-authored-by: Cody Tapscott <[email protected]>
(cherry picked from commit 6d78a4a)
LebedevRI pushed a commit to LebedevRI/julia that referenced this pull request May 2, 2025
After discussion with Cody, this is an attempt at a more minimal version
of JuliaLang#56194.

The intent is to work around the invalidation issue introduced by the
split design with AnnotatedStrings, resolving the headache for 1.12.

Paired with JuliaLang/StyledStrings.jl#115

Many thanks to @topolarity for working out this approach, the discussion
on balancing the short/long term fixes for this issue.

------

From my understanding of the problem, this should fix the
`write`/`print`/`show` invalidations, but this needs to be checked.

---------

Co-authored-by: Cody Tapscott <[email protected]>
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