diff --git a/src/dlangui/widgets/editors.d b/src/dlangui/widgets/editors.d index eaf49ab2..5624e7e8 100644 --- a/src/dlangui/widgets/editors.d +++ b/src/dlangui/widgets/editors.d @@ -960,8 +960,13 @@ class EditWidgetBase : ScrollWidgetBase, EditableContentListener, MenuItemAction protected long _lastBlinkStartTs; protected bool _caretBlinks = true; - void showCaretBlinking(bool blinks) { - _caretBlinks = blinks; + /// when true, enables caret blinking, otherwise it's always visible + @property void showCaretBlinking(bool blinks) { + _caretBlinks = blinks; + } + /// when true, enables caret blinking, otherwise it's always visible + @property bool showCaretBlinking() { + return _caretBlinks; } protected void startCaretBlinking() {