Skip to content

Commit f520d3f

Browse files
committed
ScrollYCaretPolicy to affect Go To Last Change #279
1 parent 1bc2ad3 commit f520d3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Notepad2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2879,6 +2879,7 @@ LRESULT MsgCommand(HWND hwnd, WPARAM wParam, LPARAM lParam)
28792879
case ID_EDIT_UNDO_REDO:
28802880
SendMessage(hwndEdit, SCI_UNDO, 0, 0);
28812881
SendMessage(hwndEdit, SCI_REDO, 0, 0);
2882+
EditSelectEx(hwndEdit, SciCall_GetAnchor(), SciCall_GetCurrentPos());
28822883
break;
28832884
// [/2e]
28842885

0 commit comments

Comments
 (0)