Commit Graph

73 Commits

Author SHA1 Message Date
Nikolay Sivov 72ef367992 riched20: Implement GetLanguageID(). 2015-05-20 18:35:43 +09:00
Nikolay Sivov 1e68433d78 riched20: Implement GetSubscript()/GetSuperscript(). 2015-05-20 18:35:41 +09:00
Nikolay Sivov 0f53b87367 riched20: Implement GetStrikeThrough(). 2015-05-20 18:35:39 +09:00
Nikolay Sivov f875c804bd riched20: Implement GetForeColor(). 2015-05-20 18:35:37 +09:00
Nikolay Sivov d7a1700a29 riched20: Implement GetUnderline(). 2015-05-20 18:35:34 +09:00
Nikolay Sivov c48e0519ac riched20: Implement GetSize(). 2015-05-20 18:35:32 +09:00
Nikolay Sivov a96b04737c riched20: Implement GetBold()/GetItalic(). 2015-05-19 19:24:45 +09:00
Nikolay Sivov f0959dc175 riched20: Implement SetEnd(). 2015-05-18 15:26:03 +09:00
Nikolay Sivov 3a0670ed7e riched20: Implement SetStart(). 2015-05-18 15:26:03 +09:00
Nikolay Sivov 6d19ac5cb3 riched20: Added stub ITextPara. 2015-05-18 15:26:02 +09:00
Nikolay Sivov aba1e680f2 riched20: Added ITextFont stub. 2015-05-18 15:26:02 +09:00
Francois Gouget 7f0797cc78 riched20: Fix a trailing '\n' in a FIXME() call. 2015-03-20 17:39:58 +09:00
Jactry Zeng 6c425a169a riched20: Implement IOleInPlaceSite interface. 2015-03-19 22:42:31 +09:00
Francois Gouget cd0200113c riched20: Remove unneeded NONAMELESSXXX directives. 2015-03-19 14:05:48 +09:00
Jactry Zeng f1d22c0ebd riched20: Implement IOleWindow::GetWindow. 2015-03-17 00:19:47 +09:00
Jactry Zeng bbb9755896 riched20: Implement IOleWindow interface. 2015-03-17 00:19:46 +09:00
Francois Gouget c9c2692d8e riched20: Move DestroyIRichEditOle() into IRichEditOle:Release(). 2015-01-05 20:19:33 +01:00
Jactry Zeng a9491ec5d9 riched20: Add IID_IRichEditOle and IID_ITextDocument support for ITextServices::QueryInterface. 2014-10-30 12:02:52 +09:00
Jactry Zeng 234310e752 riched20: Add COM aggregation support for IRichEditOle. 2014-10-30 12:02:17 +09:00
Jactry Zeng a3b8065600 riched20: Set editor->reOle to NULL when IRichEditOle is released. 2014-09-30 19:34:10 +02:00
Jactry Zeng 40456439e6 riched20: Implement ITextSelection::Collapse. 2014-09-17 11:46:17 +02:00
Jactry Zeng 07154f7fee riched20: Implement ITextRange::Collapse. 2014-09-17 11:46:02 +02:00
Jactry Zeng da40589e71 riched20: Implement ITextRange::GetDuplicate. 2014-09-17 11:45:58 +02:00
Jactry Zeng 52fee14932 riched20: Implement ITextSelection::GetStart and ITextSelection::GetEnd. 2014-09-16 19:25:34 +02:00
Jactry Zeng b56c96a619 riched20: Implement ITextRange::GetStart and ITextRange::GetEnd. 2014-09-16 19:25:16 +02:00
Jactry Zeng 329252f88b riched20: Implement ITextSelection::GetChar. 2014-09-15 18:25:31 +02:00
Jactry Zeng 0aa433438d riched20: Implement ITextRange::GetChar. 2014-09-15 18:25:28 +02:00
Jactry Zeng 7d06f6ccb2 riched20: Avoid invalid memory access. 2014-09-15 10:13:05 +02:00
Jactry Zeng b10b39185d riched20: Stub for ITextRange interface and implement ITextDocument::Range. 2014-09-12 17:02:50 +02:00
Qian Hong 3881adf244 riched20: Handle QI failure in ME_GetOLEObjectSize. 2014-09-01 20:26:35 +02:00
Jactry Zeng 1f6073c861 riched20: Implement ITextSelection::GetText. 2014-07-21 18:45:38 +02:00
Jactry Zeng 2a55f8d663 riched20: Fix a typo in CreateIRichEditOle. 2014-03-27 16:59:31 +01:00
Jactry Zeng c5bd5236b9 riched20: Return E_INVALIDARG for empty ppSel in ITextDocument::GetSelection. 2014-03-26 19:20:25 +01:00
Nikolay Sivov ed673ff947 riched20: Use helpers from header instead of internal functions. 2013-06-12 12:09:13 +02:00
Dmitry Timoshkov e2264859c8 riched20: Fix some GDI object leaks. 2012-01-30 11:54:47 +01:00
Thomas Faber 28cb0b683e riched20: Constify some ME_Context pointer parameters. 2011-10-24 19:37:08 +02:00
Dylan Smith 82da77c0a6 richedit: Fix incorrect GUID values for ITextHost and ITextHost2. 2011-07-05 14:44:43 +02:00
Michael Stefaniuc 3f2f2eb678 riched20: Finish the COM cleanup in richole.c. 2011-05-19 10:09:30 +02:00
Michael Stefaniuc b1ae962997 riched20: COM cleanup for the IOleClientSite iface. 2011-05-19 10:09:22 +02:00
Michael Stefaniuc a12ed578c5 riched20: COM cleanup for the ITextSelection iface. 2011-05-17 13:45:02 +02:00
Dylan Smith dfa80b35b0 richedit: Invalidate without calling UpdateWindow in many cases. 2010-07-29 10:28:00 +02:00
Dylan Smith d312d4e33c richedit: Revert commit that caused a regression. (Bug 22758).
Revert commit 049cf5aca0
richedit: Avoid notifying parent window in improper state.

