I’m sure someone has found this bug before, but I’m posting it here in case it hasn’t already been reported.
I have Codea on an iPad 2, and I frequently experience the following glitch. When I’m typing with the sidebar open (the part with all the reference code and documentation), the keyboard randomly decides to screw me over, and when I type, it inserts the text on a completely different line. If I press backspace to undo this, it then proceeds to undo text on a completely different line as well. At this point I have to quit the app and restart it to avoid my code being completely screwed up.
Due to the seemingly random nature of this glitch, I can’t provide any replication steps. All I can say is that it happens frequently on an iPad 2 with the sidebar open. I will try to provide steps for this glitch if I can, but for now this is all I can say.
I wish you luck with fixing this, and I hope that soon I will be able to type in peace.
@MPan1 I had that happen to me yesterday on an iPad Air. That’s been around for years and so far I don’t think there’s been a good reason why it happens for them to find the cause. Whenever that happens to me, I just close the project and reopen it and continue with the coding.
That doesn’t stop it from being a bug. I also noticed that using showKeyboard() and hideKeyboard() can interfere with the regular coding window, and prohibit the keyboard from opening at all even when the screen is touched. This is an issue to do with functions that should be working, so if the original issue isn’t important enough, I think this one is.
@MPan1 I didn’t say it wasn’t a bug. In order to fix a bug, you need to figure out why it’s happening and not every bug is easy to find. I use Codea constantly and very seldom run into the problem of the editor inserting into the wrong line. I would rather the developers spend their time adding new functions then spending their time trying to find a bug that seldom happens, and when it does it’s easy to get around. If you can make it happen at will, then the developers would be glad to hear the sequence.