commit | df96bf69f22d63a0ab6c5e48556682b0532c3079 | [log] [tgz] |
---|---|---|
author | Henrique Nakashima <hnakashima@chromium.org> | Tue Apr 24 17:55:08 2018 +0000 |
committer | Chromium commit bot <commit-bot@chromium.org> | Tue Apr 24 17:55:08 2018 +0000 |
tree | 761edb26bf1c1bf2aacd8f643f0dcbb9022e8f2a | |
parent | 8a95c22dd5d4f7d4e730370c761f41298ba98bf2 [diff] |
Fix edit text rendered with wrong offsets after deletion. Bug: chromium:835924 Change-Id: I3d6a3d1947cb1b8cda246cc74ef0b79a482b7997 Reviewed-on: https://pdfium-review.googlesource.com/31276 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp index 1b6e29d..989843c 100644 --- a/xfa/fde/cfde_texteditengine.cpp +++ b/xfa/fde/cfde_texteditengine.cpp
@@ -821,6 +821,7 @@ gap_size_ += length; text_length_ -= length; + is_dirty_ = true; ClearSelection(); if (delegate_)