Properly filter out new hints outside of excerpts' visible ranges

This commit is contained in:
Kirill Bulatov 2023-06-23 13:11:09 +03:00
parent ba3d1e4dba
commit a68e68a0d9
2 changed files with 17 additions and 14 deletions

View file

@ -32,7 +32,7 @@ use collections::{BTreeMap, Bound, HashMap, HashSet, VecDeque};
use copilot::Copilot;
pub use display_map::DisplayPoint;
use display_map::*;
pub use editor_settings::EditorSettings;
pub use editor_settings::{EditorSettings, InlayHints, InlayHintsContent};
pub use element::{
Cursor, EditorElement, HighlightedRange, HighlightedRangeLine, LineWithInvisibles,
};