summaryrefslogtreecommitdiff
path: root/tikzit/src/osx/TikzSourceController.h
diff options
context:
space:
mode:
authorJohan Paulsson <gonz@users.sourceforge.net>2013-02-26 17:07:05 +0000
committerJohan Paulsson <gonz@users.sourceforge.net>2013-02-26 17:07:05 +0000
commit44fc6c6fc022b7262175a71a981ddc3969132ed5 (patch)
tree677ded4cf5d5c61ff0375b7025e77300b4382950 /tikzit/src/osx/TikzSourceController.h
parent814372e88b23ce7956b2322d6f382742e2277ea5 (diff)
osx gui parsing errors
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;