mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
Ensure we never leak block decorations when renaming
This commit is contained in:
parent
aece541255
commit
b573a39cbc
1 changed files with 1 additions and 0 deletions
|
@ -4131,6 +4131,7 @@ impl Editor {
|
|||
tail_buffer_offset.saturating_sub(rename_buffer_range.start);
|
||||
|
||||
this.update(&mut cx, |this, cx| {
|
||||
this.take_rename(cx);
|
||||
let settings = (this.build_settings)(cx);
|
||||
let buffer = this.buffer.read(cx).read(cx);
|
||||
let cursor_offset = selection.head().to_offset(&buffer);
|
||||
|
|
Loading…
Reference in a new issue