SLADE
SLADE copied to clipboard
Crash when pasting text from external source
SLADE Version: (3.2.2) Operating System: (Linux)
Issue Details: Crash when text copied from external source (like a web page) is then pasted into the text editor.
I copied some code from stackoverflow and once pasted in the text editor it crashed, it happened multiple times but sometimes it does not happen.
Does it still happen if you disable brace matching in the text editor preferences?
Hi, I've made a test archive with only a zscript text file and tried to copy and paste some text, slade at first didn't crashed, then I started to copy a big chunk of text over and over until it crashed after the file has reached >1000 lines, here the logs.
I randomly choose as text to copy this class definition in c++ from stack overflow, here, to make this test and I'm sure it crashes with any other text I grab from that site.
So, I've found out that the problem exist when pasting after a specific line or when the script is very big. Maybe an overflow ?