Improve obvious faults

This commit is contained in:
Kirill Bulatov 2023-05-31 21:11:24 +03:00
parent 79b97f9e75
commit 7a268b1cf6
3 changed files with 106 additions and 71 deletions

View file

@ -1819,9 +1819,9 @@ impl LineWithInvisibles {
cx,
);
// TODO kb bad: cloning happens very frequently, check the timestamp first
// TODO kb bad: syscalls + cloning happen very frequently, check the timestamp first
let new_hints = editor.inlay_hints.read();
// dbg!(new_hints);
dbg!(new_hints.last());
self.draw_invisibles(
&selection_ranges,