Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Issue 2634243002: Fix a bug when inputting text after grapheme cluster (Closed)

Created:
3 years, 11 months ago by yabinh
Modified:
3 years, 11 months ago
Reviewers:
yosin_UTC9
CC:
aelias_OOO_until_Jul13, blink-reviews, Changwan Ryu, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bug when inputting text after grapheme cluster In InsertIncrementalTextCommand::doApply(), there was an error when finding common prefix/suffix of old composition and new composition. When adjusting the position for grapheme cluster, the old implementation ignored the text before the composition. BUG=680537 TEST=run_webkit_layout_test --gtest_filter=InputMethodControllerTest.SetCompositionAfterEmoji Review-Url: https://codereview.chromium.org/2634243002 Cr-Commit-Position: refs/heads/master@{#444287} Committed: https://chromium.googlesource.com/chromium/src/+/af60cd94fd4b6cab16dd5b48d16111afbc9ba524

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp View 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertIncrementalTextCommand.cpp View 5 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
yabinh
PTAL. Thanks!
3 years, 11 months ago (2017-01-17 08:53:11 UTC) #7
yosin_UTC9
lgtm s/multiple code text/graphemecluster/ "multiple code text" isn't appeared elsewhere. Since |selectionStart| always starts at ...
3 years, 11 months ago (2017-01-18 05:36:56 UTC) #9
yabinh
On 2017/01/18 05:36:56, Yosi_UTC9 wrote: > lgtm > > s/multiple code text/graphemecluster/ > > "multiple ...
3 years, 11 months ago (2017-01-18 05:41:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2634243002/1
3 years, 11 months ago (2017-01-18 05:41:55 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 05:47:41 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/af60cd94fd4b6cab16dd5b48d161...

Powered by Google App Engine
This is Rietveld 408576698