Bug 117846

Summary: [BlackBerry] Send the correct offsets for misspelled words.
Product: WebKit Reporter: Nima Ghanavatian <nghanavatian>
Component: WebKit BlackBerryAssignee: Nima Ghanavatian <nghanavatian>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Nima Ghanavatian
Reported 2013-06-20 13:21:47 PDT
When the caret is placed after a word, the offsets were calculated around the proceeding space. As such, words that end a sentence worked correctly, but midsentence words did not. The 'startOfWord' was calculated for the space ahead and not for the word before it. Now finding the start of the word correctly and calculating the end from there.
Attachments
Patch (3.66 KB, patch)
2013-06-20 13:30 PDT, Nima Ghanavatian
no flags
Patch (3.71 KB, patch)
2013-06-20 13:34 PDT, Nima Ghanavatian
no flags
Nima Ghanavatian
Comment 1 2013-06-20 13:30:51 PDT
Nima Ghanavatian
Comment 2 2013-06-20 13:34:08 PDT
Rob Buis
Comment 3 2013-06-20 13:43:24 PDT
Comment on attachment 205114 [details] Patch LGTM.
WebKit Commit Bot
Comment 4 2013-06-20 15:53:02 PDT
Comment on attachment 205114 [details] Patch Clearing flags on attachment: 205114 Committed r151809: <http://trac.webkit.org/changeset/151809>
WebKit Commit Bot
Comment 5 2013-06-20 15:53:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.