[webkit-changes] cvs commit: WebKit/WebView.subproj WebHTMLView.m
Maciej
mjs at opensource.apple.com
Mon Nov 28 14:39:59 PST 2005
mjs 05/11/28 14:39:59
Modified: . ChangeLog
WebView.subproj WebHTMLView.m
Log:
Reviewed by Darin. Committed by Maciej.
- fixed "Word completion doesn't work at end of word (unless last word)"
(http://bugzilla.opendarwin.org/show_bug.cgi?id=4062)
* WebView.subproj/WebHTMLView.m:
(-[WebTextCompleteController doCompletion]):
Revision Changes Path
1.3376 +10 -0 WebKit/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebKit/ChangeLog,v
retrieving revision 1.3375
retrieving revision 1.3376
diff -u -r1.3375 -r1.3376
--- ChangeLog 28 Nov 2005 20:23:58 -0000 1.3375
+++ ChangeLog 28 Nov 2005 22:39:56 -0000 1.3376
@@ -1,3 +1,13 @@
+2005-11-28 Alexey Proskuryakov <ap at nypop.com>
+
+ Reviewed by Darin. Committed by Maciej.
+
+ - fixed "Word completion doesn't work at end of word (unless last word)"
+ (http://bugzilla.opendarwin.org/show_bug.cgi?id=4062)
+
+ * WebView.subproj/WebHTMLView.m:
+ (-[WebTextCompleteController doCompletion]):
+
2005-11-28 John Sullivan <sullivan at apple.com>
Reviewed by Tim Omernick.
1.480 +1 -1 WebKit/WebView.subproj/WebHTMLView.m
Index: WebHTMLView.m
===================================================================
RCS file: /cvs/root/WebKit/WebView.subproj/WebHTMLView.m,v
retrieving revision 1.479
retrieving revision 1.480
diff -u -r1.479 -r1.480
--- WebHTMLView.m 27 Nov 2005 06:36:30 -0000 1.479
+++ WebHTMLView.m 28 Nov 2005 22:39:59 -0000 1.480
@@ -5321,7 +5321,7 @@
// Get preceeding word stem
WebBridge *bridge = [_view _bridge];
DOMRange *selection = [bridge selectedDOMRange];
- DOMRange *wholeWord = [bridge rangeByExpandingSelectionWithGranularity:WebBridgeSelectByWord];
+ DOMRange *wholeWord = [bridge rangeByAlteringCurrentSelection:WebSelectByExtending direction:WebBridgeSelectBackward granularity:WebBridgeSelectByWord];
DOMRange *prefix = [wholeWord cloneRange];
[prefix setEnd:[selection startContainer] :[selection startOffset]];
More information about the webkit-changes
mailing list