From 9faac05666f09fd2319538f82ed67c0b4f47d7f6 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Wed, 23 Aug 2017 23:07:42 +0200 Subject: [PATCH] fixed: cursor blinks for placeholder --- AppKit/CPTextView/CPTextView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 8ad4e31f9..07eb0e82c 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -1999,7 +1999,7 @@ var kDelegateRespondsTo_textShouldBeginEditing - (BOOL)shouldDrawInsertionPoint { - return (_selectionRange.length === 0 && [self _isFocused]); + return (_selectionRange.length === 0 && [self _isFocused] && !_placeholderString); } - (void)updateInsertionPointStateAndRestartTimer:(BOOL)flag