diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-04-24 16:19:08 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-24 16:19:08 +0000 |
commit | 273c598ef5e7e9ee210a8e6645b3a83b9f21a1da (patch) | |
tree | 300429912d599179dc2d1faf9ab6c28a0d88234f /fpdfsdk/cpdfsdk_fieldaction.cpp | |
parent | 90e03b9b3f459e8812301b58ec0952b136f23a53 (diff) | |
download | pdfium-273c598ef5e7e9ee210a8e6645b3a83b9f21a1da.tar.xz |
Fix caret moving to next line on click in multiline XFA edit.
On a mouse click after the end of a line (except for the last line)
in an XFA text edit, the caret was moved to the beginning of the next
line, as the position after the space was actually in the next line.
This CL changes the behavior so that the caret is positioned before
the space in this case.
Note it's possible to click directly to that position by clicking
on the beginning of the next line.
Bug: chromium:832293
Change-Id: Ib376e4cca7b32a87d478d3346cb3d8f3bd825daa
Reviewed-on: https://pdfium-review.googlesource.com/31110
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_fieldaction.cpp')
0 files changed, 0 insertions, 0 deletions