The commit was meant to fix a problem caused by ME_SendSelChange being
called in ME_SendSelChange, but moving the calls to ME_CommitUndo caused
a regression. So this patch reverts the previous commit, and my
following patch will instead fix the bug by moving the call to
ME_SendSelChange out of ME_CommitUndo.
2010-05-19 11:17:55 +02:00
Dylan Smith 049cf5aca0 richedit: Avoid notifying parent window in improper state.
ME_CommitUndo and ME_CommitCoalescingUndo call ME_SendSelChange, which
may notify the parent window that the selection has changed, therefore
should generally be called after wrapping the text. Otherwise, the parent
window may send a message to the editor and cause an assertion failure.
2010-05-17 12:42:31 +02:00
Dylan Smith 7ed13120ab richedit: Make zooming affect all pictures. 2010-03-01 11:32:33 +01:00
Eric Pouech ab9c51dd6a richedit: Only increment objects' reference by one when inserting an OLE object. 2009-11-09 20:01:56 +01:00
Dylan Smith a69ef26599 richedit: Use ME_Cursor instead of offsets for copying text. 2009-08-13 15:34:54 +02:00
Dylan Smith 46b84aed4a richedit: Added function to get selection cursors in order.
Previously the only convenient way to get the start and end of the
selection was through offsets, which eventually need to get converted
back into items in the linked list storing the text.  The new function
will help with eliminating these inefficiencies.
2009-08-12 17:29:30 +02:00
Dylan Smith fc618ab041 richedit: Add closing actions for IRichEditOle_fnInsertObject.
Previously inserting the object didn't result in the text being wrapped,
which would cause an assertion error when this is checked for during
repainting the text.  It is also important to invalidate the affected
areas of text, update the scrollbar, and end the creation of undo
transactions for this insertion.
2009-08-10 17:10:24 +02:00
Michael Stefaniuc 43046481f7 include: Change long to LONG in tom.idl. 2009-03-10 12:06:10 +01:00
Michael Stefaniuc d1a7e41b71 riched20: Remove superfluous pointer casts. 2009-01-30 11:45:23 +01:00