Skip to content

Instantly share code, notes, and snippets.

Created August 19, 2017 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/076c6ccc69419147f2c8888f0c3ab485 to your computer and use it in GitHub Desktop.
Save anonymous/076c6ccc69419147f2c8888f0c3ab485 to your computer and use it in GitHub Desktop.
override func drawInsertionPoint(in rect: NSRect, color aColor: NSColor, turnedOn flag: Bool) {
if !flag || self.redrawCaretWorkItem == nil {
super.drawInsertionPoint(in: rect, color: aColor, turnedOn: flag)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment