Commit b9e1ed06 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Only invalidate the selection if it's not hidden.

parent 5419a980
......@@ -2153,9 +2153,9 @@ int set_selection( ME_TextEditor *editor, int to, int from )
TRACE("%d - %d\n", to, from );
ME_InvalidateSelection( editor );
if (!editor->bHideSelection) ME_InvalidateSelection( editor );
end = set_selection_cursors( editor, to, from );
ME_InvalidateSelection( editor );
if (!editor->bHideSelection) ME_InvalidateSelection( editor );
update_caret( editor );
ME_SendSelChange( editor );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment