Fix multiline incremental insertion
The previous fixing attempt for multiline insertion (http://crrev.com/2680733002) only worked for two-line text, and this CL allows for incremental insertion of three or more lines of text. Since selection is shifted after insertion, we need to update the selection start offset that will be used in adjusting selection for incremental insertion. BUG=712380 Change-Id: Ibb3212bd78fc7e30232aaa6b780c0c1182b63d1c Reviewed-on: https://chromium-review.googlesource.com/580496 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#488616}
Showing
Please register or sign in to comment