mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
remove unnecessary comment
This commit is contained in:
parent
bf968707df
commit
c5650f9334
1 changed files with 0 additions and 7 deletions
|
@ -1524,13 +1524,6 @@ impl MutableAppContext {
|
||||||
|
|
||||||
pub fn dispatch_keystroke(&mut self, window_id: usize, keystroke: &Keystroke) -> bool {
|
pub fn dispatch_keystroke(&mut self, window_id: usize, keystroke: &Keystroke) -> bool {
|
||||||
if let Some(focused_view_id) = self.focused_view_id(window_id) {
|
if let Some(focused_view_id) = self.focused_view_id(window_id) {
|
||||||
// For each view in self
|
|
||||||
// - Get it's keymap context
|
|
||||||
// - Try to execute keybinding
|
|
||||||
|
|
||||||
// For us, get out dispatch path
|
|
||||||
// - ONLY execute for that terminal path
|
|
||||||
|
|
||||||
let dispatch_path = self
|
let dispatch_path = self
|
||||||
.ancestors(window_id, focused_view_id)
|
.ancestors(window_id, focused_view_id)
|
||||||
.map(|view_id| {
|
.map(|view_id| {
|
||||||
|
|
Loading…
Reference in a new issue