[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] How to user different fonts/colors in for one TreeViewer element

Hi,

we're using a tree viewer to display a XML DOM tree - and are using LabelProvider/FontProvider and ColorProvider to display the content as clear as possible.

Since the node text we return with getText is sometimes a little bit long I'm searching for the possibility to highlight parts of the label text e.g. by using a different color or bold font.

Is there a possibility to do this with the TreeViewer?

BR/Florian.