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
4930b51b
Commit
4930b51b
authored
Sep 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLTxtRange::inRange implementation.
parent
6e905fd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
txtrange.c
dlls/mshtml/txtrange.c
+25
-2
No files found.
dlls/mshtml/txtrange.c
View file @
4930b51b
...
...
@@ -335,8 +335,31 @@ static HRESULT WINAPI HTMLTxtRange_inRange(IHTMLTxtRange *iface, IHTMLTxtRange *
VARIANT_BOOL
*
InRange
)
{
HTMLTxtRange
*
This
=
HTMLTXTRANGE_THIS
(
iface
);
FIXME
(
"(%p)->(%p %p)
\n
"
,
This
,
Range
,
InRange
);
return
E_NOTIMPL
;
HTMLTxtRange
*
src_range
;
PRInt16
nsret
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
Range
,
InRange
);
*
InRange
=
VARIANT_FALSE
;
src_range
=
get_range_object
(
This
->
doc
,
Range
);
if
(
!
src_range
)
return
E_FAIL
;
nsres
=
nsIDOMRange_CompareBoundaryPoints
(
This
->
nsrange
,
NS_START_TO_START
,
src_range
->
nsrange
,
&
nsret
);
if
(
NS_SUCCEEDED
(
nsres
)
&&
nsret
<=
0
)
{
nsres
=
nsIDOMRange_CompareBoundaryPoints
(
This
->
nsrange
,
NS_END_TO_END
,
src_range
->
nsrange
,
&
nsret
);
if
(
NS_SUCCEEDED
(
nsres
)
&&
nsret
>=
0
)
*
InRange
=
VARIANT_TRUE
;
}
if
(
NS_FAILED
(
nsres
))
ERR
(
"CompareBoundaryPoints failed: %08x
\n
"
,
nsres
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLTxtRange_isEqual
(
IHTMLTxtRange
*
iface
,
IHTMLTxtRange
*
Range
,
...
...
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