Rename "find" to "search"

Search is both a verb and a noun, which makes it more natural to use in situations where we need to name a thing rather than a process.
This commit is contained in:
Nathan Sobo
2022-02-27 08:15:38 -07:00
parent dd6f8d20a3
commit ec317159d7
9 changed files with 197 additions and 197 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ contacts_panel = { path = "../contacts_panel" }
diagnostics = { path = "../diagnostics" }
editor = { path = "../editor" }
file_finder = { path = "../file_finder" }
find = { path = "../find" }
search = { path = "../search" }
fsevent = { path = "../fsevent" }
fuzzy = { path = "../fuzzy" }
go_to_line = { path = "../go_to_line" }
+13 -13
View File
@@ -348,14 +348,14 @@ tab_icon_width = 13
tab_icon_spacing = 4
tab_summary_spacing = 10
[find]
[search]
match_background = "$state.highlighted_line"
background = "$surface.1"
results_status = { extends = "$text.0", size = 18 }
tab_icon_width = 14
tab_icon_spacing = 4
[find.option_button]
[search.option_button]
extends = "$text.1"
padding = { left = 6, right = 6, top = 1, bottom = 1 }
corner_radius = 6
@@ -364,26 +364,26 @@ border = { width = 1, color = "$border.0" }
margin.left = 1
margin.right = 1
[find.option_button_group]
[search.option_button_group]
padding = { left = 2, right = 2 }
[find.active_option_button]
extends = "$find.option_button"
[search.active_option_button]
extends = "$search.option_button"
background = "$surface.2"
[find.hovered_option_button]
extends = "$find.option_button"
[search.hovered_option_button]
extends = "$search.option_button"
background = "$surface.2"
[find.active_hovered_option_button]
extends = "$find.option_button"
[search.active_hovered_option_button]
extends = "$search.option_button"
background = "$surface.2"
[find.match_index]
[search.match_index]
extends = "$text.1"
padding = 6
[find.editor]
[search.editor]
max_width = 400
background = "$surface.0"
corner_radius = 6
@@ -394,6 +394,6 @@ placeholder_text = "$text.2"
selection = "$selection.host"
border = { width = 1, color = "$border.0" }
[find.invalid_editor]
extends = "$find.editor"
[search.invalid_editor]
extends = "$search.editor"
border = { width = 1, color = "$status.bad" }
+1 -1
View File
@@ -60,7 +60,7 @@ fn main() {
project_symbols::init(cx);
project_panel::init(cx);
diagnostics::init(cx);
find::init(cx);
search::init(cx);
cx.spawn({
let client = client.clone();
|cx| async move {