TextBuffer.createChildAnchor

This is a convenience function which simply creates a child anchor with TextChildAnchor.new and inserts it into the buffer with TextBuffer.insertChildAnchor. The new anchor is owned by the buffer; no reference count is returned to the caller of TextBuffer.createChildAnchor.

class TextBuffer
createChildAnchor

Parameters

iter TextIter

location in the buffer

Return Value

the created child anchor