Draft invisibles' tabs display

This commit is contained in:
Kirill Bulatov
2023-05-08 19:36:51 +03:00
committed by Kirill Bulatov
parent 4f8607039c
commit ad731ea6d2
3 changed files with 75 additions and 11 deletions
+5 -1
View File
@@ -1359,7 +1359,11 @@ impl EditorElement {
highlight_style = Some(diagnostic_highlight);
}
(chunk.text, highlight_style)
HighlightedChunk {
chunk: chunk.text,
style: highlight_style,
is_tab: chunk.is_tab,
}
});
layout_highlighted_chunks(
chunks,