Fix clipping when dragging the mouse with vim-mode enabled and adjust single line editor selections
This commit is contained in:
parent
c2868a39e8
commit
1cfaac1bc5
9 changed files with 36 additions and 43 deletions
|
@ -119,7 +119,7 @@ impl<'a> VimTestContext<'a> {
|
|||
pub fn set_state(&mut self, text: &str, mode: Mode) {
|
||||
self.cx.update(|cx| {
|
||||
Vim::update(cx, |vim, cx| {
|
||||
vim.switch_mode(mode, cx);
|
||||
vim.switch_mode(mode, false, cx);
|
||||
})
|
||||
});
|
||||
self.cx.set_state(text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue