forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBlockInspector.h
35 lines (29 loc) · 887 Bytes
/
BlockInspector.h
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
/* BlockInspector.h Copyright (c) 1998-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import <AppKit/AppKit.h>
@class NSMutableString;
@class FSBlock;
@class NSString;
@class NSSplitView;
@class NSScrollView;
@class NSButton;
@interface BlockInspector : NSObject
{
FSBlock *inspectedObject;
IBOutlet NSSplitView *splitView;
IBOutlet NSScrollView *sourceView;
IBOutlet NSScrollView *messageView;
BOOL edited;
NSWindow *argumentsWindow;
}
- (id)activate;
- (IBAction)compil:sender;
- (BOOL)edited;
- (id)initWithBlock:(FSBlock*)bl;
- (IBAction)run:sender;
- (void)setEdited:(BOOL)newVal;
- (void)showError:(NSString*)errorMessage;
- (void)showError:(NSString*)errorMessage start:(NSInteger)firstCharacterIndex end:(NSInteger)lastCharacterIndex;
- (NSString *)source;
- (id)update;
@end