Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Splitting text runs
Splitting text runs [message #183548] Fri, 03 June 2005 16:42
Eclipse UserFriend
Originally posted by: freddie_nurke.hotmail.com

Hi Randy and Pratik,

I have another question on the text example code. When inserting text,
the string is simply inserted into the current run at the appropriate
place. This all gets set up in BlockEditPolicy#getTextInsertionCommand.

What happens when formatting changes require a new run to be created?
For example, if bold text is pending, the current run needs to be split
at the cursor and a new run with the different formatting needs to be
created and inserted. I've been unable to find the code where this
happens; could you point me to it?

Thanks,

Fred
Previous Topic:Colored text
Next Topic:Sash grid advice
Goto Forum:
  


Current Time: Tue Dec 03 06:22:06 GMT 2024

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

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

Back to the top