Add TK text tags to Tk text widgets:
tktag_add()
adds tags to the places of text that match a pattern.
tktag_add_first()
in each row, adds tags to the first occurance that
matches a pattern.
tktag_add_row()
adds text tags to the rows that match a pattern.
tktag_add(obj, tag, pattern, row_ind = NULL, all = TRUE) tktag_add_first(obj, pattern, tag, row_ind = NULL) tktag_add_row(obj, pattern, tag)
obj | Tk text widget (Tk object). |
---|---|
tag | (string) The namo of a tag to add. |
pattern | (string) Text pattern to add text at. |
row_ind | (integer) Row indices. |
all | (logical) If |