Alexey wrote 11 lines
"xneur" package exists in Ubuntu. Site for app exists too.
Install, run.
Now in GEdit/ Sublime type:
//PRosto SOme aa
xneur fixes it:
//Prosto Some aa
In Lazarus IDE xneur makes error:
//PRostoProst SOmeSome aa
(its a test, real usage not needed in IDE. needed in apps.)
reminds me of a similar issue with VNC (its somewhere on our bugtracker): VNC sends several keystrokes with the same timestamp.
Maybe xneur does the same. (If not, ignore the rest)
Apparently in linux, the message send by the OS to the app, has a timestamp. From what I heart (not sure) this can be used to filter duplicate msgs (same timestamp, ignore). The LCL apparently does this filtering (at least for all custom controls).
I guess other linux apps just do not do this filtering. I do not know what the correct behaviour should be.
So if (IF !!!) xneur sends several backspace with the same timestamp, then LCL accepts only the first.