editor mode -> display mode
Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
This commit is contained in:
parent
57a0bb327d
commit
c6d0d75711
33 changed files with 255 additions and 225 deletions
|
@ -4949,7 +4949,7 @@ fn workspace_active_editor(
|
|||
let active_item = workspace.active_item(cx)?;
|
||||
let active_editor = active_item
|
||||
.act_as::<Editor>(cx)
|
||||
.filter(|editor| editor.read(cx).mode().is_full())?;
|
||||
.filter(|editor| editor.read(cx).display_mode().is_full())?;
|
||||
Some((active_item, active_editor))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue