Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Font of editor
Font of editor [message #597408] Tue, 21 September 2010 14:45 Go to next message
Eclipse UserFriend
Hello.

I'm making a plug-in and, how can I Know the fon of editor?, and the size of font?The size of font it's the most important.
I have maden
ITextEditor editor=(ITextEditor)...
IFontProvider fuente =(IFontProvider) editor.getAdapter(IFontProvider.class);

But, I can't get the size of font. What do I make?

Thanks a lot
Jose
Re: Font of editor [message #625842 is a reply to message #597408] Wed, 22 September 2010 06:33 Go to previous messageGo to next message
Eclipse UserFriend
Jose wrote:
> Hello.
>
> I'm making a plug-in and, how can I Know the fon of editor?, and the
> size of font?The size of font it's the most important.
> I have maden
> ITextEditor editor=(ITextEditor)...
> IFontProvider fuente =(IFontProvider)
> editor.getAdapter(IFontProvider.class);
>
> But, I can't get the size of font. What do I make?
Do you own that editor?

Dani
>
> Thanks a lot
> Jose
>
Re: Font of editor [message #625937 is a reply to message #625842] Wed, 22 September 2010 07:04 Go to previous messageGo to next message
Eclipse UserFriend
No, I don't.
Re: Font of editor [message #625980 is a reply to message #625937] Wed, 22 September 2010 07:13 Go to previous messageGo to next message
Eclipse UserFriend
Jose wrote:
> No, I don't.
OK. In that case you should not start to fiddle around with its font ;-)

Dani
Re: Font of editor [message #626109 is a reply to message #625980] Wed, 22 September 2010 07:44 Go to previous messageGo to next message
Eclipse UserFriend
Ok, but, can I get the size of font ? and I write can and not Should.
Re: Font of editor [message #626131 is a reply to message #626109] Wed, 22 September 2010 07:51 Go to previous message
Eclipse UserFriend
Jose wrote:
> Ok, but, can I get the size of font ? and I write can and not Should.
Why would you need the font of an editor you don't own? What exactly are
you trying to do?

Dani
Previous Topic:[SearchUi] Dependencies & customization of search UI
Next Topic:Eclipse 3.6, big Groovy and Classpath trouble
Goto Forum:
  


Current Time: Sat Aug 30 22:17:01 EDT 2025

Powered by FUDForum. Page generated in 0.04115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top