diff options
author | nyamatongwe <devnull@localhost> | 2010-01-31 06:54:53 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-01-31 06:54:53 +0000 |
commit | 926e43d2e9b658fac3adb3fc2c0e0db0e819b819 (patch) | |
tree | 0524f63a25a026c8de1d3e759bf910008aca1bcb /src | |
parent | 5bd974736e7a105a890b17cce440deda27688d5d (diff) | |
download | scintilla-mirror-926e43d2e9b658fac3adb3fc2c0e0db0e819b819.tar.gz |
Added SCI_SETFIRSTVISIBLELINE to match SCI_GETFIRSTVISIBLELINE.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index f6e7b0603..f9eee5acc 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6499,6 +6499,10 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETFIRSTVISIBLELINE: return topLine; + case SCI_SETFIRSTVISIBLELINE: + ScrollTo(wParam); + break; + case SCI_GETLINE: { // Risk of overwriting the end of the buffer int lineStart = pdoc->LineStart(wParam); int lineEnd = pdoc->LineStart(wParam + 1); |