commit | 8718e175dd0e10032b4507ff2c0b5cd1338108cf | [log] [tgz] |
---|---|---|
author | Carsten Hiesserich <carsten.hie@gmail.com> | Sun Jul 20 12:35:18 2014 +0200 |
committer | Carsten Hiesserich <carsten.hie@gmail.com> | Sun Jul 20 06:38:30 2014 -0400 |
tree | 38e03b2b68211a50e03c0df9204dd14debf24011 | |
parent | f5ba4e876de557be0193ec517b2417e1b9238624 [diff] |
fix invalid ContentPosition returned by Layout methods The layout methods getNextLinePosition and getPreviousLinePosition created a ContentPosition whose offset did not match the node under certain conditions. Instead of composing a new ContentPosition, we now always return a valid position. The test have been adjusted to ensure this behaviour. Change-Id: I4426ac92c084c1c23225730015defc0b9c4220a7 Signed-off-by: Carsten Hiesserich <carsten.hie@gmail.com>