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: OpenStep

Description forthcoming.

Instance Variables

Method summary

addLayoutManager: 

- (void) addLayoutManager: (GSLayoutManager*)obj;
Availability: OpenStep

Description forthcoming.

beginEditing 

- (void) beginEditing;
Availability: OpenStep

Description forthcoming.

changeInLength 

- (int) changeInLength;
Availability: OpenStep

Description forthcoming.

delegate 

- (id) delegate;
Availability: OpenStep

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

edited: range: changeInLength: 

- (void) edited: (unsigned)mask range: (NSRange)old changeInLength: (int)delta;
Availability: OpenStep

Description forthcoming.

editedMask 

- (unsigned) editedMask;
Availability: OpenStep

Description forthcoming.

editedRange 

- (NSRange) editedRange;
Availability: OpenStep

Description forthcoming.

endEditing 

- (void) endEditing;
Availability: OpenStep

Description forthcoming.

ensureAttributesAreFixedInRange: 

- (void) ensureAttributesAreFixedInRange: (NSRange)range;
Availability: MacOS-X 10.0.0

Description forthcoming.

fixesAttributesLazily 

- (BOOL) fixesAttributesLazily;
Availability: MacOS-X 10.0.0

Description forthcoming.

invalidateAttributesInRange: 

- (void) invalidateAttributesInRange: (NSRange)range;
Availability: MacOS-X 10.0.0

Description forthcoming.

layoutManagers 

- (NSArray*) layoutManagers;
Availability: OpenStep

Description forthcoming.

processEditing 

- (void) processEditing;
Availability: OpenStep

Description forthcoming.

removeLayoutManager: 

- (void) removeLayoutManager: (GSLayoutManager*)obj;
Availability: OpenStep

Description forthcoming.

setDelegate: 

- (void) setDelegate: (id)delegate;
Availability: OpenStep

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;
Availability: OpenStep

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;
Availability: OpenStep

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;
Availability: OpenStep

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;
Availability: OpenStep

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;
Availability: OpenStep

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;
Availability: OpenStep

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: OpenStep

Description forthcoming.
Method summary

textStorageDidProcessEditing: 

- (void) textStorageDidProcessEditing: (NSNotification*)notification;
Availability: OpenStep

Description forthcoming.

textStorageWillProcessEditing: 

- (void) textStorageWillProcessEditing: (NSNotification*)notification;
Availability: OpenStep

Description forthcoming.


Up