commit | 81541491946bfc4f2e26c171b4ebff4249dca51c | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Tue Jun 26 16:05:15 2012 -0700 |
committer | Gilles Debunne <debunne@google.com> | Wed Jun 27 17:21:21 2012 -0700 |
tree | 9c3b5fe811ecc6b444ba520408dcad5be255a543 | |
parent | d80f095efb1cb1751fa72e9344b8b5e276b6db6f [diff] |
Better handling of spaces at ends of lines in StaticLayout. Skipping spaces at ends of line used to be done only when ok != here (a potential line break was found). Moved this logic up one level to handle all cases. Also moved maxLine test in the block that actually adds a new line. Updated the unit tests accordingly. Change-Id: Ib10bc838b1ffa5b8a60259ea4b622d9fecb2ec70