aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-12-10 10:59:38 +1100
committernyamatongwe <devnull@localhost>2011-12-10 10:59:38 +1100
commite0d11dff4f08657ba4b45ce521ab80508ad804ee (patch)
treeeabf0f1130bdf1f0b2389802307bced145568464
parent9cc8d1972a75ae270c03b694882510a96fb05451 (diff)
downloadscintilla-mirror-e0d11dff4f08657ba4b45ce521ab80508ad804ee.tar.gz
Use autocompletion height for page up and down. Bug #3455493.
-rw-r--r--src/ScintillaBase.cxx4
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);