TextBuffer.createTag

Creates a tag and adds it to the tag table for buffer. Equivalent to adding a new tag to the buffer's tag table.

If tagName is null, the tag is anonymous.

If tagName is non-NULL, a tag called tagName must not already exist in the tag table for this buffer.

class TextBuffer
createTag
(
string tagName
,)

Parameters

tagName string

the name for the new tag. ... = A list of property names and there values.