|
|
For example, if I have the
string "This is a test", the following code:
will modify the text of the Document to
"This is a simple test".
The most important aspect of this function is that it will make the proper arrangements so as the Annotations contained inside the Document to be displaced by a proper amound of characters so as Annotations spanning text ranges after the insertion point to span the same text portions, after the string has been inserted.
This function will return the new Document text if the insertion was
succesful.
This function will return the new Document text if the insertion was
succesful. Return Value:
This function is equivelant to CDM_ByteSequenceInsertString (C++ API). Notes:
tip_RawDataInsertString, tip_DisplaceAnnotations,
tip_GetByteSequence, tip_SetByteSequence,
CDM_ByteSequenceInsertString
See Also:
Generated by: petasis@aias on Wed Aug 16 10:31:45 PM EEST 2006.