Fix accidental visual selection on scroll
As part of this fix partial page distance calculations to more closely match vim.
This commit is contained in:
parent
2bf417fa45
commit
6d7949654b
3 changed files with 61 additions and 5 deletions
|
@ -1654,7 +1654,7 @@ impl Editor {
|
|||
.excerpt_containing(self.selections.newest_anchor().head(), cx)
|
||||
}
|
||||
|
||||
fn style(&self, cx: &AppContext) -> EditorStyle {
|
||||
pub fn style(&self, cx: &AppContext) -> EditorStyle {
|
||||
build_style(
|
||||
settings::get::<ThemeSettings>(cx),
|
||||
self.get_field_editor_theme.as_deref(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue