Make Suggestion fields public

This commit is contained in:
Antonio Scandurra 2023-03-21 16:51:33 +01:00
parent ba3913df8c
commit f7cba4cec4

View file

@ -58,9 +58,9 @@ impl SuggestionPoint {
#[derive(Clone, Debug)]
pub struct Suggestion<T> {
position: T,
text: Rope,
highlight_style: HighlightStyle,
pub position: T,
pub text: Rope,
pub highlight_style: HighlightStyle,
}
pub struct SuggestionMap(Mutex<SuggestionSnapshot>);