[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Text editor questions

see html editor in wtp project
http://eclipse.or/webtools
Yetkin Oezkucur wrote:

> Hi,
> 
> I am trying to re-implement our previous, swing based text editor using
> "Platform text" plugins. I've examined the rcp texteditor sample but I am
> stuck at somewhere.
> 
> What I need to do is something like a very simple form of the WYSIWYG HTML
> editor. I want to present the text:
> 
>     Please click <a href="www.test.com">here</a>
> 
> as
> 
>     Please click here
> 
> by making the "here" word a hyperlink. I also want to add the href
> attribute ("www.test.com") somewhere in the meta attributes of the word
> "here" similar to the attributes of the javax.swing.text.Element object in
> swing.
> 
> I will really appreciate if you can send/show me some sample code.
> 
> btw: As far as I know, there is no open source WYSIWYG HTML editor (text
> editor based) in written for Eclipse (swt/jface), is there?
> 
> Thanks in advance,
> 
> Yetkin Özkucur| Software Engineer
> Yetkin.Oezkucur@xxxxxxx
> 
> ASG | asg.com
> Straßburger Str. 34
> D-09120 Chemnitz, Germany
> 
> Tel: +49 371 52 302-39
> Fax: +49 371 52 302-11
> 
> The premier source for understanding,
> managing, and extending existing systems