Renames the text related types to have more sensible names.
Changes the WeightedTextBlock (former WeightedLine) so that when it's constructed from text chunks it collapses consecutive text chunks that use the same style into the same block. This helped reduce memory usage slightly and should make the rendering slightly faster as there's fewer blocks to be traversed.
This PR:
WeightedTextBlock
(formerWeightedLine
) so that when it's constructed from text chunks it collapses consecutive text chunks that use the same style into the same block. This helped reduce memory usage slightly and should make the rendering slightly faster as there's fewer blocks to be traversed.