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.
1 parent f816314 commit cc54924Copy full SHA for cc54924
Generate.../SelectableGeneratorCommand.swift
@@ -36,7 +36,7 @@ extension SelectableGeneratorCommand where Self: NSObject {
36
completionHandler(nil)
37
}
38
39
- func selectedLines(with invocation: XCSourceEditorCommandInvocation, selections: [XCSourceTextRange]) -> [String] {
+ private func selectedLines(with invocation: XCSourceEditorCommandInvocation, selections: [XCSourceTextRange]) -> [String] {
40
let selectedColumns = selections.map { $0.start.line...$0.end.line }.flatMap { $0 }
41
var selectedLines: [String] = []
42
invocation.buffer.lines.enumerated().forEach { index, line in
0 commit comments