fixup! buffer search: Fix up rough edges
This commit is contained in:
parent
45f7ab876f
commit
18393d1fac
1 changed files with 6 additions and 0 deletions
|
@ -183,6 +183,12 @@ impl Render for BufferSearchBar {
|
|||
.on_action(cx.listener(Self::replace_all))
|
||||
})
|
||||
})
|
||||
.when(self.supported_options().case, |this| {
|
||||
this.on_action(cx.listener(Self::toggle_case_sensitive))
|
||||
})
|
||||
.when(self.supported_options().word, |this| {
|
||||
this.on_action(cx.listener(Self::toggle_whole_word))
|
||||
})
|
||||
.w_full()
|
||||
.p_1()
|
||||
.child(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue