Commit Graph

50 Commits

Author SHA1 Message Date
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
Alistair Leslie-Hughes 689675273b riched20: Return a long in fnGetObjectCount. 2009-01-22 12:03:17 +01:00
Juan Lang cfd1a6317d riched20: Add stub IOleClientSite interface. 2009-01-10 14:49:46 +01:00
Dan Hipschman 36aa6c4c44 riched20: Implement ITextDocument_fnGetSelection. 2008-06-26 21:07:31 +02:00
Eric Pouech 513fcfe48f richedit: Fixed typo in bitmap scaling (for OLE objects). 2008-03-17 14:34:14 +01:00
Eric Pouech 9c20cdfea8 riched20: Make use of the size info in REOBJECT if present. 2008-02-05 11:13:33 +01:00
Eric Pouech 251153806d riched20: Invert graphics when they are under the selection. 2008-02-05 11:12:23 +01:00
Eric Pouech 00b48f1d21 riched20: Handle the zoom in OLE objects. 2008-02-05 11:11:44 +01:00
Eric Pouech 00de77517a riched20: Start handling OLE objects inside richedit. 2008-02-05 11:11:32 +01:00
Andrew Talbot 5a5a9bcd5d riched20: Remove unneeded casts. 2008-01-17 13:42:14 +01:00
Michael Stefaniuc 4210cafc04 riched20: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-12-08 19:54:58 +01:00
Mike McCormack 8939587b19 riched20: Create macro functions for allocating and freeing memory. 2006-10-24 11:44:53 +02:00
Hans Leidekker 177350d087 riched20: Win64 printf format warning fixes. 2006-10-14 20:16:56 +02:00
Juan Lang 10d6726b42 riched20: Add stub implementation of ITextDocument. 2006-07-11 12:41:17 +02:00
Alexandre Julliard 49b3837504 riched32: Use the standard DEFINE_GUID macro to define GUIDs. 2006-06-09 21:10:01 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Kevin Koltzau 33af76f991 riched20: Enable retrieving data through the ole interface. 2006-02-23 11:51:33 +01:00
Kevin Koltzau 58b2995311 riched20: Store reference to editor in ole interface. 2006-02-23 11:14:41 +01:00
Mike McCormack 50a6d970f5 gcc 4.0 warning fixes for Interlocked* functions. 2005-08-03 11:03:05 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Krzysztof Foltman f089de1f4d - RTF reader doesn't use RichEdit messages anymore (which saves on
unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
2005-03-17 10:23:40 +00:00
Aric Stewart 214b897bcd Implement EM_GETOLEINTERFACE. 2005-03-08 16:46:00 +00:00
Alexandre Julliard 46f96fa1ef Fixed DOS line endings. 2005-03-05 11:55:44 +00:00
Krzysztof Foltman d488f3f1de Initial implementation of riched20. 2005-03-05 11:19:14 +00:00