projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Notepad: Goto an offscreen line will now properly scroll the edit control
[reactos.git]
/
reactos
/
subsys
/
system
/
notepad
/
dialog.c
diff --git
a/reactos/subsys/system/notepad/dialog.c
b/reactos/subsys/system/notepad/dialog.c
index
950b416
..
3a6d260
100644
(file)
--- a/
reactos/subsys/system/notepad/dialog.c
+++ b/
reactos/subsys/system/notepad/dialog.c
@@
-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);
}