Implement additional NSResponder action methods to scroll to the

beginning and end of a document, respectively.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30057 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-03-27 22:03:34 +00:00
parent bed9ea8c64
commit 4e3817c049
3 changed files with 68 additions and 0 deletions

View file

@ -1368,6 +1368,16 @@ and layout is left-to-right */
[[self enclosingScrollView] scrollPageUp: sender];
}
- (void) scrollToBeginningOfDocument: (id)sender
{
[[self enclosingScrollView] scrollToBeginningOfDocument: sender];
}
- (void) scrollToEndOfDocument: (id)sender
{
[[self enclosingScrollView] scrollToEndOfDocument: sender];
}
- (void) centerSelectionInVisibleArea: (id)sender
{
NSRange range;