There's a problem when toggling the caret blink period using SCI_SETCARETPERIOD. Specifically, setting the period to 0 leaves the caret invisible, if it was invisible at the time of the call. Moving the cursor causes the caret to be redrawn again. This is on Gtk+3 in case it matters.
Fix committed as [48c7ed].
Related
Commit: [48c7ed]
That was fast, thanks Neil!