riched20: Allow the style to remain selected in the context.
commit6f1cc1f3b5eadadd8a97a8f15ff82d2a83261f66
authorHuw Davies <huw@codeweavers.com>
Mon, 19 Aug 2019 09:55:28 +0000 (19 10:55 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 19 Aug 2019 12:12:05 +0000 (19 14:12 +0200)
treeee7dbf95f2e4011f00ca53eacb9a900469046616
parentda9bc7cd9585a0d1554b8119b692ec6235037ef5
riched20: Allow the style to remain selected in the context.

This avoids swapping out the font if the next run uses the same style.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/riched20/context.c
dlls/riched20/editor.h
dlls/riched20/editstr.h
dlls/riched20/paint.c
dlls/riched20/para.c
dlls/riched20/run.c
dlls/riched20/style.c
dlls/riched20/wrap.c