Skip to content

Commit

Permalink
Merge pull request #2557 from daboe01/placeholderselectablefix
Browse files Browse the repository at this point in the history
fixed: cursor blinks for placeholder
  • Loading branch information
Dogild committed Sep 8, 2017
2 parents a6a3fca + 9faac05 commit cd223be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/CPTextView/CPTextView.j
Expand Up @@ -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
Expand Down

0 comments on commit cd223be

Please sign in to comment.