As I'm trying to figure out why sometimes I get a crash of the PPC  
compiled app when accessing the TextStyleData inside the TextChanged  
event, it occurrs to me that this is the old way of doing things and  
I really should be using the StyleRun and other such new classes.

I had thought the point of these classes were so that you could work  
with the low level style data the same on windows and the mac. But  
while I can write the TextStyleData out as a string and restore it  
via the SetTextAndStyle method, I can't see any  way to save a chain  
of style run classes.

Is there a way to save them out to a file or a stream for  
reconstructing later? It would be really great if I could make styled  
documents that were cross platform. But I dont see an obvious way to  
do this. I have read through what I thought were the appropriate  
sections of the documentation but it seems the only access to the  
information is as linked objects and not as an underlying structure  
that could be saved.

What am I missing? Or am I expecting too much and have to continue to  
use the TextStyleData which is platform specific?

Thanks,
  James
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to