Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3f79f129
Commit
3f79f129
authored
Mar 12, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move init_editor to HTMLDocumentNode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
496abd05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
editor.c
dlls/mshtml/editor.c
+3
-3
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
mutation.c
dlls/mshtml/mutation.c
+1
-1
No files found.
dlls/mshtml/editor.c
View file @
3f79f129
...
...
@@ -1181,11 +1181,11 @@ const cmdtable_t editmode_cmds[] = {
{
0
,
NULL
,
NULL
}
};
void
init_editor
(
HTMLDocument
*
This
)
void
init_editor
(
HTMLDocument
Node
*
doc
)
{
update_doc
(
This
->
doc_obj
,
UPDATE_UI
);
update_doc
(
doc
->
browser
->
doc
,
UPDATE_UI
);
set_ns_fontname
(
This
->
doc_node
,
"Times New Roman"
);
set_ns_fontname
(
doc
,
"Times New Roman"
);
}
HRESULT
browser_is_dirty
(
GeckoBrowser
*
browser
)
...
...
dlls/mshtml/mshtml_private.h
View file @
3f79f129
...
...
@@ -1135,7 +1135,7 @@ HRESULT do_query_service(IUnknown*,REFGUID,REFIID,void**) DECLSPEC_HIDDEN;
/* editor */
HRESULT
setup_edit_mode
(
HTMLDocumentObj
*
)
DECLSPEC_HIDDEN
;
void
init_editor
(
HTMLDocument
*
)
DECLSPEC_HIDDEN
;
void
init_editor
(
HTMLDocument
Node
*
)
DECLSPEC_HIDDEN
;
void
handle_edit_event
(
HTMLDocumentNode
*
,
nsIDOMEvent
*
)
DECLSPEC_HIDDEN
;
HRESULT
editor_exec_copy
(
HTMLDocumentNode
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
)
DECLSPEC_HIDDEN
;
HRESULT
editor_exec_cut
(
HTMLDocumentNode
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/mutation.c
View file @
3f79f129
...
...
@@ -263,7 +263,7 @@ static void parse_complete(HTMLDocumentObj *doc)
TRACE
(
"(%p)
\n
"
,
doc
);
if
(
doc
->
nscontainer
->
usermode
==
EDITMODE
)
init_editor
(
&
doc
->
basedoc
);
init_editor
(
doc
->
basedoc
.
doc_node
);
call_explorer_69
(
doc
);
if
(
doc
->
view_sink
)
...
...
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