Remove headers from prompt library picker (#12889)

Also, as a drive-by, we're fixing up/down not working in inline
assistant editor.

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-06-11 15:59:30 +02:00 committed by GitHub
parent b6ea393d14
commit 53b0720d54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 136 additions and 174 deletions

View file

@ -84,7 +84,9 @@ impl<T: Copy + Ord> Selection<T> {
}
self.goal = new_goal;
}
}
impl<T: Copy> Selection<T> {
pub fn range(&self) -> Range<T> {
self.start..self.end
}