mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
Notepad: Goto an offscreen line will now properly scroll the edit control
svn path=/trunk/; revision=18287
This commit is contained in:
parent
2446ae0fd7
commit
d546f71ac4
1 changed files with 1 additions and 0 deletions
|
@ -775,6 +775,7 @@ VOID DIALOG_GoTo(VOID)
|
|||
nLine--;
|
||||
}
|
||||
SendMessage(Globals.hEdit, EM_SETSEL, i, i);
|
||||
SendMessage(Globals.hEdit, EM_SCROLLCARET, 0, 0);
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, pszText);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue