Samond Classes Library 1.1.6-RELEASE build 132

SCTextDelegateObject Class Reference

Protocol SCTextDelegate implementation class. More...

#import <SCTextDelegateObject.h>

Inheritance diagram for SCTextDelegateObject:
SCDelegateObject <SCTextDelegate> SCObject <SCDictionaryObjectProtocol> <SCCodingProtocol> <SCStreamProtocol> <SCCollectionProtocol>

List of all members.

Public Member Functions

Processing Text Strings
(void) - processString:text:
Processing Text Errors
(BOOL) - text:didDetectException:
Strings List Prior Events Methods
(void) - text:willAddString:
(void) - text:willCopyFromCollection:
(void) - text:willCopyFromList:
(void) - text:willCopyFromString:
(void) - willCopyStringsToText:
(void) - willRemoveAllStringsFromText:
(void) - text:willSortAscending:usingMethod:
(void) - text:willInsertString:atIndex:
(void) - text:willRemoveStringAtIndex:
(void) - text:willRemoveStringsAtIndexes:
(void) - text:willRemoveString:
(void) - text:willReplaceStringAtIndex:withString:
(void) - text:willReplaceStringsAtIndexes:withStringsFromCollection:
(void) - text:willExchangeStringAtIndex:withStringAtIndex:
(void) - text:willDuplicateStringAtIndex:
(void) - willDuplicateText:
(void) - text:willCopyStringAtIndex:toIndex:
(void) - text:willMoveStringAtIndex:toIndex:
(void) - willReverseText:
Text Prior Events Methods
(void) - text:willAddText:
(void) - text:willInsertText:atIndex:
(void) - text:willRemoveTextInRange:
(void) - text:willRemoveTextFromIndex:
(void) - text:willRemoveTextToIndex:
(void) - text:willRemoveSubstring:
(void) - text:willReplaceTextInRange:withText:
(void) - text:willReplaceTextFromIndex:withText:
(void) - text:willReplaceTextToIndex:withText:
(void) - text:willExchangeTextInRange:withTextInRange:
(void) - text:willDuplicateTextInRange:
(void) - text:willDuplicateTextFromIndex:
(void) - text:willDuplicateTextToIndex:
(void) - text:willDuplicateStringsInRange:
(void) - text:willDuplicateStringsFromIndex:
(void) - text:willDuplicateStringsToIndex:
(void) - text:willCopyTextInRange:toIndex:
(void) - text:willCopyTextFromIndex:toIndex:
(void) - text:willCopyTextToIndex:toIndex:
(void) - text:willMoveTextInRange:toIndex:
(void) - text:willMoveTextFromIndex:toIndex:
(void) - text:willMoveTextToIndex:toIndex:
Text File Prior Events Methods
(void) - text:willLoadFromStream:
(void) - text:willLoadWithPath:
(void) - text:willSaveToStream:
(void) - text:willSaveWithPath:
(void) - text:willAppendToFileWithPath:
(void) - text:willAddTextFromStream:
(void) - text:willAddTextWithPath:
(void) - text:willInsertTextFromStream:atIndex:
(void) - text:willInsertTextWithPath:atIndex:
(void) - text:willReplaceInRange:fromStream:
(void) - text:willReplaceInRange:withPath:
(void) - text:willSaveInRange:toStream:
(void) - text:willSaveInRange:withPath:
(void) - text:willAppendInRange:withPath:
(void) - text:willCutInRange:toStream:
(void) - text:willCutInRange:withPath:
(void) - text:willCutAndAppendInRange:withPath:
(void) - willResetText:
Strings List Completed Events Methods
(void) - text:didFinishAddingString:
(void) - text:didFinishCopyingFromCollection:
(void) - text:didFinishCopyingFromList:
(void) - text:didFinishCopyingFromString:
(void) - didFinishCopyingStringsToText:
(void) - didFinishRemovingAllObjectsFromText:
(void) - text:didFinishSortingAscending:usingMethod:
(void) - text:didFinishInsertingString:atIndex:
(void) - text:didFinishRemovingStringAtIndex:
(void) - text:didFinishRemovingStringsAtIndexes:
(void) - text:didFinishRemovingString:
(void) - text:didFinishReplacingStringAtIndex:withString:
(void) - text:didFinishReplacingStringsAtIndexes:withStringsFromCollection:
(void) - text:didFinishExchangingStringAtIndex:withStringAtIndex:
(void) - text:didFinishDuplicatingStringAtIndex:
(void) - didFinishDuplicatingText:
(void) - text:didFinishCopyingStringAtIndex:toIndex:
(void) - text:didFinishMovingStringAtIndex:toIndex:
(void) - didFinishReversingText:
Text Completed Events Methods
(void) - text:didFinishAddingText:
(void) - text:didFinishInsertingText:atIndex:
(void) - text:didFinishRemovingTextInRange:
(void) - text:didFinishRemovingTextFromIndex:
(void) - text:didFinishRemovingTextToIndex:
(void) - text:didFinishRemovingSubstring:
(void) - text:didFinishReplacingTextInRange:withText:
(void) - text:didFinishReplacingTextFromIndex:withText:
(void) - text:didFinishReplacingTextToIndex:withText:
(void) - text:didFinishExchangingTextInRange:withTextInRange:
(void) - text:didFinishDuplicatingTextInRange:
(void) - text:didFinishDuplicatingTextFromIndex:
(void) - text:didFinishDuplicatingTextToIndex:
(void) - text:didFinishDuplicatingStringsInRange:
(void) - text:didFinishDuplicatingStringsFromIndex:
(void) - text:didFinishDuplicatingStringsToIndex:
(void) - text:didFinishCopyingTextInRange:toIndex:
(void) - text:didFinishCopyingTextFromIndex:toIndex:
(void) - text:didFinishCopyingTextToIndex:toIndex:
(void) - text:didFinishMovingTextInRange:toIndex:
(void) - text:didFinishMovingTextFromIndex:toIndex:
(void) - text:didFinishMovingTextToIndex:toIndex:
Text File Completed Events Methods
(void) - text:didFinishLoadingFromStream:
(void) - text:didFinishLoadingWithPath:
(void) - text:didFinishSavingToStream:
(void) - text:didFinishSavingWithPath:
(void) - text:didFinishAppendingToFileWithPath:
(void) - text:didFinishAddingText:fromStream:
(void) - text:didFinishAddingText:withPath:
(void) - text:didFinishInsertingText:fromStream:atIndex:
(void) - text:didFinishInsertingText:withPath:atIndex:
(void) - text:didFinishReplacingInRange:text:fromStream:
(void) - text:didFinishReplacingInRange:text:withPath:
(void) - text:didFinishSavingInRange:toStream:
(void) - text:didFinishSavingInRange:withPath:
(void) - text:didFinishAppendingInRange:withPath:
(void) - text:didFinishCuttingInRange:toStream:
(void) - text:didFinishCuttingInRange:withPath:
(void) - text:didFinishCuttingAndAppendingInRange:withPath:
(void) - didFinishResettingText:

