Commit Graph

63 Commits

Author SHA1 Message Date
Stefan Huehner 70c80fb430 Make functions static to fix -Wmissing-declarations warnings. 2005-07-06 15:53:04 +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
Phil Krylov e6cee96df8 Fixed an off-by-one error in EM_GETLINECOUNT handler. 2005-07-05 20:56:14 +00:00
Phil Krylov 69a27f457a Fixed another couple of EM_STREAMOUT bugs. 2005-07-05 20:56:07 +00:00
Phil Krylov d291f3cd77 Removed junk from UTF-8 RTF output. 2005-07-05 16:18:33 +00:00
Stefan Huehner 2440dcfe88 Fix -Wmissing-declarations warnings. 2005-07-05 12:49:14 +00:00
Stefan Huehner 4b53c3aa18 Make some function static. 2005-07-01 15:40:24 +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
Krzysztof Foltman cb836344cd - Fix a warning caused by the TAB patch.
- Initialize *pcb to a large value before calling the stream-out
  callback (to make applications that don't set *pcb at all happy).
- Don't flush the output stream when error condition is set.
2005-06-20 10:31:38 +00:00
Robert Shearman 65284aab20 Richedit classes should be global. 2005-06-13 10:01:32 +00:00
Krzysztof Foltman ab214a05c8 Emit \tx for user-defined TABs. 2005-06-12 11:08:29 +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
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Hannu Valtonen cd80c487f5 Use correct background color for the whole richedit control. 2005-05-24 10:10:54 +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
Michael Stefaniuc 3cf8d37067 Change an assert to a WARN. 2005-05-16 09:14:50 +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
Ivan Leo Puoti 327b1632e5 Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE. 2005-05-11 15:56:34 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +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
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Phil Krylov 6b379fb29f Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
conversion and the detection of the default font's codepage.
2005-03-24 15:09:05 +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
Mike McCormack 3a0f930ab4 Remove casts and unused code. 2005-03-21 11:24:38 +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
Phil Krylov 48061e6899 Improved RTF export. 2005-03-16 20:18:11 +00:00
Jason Edmeades c7e815c53b Correct memory allocation macro. 2005-03-16 19:50:49 +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
Phil Krylov bf4dc2e152 Implemented hash table lookup for RTF keywords in RTF reader. 2005-03-15 19:31:44 +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
Phil Krylov e3d8bf9d70 Added "generator" RTF destination handling. 2005-03-14 21:40:48 +00:00
Gerald Pfeifer 04606af829 Make ME_ArrowLeft() return a value in every case. 2005-03-14 10:08:00 +00:00