apply_tag


Description:

[ HasEmitter ]
public virtual signal void apply_tag (TextTag tag, TextIter start, TextIter end)

The apply_tag signal is emitted to apply a tag to a range of text in a TextBuffer.

Applying actually occurs in the default handler.

Note that if your handler runs before the default handler it must not invalidate the start and end iters (or has to revalidate them).

See also: apply_tag, insert_with_tags, insert_range.

Parameters:

tag

the applied tag

start

the start of the range the tag is applied to

end

the end of the range the tag is applied to