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
cd9fbc52
Commit
cd9fbc52
authored
Jun 26, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added Exec(IDM_DELETE) implementation.
parent
67f87c55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
editor.c
dlls/mshtml/editor.c
+12
-1
No files found.
dlls/mshtml/editor.c
View file @
cd9fbc52
...
...
@@ -579,6 +579,17 @@ static void set_ns_fontname(NSContainer *This, const char *fontname)
nsICommandParams_Release
(
nsparam
);
}
static
HRESULT
exec_delete
(
HTMLDocument
*
This
,
DWORD
cmdexecopt
,
VARIANT
*
in
,
VARIANT
*
out
)
{
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
in
,
out
);
if
(
This
->
nscontainer
)
do_ns_editor_command
(
This
->
nscontainer
,
NSCMD_DELETECHARFORWARD
);
update_doc
(
This
,
UPDATE_UI
);
return
S_OK
;
}
static
HRESULT
exec_fontname
(
HTMLDocument
*
This
,
DWORD
cmdexecopt
,
VARIANT
*
in
,
VARIANT
*
out
)
{
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
in
,
out
);
...
...
@@ -1037,7 +1048,7 @@ static HRESULT query_edit_status(HTMLDocument *This, OLECMD *cmd)
}
const
cmdtable_t
editmode_cmds
[]
=
{
{
IDM_DELETE
,
query_edit_status
,
NULL
},
{
IDM_DELETE
,
query_edit_status
,
exec_delete
},
{
IDM_FONTNAME
,
query_edit_status
,
exec_fontname
},
{
IDM_FONTSIZE
,
query_edit_status
,
exec_fontsize
},
{
IDM_FORECOLOR
,
query_edit_status
,
exec_forecolor
},
...
...
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