Skip to main content


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 HuberFriend
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 FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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 SternbergFriend
Messages: 1313
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 messageGo to next message
Daria Huber is currently offline Daria HuberFriend
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
Re: StyledText is missing in RAP 2.1 [message #1689979 is a reply to message #1063035] Tue, 24 March 2015 19:51 Go to previous message
Pablo  eltrán is currently offline Pablo eltránFriend
Messages: 20
Registered: November 2014
Junior Member
I tried to port some existing RCP Eclipse plugins like Subclipse and SQL Explorer and I've always stumbled with the lack of support StyledText in RAP (most recent versions) which is really a pity and it made all my efforts (and I guess others too) useless. In both plugins showing/editing text is a core feature and I guess there are a lot of plugins falling in the same requirement. Of course, there are workarounds, but one would expect to spend "reasonable" efforts on porting RCP plugins and put the focus on adding value rather than re-inventing the wheel. Sad
Previous Topic:ControlContribution in a view's menu bar
Next Topic:Bundle Localization
Goto Forum:
  


Current Time: Fri Apr 19 06:18:46 GMT 2024

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

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

Back to the top