Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » StyledText and RAP(What is the state of StyledText implementation RAP in sandbox?)
StyledText and RAP [message #733904] Wed, 05 October 2011 18:12 Go to next message
Eclipse UserFriend
Hi RAP Team,

I know that StyledText topic is asked every time. But I would like know the state of StyledText in RAP. It exists bug 277346 but I don't know the state of this bug today.

My idea is to try to implement StyledText to manage HTML (basicly)for our Resume Application (RCP/RAP) but if RAP have no intention to support StyledText, I will give up my idea.

I will try to test the demo. You say that there is a lot of limitation (read-only, what is mean?). Is it possible to have lits of limitation of the RAP StyledText sandbox.

Thank a lot.

Regards Angelo
Re: StyledText and RAP [message #733959 is a reply to message #733904] Thu, 06 October 2011 02:32 Go to previous messageGo to next message
Eclipse UserFriend
Angelo,

the current StyledText implementation is read-only in that it does not
allow user interaction. It can display text in the same way as the SWT
widget, but editing on the client isn't implemented (think of it as an
SWT StyledText with setEditable( false )).

One of the challenges that comes with editing is to find a way to sync
client and server in an efficient way. The StyledText is meant to
process large texts, hence submitting the entire text on every change
isn't suitable. Maybe sending deltas forth and back is a way to solve this.

Extending StyledText isn't on our plan for 1.5. That doesn't mean that
we will not welcome others to go forward with this. As of now we can
only spare very few resources to support you. Maybe Ralf (who will be
back on Monday) can comment more on that topic.

Regards,
Rüdiger

On 06.10.2011 00:12, Angelo wrote:
> Hi RAP Team,
>
> I know that StyledText topic is asked every time. But I would like know
> the state of StyledText in RAP. It exists
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=277346 but I don't know
> the state of this bug today.
>
> My idea is to try to implement StyledText to manage HTML (basicly)for
> our Resume Application (RCP/RAP) but if RAP have no intention to support
> StyledText, I will give up my idea.
>
> I will try to test the demo. You say that there is a lot of limitation
> (read-only, what is mean?). Is it possible to have lits of limitation of
> the RAP StyledText sandbox.
>
> Thank a lot.
>
> Regards Angelo
--
Rüdiger Herrmann

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: StyledText and RAP [message #733960 is a reply to message #733904] Thu, 06 October 2011 02:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi Angelo,
the StyledText prototype improvements are not in our plan for 1.5 release cycle. The current prototype in sandbox is readonly - this means it's not possible to type (by keyboard) the text in it. Most of the listeners from the original SWT StyledText are not implemented too. To evaluate the current version from sandbox use the provided demo bundle (located in the sandbox too). A contributions in the field of StyledText are welcomed.
Best,
Ivan
Re: StyledText and RAP [message #733976 is a reply to message #733904] Thu, 06 October 2011 02:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi Angelo,
the StyledText prototype improvements are not in our plan for 1.5 release cycle. The current prototype in sandbox is readonly - this means it's not possible to type (by keyboard) the text in it. Most of the listeners from the original SWT StyledText are not implemented too. To evaluate the current version from sandbox use the provided demo bundle (located in the sandbox too). A contributions in the field of StyledText are welcomed.
Best,
Ivan
Re: StyledText and RAP [message #734298 is a reply to message #733976] Fri, 07 October 2011 08:06 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ivan, Rüdiger,

Thank a lot for your information. I give up my idea to manage StyledText in my application.

Regards Angelo
Re: StyledText and RAP [message #827402 is a reply to message #734298] Fri, 23 March 2012 05:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
I'm trying to use StyledText inside RAP. I've downloaded the source code of the StyledText porting from CVS. It looks like org.eclipse.swt.custom.LineStyleListener is missing.

I'm working on an eclipse plugin for PDE which we want to make available on the web too: that's why we are using RAP. We are trying to use the single sourcing approach.

I'd like to show colored syntax PHP and Java code and I thought StyledText was the right choice. Are there some StyledText alternatives to accomplish this task? What are the main chanllanges you see in adding LineStyleListener inside RAP?

Thanks a lot.

[Updated on: Fri, 23 March 2012 05:36] by Moderator

Re: StyledText and RAP [message #827410 is a reply to message #734298] Fri, 23 March 2012 05:40 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body

[Updated on: Fri, 23 March 2012 05:41] by Moderator

Re: StyledText and RAP [message #829131 is a reply to message #827410] Sun, 25 March 2012 18:56 Go to previous messageGo to next message
Eclipse UserFriend
You could render the syntax highlighted code as HTML and put it in a Browser widget if you don't require editing capabilities.
Re: StyledText and RAP [message #829360 is a reply to message #829131] Mon, 26 March 2012 03:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Chris,
thank you for your answer. I thought there was another way in RAP to accomplish this task. I'll try this way.
Re: StyledText and RAP [message #829441 is a reply to message #829360] Mon, 26 March 2012 05:34 Go to previous message
Eclipse UserFriend
if you do not rely on the StyledText API this could be for you:
CKEditor for RAP
http://eclipsesource.com/blogs/2012/03/22/ckeditor-for-rap/

HTH
Rüdiger

On 26.03.2012 09:30, Andrea Poli wrote:
> Hi Chris, thank you for your answer. I thought there was another way in
> RAP to accomplish this task. I'll try this way.
--
Rüdiger Herrmann
http://codeaffine.com
Previous Topic:ControlDecorators in RAP
Next Topic:Non-serializable attribute org.eclipse.rwt.internal.service.SessionStoreImpl
Goto Forum:
  


Current Time: Thu Nov 06 11:12:48 EST 2025

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

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

Back to the top