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

Allow custom merge/replace semantics for TextPresentation ranges #2543 #2546

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregdyke
Copy link

TextPresentation performs at least two tasks when applying new StyleRanges:

  • identify which style ranges need creating/matching with new styles
  • merge or replace an individual style range

Decouple the two tasks by exposing methods for applying style range(s) that accept a BiConsumer to customise how style ranges should be merged.

…pse-platform#2543

TextPresentation performs at least two tasks when applying new
StyleRanges:
- identify which style ranges need creating/matching with new styles
- merge or replace an individual style range

Decouple the two tasks by exposing methods for applying style range(s) that
accept a BiConsumer to customise how style ranges should be merged
@mickaelistria mickaelistria linked an issue Nov 27, 2024 that may be closed by this pull request
1 task
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.

Allow custom merge semantics for TextPresentation styles
1 participant