Marcus Meissner
09f0ea1c76
riched20: Removed useless double casts, just print the DWORD hexmask.
2006-05-17 10:41:17 +02:00
Matt Finnicum
a379ac9ef5
riched20: Implement EM_SETUNDOLIMIT and its conformance tests.
2006-05-16 12:41:21 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Michael Jung
0dec18a3d6
riched20: Don't append '\r' to the last paragraph in EM_GETTEXTEX.
2006-05-08 17:39:59 +02:00
Phil Krylov
4e796854af
riched20: Allow inheriting table cell definitions from previous table row.
...
Allow inheriting of table cell definitions from a previous table row
when the current table row does not contain a \trowd, only an \intbl.
2006-04-12 11:17:25 +02:00
Huw Davies
d6ce9db80f
riched20: Take a ref on text host.
2006-03-27 21:41:20 +02:00
Mike McCormack
fedd5250e3
riched20: Add a version resource.
2006-03-22 11:20:02 +01:00
Lei Zhang
b4ee2ad0e4
riched20: Implements FR_WHOLEWORD for EM_FINDTEXT.
...
Add FR_WHOLEWORD to riched20's EM_FINDTEXT and fix a couple small bugs
introduced in earlier patches for EM_FINDTEXT. Additional test cases
have been added to check for corner cases. Also improve input
validation.
2006-03-21 20:11:04 +01:00
Alexandre Julliard
c9cc7e33ff
Fixed some compiler warnings on old gcc versions.
2006-03-02 18:03:32 +01:00
Brandon Woodmansee
dee813b5ff
riched20: Implement EM_AUTOURLDETECT & EM_GETAUTOURLDETECT.
2006-03-01 20:27:43 +01:00
Andrew de los Reyes
cd024942af
riched20: Implement EM_SCROLL and its tests.
2006-02-27 12:21:11 +01:00
Hamza Lakhani
6979719a90
riched20: EM_HIDESELECTION implementation.
2006-02-27 12:20:56 +01:00
Phil Krylov
69ae27ed2f
riched20: Added a comment to make life easier.
2006-02-24 21:10:13 +01:00
Francois Gouget
e092adfc9b
Add trailing '\n's to ok() calls.
2006-02-24 21:07:33 +01:00
Kevin Koltzau
53b74b0d56
riched20: Call GetClipboardData callback on cut/copy.
2006-02-23 11:52:03 +01:00
Kevin Koltzau
33af76f991
riched20: Enable retrieving data through the ole interface.
2006-02-23 11:51:33 +01:00
Kevin Koltzau
d52ae24b5e
riched20: Ensure copied text is terminated with a null.
2006-02-23 11:51:24 +01:00
Kevin Koltzau
27e2dcff1d
riched20: EM_GETOLEINTERFACE is not a stub.
2006-02-23 11:51:14 +01:00
Kevin Koltzau
58b2995311
riched20: Store reference to editor in ole interface.
2006-02-23 11:14:41 +01:00
Kevin Koltzau
c0cd38fbab
riched20: Allocate proper amount of memory for formatetc array.
2006-02-23 11:14:30 +01:00
Kevin Koltzau
a13245847f
riched20: Add IDataObject implementation and use it for cut/copy.
2006-02-22 22:23:49 +01:00
Brian Chang
8f6ba475e8
riched20: EM_SETOPTIONS/EM_GETOPTIONS base implementation.
...
ECO_READONLY implemented and tested.
2006-02-22 22:14:38 +01:00
Lei Zhang
805dc74809
riched20: Implement FR_MATCHCASE for EM_FINDTEXT.
...
Removed todo flag from affected FR_MATCHCASE tests.
2006-02-22 11:33:10 +01:00
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
Thomas Kho
482ab27e8d
riched20: Added tests for EM_FINDTEXT and EM_FINDTEXTEX messages.
2006-02-11 18:39:07 +01:00
Kevin Koltzau
2d0ad0944c
riched20: Don't use EM_STREAMIN for paste.
2006-02-06 11:26:34 +01:00
Kevin Koltzau
58b308db6a
riched20: Separate stream state from editor state.
...
Somewhat improves thread safety.
2006-02-05 13:05:45 +01:00
Kevin Koltzau
4d74e1dbfb
riched20: Add method to stream data based on a range.
2006-02-05 13:05:06 +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
Phil Krylov
325e06d2c1
riched20: Removed an unused parameter.
2006-02-04 17:00:18 +01:00
Phil Krylov
baf25fc8ab
riched20: Simplified ME_InsertGraphicsFromCursor() function.
2006-02-04 16:59:48 +01:00
Phil Krylov
65fdee73b9
riched20: Fixed undo stack corruption.
2006-02-04 16:59:37 +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
1db48180f2
riched20: Fixed font cache corruption.
2006-02-01 12:30:26 +01:00
Phil Krylov
f0d6519ef5
riched20: Added support for hidden text.
2006-01-31 13:01:26 +01:00
Phil Krylov
17a83dc3e3
riched20: Paint the selection while it's being extended by dragging.
2006-01-31 12:58:59 +01:00
Maarten Lankhorst
7b6f85474e
riched20: Make CreateTextServices use ITextHost.
2006-01-30 18:16:05 +01:00
Alexandre Julliard
ba0d6bd0f7
riched20: Remove a couple of no longer used functions.
2006-01-27 12:20:21 +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
8205252f10
riched20: Fixed some selection painting bugs.
2006-01-13 13:53:35 +01:00
Phil Krylov
49eecf5128
riched20: Initial support for word break callback procedures.
2006-01-12 11:54:57 +01:00
Phil Krylov
777d9bfacd
riched20: Removed a useless check in painting code.
2006-01-12 11:54:37 +01:00
Phil Krylov
2eb59ee2b0
riched20: Added \n to trace output.
2006-01-11 20:55: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
f5ebb75f08
riched20: Allow NUL characters.
2006-01-10 19:58:00 +01:00
Phil Krylov
d82af6f711
riched20: Speed up text insertion.
...
Optimized reading large texts into RichEdit to be an O(n) order
algorythm instead of O(n^2) by removing extraneous conversions of
character offsets to run offsets.
2006-01-10 12:10:49 +01:00
Phil Krylov
194eeaab7d
riched20: Fixed calculation of left indent and first indent paragraph
...
properties.
2006-01-09 17:12:51 +01:00
Phil Krylov
74aa295f55
riched20: Simplified logic in ME_StrRelPos().
2006-01-09 17:12:34 +01:00
Mike McCormack
53858d61d0
riched20: Add newlines to ERR macro output.
2005-12-31 13:14:12 +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
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +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
Mike McCormack
74fe98a1f8
Convert all RTFPanic and RTFMsg calls to ERR calls.
2005-11-02 10:55:45 +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
793f9a5155
- Style trace information is written to different debug channel (it's
...
not very useful anymore, reference counting looks correct for now).
- The document dump contains the character position of the end-of-text
mark.
2005-10-12 21:05:52 +00:00
Phil Krylov
be2525b440
Fixed encoding of non-ASCII chars.
2005-10-11 19:56:03 +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
24a0f15b29
Fixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode
...
(necessary for a non-workaround version of EM_POSFROMCHAR).
2005-10-10 11:18:29 +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
2489dd212b
Send verbose info to different debug channels (richedit_check for
...
output from offset checker, richedit_lists for the document list
dumps).
2005-10-08 10:33:44 +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
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +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
Krzysztof Foltman
4f60ac2ace
- Optional destinations in stylesheets are now skipped properly (and
...
not treated as the "proper" styles as they were before).
- EOF condition in the middle of the stylesheet is no longer putting
the reader into infinite loop,
- Half-full input buffers don't trigger EOF anymore (although it
could, in theory, break some apps, I find it unlikely - and the
change makes Out from Boneville installer display license properly).
2005-09-26 09:53:49 +00:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard
d559fbd803
Fixed gcc 4.0 warnings.
2005-09-12 20:30:37 +00:00
Phil Krylov
eee54d95ad
Fixed a RichEdit RTF reader bug which resulted in loss of text.
...
Eliminated unneeded recursion in ME_InsertTextFromCursor().
2005-08-23 18:16:15 +00:00
Phil Krylov
625d872b67
Fixed EM_EXLINEFROMCHAR to work for last row of a paragraph.
2005-08-23 10:02:33 +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
0789483dfc
Automatically set default font after parsing a font table in RichEdit
...
RTF reader.
2005-08-22 14:08:04 +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
f78ce2f41b
Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated
...
some streamed text.
2005-08-11 10:30:41 +00:00
Phil Krylov
bd10348ec9
Fixed UTF-8 RTF parsing.
2005-08-08 11:05:36 +00:00
Mike McCormack
50a6d970f5
gcc 4.0 warning fixes for Interlocked* functions.
2005-08-03 11:03:05 +00:00
Phil Krylov
c2cb39b817
Implemented EM_CHARFROMPOS RichEdit message.
2005-07-26 10:33:00 +00:00
Phil Krylov
2b6b09f591
Generate ending \par in RTF output of RichEdit when streaming out a
...
whole document.
2005-07-26 10:32:46 +00:00