/*
 *     Generated by class-dump 3.0.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004 by Steve Nygard.
 */

#import "NSTextView.h"

@class Chat, ChatTypesetter, IncomingFile, MessageRenderer, NSMenu, NSMutableArray, NSString;

@interface ChatTextView : NSTextView
{
    Chat *_chat;
    MessageRenderer *_renderer;
    NSMutableArray *_messages;
    ChatTypesetter *_typesetter;
    int _viewFlags;
    BOOL _pendingRebuildLayout;
    BOOL _suppressAutoscroll;
    BOOL _pinToBottomOnResize;
    IncomingFile *_fileBeingDragged;
    NSString *_fileDragDestination;
    BOOL _fileDragIsDup;
    NSMenu *_viewMenu;
}

+ (void)initialize;
+ (id)rendererMenuItems;
- (void)restoreDefaultBackground;
- (void)_commonInitialization;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)awakeFromNib;
- (void)dealloc;
- (id)chat;
- (void)setChat:(id)fp8;
- (void)suppressAutoscroll:(BOOL)fp8;
- (id)messages;
- (void)setBackgroundImage:(id)fp8;
- (BOOL)setBackgroundImageFile:(id)fp8;
- (float)savedScrollPosition;
- (void)restoreSavedScrollPosition:(float)fp8;
- (void)setViewFlag:(int)fp8 toValue:(BOOL)fp12;
- (void)setViewFlags:(int)fp8;
- (BOOL)isViewFlagOn:(int)fp8;
- (int)viewFlags;
- (id)messageRenderer;
- (void)setMessageRenderer:(id)fp8;
- (BOOL)setMessageRendererClass:(id)fp8;
- (id)messageAtCharacterIndex:(int)fp8;
- (id)messageAtOrAfterCharacterIndex:(int)fp8;
- (struct _NSRange)textRangeOfMessage:(id)fp8 locationHint:(int)fp12;
- (id)paragraphStyleOfMessage:(id)fp8;
- (struct _NSRect)rawBoundsOfMessage:(id)fp8 locationHint:(int)fp12;
- (struct _NSRect)rawBoundsOfMessage:(id)fp8;
- (BOOL)_isLayoutComplete;
- (struct _NSRect)boundsOfMessage:(id)fp8 locationHint:(int)fp12;
- (struct _NSRect)boundsOfMessage:(id)fp8;
- (void)_sizeImagesToFit:(id)fp8 widthChangingBy:(float)fp12;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)_isMostRecent:(int)fp8;
- (void)_drawViewBackgroundInRect:(struct _NSRect)fp8;
- (id)viewForPrintingWithInfo:(id)fp8;
- (void)adjustPageHeightNew:(float *)fp8 top:(float)fp12 bottom:(float)fp16 limit:(float)fp20;
- (void)viewWillStartLiveResize;
- (void)resizeWithOldSuperviewSize:(struct _NSSize)fp8;
- (void)viewDidEndLiveResize;
- (void)defineTooltips;
- (id)formatDate:(id)fp8 roundInterval:(int)fp12 longFormat:(BOOL)fp16;
- (id)view:(id)fp8 stringForToolTip:(int)fp12 point:(struct _NSPoint)fp16 userData:(void *)fp24;
- (void)layoutManager:(id)fp8 didCompleteLayoutForTextContainer:(id)fp12 atEnd:(BOOL)fp16;
- (void)_message:(id)fp8 saveTo:(id)fp12;
- (void)_saveFileFromMessage:(id)fp8 toFile:(id)fp12 isDup:(BOOL)fp16;
- (void)_saveFileFromMessage:(id)fp8;
- (void)savePanelDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)_replaceSheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)clickedOnLink:(id)fp8 atIndex:(unsigned int)fp12;
- (void)textView:(id)fp8 doubleClickedOnCell:(id)fp12 inRect:(struct _NSRect)fp16 atIndex:(unsigned int)fp32;
- (BOOL)dragSelectionWithEvent:(id)fp8 offset:(struct _NSSize)fp12 slideBack:(BOOL)fp20;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (id)namesOfPromisedFilesDroppedAtDestination:(id)fp8;
- (id)_attachmentStringForFile:(id)fp8 inMessage:(id)fp12;
- (struct _NSRange)addMessage:(id)fp8 replacingRange:(struct _NSRange)fp12;
- (void)_addTimestamp:(id)fp8;
- (int)findUnfinishedMessageFrom:(id)fp8 returningRange:(struct _NSRange *)fp12;
- (void)offsetMessageRangesBy:(int)fp8 startingAt:(int)fp12;
- (void)_autoscrollWithAnimationSuppressed:(BOOL)fp8;
- (void)setNeedsDisplayInRectOfMessage:(id)fp8;
- (void)addMessage:(id)fp8 atEnd:(BOOL)fp12 replacingMessage:(id)fp16 performActions:(BOOL)fp20;
- (void)clearAllMessages;
- (void)addSampleMessage:(id)fp8;
- (void)_reformatOutgoingMessages:(BOOL)fp8;
- (void)reformatOutgoingColors;
- (void)reformatOutgoingFonts;
- (BOOL)hasFEEInstalled;
- (void)_addInfoBannerMessage:(id)fp8;
- (void)addChatInfoBanner;
- (void)_setVerticalSpacer:(float)fp8;
- (void)_rebuildEntireDocument;
- (void)insertTab:(id)fp8;
- (void)insertNewline:(id)fp8;
- (void)insertText:(id)fp8;
- (void)_chatMessagesChanged:(id)fp8;
- (void)_personInfoChanged:(id)fp8;
- (void)_chatComposingChanged;
- (void)windowDidBecomeMain:(id)fp8;
- (void)chooseBackgroundImage:(id)fp8;
- (void)openPanelDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)clearBackground:(id)fp8;
- (void)setRendererFromMenuItem:(id)fp8;
- (void)_setShowsPictures:(BOOL)fp8 names:(BOOL)fp12;
- (void)toggleShowPictures:(id)fp8;
- (void)toggleShowNames:(id)fp8;
- (void)setChatShowsNames:(id)fp8;
- (void)setChatShowsPictures:(id)fp8;
- (void)setChatShowsNamesAndPictures:(id)fp8;
- (id)writablePasteboardTypes;
- (BOOL)writeSelectionToPasteboard:(id)fp8 type:(id)fp12;
- (BOOL)validateMenuItem:(id)fp8;
- (unsigned int)_operationForDrag:(id)fp8;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)prepareForDragOperation:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)concludeDragOperation:(id)fp8;

@end

