editor mode -> display mode

Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
This commit is contained in:
Smit Barmase 2025-08-22 14:08:21 +05:30
parent 57a0bb327d
commit c6d0d75711
No known key found for this signature in database
33 changed files with 255 additions and 225 deletions

View file

@ -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))
}