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
44c22801
Commit
44c22801
authored
Dec 10, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added support for IDM_CUT command in browser mode.
parent
935e7f05
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
olecmd.c
dlls/mshtml/olecmd.c
+15
-2
No files found.
dlls/mshtml/olecmd.c
View file @
44c22801
...
...
@@ -573,13 +573,26 @@ static HRESULT query_mshtml_cut(HTMLDocument *This, OLECMD *cmd)
static
HRESULT
exec_mshtml_cut
(
HTMLDocument
*
This
,
DWORD
cmdexecopt
,
VARIANT
*
in
,
VARIANT
*
out
)
{
nsIClipboardCommands
*
clipboard_commands
;
nsresult
nsres
;
TRACE
(
"(%p)->(%08x %p %p)
\n
"
,
This
,
cmdexecopt
,
in
,
out
);
if
(
This
->
doc_obj
->
usermode
==
EDITMODE
)
return
editor_exec_cut
(
This
,
cmdexecopt
,
in
,
out
);
FIXME
(
"Unimplemented in browse mode
\n
"
);
return
E_NOTIMPL
;
clipboard_commands
=
get_clipboard_commands
(
This
);
if
(
!
clipboard_commands
)
return
E_UNEXPECTED
;
nsres
=
nsIClipboardCommands_CutSelection
(
clipboard_commands
);
nsIClipboardCommands_Release
(
clipboard_commands
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Paste failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
return
S_OK
;
}
static
HRESULT
query_mshtml_paste
(
HTMLDocument
*
This
,
OLECMD
*
cmd
)
...
...
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