richedit: Make cursor visible when selecting via mouse above/below editor.
This commit is contained in:
parent
cb1d7becf9
commit
9b67a38f1a
|
@ -966,6 +966,7 @@ void ME_MouseMove(ME_TextEditor *editor, int x, int y)
|
||||||
ME_InvalidateSelection(editor);
|
ME_InvalidateSelection(editor);
|
||||||
ShowCaret(editor->hWnd);
|
ShowCaret(editor->hWnd);
|
||||||
ME_SendSelChange(editor);
|
ME_SendSelChange(editor);
|
||||||
|
SendMessageW(editor->hWnd, EM_SCROLLCARET, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ME_DisplayItem *ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,
|
static ME_DisplayItem *ME_FindRunInRow(ME_TextEditor *editor, ME_DisplayItem *pRow,
|
||||||
|
|
Loading…
Reference in New Issue