Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vincode-io committed Oct 19, 2023
1 parent eb82a29 commit 3979bbb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Templeton/Sources/Templeton/Commands/RemoteDropRowCommand.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// RemoteDropRowCommand.swift
//
//
//
// Created by Maurice Parker on 12/30/20.
//
Expand All @@ -15,11 +15,11 @@ public final class RemoteDropRowCommand: OutlineCommand {
var prefersEnd: Bool

public init(actionName: String, undoManager: UndoManager,
delegate: OutlineCommandDelegate,
outline: Outline,
rowGroups: [RowGroup],
afterRow: Row?,
prefersEnd: Bool) {
delegate: OutlineCommandDelegate,
outline: Outline,
rowGroups: [RowGroup],
afterRow: Row?,
prefersEnd: Bool) {

self.rowGroups = rowGroups
self.rows = [Row]()
Expand Down Expand Up @@ -51,7 +51,7 @@ public final class RemoteDropRowCommand: OutlineCommand {
visited.rows.forEach { $0.visit(visitor: deleteVisitor) }
}
rows.forEach { $0.visit(visitor: deleteVisitor(_:)) }

outline.deleteRows(allRows)
registerRedo()
restoreCursorPosition()
Expand Down

0 comments on commit 3979bbb

Please sign in to comment.