Splitting text runs [message #183548] |
Fri, 03 June 2005 16:42 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05297 seconds