Don't block caret show events (PR #7332)
* Don't block caret show events
Fixes #511.
Dont block caret show events.
When simplifying show/hide events, always leave the last state change in the list of events. Except for Scintilla based editors, where these caret show/hide events cause unexpected braille cursor movements. See #7149