Skip to content

Commit

Permalink
Remove outdated workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Jan 27, 2025
1 parent 88b7b5a commit 35c5db6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions CotEditor/Sources/Document Window/Text View/EditorTextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -946,17 +946,6 @@ final class EditorTextView: NSTextView, CurrentLineHighlighting, MultiCursorEdit
}


override func setNeedsDisplay(_ invalidRect: NSRect) {

// expand rect as a workaround for multiple cursors (2018-11 macOS 10.14)
if self.hasMultipleInsertions {
super.setNeedsDisplay(self.visibleRect, avoidAdditionalLayout: true)
}

super.setNeedsDisplay(invalidRect)
}


override func viewWillDraw() {

super.viewWillDraw()
Expand Down

0 comments on commit 35c5db6

Please sign in to comment.