Marcus Meissner
521eafdec0
mshtml: Fixed reversed NULl check.
2008-10-31 13:06:47 +01:00
Jacek Caban
7c7b7f0ae7
mshtml: Use stored nsdoc in exec_hyperlink.
2008-10-09 12:27:36 +02:00
Jacek Caban
23937c4704
mshtml: Use stored nsdoc in set_font_size.
2008-10-09 12:27:27 +02:00
Jacek Caban
d02c37aa4e
mshtml: Remove unneeded includes.
2008-04-07 13:36:17 +02:00
Austin English
f4c4488df8
Spelling fixes.
2008-04-07 13:36:17 +02:00
Jacek Caban
c94e646fc1
mshtml: Fixed invalid use of -1 length in WideCharToMultiByte calls.
2008-03-26 23:38:36 +01:00
Jacek Caban
45b862d5ca
mshtml: Don't mix nsresult with HRESULT.
2008-02-18 12:57:10 +01:00
Rob Shearman
5209ed0c5e
mshtml: Fix inserting a hyperlink when text is already selected.
...
There is no need to use cmd_insertLinkNoUI when we have the code to do
most of the action anyway. Make use of the handy
InsertLinkAroundSelection to insert the "a" element when not inserting
at the caret and don't create a text node in this case because it is
redundant.
2008-02-11 19:55:18 +01:00
Jacek Caban
c58ca1312c
mshtml: Handle fClearDirty flag in IPersistStreamInit::Save.
2008-01-10 13:20:23 +01:00
Jacek Caban
559649c443
mshtml: Remove not used argument in nsAString_GetData.
2007-12-17 11:49:19 +01:00
Michael Stefaniuc
a084d1db62
mshtml: Rename the wrappers around HeapAlloc() &Co to use the new standard naming.
2007-12-06 12:07:30 +01:00
Jacek Caban
2702dfffbf
mshtml: Always initialize output in exec_fontname.
2007-11-20 13:20:57 +01:00
Jacek Caban
c49e894e9f
mshtml: Reset focus after loading the page in edit mode.
2007-11-12 12:06:48 +01:00
Jacek Caban
a1e554739e
mshtml: Added IDM_SETDIRTY implementation.
2007-11-09 12:54:14 +01:00
Jacek Caban
99e6592c9d
mshtml: Move most code from handle_editor_load to exec_editmode.
2007-10-09 12:34:35 +02:00
Gerald Pfeifer
47032fd07c
mshtml: Removed unused function get_child_text_node().
2007-10-02 12:28:09 +02:00
Jacek Caban
fa58e6ce5d
mshtml: Added generic get_nsinterface function and use it in get_ns_command_state.
2007-09-27 11:11:16 +02:00
Jacek Caban
124f0290e4
mshtml: Added IDM_COPY in browse mode implementation.
2007-09-27 11:11:10 +02:00
Jacek Caban
21214ed3d4
mshtml: Added Exec(IDM_FONT) stub implementation.
2007-09-19 14:56:41 +02:00
Rob Shearman
1fbedd92d4
mshtml: Implement IDM_HYPERLINK.
2007-09-12 14:06:54 +02:00
Rob Shearman
41a3b734f9
mshtml: Implement PersistStreamInit_IsDirty when in edit mode.
2007-09-12 14:06:01 +02:00
Rob Shearman
006d9f940d
mshtml: Store the nsIEditor interface in the NSContainer object for use in implementing editor commands.
2007-09-12 14:05:17 +02:00
Jacek Caban
50868fe751
mshtml: Added IDM_SELECTALL implementation.
2007-08-13 11:38:00 +02:00
Dmitry Timoshkov
e4fb0fe9e9
mshtml: Constify some data.
2007-07-31 12:35:07 +02:00
Rob Shearman
4dfdec2ef5
mshtml: Handle Ctrl-Home and Ctrl-End in edit mode.
2007-07-26 11:51:56 +02:00
Rob Shearman
bbb03cf16b
mshtml: Call IDocHostUIHandler_HideUI and IDocHostUIHandler_ShowUI when changing an UI active window to be in edit mode.
...
Add tests for the behaviour of changing edit mode when a UI window is active.
2007-07-25 13:03:21 +02:00
Jacek Caban
cd9fbc52ad
mshtml: Added Exec(IDM_DELETE) implementation.
2007-06-27 11:44:26 +02:00
Jacek Caban
67f87c5529
mshtml: Added IDM_DELETE support in QueryStatus.
2007-06-27 11:44:21 +02:00
Jacek Caban
a8de2abbc2
mshtml: Correctly handle delete key in editor mode.
2007-06-27 11:44:13 +02:00
Jacek Caban
893eec9ff7
mshtml: Don't check out VT in exec_fontsize.
2007-06-22 12:19:37 +02:00
Jacek Caban
068ce61523
mshtml: Don't crash in set_font_size if range_cnt is 0.
2007-06-11 20:23:46 +02:00
Jacek Caban
371b0edb8e
mshtml: Added edit mode IDM_CUT implementation.
2007-06-11 15:22:35 +02:00
Jacek Caban
775425b24b
mshtml: Added edit mode IDM_PASTE implementation.
2007-06-11 15:22:31 +02:00
Jacek Caban
4231c9e2ee
mshtml: Added edit mode IDM_COPY implementation.
2007-06-11 15:22:27 +02:00
Jacek Caban
b0fc3115c9
mshtml: Added IDM_COMPOSESETTINGS implementation.
2007-06-11 15:22:08 +02:00
Jacek Caban
77be7f7b1c
mshtml: Reimplement editor mode left key using command controller.
2007-06-11 15:18:55 +02:00
Jacek Caban
a7a2c2e63a
mshtml: Reimplement editor mode right key using command controller.
2007-06-11 15:18:51 +02:00
Jacek Caban
b542374574
mshtml: Added editor mode down key implementation.
2007-06-11 15:16:59 +02:00
Jacek Caban
ec24f20bb1
mshtml: Added editor mode up key implementation.
2007-06-11 15:16:55 +02:00
Jacek Caban
c135e0d882
mshtml: Call update_doc in init_editor.
2007-06-11 15:16:35 +02:00
Jacek Caban
86cb9f3d70
mshtml: Call update_doc in editor commands.
2007-06-11 15:16:31 +02:00
Jacek Caban
52accda0fa
mshtml: Set default fontname to 'Times New Roman'.
2007-06-11 15:16:08 +02:00
Jacek Caban
80b65d3e35
mshtml: Don't check out variant type in exec_fontname.
2007-06-11 15:16:01 +02:00
Jacek Caban
5c08a14cdd
mshtml: Improve IDM_JUSTIFYLEFT query status.
2007-06-11 15:14:12 +02:00
Jacek Caban
bd71f19ef1
mshtml: Make [get|set]_font_size static.
2007-06-11 15:05:52 +02:00
Jacek Caban
2e12e7e4de
mshtml: Move edit command queries to the command table.
2007-06-11 15:05:32 +02:00
Jacek Caban
ca82a1eb0e
mshtml: Move justify queries to command table.
2007-06-11 15:05:18 +02:00
Jacek Caban
eb8b3417e0
mshtml: Move remaining commands to tables.
2007-06-11 15:04:44 +02:00
Jacek Caban
d42c252883
mshtml: Move more commands to editor command table.
2007-06-11 15:04:35 +02:00
Jacek Caban
7a0e06b9e2
mshtml: Move IDM_FONTSIZE, IDM_FONTNAME and IDM_FORECOLOR to edit state command table.
...
This patch temporary adds code duplication.
2007-06-11 15:04:17 +02:00