All Classes |Grouped Classes |Index

Function split_text

Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblings.

	CL_DomText CL_DomText::split_text(
		unsigned long offset);

Detailed description:

node then only contains all the content up to the offset point. And a new Text node, which is inserted as the next sibling of this node, contains all the content at and after the offset point.