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
5dee1a3f
Commit
5dee1a3f
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::setSelectionRange implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aebefe17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
htmlinput.c
dlls/mshtml/htmlinput.c
+15
-2
No files found.
dlls/mshtml/htmlinput.c
View file @
5dee1a3f
...
...
@@ -1329,8 +1329,21 @@ static HRESULT WINAPI HTMLInputTextElement2_get_selectionEnd(IHTMLInputTextEleme
static
HRESULT
WINAPI
HTMLInputTextElement2_setSelectionRange
(
IHTMLInputTextElement2
*
iface
,
LONG
start
,
LONG
end
)
{
HTMLInputElement
*
This
=
impl_from_IHTMLInputTextElement2
(
iface
);
FIXME
(
"(%p)->(%d %d)
\n
"
,
This
,
start
,
end
);
return
E_NOTIMPL
;
nsAString
none_str
;
nsresult
nsres
;
static
const
WCHAR
noneW
[]
=
{
'n'
,
'o'
,
'n'
,
'e'
,
0
};
TRACE
(
"(%p)->(%d %d)
\n
"
,
This
,
start
,
end
);
nsAString_InitDepend
(
&
none_str
,
noneW
);
nsres
=
nsIDOMHTMLInputElement_SetSelectionRange
(
This
->
nsinput
,
start
,
end
,
&
none_str
);
nsAString_Finish
(
&
none_str
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"SetSelectionRange failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
return
S_OK
;
}
static
const
IHTMLInputTextElement2Vtbl
HTMLInputTextElement2Vtbl
=
{
...
...
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