In order to practice writing on Vala I decided to make a virtual keyboard. Everything works, except Backspace(SIGSEG if press).
https://developer.gnome.org/pygtk/stable/class-gtktextbuffer.html#method-gtktextbuffer--end-user-action I have not found any example of using this function in Vala. source
I don't know why, but it works if you replace
with
SIGSEG was on line:
P.S. input - TextView, end - TextIter.