Skip to content

Commit d2569a9

Browse files
committed
Enable syntax coloring for footer minings in unified diff
Line-header minings already applied syntax coloring via StyleRange computation. Footer minings (used when the diff sits at the end of a document without a trailing newline) were missing this: they fell back to a plain super.draw() call for the text. They now use the same computeStyleRanges path, transformFontStyleToFont for bold/italic, and the same rendering loop as the header. A shared MouseClickConsumer (via the new IUnifiedDiffCodeMining interface) also gives footer minings the same double-click overlay behaviour the header already had.
1 parent 2d15cf3 commit d2569a9

2 files changed

Lines changed: 446 additions & 225 deletions

File tree

0 commit comments

Comments
 (0)