Commit Graph

63 Commits

Author SHA1 Message Date
Krzysztof Foltman 898068f3ce - EM_STREAMIN can now deal with undo in a reasonable manner (no
multiple undo actions in one EM_STREAMIN).
- Related changes to undo code (umIgnore mode is now handled
  correctly).
- Numerous improvements in the RTF reader: it reads some character
  attributes now (you will have proper small print in license agreements
  now).
- Fixed a memory overwrite bug in conversion from CHARFORMAT2A to
  CHARFORMAT2W.
2005-03-11 10:24:56 +00:00
Krzysztof Foltman f7e0f7cabe - Optimized repaint of the area below the text.
- ME_JoinRuns didn't mark the paragraph for rewrapping, fixed.
- Removed PostQuitMessage(0) from WM_DESTROY handler (duh!).
- Use of EM_GETOLEINTERFACE is reported with FIXME instead of TRACE
  (any app using this message is likely to encounter major problems).
2005-03-09 18:43:18 +00:00
Phil Krylov 95e527b0f4 Changed buffer size for EM_STREAMIN message to 4096, as it's what M$
uses.
2005-03-09 12:40:01 +00:00
Krzysztof Foltman 89075fb429 The meaning of the rewrap flag got inverted (MEPF_REWRAP instead of
MEPF_WRAPPED) for consistency.
Major code cleanups in rewrap/repaint code, leading to "smarter"
behaviour wrt repainting selections.
2005-03-09 11:48:59 +00:00
Krzysztof Foltman 043b5d9bab - specialized handler for SF_TEXT (ANSI or Unicode), simple and fast
- clears control's text on EM_STREAMIN with no SFF_SELECTION
2005-03-08 19:03:01 +00:00
Krzysztof Foltman 5c01752254 - Single quotes are now handled properly (previously they were
inserted as [[']]).
- Better handling of callback function's results.
2005-03-08 19:01:25 +00:00
Aric Stewart 214b897bcd Implement EM_GETOLEINTERFACE. 2005-03-08 16:46:00 +00:00
Krzysztof Foltman 300f684053 Old font management replaced by the cache-based one, which keeps
maximum of 10 HFONTs at once, instead of one per a couple of runs.
2005-03-08 16:26:23 +00:00
Mike McCormack 38f932c823 Port the RTF parser to the richedit 2.0 control. 2005-03-07 17:15:33 +00:00
Alexandre Julliard b92f1431a5 Fixed DLL_PROCESS_DETACH handler to actually unregister the window
classes.
2005-03-07 11:04:35 +00:00
Krzysztof Foltman cdbab8bcfd Added a check for empty scrollbar range. 2005-03-07 10:59:53 +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