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

Issue 908303002: Fix the range returned by findFirstMisspelling

Created:
5 years, 10 months ago by Shezan Baig (Bloomberg)
Modified:
5 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, groby+blinkspell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix the range returned by findFirstMisspelling This fixes a regression made in [1]. The 'firstMisspellingRange' is supposed to be the range of the misspelling, not the range of the text that was checked. [1] https://codereview.chromium.org/576073003 BUG= R=yosin@chromium.org

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/core/editing/TextCheckingHelper.cpp View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 6 (0 generated)
Shezan Baig (Bloomberg)
5 years, 10 months ago (2015-02-10 20:40:41 UTC) #1
yosin_UTC9
Sorry for super late response. m(_ _)m https://codereview.chromium.org/908303002/diff/1/Source/core/editing/TextCheckingHelper.cpp File Source/core/editing/TextCheckingHelper.cpp (right): https://codereview.chromium.org/908303002/diff/1/Source/core/editing/TextCheckingHelper.cpp#newcode272 Source/core/editing/TextCheckingHelper.cpp:272: firstMisspellingRange = ...
5 years, 7 months ago (2015-05-21 02:28:49 UTC) #2
Shezan Baig (Bloomberg)
On 2015/05/21 02:28:49, Yosi_UTC9 wrote: > Sorry for super late response. m(_ _)m > > ...
5 years, 7 months ago (2015-05-21 09:19:39 UTC) #3
yosin_UTC9
On 2015/05/21 09:19:39, Shezan Baig (Bloomberg) wrote: > On 2015/05/21 02:28:49, Yosi_UTC9 wrote: > > ...
5 years, 7 months ago (2015-05-22 01:32:48 UTC) #4
Shezan Baig (Bloomberg)
On 2015/05/22 01:32:48, Yosi_UTC9 wrote: > Could you write test script for your change? > ...
5 years, 7 months ago (2015-05-22 11:51:05 UTC) #5
yosin_UTC9
5 years, 7 months ago (2015-05-25 04:25:14 UTC) #6
On 2015/05/22 11:51:05, Shezan Baig (Bloomberg) wrote:
> So I wonder if HTMLTextFormControlElementTest.cpp would be a better place?  Or
> do you think we should add a DummySpellCheckerClient to
> DocumentMarkerControllerTest.cpp?

I prefer DocumentMarkerControllerTest.cpp to have test script in same directory.

Powered by Google App Engine
This is Rietveld 408576698