Skip to content

Commit 9c0e465

Browse files
committed
Removed debugging code
1 parent bb31db4 commit 9c0e465

File tree

1 file changed

+2
-16
lines changed
  • Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample/Views

1 file changed

+2
-16
lines changed

Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample/Views/ContentView.swift

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,8 @@ struct ContentView: View {
2828
@State private var treeSitterClient = TreeSitterClient()
2929
@AppStorage("showMinimap") private var showMinimap: Bool = true
3030
@State private var indentOption: IndentOption = .spaces(count: 4)
31-
@AppStorage("reformatAtColumn") private var reformatAtColumn: Int = 80 {
32-
didSet {
33-
print("reformatAtColumn changed to: \(reformatAtColumn)")
34-
}
35-
}
36-
@AppStorage("showReformattingGuide") private var showReformattingGuide: Bool = false {
37-
didSet {
38-
print("showReformattingGuide changed to: \(showReformattingGuide)")
39-
}
40-
}
31+
@AppStorage("reformatAtColumn") private var reformatAtColumn: Int = 80
32+
@AppStorage("showReformattingGuide") private var showReformattingGuide: Bool = false
4133

4234
init(document: Binding<CodeEditSourceEditorExampleDocument>, fileURL: URL?) {
4335
self._document = document
@@ -101,12 +93,6 @@ struct ContentView: View {
10193
theme = .light
10294
}
10395
}
104-
.onChange(of: reformatAtColumn) { _, newValue in
105-
print("ContentView: reformatAtColumn changed to \(newValue)")
106-
}
107-
.onChange(of: showReformattingGuide) { _, newValue in
108-
print("ContentView: showReformattingGuide changed to \(newValue)")
109-
}
11096
}
11197
}
11298
}

0 commit comments

Comments
 (0)