Community
Participate
Working Groups
There is no nice way to set the font in a text editor. AbstractTextEditor's getSymbolicFontName and getFontPropertyPreferenceKey should be made into protected methods that subclasses can override. I came across this problem because I have a text editor as part of a multipageeditorpart, and there is no way for me to assign a symbolic font name to the text editor when it is in the MultiPageEditor. I define both the MultiPageEditorPart and the stand-alone text editor using the org.eclipse.ui.editors extension point and I provide an editor font using the symbolicFontName attribute in the extension point. But neither are being used when I have a text editor inside a MultiPageEditor.
I agree that this would help in your scenario, but it does still not allow you to declare the fonts for each sub-editor if there is more than one in the multi-page editor. The more general problem is covered in bug 68082.
In regards to the above comment. This is bug 68082. Did you mean to reference another bug?
Sorry, of course. It's bug 37718.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it and remove the stalebug whiteboard tag. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. --