]> Cypherpunks repositories - gostls13.git/commit
- fixed bug with unicode text formatting: the number of bytes
authorRobert Griesemer <gri@golang.org>
Tue, 9 Dec 2008 21:03:15 +0000 (13:03 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 9 Dec 2008 21:03:15 +0000 (13:03 -0800)
commit6cbdeb3f8810a7acb20d166fe399ab087587a353
tree4cf9929988ec92e6a8618f59c5dd59181ff5e809
parent92a1190c6c97aeeae50a2579ba0f23e257719e02
- fixed bug with unicode text formatting: the number of bytes
  per rune cannot be computed correctly if we have only parts
  of a rune - delay computation
- added html filtering mode: html tags and entities are ignored
  for width computations
- expanded tests:
  - extra tests for html text
  - extra tests that write text in various portions

R=r
DELTA=227  (126 added, 20 deleted, 81 changed)
OCL=20833
CL=20835
src/lib/tabwriter/tabwriter.go
src/lib/tabwriter/tabwriter_test.go