From b4bbffc64a94527a5c598dfaa029e66d6f9ee9e5 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 12 Aug 2007 17:44:19 +0200 Subject: [PATCH] mshtml: Added IHTMLTxtRange::collapse implementation. --- dlls/mshtml/txtrange.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/txtrange.c b/dlls/mshtml/txtrange.c index 0e90771c965..ae90e8191a9 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)