Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can I just change the font of the string I select in TextEditor?
Can I just change the font of the string I select in TextEditor? [message #289879] Thu, 11 August 2005 20:59 Go to next message
Eclipse UserFriend
Originally posted by: kittyscalgary.yahoo.ca

Hi,all:

I want to create a texteditor that allows you to choose the font of the
selected content ,while at the same time the other content remains the same
font.

Thanks!
Re: Can I just change the font of the string I select in TextEditor? [message #289883 is a reply to message #289879] Fri, 12 August 2005 03:52 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"kittys" <kittyscalgary@yahoo.ca> wrote in message
news:ddge83$fkc$1@news.eclipse.org...
> Hi,all:
>
> I want to create a texteditor that allows you to choose the font of the
> selected content ,while at the same time the other content remains the
> same font.
>
I don't think the StyledText widget allows this.
You can change font attributes for selected text (e.g., bold, italic,
underline, color) but not the font.
Perhaps you could try a Rich Text editor instead.
---
Sunil
Previous Topic:AWT_SWT bridge - Howto?
Next Topic:How to get reference to an ActionSet ?
Goto Forum:
  


Current Time: Wed Sep 25 18:48:23 GMT 2024

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

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

Back to the top