summaryrefslogtreecommitdiff
path: root/odk/settings
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-02-01 13:52:22 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2017-02-01 14:06:19 +0000
commitc34fc4520dfee4ca068f249ee0756dacaa7a60cf (patch)
tree060a1ee78df5ee804757f21cff9bf29115d26a19 /odk/settings
parentf2278a10b27c6ca53bfdecf385aae6f1d29a36fb (diff)
tdf#105625 related: also check selection across field boundaries
The problem in callnk.cxx was that when selecting 1 char to the right using keyboard, and exiting field boundary, nCmp pointed to previous position (inside field), and then compared to position to the left (which also may be inside field), thus missing call change link (and read-only state change). Seems that this was a mistake in commit 740efbb1daf26828f70dc785c1e107f67706286b. In pam.cxx, if cursor was to the left of field, and then selected 1 char to the right to cross field's boundary, then both PaM's point and mark had same fieldmark, but point was outside, and mark inside, and as code didn't check this condition, so read-only state wasn't properly set. Unit test is augmented to check the second problem. Change-Id: I7323e53eeb261b4ccdc0f9e36cc0956b373f104d Reviewed-on: https://gerrit.libreoffice.org/33790 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'odk/settings')
0 files changed, 0 insertions, 0 deletions