]> git.lyx.org Git - features.git/commit
Fix scrolling to top and bottom of the document.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 29 Jan 2008 09:51:12 +0000 (09:51 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 29 Jan 2008 09:51:12 +0000 (09:51 +0000)
commit81e06f7bc9cddbd9d553681a08eadbc8e04a0447
tree51946a8d1a0836e0026a0893b6a473dd5825b67f
parent1db3eb2113195f43c35fcd3c81614c8f6771205d
Fix scrolling to top and bottom of the document.

* BufferView
- showCursor(DocIterator): new DocIterator argument.
- showCursor(): use above method.
- scrollDocView(): take care of top and bottom special cases early in the method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22707 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferView.cpp
src/BufferView.h