#NEWLINE# def content( self ) : #NEWLINE# #INDENT# '\n        Return the canvas content as a list of rows where each row\n        is a list of (attr, cs, text) tuples.\n        ' #NEWLINE# shard_tail = [ ] #NEWLINE# for ( num_rows , cviews ) in shard_tail . shards : #NEWLINE# #INDENT# sbody = shard_body ( cviews , shard_tail ) #NEWLINE# for i in range ( num_rows ) : #NEWLINE# #INDENT# ( yield shard_body_row ( sbody ) ) #NEWLINE# #UNINDENT# shard_tail = shard_body_tail ( num_rows , sbody )