font preference [message #551098] |
Thu, 05 August 2010 08:38 |
Hades Messages: 15 Registered: July 2010 |
Junior Member |
|
|
Hi there,
I actually have to create an editor plug-in. It is necessary, to integrate a preference to select the font of the editor. The preference page is implemented and the listener operates fine.
But what do I have to code in the editor.
The constructor of the editor:
public VierGLEditor()
{
super();
colorManager = new ColorManager();
setSourceViewerConfiguration(new VierGLConfiguration(colorManager));
setDocumentProvider(new VierGLDocumentProvider());
setPreferenceStore(Activator.getDefault().getPreferenceStore());
}
I tried to make a new instance of the class FontPropertyChangeListener which is located in the class AbstractTextEditor but it doesn't work.
[Updated on: Mon, 09 August 2010 06:18] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01664 seconds