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
67f87c55
Commit
67f87c55
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 IDM_DELETE support in QueryStatus.
parent
a8de2abb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
editor.c
dlls/mshtml/editor.c
+5
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+1
-0
No files found.
dlls/mshtml/editor.c
View file @
67f87c55
...
...
@@ -983,6 +983,10 @@ HRESULT editor_exec_paste(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in, VAR
static
HRESULT
query_edit_status
(
HTMLDocument
*
This
,
OLECMD
*
cmd
)
{
switch
(
cmd
->
cmdID
)
{
case
IDM_DELETE
:
TRACE
(
"CGID_MSHTML: IDM_DELETE
\n
"
);
cmd
->
cmdf
=
query_ns_edit_status
(
This
,
NULL
);
break
;
case
IDM_FONTNAME
:
TRACE
(
"CGID_MSHTML: IDM_FONTNAME
\n
"
);
cmd
->
cmdf
=
query_ns_edit_status
(
This
,
NULL
);
...
...
@@ -1033,6 +1037,7 @@ static HRESULT query_edit_status(HTMLDocument *This, OLECMD *cmd)
}
const
cmdtable_t
editmode_cmds
[]
=
{
{
IDM_DELETE
,
query_edit_status
,
NULL
},
{
IDM_FONTNAME
,
query_edit_status
,
exec_fontname
},
{
IDM_FONTSIZE
,
query_edit_status
,
exec_fontsize
},
{
IDM_FORECOLOR
,
query_edit_status
,
exec_forecolor
},
...
...
dlls/mshtml/tests/htmldoc.c
View file @
67f87c55
...
...
@@ -2705,6 +2705,7 @@ static void test_MSHTML_QueryStatus(IUnknown *unk, DWORD cmdf)
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_UNORDERLIST
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_INDENT
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_OUTDENT
,
cmdf
);
test_QueryStatus
(
unk
,
&
CGID_MSHTML
,
IDM_DELETE
,
cmdf
);
}
static
void
test_OleCommandTarget
(
IUnknown
*
unk
)
...
...
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