diff options
author | nyamatongwe <devnull@localhost> | 2011-12-10 10:59:38 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-12-10 10:59:38 +1100 |
commit | e0d11dff4f08657ba4b45ce521ab80508ad804ee (patch) | |
tree | eabf0f1130bdf1f0b2389802307bced145568464 /src | |
parent | 9cc8d1972a75ae270c03b694882510a96fb05451 (diff) | |
download | scintilla-mirror-e0d11dff4f08657ba4b45ce521ab80508ad804ee.tar.gz |
Use autocompletion height for page up and down. Bug #3455493.
Diffstat (limited to 'src')
-rw-r--r-- | src/ScintillaBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index c08d8eb1b..f78d0fb96 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -134,10 +134,10 @@ int ScintillaBase::KeyCommand(unsigned int iMessage) { AutoCompleteMove(-1); return 0; case SCI_PAGEDOWN: - AutoCompleteMove(5); + AutoCompleteMove(ac.lb->GetVisibleRows()); return 0; case SCI_PAGEUP: - AutoCompleteMove(-5); + AutoCompleteMove(-ac.lb->GetVisibleRows()); return 0; case SCI_VCHOME: AutoCompleteMove(-5000); |