view tests/test-check-code.out @ 10827:b66388f6adfa

color: don't split colors across lines (which confuses less -R) Currently, less -R doesn't support colors spanning multiple lines; only the first line will be colorized. Instead of allowing colors to span multiple lines, the color extension now applies colors to each line it receives, even when ui.write() is given multiple lines in one call.
author Brodie Rao <brodie@bitheap.org>
date Fri, 02 Apr 2010 15:22:19 -0500
parents 62b8f15683f2
children 920a783e5f91
line wrap: on
line source

./wrong.py:1:
 > def toto( arg1, arg2):
 gratuitous whitespace in () or []
./wrong.py:2:
 >     del(arg2)
 del isn't a function
./wrong.py:3:
 >     return ( 5+6, 9)
 missing whitespace in expression
 gratuitous whitespace in () or []
./quote.py:5:
 > '"""', 42+1, """and
 missing whitespace in expression