Up

NSTextStorage

Authors

Richard Frith-Macdonald (richard@brainstorm.co.uk)

Copyright: (C) 1999 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSTextStorage class
  2. Software documentation for the NSObject(NSTextStorageDelegate) informal protocol

Software documentation for the NSTextStorage class

NSTextStorage : NSMutableAttributedString

Declared in:
AppKit/NSTextStorage.h
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


Instance Variables

Method summary

addLayoutManager: 

- (void) addLayoutManager: (GSLayoutManager*)obj;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


beginEditing 

- (void) beginEditing;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


changeInLength 

- (int) changeInLength;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


delegate 

- (id) delegate;
Availability: Not in OpenStep/MacOS-X

Returns the value most recently set usiong the -setDelegate: method.


edited: range: changeInLength: 

- (void) edited: (unsigned)mask range: (NSRange)old changeInLength: (int)delta;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


editedMask 

- (unsigned) editedMask;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


editedRange 

- (NSRange) editedRange;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


endEditing 

- (void) endEditing;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


ensureAttributesAreFixedInRange: 

- (void) ensureAttributesAreFixedInRange: (NSRange)range;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


fixesAttributesLazily 

- (BOOL) fixesAttributesLazily;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


invalidateAttributesInRange: 

- (void) invalidateAttributesInRange: (NSRange)range;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


layoutManagers 

- (NSArray*) layoutManagers;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


processEditing 

- (void) processEditing;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


removeLayoutManager: 

- (void) removeLayoutManager: (GSLayoutManager*)obj;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setDelegate: 

- (void) setDelegate: (id)delegate;
Availability: Not in OpenStep/MacOS-X

Set the delegate (adds it as an observer for text storage notifications) and removes any old value (removes it as an observer).
The delegate is not retained.




Instance Variables for NSTextStorage Class

_delegate

@protected id _delegate;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_editCount

@protected unsigned int _editCount;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_editedDelta

@protected int _editedDelta;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_editedMask

@protected unsigned int _editedMask;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_editedRange

@protected NSRange _editedRange;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_layoutManagers

@protected NSMutableArray* _layoutManagers;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Software documentation for the NSObject(NSTextStorageDelegate) informal protocol

NSObject(NSTextStorageDelegate)

Declared in:
AppKit/NSTextStorage.h
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

Method summary

textStorageDidProcessEditing: 

- (void) textStorageDidProcessEditing: (NSNotification*)notification;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


textStorageWillProcessEditing: 

- (void) textStorageWillProcessEditing: (NSNotification*)notification;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.



Up