richedit: Fixed regression caused by destroying the caret.
The regression was caused by destroying the caret when it didn't need to be shown in the richedit control, but this affected other controls.
This commit is contained in:
parent
9e2b04893c
commit
97d56caafe
|
@ -242,8 +242,6 @@ ME_MoveCaret(ME_TextEditor *editor)
|
|||
x = min(x, rect.right-2);
|
||||
CreateCaret(editor->hWnd, NULL, 0, height);
|
||||
SetCaretPos(x, y);
|
||||
} else {
|
||||
DestroyCaret();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue