Lei Zhang
0014e50465
riched20: Fix for EM_FINDTEXT input validation.
...
Fixed the cpMin/cpMax validation code for EM_FINDTEXT.
Removed todo flag from affected EM_FINDTEXT tests.
2006-02-21 11:27:51 +01:00
Roger Hoang
b03c70a845
riched20: Implemented EM_SETTEXTMODE options TM_RICHTEXT and TM_PLAINTEXT
...
and their tests.
2006-02-20 20:29:44 +01:00
Thomas Kho
bfb3c756eb
riched20: Implement EM_SCROLLCARET and EM_GETSCROLLPOS.
2006-02-16 19:33:19 +01:00
Thomas Kho
087af502ea
riched20: Extend EM_FINDTEXT conformance tests and fix 2 problems they expose.
2006-02-15 13:37:31 +01:00
Phil Krylov
9761b457ce
riched20: Support RTF text in WM_SETTEXT.
2006-02-14 17:38:57 +01:00
Thomas Kho
caffa53227
riched20: Fixed bounds error when finding text forward.
2006-02-11 18:39:17 +01:00
Kevin Koltzau
2d0ad0944c
riched20: Don't use EM_STREAMIN for paste.
2006-02-06 11:26:34 +01:00
Kevin Koltzau
374106d136
riched20: Don't use EM_STREAMOUT for copy/cut.
2006-02-05 13:05:00 +01:00
Phil Krylov
9b1beea7d7
riched20: Empty undo stack after EM_STREAMIN without SFF_SELECTION flag.
2006-02-05 12:18:55 +01:00
Phil Krylov
08bf7180f3
riched20: Initial support for simple tables.
2006-02-04 17:01:01 +01:00
Kevin Koltzau
fc2ce6779e
riched20: Handle context menu.
2006-02-02 13:18:20 +01:00
Kevin Koltzau
7f84cc48f3
riched20: Implement EM_SETOLECALLBACK.
2006-02-01 13:05:40 +01:00
Maarten Lankhorst
460e2ad7f6
riched20: Implement CreateTextServices.
...
Implement a stub interface that CreateTextServices returns.
2006-02-01 12:31:40 +01:00
Phil Krylov
f0d6519ef5
riched20: Added support for hidden text.
2006-01-31 13:01:26 +01:00
Maarten Lankhorst
7b6f85474e
riched20: Make CreateTextServices use ITextHost.
2006-01-30 18:16:05 +01:00
Phil Krylov
ecbccb9763
riched20: EM_STREAMIN should send a EN_UPDATE notification.
2006-01-26 13:28:35 +01:00
Phil Krylov
bb9631b196
riched20: Selection painting fixes.
2006-01-26 13:27:28 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Phil Krylov
6e3a72549a
riched20: Select word on double click.
2006-01-13 13:54:11 +01:00
Phil Krylov
e0fc772889
riched20: TODO list update.
2006-01-13 13:53:42 +01:00
Phil Krylov
49eecf5128
riched20: Initial support for word break callback procedures.
2006-01-12 11:54:57 +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
194eeaab7d
riched20: Fixed calculation of left indent and first indent paragraph
...
properties.
2006-01-09 17:12:51 +01:00
Ulrich Czekalla
0f55ef3bef
riched20: Reset selection when text is reset.
2005-12-14 10:50:04 +01:00
Cihan Altinay
2a1a0cf22d
riched20: register ListBox & ComboBox classes
...
Partially implement REExtendedRegisterClass() to register missing
window classes so that applications relying on them don't get
confused.
2005-12-05 12:48:45 +01:00
Phil Krylov
fe2951daaa
Cache background color brush instead of recreating it at each screen
...
update.
2005-11-03 11:33:24 +00: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
Krzysztof Foltman
6650abcdc4
- Bugfix in EM_GETTEXTEX
...
- Additional traces helpful in diagnosing similar (text
retrieval-related) bugs.
2005-10-19 19:22:11 +00:00
Krzysztof Foltman
07c4dc461e
Fix unnecessary (and harmful) repeated statement.
2005-10-13 13:44:14 +00:00
Krzysztof Foltman
8978549722
Removed buffer overrun error (incrementing output pointer one time too
...
much in non-CRLF mode) making KeyNote fail to install.
2005-10-10 19:52:59 +00:00
Krzysztof Foltman
822ae486cd
The previous implementation was a workaround for off-by-one bug in
...
ME_RunOfsFromCharOfs, this one relies on correct behavior of that
function introduced by the previous patch.
2005-10-10 18:00:52 +00:00
Krzysztof Foltman
fd1d4b7c2b
Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
...
installer).
2005-10-10 10:44:01 +00:00
Krzysztof Foltman
8f4042c574
Fix 1.0 emulation mode in ME_GetTextW.
2005-10-10 10:30:25 +00:00
Krzysztof Foltman
e098edcdcb
- Remove another potential sources of infinite loops caused by EOF in
...
the middle of the font and color tables.
- Closing brace on text level is treated as EOF (effectively
protecting the control from trash after the end of RTF).
- Removed misleading comment about incomplete buffers (I was
definitely wrong).
2005-10-03 18:45:39 +00:00
Krzysztof Foltman
025a1a5445
Implemented EM_GETFIRSTVISIBLELINE and EM_POSFROMCHAR (basic
...
suboptimal implementation, can be optimized to skip whole paragraphs
later if it's useful at all).
2005-10-03 11:03:48 +00:00
Krzysztof Foltman
a8eb60e5ee
Fixed another case of misunderstanding MSDN wrt StreamInProc, causing
...
license text to be truncated in Picasa installer (as well as some
other programs, especially those that display long texts with NSIS).
2005-10-03 10:14:28 +00:00
Krzysztof Foltman
ed8379d1ad
- Reimplementation of EM_LINELENGTH.
...
- Some attempt at documentation of double-linked list of
ME_DisplayItem's.
2005-09-29 10:30:50 +00:00
Rein Klazes
d7d8bbfc04
When scrolling, first update the new position of the control before
...
calling UpdateWindow().
2005-09-26 16:42:18 +00:00
Alexandre Julliard
d559fbd803
Fixed gcc 4.0 warnings.
2005-09-12 20:30:37 +00:00
Phil Krylov
ba69174042
Added support for backward search to RichEdit EM_FINDTEXT[AW],
...
EM_FINDTEXTEX[AW] message handler.
2005-08-23 09:32:55 +00:00
Phil Krylov
9527739112
Fixed EM_SETEVENTMASK RichEdit message handler to return old event
...
mask.
2005-08-22 18:56:21 +00:00
Phil Krylov
4c9f013f8b
Added handling of deff RTF control word.
2005-08-22 10:06:08 +00:00
Phil Krylov
6e60746b70
Added common keyboard shortcuts for Select All, Undo, Redo, Cut, Copy
...
and Paste to RichEdit.
2005-08-22 09:20:06 +00:00
Phil Krylov
f1184b466d
Added EM_SETRECT, EM_SETRECTNP, and WM_SETREDRAW message handling.
...
Added support for GT_SELECTION flag in EM_GETTEXTEX handler.
2005-08-15 09:47:14 +00:00
Phil Krylov
c2cb39b817
Implemented EM_CHARFROMPOS RichEdit message.
2005-07-26 10:33:00 +00:00
Phil Krylov
8759b5fead
Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers.
2005-07-24 16:17:43 +00:00
Phil Krylov
92890e2372
Added some missing but useful items to the TODO list.
2005-07-22 18:26:46 +00:00
Phil Krylov
4605b9558f
Added some useful TRACEs.
2005-07-21 11:58:24 +00:00
Phil Krylov
b5a0433231
Allow NULL parameter for WM_SETTEXT in RichEdit.
2005-07-21 11:28:39 +00:00
Phil Krylov
a0edd25e43
Implemented EM_LINELENGTH RichEdit message.
2005-07-21 11:01:47 +00:00
Phil Krylov
84bb372239
Added emulation of RichEdit 1.0 behaviour when the 1.0 window class is
...
being used. This emulation (introduced in M$ RichEdit 3.0) counts
paragraph endings as 2 characters (CR+LF) instead of 1 (CR).
2005-07-21 10:33:32 +00:00
Daniel Remenak
68709f1c41
Basic handling of EM_SETTEXTEX.
2005-07-20 10:28:44 +00:00
Felix Nawothnig
af4009d2fd
Check structure size and fix return values in EM_GETCHARFORMAT.
2005-07-11 10:22:33 +00:00
Phil Krylov
5067e0fc2a
Fixed EM_LINEINDEX handler and added EM_LINEFROMCHAR handler.
2005-07-06 11:12:10 +00:00
Phil Krylov
e467a5309b
Implemented EM_EXLINEFROMCHAR, EM_LINEINDEX, EM_FINDTEXT,
...
EM_FINDTEXTW, EM_FINDTEXTEX, and EM_FINDTEXTEXW messages.
2005-07-06 10:32:59 +00:00
Stefan Huehner
2440dcfe88
Fix -Wmissing-declarations warnings.
2005-07-05 12:49:14 +00:00
Phil Krylov
eb1c6657f7
Implemented EM_GETLINECOUNT RichEdit message.
2005-06-30 18:10:22 +00:00
Aric Stewart
aa2e3a4f8a
Implementation for EM_GETTEXTEX.
2005-06-29 19:21:34 +00:00
Phil Krylov
44bc9f7a0b
Fixed a comment about EM_STREAMIN.
2005-06-28 19:12:32 +00:00
Phil Krylov
b1f61804d7
Implemented EM_GETTEXTLENGTHEX RichEdit message.
2005-06-28 13:51:32 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Vitaly Lipatov
86f575cdc1
Allow null pointers for EM_GETSEL message (as MSDN says).
2005-06-20 11:42:38 +00:00
Robert Shearman
65284aab20
Richedit classes should be global.
2005-06-13 10:01:32 +00:00
Krzysztof Foltman
b16f330197
- added support for \ulnone (turning underline off)
...
- support for basic subscript and superscript
- untested support for text offset
2005-06-12 10:43:24 +00:00
Hannu Valtonen
0d64267ef0
- Implement EM_LINESCROLL message handling
...
- Fix a problem with scrolling over the end of the text in
WM_WHEELMOUSE.
2005-05-23 09:54:32 +00:00
Vincent Béron
4440a7278f
Provide minimal API documentation in advapi/eventlog.c to silence some
...
winapi_check output.
Move around functions in riched20, richedit and rpcrt4 to achieve the
same goal.
2005-05-16 08:51:19 +00:00
Krzysztof Foltman
ed8485983f
Added stubs for a couple of missing 2.0 and 3.0 messages.
2005-05-13 17:45:43 +00:00
Phil Krylov
5a9312445e
Fixed an error in my previous commit which caused an infinite loop in
...
IE6 installer.
2005-04-20 14:25:03 +00:00
Krzysztof Foltman
13578c8602
- removed trailing spaces from some files
...
- tab support
- indent support
2005-04-16 10:48:35 +00:00
Phil Krylov
1e9c200f61
Make RTF reader fall back to simple text if a correct RTF header is
...
not detected. This should fix some installers.
2005-04-13 11:11:03 +00:00
Hannu Valtonen
06d9713f3d
Added mousewheel support.
2005-04-11 14:22:21 +00:00
Krzysztof Foltman
01cd9fb2c6
- EM_CANPASTE implemented
...
- updated TODO list (including list of (un)implemented messages)
- fixed WM_PASTE (the previous version might not close the clipboard
if it didn't contain a usable format)
- scrollbar operations (like clicking on arrows) should update
scrollbar's current position
2005-04-11 12:50:48 +00:00
Phil Krylov
0fdbec319b
Made RTF reader and writer handle codepages mostly similar to the
...
original riched20.dll.
2005-03-22 16:41:36 +00:00
Vincent Béron
0bdac8c0f9
Use "" for Windows includes in dlls, instead of <>.
2005-03-21 10:52:26 +00:00
Krzysztof Foltman
d6b198b3bd
- PageUp key support.
...
- Support for "normal" scroll bar functionality (line and page
scrolling).
2005-03-21 10:27:24 +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
Phil Krylov
297cd99ca3
Fixed support for RTF documents using ANSI charset and added support
...
for multibyte charsets, so that BIG5 and UTF-8 RTF documents are
working now.
2005-03-18 10:24:51 +00:00
Phil Krylov
0284930129
Replaced slow and outdated character set handling in RTF reader by
...
Unicode/codepages support. Added charset->codepage conversion.
2005-03-17 13:57:27 +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
c4c11d2515
- Unknown destinations are now correctly skipped (so loading an RTF
...
file generated by, for example, OpenOffice doesn't produce lots of
garbage anymore).
- Format stack for RTF groups (so that RTF reader can correctly read
what RTF writer wrote :) )
2005-03-16 11:27:43 +00:00
Krzysztof Foltman
d4cf45e3f1
- WM_COPY (and WM_CUT) can now put both Unicode and RTF format (thanks
...
to Phil Krylov's RTF generator code).
- New message implemented - WM_PASTE.
- RTF reader: rtfPlain implemented (kind of).
- RTF writer: rewritten main loop (the old one crashed in some
circumstances when SFF_SELECTION was used).
2005-03-15 15:40:52 +00:00
Phil Krylov
c6ea6caecb
Initial implementation of EM_STREAMOUT and RTF writer.
2005-03-14 21:41:16 +00:00
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
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
d488f3f1de
Initial implementation of riched20.
2005-03-05 11:19:14 +00:00