split_text method

split_text

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

Returns

The Text.

def split_text(self, offset):
    ...
ParameterTypeDescription
offsetintThe offset.

See Also