Currently we have a couple of cases where we highlight changed lines by adding a text-marker in the margin associated with the line, and applying a style to the marker's text so it shows up either green or red.
However, if you have word-wrap on, the markers appear only for the part of the margin at the start of each line. Let's say lines 5 and 6 (1-based coords) changed, and line 5 wraps over the next 3 lines. Then I only get markers at the start of line 5, and then another marker 4 lines down for line 6. I'd like to see a band of 4 markers for line 5.
I realize that I don't want this for any of the other kinds of markers, like breakpoints, fold markers, and bookmarks. Those are fine not repeating.
Is there any way to do this with Scintilla (v. 334)? Does this feature make sense.
You can see this in Komodo IDE (not Edit) with collaboration. Share a file between two nodes (machines, usually), could be two VMs. In the one that's being changed create a long line and start modifying that line. Doesn't have to be a real long line -- 3 screen-widths is ample. In the other system just view the changes, but turn word-wrap on. The colored change markers should appear only with the first line.
Log in to post a comment.