Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cbfef318
Commit
cbfef318
authored
Aug 17, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLTxtRange::select implementation.
parent
dab6474b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
txtrange.c
dlls/mshtml/txtrange.c
+18
-2
No files found.
dlls/mshtml/txtrange.c
View file @
cbfef318
...
...
@@ -337,8 +337,24 @@ static HRESULT WINAPI HTMLTxtRange_moveEnd(IHTMLTxtRange *iface, BSTR Unit,
static
HRESULT
WINAPI
HTMLTxtRange_select
(
IHTMLTxtRange
*
iface
)
{
HTMLTxtRange
*
This
=
HTMLTXTRANGE_THIS
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p)
\n
"
,
This
);
if
(
This
->
doc
->
nscontainer
)
{
nsIDOMWindow
*
dom_window
=
NULL
;
nsISelection
*
nsselection
;
nsIWebBrowser_GetContentDOMWindow
(
This
->
doc
->
nscontainer
->
webbrowser
,
&
dom_window
);
nsIDOMWindow_GetSelection
(
dom_window
,
&
nsselection
);
nsIDOMWindow_Release
(
dom_window
);
nsISelection_RemoveAllRanges
(
nsselection
);
nsISelection_AddRange
(
nsselection
,
This
->
nsrange
);
nsISelection_Release
(
nsselection
);
}
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLTxtRange_pasteHTML
(
IHTMLTxtRange
*
iface
,
BSTR
html
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment