Closed regebhart closed 5 years ago
I just tried this and it works for me. I repeatedly pasted a line of code on the same line to near 2000 characters and it doesn't crash.
I just tried this and it works for me. I repeatedly pasted a line of code on the same line to near 2000 characters and it doesn't crash.
Did you hit backspace after all of that? I think that's where the error occurs.
Yep, I hit backspace. I tried several things to duplicate it but no go. I'l try the repeating key scenraio you mentioned and will report back in a sec.
[edit] Boom. It crashed. When I pressed, for example they key "m" and left it pressed it crashed the ide around the 260 character mark. So yeah you were right.
@regebhart Thanks for reporting this.
It was a bit hard to find , but found it :) , you need to paste something that could look like a variable and then click backspace ( or enter ) , to trigger the bug. so if you paste something with spaces it would not happen, but if whatever is at the left at the cursor when hitting backspace could be a variable it will trigger.
Fixed and ready from next release :)
In AppGameKit Studio 0.51, the program crashes when a line of code is too long. I'm trying to setup my in app purchase key, but the program crashes when I paste the key in and try to type in the line. I've tried other long lines of code and it crashes there as well.
Doing some testing, I pasted a set of ten characters repeatedly. It seems if the length is greater than 270/280 it'll crash if you attempt to backspace or try to edit the line.
Edit: Another test conducted: Instead of pasting text, held down one key so it repeats. After it reaches a certain length, the program crashes.