editor: Shrink size of Inlay slightly (#39089)

And some other smaller cleanup things I noticed while reading through
some stuff

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-09-29 15:33:21 +02:00
committed by GitHub
parent ed7217ff46
commit f2efe78feb
10 changed files with 119 additions and 122 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ pub fn update_inlay_link_and_hover_points(
inlay: hovered_hint.id,
inlay_position: hovered_hint.position,
range: extra_shift_left
..hovered_hint.text.len() + extra_shift_right,
..hovered_hint.text().len() + extra_shift_right,
},
},
window,