Bug #1387
closedpasting large amounts of text hangs morpho
0%
Description
When you paste a large amount of text into morpho it hangs. Java takes 99% of
the processor and does not return it until you kill the app. The reason I
tested this was that I thought it was reasonable for a person to copy and paste
a lengthy method description (or one of the other text based descriptions). If
we give people a large text box, it should be able to handle a lot of text.
Updated by Saurabh Garg over 20 years ago
Parts of the text which Chad was pasting into Abstract Area contained pictures.
This was creating the problem.
I tried pasting in text. The program ran fine with about 5000 word length
distributed over 100 paragraphs.
However it did have some problems in displaying the XSL output when I kicked up
that input to 10,000 words. Though the program didn't hang.
There might be limit on amount of text that can be displayed. The error I got
was:
javax.swing.text.StateInvariantError: infinite loop in formatting
Updated by Chad Berkley over 20 years ago
I messed around with this more and I think sid is right. i inadvertently
pasted in a picture on the web page i was copying text from. this is not a
bug. i will close it.