Detailed Description

Protocol SCTextDelegate implementation class.

Class implements the protocol SCTextDelegate.
Class was introduced in version 1.1.4.


Member Function Documentation

- (void) didFinishCopyingStringsToText: (SCStrings *)  text

Tells the delegate that the text is finishing the replacing existing content.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.

- (void) didFinishDuplicatingText: (SCStrings *)  text

Tells the delegate that the text is finished the duplicating content.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.

- (void) didFinishRemovingAllObjectsFromText: (SCStrings *)  text

Tells the delegate that the text is finishing the deleting all strings.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.

- (void) didFinishResettingText: (SCTextFile *)  text

Tells the delegate that the receiving text file is finished resetting the content.

Parameters:
text- receiving text file instance

Reimplemented from <SCTextDelegate>.

- (void) didFinishReversingText: (SCStrings *)  text

Tells the delegate that the text is finished the reversing order of all strings.

Parameters:
text- test instance

Reimplemented from <SCTextDelegate>.

- (void) processString: (NSString *)  string
text: (SCStrings *)  text 

Tells the delegate for the specified string from the specified text.

Parameters:
string- string instance
text- text instance

Reimplemented from <SCTextDelegate>.

- (BOOL) text: (SCStrings *)  text
didDetectException: (SCTextException *)  exception 

Tells the delegate that the text detects the specified exception.

Parameters:
text- text instance
exception- detected exception
Returns:
YES if the text must ignored the exception, otherwise NO

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishAddingString: (NSString *)  string 

Tells the delegate that the text is finishing the adding the specified string.

Parameters:
text- text instance
string- added string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishAddingText: (SCText *)  addedText 

Tells the delegate that the is finished the adding the specified text into the receiving text.

