diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2016-05-10 12:21:33 -0700 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2016-05-10 12:21:33 -0700 |
commit | 78f0d83550d70f043e1b9d35f56efa8c7572f44f (patch) | |
tree | 622e6c8d5d44670d38c4fb5d89e0e7be54e43807 /docs/html/sdk/api_diff/24/changes | |
parent | 046f2c80ae4763cedeeeaf51d4d2d7155cb3d3d4 (diff) |
Sum up character widths to get the last line width for ellipsis.
To properly apply ellipsis, we virtually concatenate the last line and
overflowed lines after line breaking for a paragraph.
Previously, width of the concatenated line was computed by summing up all
line's width. However, the width is wrong when there are any trailing
white spaces that can be normal white spaces by concatenating lines.
With this CL, we sum up widths of all characters in lines except the last
overflowed line.
Bug: 28599066
Change-Id: I41d828ee8eb8a702cd5096d626b307cbb3467047
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions