text: //
  //  WebViewController.h
  //  Eloquent
  //
  //  Created by Manfred Bergmann on 15.06.08.
  //  Copyright 2008 __MyCompanyName__. All rights reserved.
  //
  
  /*
   This class is the one webview controller class.
   It can be instanciated where ever needed and put in as subview.
   Delegate can be set to forward any WebView actions.
   A protocol is defined for these delegation methods.
   */
  
  #import <Cocoa/Cocoa.h>
  #import <FooLogger/CocoLogger.h>
  #import "HostableViewController.h"
  
  #define EXTTEXTVIEW_NIBNAME   @"ExtTextView"
  
  @class MouseTrackingScrollView;
  @class MBTextView;
  
  @interface ExtTextViewController : HostableViewController <NSTextViewDelegate, MouseTracking, TextContentProviding> {
      IBOutlet MBTextView *textView;
      IBOutlet MouseTrackingScrollView *scrollView;
  }
  
  - (id)initWithDelegate:(id)aDelegate;
  
  // TextContentProviding
  - (MBTextView *)textView;
  - (MouseTrackingScrollView *)scrollView;
  - (NSMenu *)menuForEvent:(NSEvent *)event;
  - (void)setAttributedString:(NSAttributedString *)aString;
  - (void)setString:(NSString *)aString;
  - (void)scrollToTop;
  
  // MouseTracking
  - (void)mouseEnteredView:(NSView *)theView;
  - (void)mouseExitedView:(NSView *)theView;
  
  @end
  