ftp.nice.ch/pub/next/connectivity/mail/apps/MailEnclosure.0.15.NIHS.bs.tar.gz#/MailEnclosure/MailEnclosure.v05/Source/EmacsText.h

This is EmacsText.h in view mode; [Download] [Up]

/* EmacsText.h
 *
 * You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
 * fitness for any particular use.
 *
 * Written by:  Julie Zelenski
 * Created:  Sept/91
 */

#import <appkit/appkit.h>


@interface EmacsText:Text
{
}

- initFrame:(const NXRect *)fRect;

- (int)perform:(SEL)selector withSel:(SEL)helper;

- (int)positionForLineBegin;
- (int)positionForLineEnd;
- (int)positionForWordBegin;
- (int)positionForWordEnd;
- (int)positionForDocumentBegin;
- (int)positionForDocumentEnd;
- (int)nextPositionIfEmpty;

- moveToPosition:(SEL)command;
- deleteToPosition:(SEL)command;
- delete:(int)start :(int)end;
- yank;

- (BOOL) emacsEvent:(NXEvent *)event;
- keyDown:(NXEvent *)event;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.