Eric Pouech
d014db68d4
riched20: Correctly handle the wrapping when graphics are used.
...
Get rid of infinite loops when run's width was larger than the global
available width.
2008-02-05 11:12:18 +01:00
Eric Pouech
f43570cbf0
richedit: Optimizations for the style selection.
...
Use a ME_Context for style selection/unselection.
Store the (x,y) dpi information for a given DC in the corresponding ME_Context structure.
2008-01-02 13:57:37 +01:00
Eric Pouech
475b45d8ab
richedit: Don't recreate the DC all the time, but use uniformely a ME_Context structure where needed.
2008-01-02 13:56:02 +01:00
Eric Pouech
4cecb5dc70
richedit: Move init code after some sanity checks to avoid unneeded computations.
2008-01-02 13:55:53 +01:00
Eric Pouech
e9be142d78
richedit: Rewrote FindPixelPos so that it always return something.
...
Made the function static as well.
2008-01-02 13:55:14 +01:00
Eric Pouech
d319033a97
richedit: Added support for intra-paragraph line space.
2008-01-02 13:54:49 +01:00
Eric Pouech
f1b029ef6a
richedit: Added support for spaces above & below paragraphs.
2008-01-02 13:54:25 +01:00
Eric Pouech
caa37c749a
richedit: Now drawing the paragraph borders (if any) from paraformat2.
2008-01-02 13:54:01 +01:00
Eric Pouech
28cc0f9e69
richedit: Fix the para computation when zoom is used.
2008-01-02 13:52:52 +01:00
Eric Pouech
f4fd063101
richedit: Enforce usage of paraformat2 fields instead of homegrown ones for paragraphs.
2008-01-02 13:52:10 +01:00
Eric Pouech
13f86afe1f
richedit: Don't allow recursive EN_REQUESTRESIZE notifications.
2008-01-02 13:47:41 +01:00
Maarten Lankhorst
b81335501f
riched20: Implement ECO/EM SELECTIONBAR.
2007-12-17 11:34:40 +01:00
Maarten Lankhorst
4637a4ef49
riched20: Make some functions static.
2007-12-14 12:26:48 +01:00
Andrew Talbot
b150ea67a9
riched20: Constify some variables.
2007-08-17 12:01:37 +02:00
Lei Zhang
0d4707c284
riched20: Properly calculate control display height.
2007-08-16 11:35:06 +02:00
Krzysztof Foltman
bad844d0a9
riched20: New, clean, simple selection repaint logic - should fix all outstanding refresh issues.
2006-08-07 19:59:58 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Phil Krylov
325e06d2c1
riched20: Removed an unused parameter.
2006-02-04 17:00:18 +01:00
Phil Krylov
6818762a6e
riched20: Reduced screen flicker by using proper update region invalidation.
2006-01-10 20:41:23 +01:00
Phil Krylov
a91ba787e2
Added support for EM_REQUESTRESIZE message, EN_REQUESTRESIZE
...
notification, and ENM_REQUESTRESIZE event mask.
2005-11-03 09:52:29 +00:00
Stefan Huehner
70c80fb430
Make functions static to fix -Wmissing-declarations warnings.
2005-07-06 15:53:04 +00:00
Phil Krylov
e6cee96df8
Fixed an off-by-one error in EM_GETLINECOUNT handler.
2005-07-05 20:56:14 +00:00
Phil Krylov
eb1c6657f7
Implemented EM_GETLINECOUNT RichEdit message.
2005-06-30 18:10:22 +00:00
Krzysztof Foltman
13578c8602
- removed trailing spaces from some files
...
- tab support
- indent support
2005-04-16 10:48:35 +00:00
Krzysztof Foltman
810b261175
- made string operations consistent wrt whitespace handling (which
...
should greatly improve stability of the wrap code and eliminate
regressions of the most recent versions)
- completely new scrollbar handling (much more reliable) and related
redraw fixes
- Page Down handler (no Page Up yet, fixing wrap/redraw/scrollbar bugs
was of higher priority)
2005-03-19 17:06:17 +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
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
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
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
Krzysztof Foltman
d488f3f1de
Initial implementation of riched20.
2005-03-05 11:19:14 +00:00