Creates a tag and adds it to the tag table for this.
Equivalent to calling TextTag and then adding the tag to the buffer’s tag table. The returned tag is owned by the buffer’s tag table, so the ref count will be equal to one.
If tag_name
is null, the tag is anonymous.
If tag_name
is non-null, a tag called tag_name
must not already exist in the
tag table for this buffer.
The first_property_name
argument and subsequent arguments are a list of properties to set on the tag, as with
@set.
this | |
tag_name |
name of the new tag, or null |
... |
null-terminated list of property names and values |
first_property_name |
name of first property to set, or null |
a new tag |