Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Font of editor
Font of editor [message #597408] Tue, 21 September 2010 18:45 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 100
Registered: March 2010
Senior Member
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 10:33 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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 11:04 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 100
Registered: March 2010
Senior Member
No, I don't.
Re: Font of editor [message #625980 is a reply to message #625937] Wed, 22 September 2010 11:13 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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 11:44 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 100
Registered: March 2010
Senior Member
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 11:51 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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: Fri Apr 26 20:40:00 GMT 2024

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

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

Back to the top