caretVisible property
Current caret blink phase. The render that owns the caret paints it only when this is true. Toggled by the editor's blink timer and forced to true on cursor movement so the caret restarts visible.
Implementation
bool caretVisible = true;