Dequalify WindowContext and AsyncWindowContext identifiers (#22444)

This makes a WIP automated refactoring a bit easier to write

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2024-12-28 21:21:32 +00:00
committed by GitHub
parent ac60dcd67a
commit 9815358bdd
12 changed files with 16 additions and 22 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ use crate::{
ScrollAnchor, ScrollCursorBottom, ScrollCursorCenter, ScrollCursorCenterTopBottom,
ScrollCursorTop, SCROLL_CENTER_TOP_BOTTOM_DEBOUNCE_TIMEOUT,
};
use gpui::{Point, ViewContext};
use gpui::{AsyncWindowContext, Point, ViewContext};
impl Editor {
pub fn next_screen(&mut self, _: &NextScreen, cx: &mut ViewContext<Editor>) {
@@ -75,7 +75,7 @@ impl Editor {
self.next_scroll_position = self.next_scroll_position.next();
self._scroll_cursor_center_top_bottom_task =
cx.spawn(|editor, mut cx: gpui::AsyncWindowContext| async move {
cx.spawn(|editor, mut cx: AsyncWindowContext| async move {
cx.background_executor()
.timer(SCROLL_CENTER_TOP_BOTTOM_DEBOUNCE_TIMEOUT)
.await;