Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.0.1
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 52 lines (37 sloc) 1.419 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
//
// JSTDocument.h
// JSTalk
//
// Created by August Mueller on 1/14/09.
// Copyright Flying Meat Inc 2009 . All rights reserved.
//


#import <Cocoa/Cocoa.h>
#import "JSTTextView.h"
#import "JSTFileWatcher.h"

@interface JSTDocument : NSDocument <NSToolbarDelegate> {
    IBOutlet JSTTextView *jsTextView;
    IBOutlet NSTextView *outputTextView;
    IBOutlet NSSplitView *splitView;
    IBOutlet NSTextField *errorLabel;
    
//NoodleLineNumberView *lineNumberView;
    //TDTokenizer *_tokenizer;
    //NSDictionary *_keywords;
    
    NSMutableDictionary *_toolbarItems;
    
    JSTFileWatcher *_externalEditorFileWatcher;
    
    NSDictionary *_previousOutputTypingAttributes;
}

@property (retain) JSTFileWatcher *externalEditorFileWatcher;
@property (retain) NSDictionary *previousOutputTypingAttributes;


- (void) executeScript:(id)sender;
- (void) clearConsole:(id)sender;

@end


NSToolbarItem *JSTAddToolbarItem(NSMutableDictionary *theDict,
                                 NSString *identifier,
                                 NSString *label,
                                 NSString *paletteLabel,
                                 NSString *toolTip,
                                 id target,
                                 SEL settingSelector,
                                 id itemContent,
                                 SEL action,
                                 NSMenu * menu);

Something went wrong with that request. Please try again.