Skip to content

Commit ec5ebc1

Browse files
gregdykeGreg Dyke
authored and
Greg Dyke
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 ec5ebc1

File tree

1 file changed

+138
-125
lines changed

1 file changed

+138
-125
lines changed

0 commit comments

Comments
 (0)