Closed mookid closed 4 years ago
This change improves the presentation; spaces following the leading '+', '-' or ' ' in chunks is never colorized.
diffr-lib (TokenKind::NewLine): new case. (tokenize, classify_byte): handle specifically spaces following the first character.
diffr (paint_line): skip spaces a second time for coloring.
Fix #26 Fix #19 Unfortunately the info at that point does not allow to do the processing only once.
This change improves the presentation; spaces following the leading '+', '-' or ' ' in chunks is never colorized.
diffr-lib (TokenKind::NewLine): new case. (tokenize, classify_byte): handle specifically spaces following the first character.
diffr (paint_line): skip spaces a second time for coloring.
Fix #26 Fix #19 Unfortunately the info at that point does not allow to do the processing only once.