summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/TikzSourceController.h
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/osx/TikzSourceController.h')
-rw-r--r--tikzit/src/osx/TikzSourceController.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/tikzit/src/osx/TikzSourceController.h b/tikzit/src/osx/TikzSourceController.h
index 01c2cf3..c829336 100644
--- a/tikzit/src/osx/TikzSourceController.h
+++ b/tikzit/src/osx/TikzSourceController.h
@@ -25,6 +25,7 @@
#import "GraphicsView.h"
#import "TikzGraphAssembler.h"
+#import "ParseErrorView.h"
@interface TikzSourceController : NSObject {
GraphicsView *graphicsView;
@@ -34,8 +35,9 @@
NSDictionary *textAttrs;
NSColor *successColor;
NSColor *failedColor;
-
-
+ NSTextField *errorMessage;
+ ParseErrorView *errorNotification;
+
NSUndoManager *documentUndoManager;
BOOL tikzChanged;
@@ -51,10 +53,14 @@
@property NSUndoManager *documentUndoManager;
@property (copy) NSAttributedString *source;
@property (copy) NSString *tikz;
+@property IBOutlet ParseErrorView *errorNotification;
+@property IBOutlet NSTextField *errorMessage;
- (void)updateTikzFromGraph;
- (void)graphChanged:(NSNotification*)n;
+- (IBAction)closeParseError:(id)pId;
+
// called by code, these do not register an undo
- (BOOL)tryParseTikz;
- (void)doRevertTikz;