mirror of https://github.com/buggins/dlangui.git
showCaretBlinking - property for editors
This commit is contained in:
parent
47411b724c
commit
48a0408271
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue