We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Buh
1 parent fdf2df1 commit 40e2a0fCopy full SHA for 40e2a0f
Sources/CodeEditTextView/TextView/TextView+Menu.swift
@@ -7,15 +7,6 @@
7
8
import AppKit
9
10
-class Buh: TextAttachment {
11
- var width: CGFloat = 100
12
-
13
- func draw(in context: CGContext, rect: NSRect) {
14
- context.setFillColor(NSColor.red.cgColor)
15
- context.fill(rect)
16
- }
17
-}
18
19
extension TextView {
20
override public func menu(for event: NSEvent) -> NSMenu? {
21
guard event.type == .rightMouseDown else { return nil }
0 commit comments