Remove unused variables
This commit is contained in:
parent
002f1ad397
commit
05ed3e8fb8
@ -715,8 +715,6 @@ pub fn search(cx: &mut Context) {
|
||||
|
||||
let view_id = view.id;
|
||||
let prompt = ui::regex_prompt(cx, "search:".to_string(), move |view, doc, regex| {
|
||||
let text = doc.text();
|
||||
let start = doc.selection(view.id).cursor();
|
||||
_search(doc, view, &contents, ®ex, false);
|
||||
|
||||
// TODO: only store on enter (accept), not update
|
||||
|
Loading…
Reference in New Issue
Block a user