forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow custom merge/replace semantics for TextPresentation ranges ecli…
…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
- Loading branch information
Showing
1 changed file
with
66 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters