Summary: | Word completion doesn't work at end of word (unless last word) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Duncan Wilcox <duncan> | ||||||||
Component: | HTML Editing | Assignee: | Dave Hyatt <hyatt> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ap | ||||||||
Priority: | P2 | ||||||||||
Version: | 420+ | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.4 | ||||||||||
Attachments: |
|
Description
Duncan Wilcox
2005-07-18 15:01:35 PDT
Created attachment 3007 [details]
test case
Create a cocoa app in xcode, replace main.m with the attachment and add the
WebKit.framework to the project.
Confirmed with ToT (running Blot) Created attachment 4490 [details]
proposed patch (use rangeByAlteringCurrentSelection)
I have also thought about changing rangeByExpandingSelectionWithGranularity: to
work in this case, but this seems to require quite a number of changes to how a
selection's affinity is set in various places, which may or may not be
desirable...
Created attachment 4491 [details]
proposed patch (use rangeByAlteringCurrentSelection)
An unrelated change sneaked into the patch...
Comment on attachment 4491 [details]
proposed patch (use rangeByAlteringCurrentSelection)
Looks fine. r=me
|