Re: gtk text buffer - change the tag table



Olivier Sessink <olivier lx student wau nl> writes: 
The problem is: how can I switch to a different highlighting scheme? In the
API I cannot find a function to attach a TextBuffer to a new TagTable, the
only way to select a tagtable is at creation time....


Yeah, I think this is missing. There may already be a bug open about
it, if not we should open one.
 
Would it be better to use one tagtable for the whole application?

Not really better, but it may be necessary for now. Though it clearly
sucks a bit. Another sucky alternative would be to create a new 
buffer and copy over the contents of the old one...

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]