Sweden-Number/dlls/riched20
Dylan Smith dde41d5c13 richedit: Handle missing colours in rtf colour table.
When a colour table entry is empty, then the default colour is used.
For an incomplete colour table entry 0 is used for the missing colours.

Previously the -1 value used internally for missing colours was being
converted into white, where it should be using the default colour that
is normally black.

This bug could be seen by loading the following rich text into wordpad:
{\rtf{\colortbl;;}\cf1 text}
2009-07-17 15:40:35 +02:00
..
tests richedit: Add more tests for WM_SETTEXT RTF support. 2009-07-13 10:48:05 +02:00
Makefile.in
caret.c riched20: Make ME_GetCursorCoordinates() static and remove ME_MustBeWrapped() as it is unused. 2009-05-26 14:10:32 +02:00
clipboard.c riched20: If DataObjectImpl_EnumFormatEtc returns E_NOTIMPL then ensure that returned pointers are nulled. 2009-06-02 12:09:12 +02:00
context.c
editor.c richedit: Handle missing colours in rtf colour table. 2009-07-17 15:40:35 +02:00
editor.h riched20: Make ME_GetCursorCoordinates() static and remove ME_MustBeWrapped() as it is unused. 2009-05-26 14:10:32 +02:00
editstr.h
list.c
ocr_reverse.cur
paint.c richedit: Keep scrollbars hidden without WS_HSCROLL & WS_VSCROLL. 2009-07-17 12:37:17 +02:00
para.c
reader.c richedit: Handle missing colours in rtf colour table. 2009-07-17 15:40:35 +02:00
res.h
riched20.spec
richole.c
row.c
rtf.h riched20: RTFPeekToken(), RTFExpandStyle() and RTFHexToChar() are unused so remove them. 2009-05-26 14:25:06 +02:00
run.c riched20: Make ME_GetCursorCoordinates() static and remove ME_MustBeWrapped() as it is unused. 2009-05-26 14:10:32 +02:00
string.c riched20: ME_MakeString() is unused so remove it. 2009-05-15 10:28:20 +02:00
style.c
table.c
txthost.c riched20: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
txtsrv.c riched20: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
undo.c
version.rc
wrap.c
writer.c riched20: Fix placement of crlf on font table streamout. 2009-04-27 13:24:09 +02:00