Skip to content

Always stop internal TextEditor Keypress event so it does not trigger twice.

Bruce Steers requested to merge bsteers4/gambas:fix-texteditor-keypress into master

[GB.FORM.EDITOR]

  • BUG: fix TextEditor triggering KeyPress event twice by always using Stop Event.

Thought this could save you some time Ben.

Stop Event is used at the beginning of the function.

I removed the STOP_EVENT: label and replaced all "Goto STOP_EVENT" with "Return".

Then with the functions new layout many of the "Return" instructions were no longer needed so i removed them too.

Merge request reports