Parameters:
text- text instance
addedText- added text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishAddingText: (SCTextFile *)  add
fromStream: (SCStream *)  stream 

Tells the delegate that the receiving text file is finished appending the text from the specified text.

Parameters:
text- receiving text file instance
add- appended text
stream- input stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishAddingText: (SCTextFile *)  add
withPath: (NSString *)  path 

Tells the delegate that the receiving text file is finished appending the text from the file with the specified path.

Parameters:
text- receiving text file instance
add- appended text
path- input file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishAppendingInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is finished appending the text in the specified range to the file with the specified path.

Parameters:
text- receiving text file instance
range- appending text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishAppendingToFileWithPath: (NSString *)  path 

Tells the delegate that the content of the receiving text file is finished appending to the file with the specified path.

Parameters:
text- receiving text file instance
path- destination file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishCopyingFromCollection: (id)  source 

Tells the delegate that the text is finishing the copying strings and settings from the existint collection.

Parameters:
text- text instance
source- existing collection

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishCopyingFromList: (SCStrings *)  source 

Tells the delegate that the text is finishing the copying strings and settings from the existint strings list.

Parameters:
text- text instance
source- existing strings list

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishCopyingFromString: (NSString *)  string 

Tells the delegate that the text is finishing the copying content from the existing source string.

Parameters:
text- text instance
string- existing source string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishCopyingStringAtIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the is finished the copying string at the specified index to a given index.

