Text delay then empty from screen kb bug

Admiral27 10 years ago updated by Joseph Wilcock 10 years ago 2
When I write out text from the screen keyboard, ever third character causes a 10 sec delay when everything freezes, but then spits out the whole buffer. It's very hard to code with this problem. I turned off everything I could, but it still happens.
Does this happen even when you just have a plain text file with only a few lines or does it happen with a specific syntax highlighter and large files?
I just tried with a txt file, and it didn't happen. It only happens on code. I was thinking during code completion, but it happens with that and when it reaches something that gets a new font, like reserved words. My primary languages are pascal and c++. Thank you.