I have created a rich text GEF component based on the WYSIWYG example and now I would like to add the superscript/subscript.
I have tried to modify the lineRoot of the fragments using reflection and it's working but I think there should be another way how to do it for example maybe by using another InlineFlowLayout and extending LineBox.
I have tried to do that, the problem is I cannot extend LineBox because of visibility problems and also I cannot set a new LineRoot to the fragments !!
At least thank you for your answer, I have done a lots of GEF projects but this is something which is a little bit complex and was hoping that there is someone who can share any idea.
Anyway I hope that I can help others in this forum.