Skip to content

Commit dd91cd0

Browse files
committed
Allow custom merge/replace semantics for TextPresentation ranges eclipse-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
1 parent 6a3eb35 commit dd91cd0

File tree

1 file changed

+138
-125
lines changed

1 file changed

+138
-125
lines changed

0 commit comments

Comments
 (0)