Skip to content

Commit 38de4bc

Browse files
committed
Remove unused content
1 parent 1926da3 commit 38de4bc

4 files changed

Lines changed: 2 additions & 306 deletions

File tree

Pro

Submodule Pro updated from 4363298 to 5e667a8

Tool/Package.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ let package = Package(
6565
),
6666
.package(url: "https://github.com/apple/swift-syntax.git", exact: "509.0.2"),
6767
.package(url: "https://github.com/GottaGetSwifty/CodableWrappers", from: "2.0.7"),
68-
.package(url: "https://github.com/krzyzanowskim/STTextView", from: "0.8.21"),
6968
// A fork of https://github.com/google/generative-ai-swift to support setting base url.
7069
.package(
7170
url: "https://github.com/intitni/generative-ai-swift",
@@ -219,7 +218,6 @@ let package = Package(
219218
"Preferences",
220219
"SuggestionModel",
221220
"DebounceFunction",
222-
.product(name: "STTextView", package: "STTextView"),
223221
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
224222
]
225223
),

Tool/Sources/SharedUIComponents/AsyncCodeBlock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public struct AsyncCodeBlock: View {
4242
)
4343
} else {
4444
let intersection = NSIntersectionRange(targetRange, range)
45-
guard !intersection.isEmpty else { return }
45+
guard !(intersection.length == 0) else { return }
4646
let rangeA = intersection
4747
mutable.addAttribute(
4848
.foregroundColor,

Tool/Sources/SharedUIComponents/Experiment/NewCodeBlock.swift

Lines changed: 0 additions & 302 deletions
This file was deleted.

0 commit comments

Comments
 (0)