Properly resolve inlay label parts' locations and buffers

This commit is contained in:
Kirill Bulatov
2023-08-25 14:26:17 +03:00
parent 7eab18ec89
commit 477fc865f5
5 changed files with 222 additions and 132 deletions
@@ -1010,6 +1010,7 @@ impl InlaySnapshot {
}) {
Ok(i) | Err(i) => i,
};
// TODO kb add a way to highlight inlay hints through here.
for range in &ranges[start_ix..] {
if range.start.cmp(&transform_end, &self.buffer).is_ge() {
break;