Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
4231c9e2
Commit
4231c9e2
authored
17 years ago
by
Jacek Caban
Committed by
Alexandre Julliard
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mshtml: Added edit mode IDM_COPY implementation.
parent
431cf803
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/mshtml/editor.c
+12
-0
12 additions, 0 deletions
dlls/mshtml/editor.c
dlls/mshtml/mshtml_private.h
+1
-0
1 addition, 0 deletions
dlls/mshtml/mshtml_private.h
dlls/mshtml/olecmd.c
+6
-1
6 additions, 1 deletion
dlls/mshtml/olecmd.c
with
19 additions
and
1 deletion
dlls/mshtml/editor.c
+
12
−
0
View file @
4231c9e2
...
...
@@ -41,6 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
#define NSCMD_BOLD "cmd_bold"
#define NSCMD_CHARNEXT "cmd_charNext"
#define NSCMD_CHARPREVIOUS "cmd_charPrevious"
#define NSCMD_COPY "cmd_copy"
#define NSCMD_FONTCOLOR "cmd_fontColor"
#define NSCMD_FONTFACE "cmd_fontFace"
#define NSCMD_INDENT "cmd_indent"
...
...
@@ -933,6 +934,17 @@ static HRESULT exec_composesettings(HTMLDocument *This, DWORD cmdexecopt, VARIAN
return
S_OK
;
}
HRESULT
editor_exec_copy
(
HTMLDocument
*
This
,
DWORD
cmdexecopt
,
VARIANT
*
in
,
VARIANT
*
out
)
{
update_doc
(
This
,
UPDATE_UI
);
if
(
!
This
->
nscontainer
)
return
E_FAIL
;
do_ns_editor_command
(
This
->
nscontainer
,
NSCMD_COPY
);
return
S_OK
;
}
static
HRESULT
query_edit_status
(
HTMLDocument
*
This
,
OLECMD
*
cmd
)
{
switch
(
cmd
->
cmdID
)
{
...
...
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
+
1
−
0
View file @
4231c9e2
...
...
@@ -398,6 +398,7 @@ void update_title(HTMLDocument*);
void
init_editor
(
HTMLDocument
*
);
void
set_ns_editmode
(
NSContainer
*
);
void
handle_edit_event
(
HTMLDocument
*
,
nsIDOMEvent
*
);
HRESULT
editor_exec_copy
(
HTMLDocument
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
);
extern
DWORD
mshtml_tls
;
...
...
This diff is collapsed.
Click to expand it.
dlls/mshtml/olecmd.c
+
6
−
1
View file @
4231c9e2
...
...
@@ -469,7 +469,12 @@ static HRESULT query_mshtml_copy(HTMLDocument *This, OLECMD *cmd)
static
HRESULT
exec_mshtml_copy
(
HTMLDocument
*
This
,
DWORD
cmdexecopt
,
VARIANT
*
in
,
VARIANT
*
out
)
{
FIXME
(
"(%p)->(%08x %p %p)
\n
"
,
This
,
cmdexecopt
,
in
,
out
);
TRACE
(
"(%p)->(%08x %p %p)
\n
"
,
This
,
cmdexecopt
,
in
,
out
);
if
(
This
->
usermode
==
EDITMODE
)
return
editor_exec_copy
(
This
,
cmdexecopt
,
in
,
out
);
FIXME
(
"Unimplemented in browse mode
\n
"
);
return
E_NOTIMPL
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment