/*
  MulleScionist - MulleScion template editor
  Copyright (c) 2013, 2014 Mulle kybernetiK, code by Nat!
 */
#import "UKSyntaxColoredTextDocument.h"
#import <WebKit/WebKit.h>


@class NoodleLineNumberView;

@interface MulleScionistDokument : UKSyntaxColoredTextDocument
{
   IBOutlet NSWindow       *syntaxCheckerWindow;

   IBOutlet WebView        *webView;
   
   IBOutlet NSTextView     *plistTextView;
   IBOutlet NSTextView     *logTextView;
   IBOutlet NSButton       *traceEnabledButton;

   IBOutlet id             syntaxCheckResultTextField;
   IBOutlet id             refreshTypePopupButton;
   IBOutlet id             refreshProgressIndicator;

   NSScrollView            *scrollView;
   NoodleLineNumberView    *lineNumberView;

   NSPoint                 currentScrollPosition;
   BOOL                    loadDefault_;
   id                      currentResponder_;
   
   NSString                *mulleScionDirPath_;
   NSMutableDictionary     *environment_;
   
}


- (IBAction)refresh:(id)sender;
- (IBAction)refreshChanged:(id)sender;
//- (IBAction)makeTextLarger:(id)sender;
//- (IBAction)makeTextSmaller:(id)sender;
- (void)drawWebView;

- (IBAction) prettyPrint:(id)sender;
- (IBAction) openDataSource:(id)sender;

@end