Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » StyledText is missing in RAP 2.1
StyledText is missing in RAP 2.1 [message #1062898] Tue, 11 June 2013 10:08 Go to next message
Daria Huber is currently offline Daria Huber
Messages: 14
Registered: June 2013
Junior Member
Hallo everyone,

we are migrating our application to RAP 2.1 and missing StyledText. We mark our text with "setStyleRanges". Is there an alternative?

Thanks in advance,
Daria
Re: StyledText is missing in RAP 2.1 [message #1062908 is a reply to message #1062898] Tue, 11 June 2013 10:58 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1839
Registered: July 2009
Senior Member
Hi Daria,
the old read-only prototype of StyledText (located in old CVS sandbox
folder) does not work with RAP 2.0+. It was just a proof of concept and
it's not maintained anymore. There is no alternative for RAP 2.0+.
Best,
Ivan

On 6/11/2013 1:08 PM, Daria Huber wrote:
> Hallo everyone,
>
> we are migrating our application to RAP 2.1 and missing StyledText. We
> mark our text with "setStyleRanges". Is there an alternative?
>
> Thanks in advance,
> Daria

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: StyledText is missing in RAP 2.1 [message #1063014 is a reply to message #1062908] Tue, 11 June 2013 19:08 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1291
Registered: July 2009
Senior Member

Hi Daria,

if you don't rely on the StyledText API, you may consider using another
rich-text editor, such as [1]. You should be able to highlight regions
using markup there as well. If you just need a read-only display, you
can use the new markup support [2].

A StyledText implementation for RAP will require considerable effort,
but it's doable.

Regards,
Ralf

[1] https://github.com/eclipsesource/rap-ckeditor
[2] http://rap.eclipsesource.com/rapdemo/examples#rich-label

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: StyledText is missing in RAP 2.1 [message #1063035 is a reply to message #1063014] Tue, 11 June 2013 20:45 Go to previous message
Daria Huber is currently offline Daria Huber
Messages: 14
Registered: June 2013
Junior Member
Hi Ralf,

Thanks for your reply. We need a read-only display and I think we try it with markup support.

Thanks
Daria
Previous Topic:Eclipse4 applications on RAP
Next Topic:ControlContribution in a view's menu bar
Goto Forum:
  


Current Time: Thu Oct 23 13:09:53 GMT 2014

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

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