Parameters:
text- text instance
index- source string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishCopyingTextFromIndex: (SCIndex source
toIndex: (SCIndex dst 

Tells the delegate that the receiving text is finished copying text from the specified index to the specified destination index.

Parameters:
text- receiving text instance
source- first copying string index
dst- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishCopyingTextInRange: (NSRange)  range
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is finished copying text in the specified range to the specified index.

Parameters:
text- receiving text instance
range- copying text range
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishCopyingTextToIndex: (SCIndex source
toIndex: (SCIndex dst 

Tells the delegate that the receiving text is finished copying text to the specified index to the specified destination index.

Parameters:
text- receiving text instance
source- last copying string index
dst- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishCuttingAndAppendingInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is finished cutting the text in the specified range and append it to the file with the specified path.

Parameters:
text- receiving text file instance
range- cutting and appending text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishCuttingInRange: (NSRange)  range
toStream: (SCStream *)  stream 

Tells the delegate that the receiving instance is finished cutting the text in the specified range to the specified stream.

Parameters:
text- receiving text file instance
range- cutting text range
stream- output stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishCuttingInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is finished cutting the text in the specified range to the file with the specified path.

Parameters:
text- receiving text file instance
range- cutting text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishDuplicatingStringAtIndex: (SCIndex index 

Tells the delegate that the text is finished the duplicating string at the specified index.

Parameters:
text- text instance
index- duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishDuplicatingStringsFromIndex: (SCIndex index 

Tells the delegate that the receiving text is finished duplicating strings from the specified index.

Parameters:
text- receiving text instance
index- first duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishDuplicatingStringsInRange: (NSRange)  range 

Tells the delegate that the receiving text is finished duplicating strings in the specified range.

Parameters:
text- receiving text instance
range- duplicated strings range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishDuplicatingStringsToIndex: (SCIndex index 

Tells the delegate that the receiving text is finished duplicting strings to the specified index.

Parameters:
text- receiving text instance
index- last duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishDuplicatingTextFromIndex: (SCIndex index 

Tells the delegate that the receiving text is finished duplicting text from the specified index.

Parameters:
text- receiving text instance
index- first duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishDuplicatingTextInRange: (NSRange)  range 

Tells the delegate that the receiving text is finished duplicating text in the specified range.

Parameters:
text- receving text instance
range- duplicated text range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishDuplicatingTextToIndex: (SCIndex index 

Tells the delegate that the receiving text is finished duplicating text to the specified index.

Parameters:
text- receiving text instance
index- last duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishExchangingStringAtIndex: (SCIndex index
withStringAtIndex: (SCIndex destination 

Tells the delegate that the text is finished the exchanging strings at the specified indexes.

Parameters:
text- text instance
index- index of the first string
destination- index of the second string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishExchangingTextInRange: (NSRange)  src
withTextInRange: (NSRange)  ds 

Tells the delegate that the receiving text is finished the exchanging text in the specified range with the text in the specified text.

Parameters:
text- receiving text instance
src- source text range
ds- destination text range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishInsertingString: (NSString *)  string
atIndex: (SCIndex index 

Tells the delegate that the text is finished the inserting string at the specified index.

Parameters:
text- text instance
string- inserted string
index- index at which to insert string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishInsertingText: (SCText *)  insertedText
atIndex: (SCIndex index 

Tells the delegate that the is finished the inserting the specified text at the specified index into the receiving text.

Parameters:
text- receiving text instance
insertedText- inserted text instance
index- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishInsertingText: (SCTextFile *)  add
fromStream: (SCStream *)  stream
atIndex: (SCIndex index 

Tells the delegate that the receiving instance is finished inserting the text from the specified stream at the specified index.

Parameters:
text- receving text file instance
add- adding text
stream- input stream
index- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishInsertingText: (SCTextFile *)  add
withPath: (NSString *)  path
atIndex: (SCIndex index 

Tells the delegate that the receiving instance is finished inserting the text from the file with the specified path at the specified index.

Parameters:
text- receiving text file instance
add- adding text
path- input file path
index- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishLoadingFromStream: (SCStream *)  stream 

Tells the delegate that the receiving text is finished loading the content of the specifies stream.

Parameters:
text- receiving text file instance
stream- input stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishLoadingWithPath: (NSString *)  path 

Tells the delegate that the receiving text file is finished loading the content from the file with the specified path.

Parameters:
text- receiving text file instance
path- loaded file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishMovingStringAtIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the is finished the moving string at the specified index to a given index.

Parameters:
text- text instance
index- source string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishMovingTextFromIndex: (SCIndex index
toIndex: (SCIndex dst 

Tells the delegate that the receiving text is finished moving text from the specified index to the specified destination index.

Parameters:
text- receiving test instance
index- first moving text index
dst- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishMovingTextInRange: (NSRange)  range
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is finished moving text in the specified range to the specified destination index.

Parameters:
text- receiving text instance
range- moving text range
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishMovingTextToIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is finished moving text from the first and the specified index to the specified destination index.

Parameters:
text- receiving text instance
index- last moving text index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishRemovingString: (NSString *)  string 

Tells the delegate that the text is finished the removing the specified string.

Parameters:
text- text instance
string- removed string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishRemovingStringAtIndex: (SCIndex index 

Tells the delegate that the text is finished the removing string at the specified index.

Parameters:
text- text inserting
index- index of the removed string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishRemovingStringsAtIndexes: (NSIndexSet *)  indexes 

Tells the delegate that the text is finished the removing strings at the specified index set.

Parameters:
text- text instance
indexes- index set

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishRemovingSubstring: (NSString *)  substring 

Tells the delegate that is finished the removing the specified substring from the receiving text.

Parameters:
text- receiving text instance
substring- removed substring

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishRemovingTextFromIndex: (SCIndex index 

Tells the delegate that is finished the removing text from the specified index from the receiving text.

Parameters:
text- receiving text instance
index- first removing string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishRemovingTextInRange: (NSRange)  range 

Tells the delegate that is finished the removing text in the specified range from the receiving text.

Parameters:
text- receiving text instance
range- removed text range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishRemovingTextToIndex: (SCIndex index 

Tells the delegate that is finished the removing text to the specified index from the receiving text.

Parameters:
text- receiving text instance
index- last removing string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishReplacingInRange: (NSRange)  range
text: (SCTextFile *)  add
fromStream: (SCStream *)  stream 

Tells the delegate that the receiving instance is finished replacing the text in the specified range with the text from the specified stream.

Parameters:
text- receiving text file instance
range- replacing text range
add- replacing text
stream- input stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishReplacingInRange: (NSRange)  range
text: (SCTextFile *)  add
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is finished replacing the text in the specified range with the text from the file with the specified path.

Parameters:
text- receiving text file instance
range- replacing text range
add- replacing text
path- input file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishReplacingStringAtIndex: (SCIndex index
withString: (NSString *)  string 

Tells the delegate that the text is finished the replacing string at the specified index by using the specified string.

Parameters:
text- text instance
index- index of replaced string
string- replacing string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishReplacingStringsAtIndexes: (NSIndexSet *)  indexes
withStringsFromCollection: (id)  collection 

Tells the delegate that the text is finished the replacing strings at the specified indexes by using the strings from a given collection.

Parameters:
text- text instance
indexes- indexes of strings to be replaced
collection- collection with the replacing strings

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishReplacingTextFromIndex: (SCIndex index
withText: (SCText *)  ntext 

Tells the delegate that the receiving text is finished the replacing the text from the specified index by using the specified new text.

Parameters:
text- receiving text instance
index- first replaceable string index
ntext- replacement text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishReplacingTextInRange: (NSRange)  range
withText: (SCText *)  ntext 

Tells the delegate that is finished the replacing the text in the specified range by using the specified replacement text in the receiving text.

Parameters:
text- receiving text instance
range- replaced text range
ntext- replacement text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
didFinishReplacingTextToIndex: (SCIndex index
withText: (SCText *)  ntext 

Tells the delegate that the receiving text is finished the replacing the text to the specified index by using the specified new text.

Parameters:
text- receiving text instance
index- last replaceable string index
ntext- replacement text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishSavingInRange: (NSRange)  range
toStream: (SCStream *)  stream 

Tells the delegate that the receiving instance is finished saving the text in the specified range to the specified stream.

Parameters:
text- receiving text file instance
range- saving text range
stream- output stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishSavingInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is finished saving the text in the specified range to the file with the specified path.

Parameters:
text- receiving text file instance
range- saving text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishSavingToStream: (SCStream *)  stream 

Tells the delegate that the receiving text file is finished saving the content to the specified stream.

Parameters:
text- receiving text file instance
stream- output stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
didFinishSavingWithPath: (NSString *)  path 

Tells the delegate that the receiving text file is finished saving the content to the file with the specified path.

Parameters:
text- receiving text file instance
path- destination file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
didFinishSortingAscending: (BOOL)  ascending
usingMethod: (id<SCSortingProtocol>)  method 

Tells the delegate that the text is finished the sorting objects.

Parameters:
text- text instance
ascending- YES for ascending direction, otherwise NO
method- using sorting algorithm

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willAddString: (NSString *)  string 

Tells the delegate that the text is about to add the specified string.

Parameters:
text- text instance
string- adding string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willAddText: (SCText *)  addedText 

Tells the delegate that the receiving text is about to adding the specified text.

Parameters:
text- text instance
addedText- added text instance

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willAddTextFromStream: (SCStream *)  stream 

Tells the delegate that the receiving text is about to add text readed from the specified stream.

Parameters:
text- receiving text file instance
stream- input stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willAddTextWithPath: (NSString *)  path 

Tells the delegate that the receiving text is about to add text readed from the file with the specified path.

Parameters:
text- receiving text file instance
path- input file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willAppendInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is about to append text in the specified range to the file with the specified index.

Parameters:
text- receiving text file instance
range- appended text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willAppendToFileWithPath: (NSString *)  path 

Tells the delegate that the content of the receiving text file is about to appent to the file with the specified path.

Parameters:
text- receiving text file instance
path- destination file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willCopyFromCollection: (id)  source 

Tells the delegate that the text is about to copy strings and settings from the existing collection.

Parameters:
text- text instance
source- source collection

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willCopyFromList: (SCStrings *)  source 

Tells the delegate that the text is about to copy strings and settings from the existing strings list.

Parameters:
text- text instance
source- source strings list

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willCopyFromString: (NSString *)  string 

Tells the delegate that the text is about to copy content from the specified existing string.

Parameters:
text- text instance
string- existing source string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willCopyStringAtIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the text is about to copy string with the specified index to a given index.

Parameters:
text- text instance
index- source string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willCopyTextFromIndex: (SCIndex source
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is about to copy the text from the specified index to the specified index.

Parameters:
text- receiving text instance
source- first copying string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willCopyTextInRange: (NSRange)  range
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is about to copy the text in the specified range to the specified index.

Parameters:
text- receiving text instance
range- copying text range
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willCopyTextToIndex: (SCIndex source
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is about to copy the text to the specified index to the specified index.

Parameters:
text- receiving text instance
source- last copying string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willCutAndAppendInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is about to cut text in the specified range and append it to the file with the specified path.

Parameters:
text- receiving text file instance
range- cutted and appended text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willCutInRange: (NSRange)  range
toStream: (SCStream *)  stream 

Tells the delegate that the receiving instance is about to cut text in the specified range and save it to the specified stream.

Parameters:
text- receiving text file instance
range- cutted text range
stream- output stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willCutInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is about to cut text in the specified range and save it to the file with the specified path.

Parameters:
text- receiving text file instance
range- cutted text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willDuplicateStringAtIndex: (SCIndex index 

Tells the delegate that the text is about to duplicate string at the specified index.

Parameters:
text- text instance
index- index of the duplicated string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willDuplicateStringsFromIndex: (SCIndex index 

Tells the delegate that the receiving text is about to duplicate the strings from the specified range.

Parameters:
text- receiving text instance
index- first duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willDuplicateStringsInRange: (NSRange)  range 

Tells the delegate that the receiving text is about to duplicate the strings in the specified range.

Parameters:
text- receiving text instance
range- duplicated strings range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willDuplicateStringsToIndex: (SCIndex index 

Tells the delegate that the receiving text is about to duplicate the strings to the specified range.

Parameters:
text- receiving text instance
index- last duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willDuplicateTextFromIndex: (SCIndex index 

Tells the delegate that the receiving text is about to duplicate the text from the specified index.

Parameters:
text- receiving text instance
index- first duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willDuplicateTextInRange: (NSRange)  range 

Tells the delegate that the receiving text is about to duplicate the text in the specified range.

Parameters:
text- receiving text instance
range- duplicated text range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willDuplicateTextToIndex: (SCIndex index 

Tells the delegate that the receiving text is about to duplicate the text to the specified index.

Parameters:
text- receiving text instance
index- last duplicated string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willExchangeStringAtIndex: (SCIndex index
withStringAtIndex: (SCIndex destination 

Tells the delegate that the text is about to exchange strings at the specified indices.

Parameters:
text- text instance
index- index of the first string
destination- index of the second string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willExchangeTextInRange: (NSRange)  src
withTextInRange: (NSRange)  dst 

Tells the delegate that the receiving text is about to exchange the text in the specified range with the text in the specified range.

Parameters:
text- receiving text instance
src- source text range
dst- destination text range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willInsertString: (NSString *)  string
atIndex: (SCIndex index 

Tells the delegate that the text is about to insert the string at specified index.

Parameters:
text- text instance
string- inserting string
index- index at which to insert string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willInsertText: (SCText *)  insertedText
atIndex: (SCIndex index 

Tells the delegate that the receiving text is about to inserting the specified text at the specified index.

Parameters:
text- receiving text instance
insertedText- inserted text instance
index- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willInsertTextFromStream: (SCStream *)  stream
atIndex: (SCIndex index 

Tells the delegate that the receiving instance is about to insert the text from the specified stream at the specified index.

Parameters:
text- receiving text file instance
stream- input stream
index- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willInsertTextWithPath: (NSString *)  path
atIndex: (SCIndex index 

Tells the delegate that the receiving instance is about to insert the text from the file with the specified path at the specified index.

Parameters:
text- receiving text instance
path- input file path
index- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willLoadFromStream: (SCStream *)  stream 

Tells the delegate that the receiving text file is about to load the content of a specified stream.

Parameters:
text- receiving text file instance
stream- input stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willLoadWithPath: (NSString *)  path 

Tells the delegate that the receiving text file is about to load the content of a file at the specified path.

Parameters:
text- receiving text file instance
path- loaded file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willMoveStringAtIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the text is about to move string with the specified index to a given index.

Parameters:
text- text instance
index- source string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willMoveTextFromIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is about to move the text from the specified index to the specified destination index.

Parameters:
text- receiving text instance
index- first moving string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willMoveTextInRange: (NSRange)  range
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is about to move the text in the specified range to the specified destination index.

Parameters:
text- receiving text instance
range- moving text range
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willMoveTextToIndex: (SCIndex index
toIndex: (SCIndex destination 

Tells the delegate that the receiving text is about to move the text between the first and the specified index to the destination index.

Parameters:
text- receiving text instance
index- last moving string index
destination- destination index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willRemoveString: (NSString *)  string 

Tells the delegate that the text is about to remove the specified string.

Parameters:
text- text instance
string- removing string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willRemoveStringAtIndex: (SCIndex index 

Tells the delegate that the text is about to remove the string at the specified index.

Parameters:
text- text instance
index- index of the removing string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willRemoveStringsAtIndexes: (NSIndexSet *)  indexes 

Tells the delegate that the text is about to remove the strings at the specified index set.

Parameters:
text- text instance
indexes- index set

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willRemoveSubstring: (NSString *)  substring 

Tells the delegate that the receiving text is about to remove the specified substring.

Parameters:
text- receiving text instance
substring- removed substring

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willRemoveTextFromIndex: (SCIndex index 

Tells the delegate that the receiving text is about to remove text from the specified index.

Parameters:
text- receiving text instance
index- first removed string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willRemoveTextInRange: (NSRange)  range 

Tells the delegate that the receiving text is about to remove text in the specified range.

Parameters:
text- receiving text instance
range- removing text range

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willRemoveTextToIndex: (SCIndex index 

Tells the delegate that the receiving text is about to remove text to the specified index.

Parameters:
text- receiving text instance
index- last removed string index

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willReplaceInRange: (NSRange)  range
fromStream: (SCStream *)  stream 

Tells the delegate that the receiving instance is about to replace text in the specified range with text from the specified stream.

Parameters:
text- receiving text file instance
range- replaced text range
stream- input stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willReplaceInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is about to replace text in the specified range with the texth from the file with the specified path.

Parameters:
text- receiving text file instance
range- replaced text range
path- input file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willReplaceStringAtIndex: (SCIndex index
withString: (NSString *)  string 

Tells the delegate that the text is about to replace string with the specified index by using the specified string.

Parameters:
text- text instance
index- index of replaced string
string- replacement string

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willReplaceStringsAtIndexes: (NSIndexSet *)  indexes
withStringsFromCollection: (id)  collection 

Tells the delegate that the text is about to replaces strings at the specified indexes with the strings from a given collection.

Parameters:
text- text instance
indexes- indexes of strings to be replaced
collection- collection with the replacement strings

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willReplaceTextFromIndex: (SCIndex index
withText: (SCText *)  ntext 

Tells the delegate that the receiving text is about to replace the text from the specified index by using the specified new text.

Parameters:
text- receiving text instance
index- index of the first replaceable string
ntext- replacement text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willReplaceTextInRange: (NSRange)  range
withText: (SCText *)  ntext 

Tells the delegate that the receiving text is about to replace the text in the specified range by using the specified new text.

Parameters:
text- receiving text instance
range- replaced text range
ntext- replacement text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCText *)  text
willReplaceTextToIndex: (SCIndex index
withText: (SCText *)  ntext 

Tells the delegate that the receiving text is about to replace the text to the specified index by using the specified new text.

Parameters:
text- receiving text instance
index- last replaceable string index
ntext- replacement text

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willSaveInRange: (NSRange)  range
toStream: (SCStream *)  stream 

Tells the delegate that the receiving instance is about to save text in the specified range to the specified stream.

Parameters:
text- receiving text file instance
range- saved text range
stream- output stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willSaveInRange: (NSRange)  range
withPath: (NSString *)  path 

Tells the delegate that the receiving instance is about to save text in the specified range to the file with the specified path.

Parameters:
text- receiving text file instance
range- saved text range
path- output file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willSaveToStream: (SCStream *)  stream 

Tells the delegate that the receiving text file is about to save the content to the specified stream.

Parameters:
text- receiving text file instance
stream- output stream

Reimplemented from <SCTextDelegate>.

- (void) text: (SCTextFile *)  text
willSaveWithPath: (NSString *)  path 

Tells the delegate that the receiving text file is about to save the content to the file with the specified path.

Parameters:
text- receiving text file instance
path- destination file path

Reimplemented from <SCTextDelegate>.

- (void) text: (SCStrings *)  text
willSortAscending: (BOOL)  ascending
usingMethod: (id<SCSortingProtocol>)  method 

Tells the delegate that the text is about to sorting the strings.

Parameters:
text- text instance
ascending- YES for ascending direction, otherwise NO
method- using sorting algorithm

Reimplemented from <SCTextDelegate>.

- (void) willCopyStringsToText: (SCStrings *)  text

Tells the delegate that the text is about to replace the existing contect.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.

- (void) willDuplicateText: (SCStrings *)  text

Tells the delegate that the text is about to duplicate the content.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.

- (void) willRemoveAllStringsFromText: (SCStrings *)  text

Tells the delegate that the text is about to remove all strings.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.

- (void) willResetText: (SCTextFile *)  text

Tells the delegate that the receiving text file is about to reset.

Parameters:
text- receiving text file instance

Reimplemented from <SCTextDelegate>.

- (void) willReverseText: (SCStrings *)  text

Tells the delegate that the text is about to reverse order of all strings.

Parameters:
text- text instance

Reimplemented from <SCTextDelegate>.


The documentation for this class was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines