commit | b7419dd76e6d0ff06a1d45fd8389093c9a212351 | [log] [tgz] |
---|---|---|
author | Clara Bayarri <clarabayarri@google.com> | Thu Apr 09 15:24:58 2015 +0100 |
committer | Clara Bayarri <clarabayarri@google.com> | Fri Apr 10 15:45:07 2015 +0100 |
tree | 81aa4630e70db2bd0d686d4b0fa3442da74695f7 | |
parent | 7a11a0e8c1bf452de0516b675b0180f63d9c5c5d [diff] |
Editor: Account for a split cursor in the content rect calculation In some cases, the cursor in a TextView is split. This happens with RTL languages. For this case we need to ensure neither of the half cursors is obscured by the Floating Toolbar, hence we take the minimal rectangle that contains both cursors as the content rect. Change-Id: I2ce411793fcba2140c4ad7fb7caaf03593620484