- 27 Jun, 2008 2 commits
-
-
Dylan Smith authored
Checks were added for hexadecimal values that did not have valid characters, and for EOF received before the final closing brace of the rich text stream. The error values were tested on richedit versions 1, 2, 3 & 4.1, and they were all the same for these cases.
-
Dylan Smith authored
The function ME_GetInsertStyle already checks for the case where there is a selection, so there is no need to duplicate this code for ME_GetSelectionInsertStyle.
-
- 26 Jun, 2008 38 commits
-
-
Nikolay Sivov authored
-
Jon Griffiths authored
-
Dylan Smith authored
Consecutively typed characters are grouped together to be undone together. The grouping of typed characters can be stopped by certain events that are mentioned in MSDN's remarks on the EM_STOPGROUPTYPING message, which is also implemented by this patch.
-
Dylan Smith authored
-
Dylan Smith authored
Previously bold needed to be set by setting CFM_WEIGHT in the CHARFORMAT2 structure, and then setting the appropriate wWeight value. This approach isn't even supported in version 3.0 of the richedit control. Now bold can be set/unset properly for Windows or Wine using CFE_BOLD in dwEffects and with CFM_BOLD set in the dwMask flag.
-
Dylan Smith authored
The LOGFONT's lfHeight member is in logical units, and is being used to set the yHeight member of CHARFORMAT2 which is supposed to be in twips.
-
Dylan Smith authored
-
Dylan Smith authored
-
Dylan Smith authored
Opening a text file with a NULL terminated character in it was causing an assertion error after a run was being split due to word wrap. Windows allows NULL terminated characters to be in the text.
-
Dylan Smith authored
Using Ctrl-RightArrow to move to the start of the next word did not previously work when at the start of a word. This means that Ctrl-RightArrow would not work twice in a row since it should move to the start of the next word.
-
Dylan Smith authored
The call to GetClientRect returns 0 values for the returned RECT when called in WM_NCCREATE in on Windows, which ended up causing an assertion error when Wine's riched20.dll replaces the native version. Moving the call to WM_CREATE fixes this problem (probably because NCCALCSIZE is called in between).
-
Dylan Smith authored
-
Dylan Smith authored
There was a missing call to ShowCaret after the caret was created.
-
Dylan Smith authored
The function ME_FindRunInRow uses two parameters to return values by reference, and treated these parameters as if they were optional except for the start of the function which set *pbCaretAtEnd without checking to see if was a NULL pointer.
-
Dylan Smith authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Lei Zhang authored
-
Dan Hipschman authored
-
Detlef Riekenberg authored
-
Andrew Talbot authored
-
Zac Brown authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Alexandre Julliard authored
-
Filipe Ferreira authored
-
Anatoly Lyutin authored
-
Alexandre Julliard authored
-
Nikolay Sivov authored
-
Nikolay Sivov authored
-