ftp.nice.ch/pub/next/developer/apps/RTFSyntax.NIHS.bs.tar.gz#/RTFSyntax/Source/Controller.h

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

// Controller.h

#import <appkit/appkit.h>
#import "SyntaxItem.h"

@interface Controller:Object
{
	// outlets
	id infoWindow;
	id configurationWindow;
	id regularExpression;
	id matchedSampleText;
	id numberOfItems;
	id itemNumber;
	id preferenceWindow;
    id defaultConfiguration;
	id matchedColorWell;
	id unmatchedColorWell;
	id unmatchedSampleText;

	id infoPanel;
	List *itemList;
	BOOL fileOpened;
}

- appDidInit:sender;
- (int)app:sender openFile:(const char *)path type:(const char *)type;
- (BOOL)appAcceptsAnotherFile:(Application *)sender;
- init;
- free;

- previousItem:sender;
- nextItem:sender;
- deleteItem:sender;
- insertItem:sender;
- (void)saveCurrentItem;
- (void)displayItem:(int)i;

- (BOOL)openDefaultConfiguration;
- openConfiguration:sender;
- (void)openNamedConfiguration:(const char *)name;
- newConfiguration:sender;
- saveConfiguration:sender;
- saveAsConfiguration:sender;
- revertToSavedConfiguration:sender;
- (BOOL)getConfigurationName;
- setMatchedColor:sender;
- setUnmatchedColor:sender;

- setDefaultConfigurationName:sender;

- showInfo:sender;

- suggestion:sender;

- colorSyntax:pasteboard 
	userData:(const char *)userData 
	error:(char **)message;
- (void)colorRTF:(Text *)text;

@end

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