#include <AppKit/NSTextView.h>
#include <ADD/AppKit/NSTextView.h>

@implementation NSTextView (ADD)


/*setUsesFindPanel:

Specifies whether the receiver allows for a find panel.

- (void)setUsesFindPanel:(BOOL)flag
Parameters
flag

YES to allow the use of a find panel, NO otherwise.
Availability
Available in Mac OS X v10.3 and later.
See Also
– usesFindPanel*/
- (void)setUsesFindPanel:(BOOL)flag{
printf ("setUsesFindPanel",flag);
}

/*setAllowsDocumentBackgroundColorChange:

Sets whether the receiver allows its background color to change.

- (void)setAllowsDocumentBackgroundColorChange:(BOOL)flag
Parameters
flag

YES if the receiver allows the background color to change, otherwise NO.
Discussion

This corresponds to the background color of the entirety of the text view, not just to a selected range of text.
Availability
Available in Mac OS X v10.3 and later.
See Also
– allowsDocumentBackgroundColorChange
– changeDocumentBackgroundColor:*/
- (void)setAllowsDocumentBackgroundColorChange:(BOOL)flag{
printf ("setAllowsDocumentBackgroundColorChange",flag);
}

/*setDefaultParagraphStyle:

Sets the receiver’s default paragraph style.

- (void)setDefaultParagraphStyle:(NSParagraphStyle *)paragraphStyle
Parameters
paragraphStyle

The new default paragraph style.
Availability
Available in Mac OS X v10.3 and later.
See Also
– defaultParagraphStyle*/
- (void)setDefaultParagraphStyle:(NSParagraphStyle *)paragraphStyle{
printf ("setDefaultParagraphStyle",paragraphStyle);
}

/*breakUndoCoalescing

Informs the receiver that it should begin coalescing sucessive typing operations in a new undo grouping.

- (void)breakUndoCoalescing
Discussion

Typically this is invoked when saving the receiver’s contents.
Availability
Available in Mac OS X v10.4 and later.*/
- (void)breakUndoCoalescing{
printf ("breakUndoCoalescing");
}


@end