EControl Syntax Editor SDK
TSyntMemoStrings Methods
TSyntMemoStrings Methods
TSyntMemoStrings Methods 
Description 
Adds a group of strings to the list. 
Adds undo record to buffer. For internal use only. 
Assigns TStrings. To prevent adding empty line last line break is deleted. 
Starts group of undo records. 
Converts the position of the caret in TPoint format to index of the character in text. 
Called after text has been changed. 
Returns representation of the use of a single byte in FText. 
Deletes all the strings from the list. 
Clears all undone changes in undo buffer so that no changes to the text can be redone. 
Clears the undo buffer so that no changes to the text can be backed out. 
Detects whether text contains unicode characters. 
Creates and initializes a TSyntMemoStrings instance. 
Removes the string specified by the Index parameter. 
Deletes portion of the text. 
Destroys an instance of TSyntMemoStrings. 
Finishes group of undo records. 
Find 
Finds a substring in the text. 
Get 
Returns a string given according to its index. 
Returns the number of strings in the list. 
Returns object associated with a string. 
Returns the value of the Text property. 
Introduces a method to insert a string at a specified position. 
Inserts string at the specified position. 
Returns True if line is empty or if it contains only space characters. 
Returns False if there is line break at the end of the text. 
Returns index of the first character of the specified line. 
Returns length of the specified line. 
Returns length of the specified line with line break. 
Loads text from a stream. 
Checks whether FindText string matches a substring in text starting with StrtPos. 
Called when modified status is changed
Put 
Changes the value of the string with a specified index. 
Changes the object associated with the string at a specified index. 
Returns number of lines excluding zero-space last line.

There are two possible cases:
1. Text is ended on line-break -> RealCount = Count-1.
2. Text is ended on any other character -> RealCount = Count. 
Resets states of all lines. 
Assignes states of all modified lines of the text ls Saved value. 
Writes the value of the FText field to a stream object. 
SaveUndoState assigns Modified flag to false and saves undo buffer. 
Destroys all objects associated with strings of the Strings property if Enable is false. Creates these objects otherwise. 
Sets the FText field. 
Converts index of the character in text to the position of the caret in TPoint format. 
Returns portion of text. 
Returns length of the FText string. 
Copyright (c) 2004-2011. All rights reserved.