Start integrating Copilot with editor

There's still a bit to do in terms of reusing the previous suggestion
when the prefix matches, but we're getting there.
This commit is contained in:
Antonio Scandurra 2023-03-26 12:30:21 +02:00 committed by Mikayla Maki
parent b16e2169ce
commit 2f95510a2e
6 changed files with 183 additions and 12 deletions

View file

@ -494,7 +494,6 @@ impl Window {
NSSize::new(rect.width() as f64, rect.height() as f64),
);
dbg!(screen_frame.as_CGRect(), ns_rect.as_CGRect());
if ns_rect.intersects(screen_frame) {
native_window.setFrame_display_(ns_rect, YES);
} else {