gtk - gtktextbuffer tag -


Description of the problem: I would like to apply the weight tag in some selected part of the text buffer and then apply the same weight tag. In the same buffer some other selected area, but the weight tags are being converted into both the previous text field and the new selected area at that time. But I should apply the desired tag only to the selected area, and not the weight tag was already applied in the previous area. EX: Step 1- & gt; Absence - & gt; This is my text and I will apply the tag weight to the selected area "AAA" bold. Step 2- & gt; Now apply the weight tag to the field "CCC" ... But now according to the value of the weight area, both "AAA" and "CCC" are changing. But want to change only 'CCC'.

Can anyone give me some solution for the above problem?

Use different tag objects to apply separately to regions.

Comments