Fix single line edit prediction detection (#23456)

#23411 introduced an "Accept" callout for single line edits, but the
logic to detect them was incorrect causing it to trigger for multiline
insertions, this PR fixes that.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga 2025-01-22 10:00:43 -03:00 committed by GitHub
parent f0b5b0b4df
commit 55721c65d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 35 additions and 43 deletions

View file

@ -1757,7 +1757,6 @@ impl<'a> BlockChunks<'a> {
pub struct StickyHeaderExcerpt<'a> {
pub excerpt: &'a ExcerptInfo,
pub next_excerpt_controls_present: bool,
// TODO az remove option
pub next_buffer_row: Option<u32>,
}