mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:37:38 +00:00
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:
parent
bed9ea8c64
commit
4e3817c049
3 changed files with 68 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue