Track changes markers on wrapped lines (or any markers for that matter)

10 views
Skip to first unread message

Mitchell

unread,
Jun 2, 2025, 10:44:56 PMJun 2
to scintilla-interest
Hi,

Perhaps I’m missing something. The track changes features uses SC_MARK_BAR to mark changed lines. If those lines are wrapped, the mark does not appear on any sublines. It would be nice to have that continuity, for example a block of added, wrapped lines.

I’ve perused the documentation but haven’t found any way to have markers drawn in subline margins. Does that feature exist?

Cheers,
Mitchell

Mitchell

unread,
Jun 2, 2025, 10:56:30 PMJun 2
to scintilla...@googlegroups.com
Hi,

> On Jun 2, 2025, at 10:44 PM, Mitchell <co...@foicica.com> wrote:
>
> Hi,
>
> Perhaps I’m missing something. The track changes features uses SC_MARK_BAR to mark changed lines. If those lines are wrapped, the mark does not appear on any sublines. It would be nice to have that continuity, for example a block of added, wrapped lines.

Yes, I was missing something. I wasn’t using SC_MARK_BAR because they were too small before I submitted my patch to make them bigger. Changing my markers to SC_MARK_BAR does draw them on sublines.

I may still submit a patch to allow drawing other markers on sublines, like SC_MARK_FULLRECT, which is what I was using.

Sorry for the noise,
Mitchell
Reply all
Reply to author
Forward
0 new messages