In viewvc's colored diff views, there is no CSS class defined for changed lines

One example:

http://gcc.gnu.org/viewcvs/trunk/gcc/config/avr/libgcc.S?r1=172384&r2=172383&pathrev=172384&diff_format=h

The "removed" lines have a red background and can be seen easily.
But the "changed" lines have just a slight variation in font face and it's hard to find all changed lines.

The "changed" lines refer to a CSS class "vc_diff_change" which is defined nowhere: http://gcc.gnu.org/viewvc-static/styles.css doesn't define that class.

Moreover, the red lines use a fixed-size font whereas other source lines use a variable-width font which make it hard to distinguish O/0 resp. I/l/1/|.

IMO a fixed-width, same-face font for all source lines is preferable, and the changed lines could be better seen if they had a distinct background color like, say, yellow.

Johann

Reply via email to