|
|
@ -1367,7 +1367,7 @@ fn global_search(cx: &mut Context) {
|
|
|
|
let completions = search_completions(cx, None);
|
|
|
|
let completions = search_completions(cx, None);
|
|
|
|
let prompt = ui::regex_prompt(
|
|
|
|
let prompt = ui::regex_prompt(
|
|
|
|
cx,
|
|
|
|
cx,
|
|
|
|
"global search:".into(),
|
|
|
|
"global-search:".into(),
|
|
|
|
None,
|
|
|
|
None,
|
|
|
|
move |input: &str| {
|
|
|
|
move |input: &str| {
|
|
|
|
completions
|
|
|
|
completions
|
|
|
@ -5154,7 +5154,7 @@ fn add_newline_impl(cx: &mut Context, open: Open) {
|
|
|
|
|
|
|
|
|
|
|
|
fn rename_symbol(cx: &mut Context) {
|
|
|
|
fn rename_symbol(cx: &mut Context) {
|
|
|
|
let prompt = Prompt::new(
|
|
|
|
let prompt = Prompt::new(
|
|
|
|
"Rename to: ".into(),
|
|
|
|
"rename-to:".into(),
|
|
|
|
None,
|
|
|
|
None,
|
|
|
|
|_input: &str| Vec::new(),
|
|
|
|
|_input: &str| Vec::new(),
|
|
|
|
move |cx: &mut compositor::Context, input: &str, event: PromptEvent| {
|
|
|
|
move |cx: &mut compositor::Context, input: &str, event: PromptEvent| {
|
|
|
|