When data causes the crash it’s the worst. I had an issue with drag-dropping 
text from a PDF not knowing that Adobe uses all kinds of non-printing 
characters. I wrote a cleanASCII function for just that purpose


Bob S


On Sep 1, 2020, at 3:52 PM, Paul Dupuis via use-livecode 
<[email protected]<mailto:[email protected]>> wrote:

If you control the content, it is probably not an issue. In our case, the 
content and the ranges (char x to y) are set by the people that use our product 
- we have no control - so we end up with customer's trying to do their research 
and suddenly our product hard crashes, sometimes resulting in lost work. They 
don't understand why since bunches of other documents they are working with all 
process fine. Even the document that is causing the crash may seem fine UNTIL 
they add a bookmarked range that includes the tabs. As tabs are invisible in 
MS-Word and a lot of MS-Word user are not really skilled at formatting, they 
may end up with tabs in their documents that they are not even aware they are 
there.

This one really was a pain to track down as we had to get a customer, with the 
crashing, who was willing to provide their whole research study so we could 
reproducethe error in-house and then tracing it down in the IDE took a very 
long time to go through the 1000's of lines of code to find the crash on the 
'formattedRect' call.


On 9/1/2020 5:49 PM, Bob Sneidar via use-livecode wrote:
I have a great many of these. I’ll keep a lookout.

Bob S

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to