Skip to content

Commit 1d75296

Browse files
committed
Use selectInDocument over select
1 parent f74d2e8 commit 1d75296

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Sources/CodeEditSourceEditor/Find/FindViewController+Delegate.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extension FindViewController: FindPanelDelegate {
4848
style: .standard,
4949
flash: false,
5050
inactive: false,
51-
select: true
51+
selectInDocument: true
5252
),
5353
for: "find"
5454
)
@@ -95,7 +95,7 @@ extension FindViewController: FindPanelDelegate {
9595
style: .standard,
9696
flash: true,
9797
inactive: false,
98-
select: true
98+
selectInDocument: true
9999
),
100100
for: "find"
101101
)
@@ -110,7 +110,7 @@ extension FindViewController: FindPanelDelegate {
110110
style: .standard,
111111
flash: false,
112112
inactive: index != currentFindMatchIndex,
113-
select: index == currentFindMatchIndex
113+
selectInDocument: index == currentFindMatchIndex
114114
)
115115
}
116116

@@ -158,7 +158,7 @@ extension FindViewController: FindPanelDelegate {
158158
style: .standard,
159159
flash: true,
160160
inactive: false,
161-
select: true
161+
selectInDocument: true
162162
),
163163
for: "find"
164164
)
@@ -173,7 +173,7 @@ extension FindViewController: FindPanelDelegate {
173173
style: .standard,
174174
flash: false,
175175
inactive: index != currentFindMatchIndex,
176-
select: index == currentFindMatchIndex
176+
selectInDocument: index == currentFindMatchIndex
177177
)
178178
}
179179

Sources/CodeEditSourceEditor/Find/FindViewController+Operations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extension FindViewController {
6666
style: .standard,
6767
flash: false,
6868
inactive: index != currentFindMatchIndex,
69-
select: index == currentFindMatchIndex
69+
selectInDocument: index == currentFindMatchIndex
7070
)
7171
}
7272

0 commit comments

Comments
 (0)