Skip to content

Commit 16138a5

Browse files
committed
SwiftLint Errors
1 parent 36066ac commit 16138a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/CodeEditTextView/TextView/TextView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@ public class TextView: NSView, NSTextContent {
328328

329329
/// Sent to the window's first responder when `NSWindow.makeKey()` occurs.
330330
@objc private func becomeKeyWindow() {
331-
let _ = becomeFirstResponder()
331+
_ = becomeFirstResponder()
332332
}
333-
333+
334334
/// Sent to the window's first responder when `NSWindow.resignKey()` occurs.
335335
@objc private func resignKeyWindow() {
336-
let _ = resignFirstResponder()
336+
_ = resignFirstResponder()
337337
}
338338

339339
open override var needsPanelToBecomeKey: Bool {
@@ -373,7 +373,7 @@ public class TextView: NSView, NSTextContent {
373373
}
374374

375375
// MARK: - Hit test
376-
376+
377377
/// Returns the responding view for a given point.
378378
/// - Parameter point: The point to find.
379379
/// - Returns: A view at the given point, if any.

Sources/CodeEditTextView/Utils/CEUndoManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public class CEUndoManager {
226226
}
227227

228228
// MARK: - Internal
229-
229+
230230
/// Sets a new text view to use for mutation registration, undo/redo operations.
231231
/// - Parameter newTextView: The new text view.
232232
func setTextView(_ newTextView: TextView) {

0 commit comments

Comments
 (0)