Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
03febf44
Commit
03febf44
authored
Jun 15, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLInputTextElement2::selectionStart property implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0fed758e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
htmlinput.c
dlls/mshtml/htmlinput.c
+23
-4
No files found.
dlls/mshtml/htmlinput.c
View file @
03febf44
...
...
@@ -1263,15 +1263,34 @@ static HRESULT WINAPI HTMLInputTextElement2_Invoke(IHTMLInputTextElement2 *iface
static
HRESULT
WINAPI
HTMLInputTextElement2_put_selectionStart
(
IHTMLInputTextElement2
*
iface
,
LONG
v
)
{
HTMLInputElement
*
This
=
impl_from_IHTMLInputTextElement2
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
nsresult
nsres
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
v
);
nsres
=
nsIDOMHTMLInputElement_SetSelectionStart
(
This
->
nsinput
,
v
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"SetSelectionStart failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLInputTextElement2_get_selectionStart
(
IHTMLInputTextElement2
*
iface
,
LONG
*
p
)
{
HTMLInputElement
*
This
=
impl_from_IHTMLInputTextElement2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
INT32
selection_start
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsres
=
nsIDOMHTMLInputElement_GetSelectionStart
(
This
->
nsinput
,
&
selection_start
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetSelectionStart failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
selection_start
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLInputTextElement2_put_selectionEnd
(
IHTMLInputTextElement2
*
iface
,
LONG
v
)
...
...
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