Module: wine Branch: master Commit: b4bbffc64a94527a5c598dfaa029e66d6f9ee9e5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4bbffc64a94527a5c598dfaa0...
Author: Jacek Caban jacek@codeweavers.com Date: Sun Aug 12 17:44:19 2007 +0200
mshtml: Added IHTMLTxtRange::collapse implementation.
---
dlls/mshtml/txtrange.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/txtrange.c b/dlls/mshtml/txtrange.c index 0e90771..ae90e81 100644 --- a/dlls/mshtml/txtrange.c +++ b/dlls/mshtml/txtrange.c @@ -261,8 +261,11 @@ static HRESULT WINAPI HTMLTxtRange_scrollIntoView(IHTMLTxtRange *iface, VARIANT_ static HRESULT WINAPI HTMLTxtRange_collapse(IHTMLTxtRange *iface, VARIANT_BOOL Start) { HTMLTxtRange *This = HTMLTXTRANGE_THIS(iface); - FIXME("(%p)->(%x)\n", This, Start); - return E_NOTIMPL; + + TRACE("(%p)->(%x)\n", This, Start); + + nsIDOMRange_Collapse(This->nsrange, Start != VARIANT_FALSE); + return S_OK; }
static HRESULT WINAPI HTMLTxtRange_expand(IHTMLTxtRange *iface, BSTR Unit, VARIANT_BOOL *Success)