Rename remaining mentions of "inline completion" to "edit prediction" (#35512)
Release Notes: - N/A
This commit is contained in:
parent
85885723a9
commit
65018c28c0
43 changed files with 480 additions and 498 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::cmp;
|
||||
|
||||
use crate::InlineCompletion;
|
||||
use crate::EditPrediction;
|
||||
use gpui::{
|
||||
AnyElement, App, BorderStyle, Bounds, Corners, Edges, HighlightStyle, Hsla, StyledText,
|
||||
TextLayout, TextStyle, point, prelude::*, quad, size,
|
||||
|
@ -17,7 +17,7 @@ pub struct CompletionDiffElement {
|
|||
}
|
||||
|
||||
impl CompletionDiffElement {
|
||||
pub fn new(completion: &InlineCompletion, cx: &App) -> Self {
|
||||
pub fn new(completion: &EditPrediction, cx: &App) -> Self {
|
||||
let mut diff = completion
|
||||
.snapshot
|
||||
.text_for_range(completion.excerpt_range.clone())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue