Getting into the philosophy department: > It can do that, but not expose it to the rowpainter code. The rowpainter > does not care about the method used to pick a color.
.... but it is ok to expose that rowpainter should indicate a change by painting it in a different color ? Even more striking, it also decides _at a different location_, that it has to drawn it with different 'decoration' ? Following your reasoning, we should have a Change::paint(..) method, or better, ChangeDeleted::paint(..) and ChangeAdded::paint(..), because - we might not want to see deletions at all, or - just paint it with a marker to indicate something has been deleted, - show a marker which expands when you hover over it, or - show it as a balloon like MS word, or - show it in a widget (like outline, view source) This immediately adds the flexibility that we can offer the user a custom style (or various predefined styles) to show additions or deletions... Well, let's have a beer and add it to the maybe-new-feature-in-LyX1.7 list ?? Vincent