diff options
author | nyamatongwe <unknown> | 2011-12-10 10:59:38 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-12-10 10:59:38 +1100 |
commit | f1371c665bfa41e12799f1d5fea518df30bd2e74 (patch) | |
tree | 0ccda540d0fa59209718c1f9ef5017970cbe2d2a /src/ScintillaBase.cxx | |
parent | 328d2ff08fc565c63ca62c40d104169ff632ad02 (diff) | |
download | scintilla-mirror-f1371c665bfa41e12799f1d5fea518df30bd2e74.tar.gz |
Use autocompletion height for page up and down. Bug #3455493.
Diffstat (limited to 'src/ScintillaBase.cxx')
-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); |