1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

LibGUI: Rename TextEditor::LineVisualData -> LineData

This is going to hold other per-line data too.
This commit is contained in:
Sam Atkins 2023-03-14 11:31:33 +00:00 committed by Andreas Kling
parent 03571b1fa9
commit ce9b9a4f20
2 changed files with 18 additions and 18 deletions

View file

@ -427,12 +427,12 @@ private:
template<typename Callback>
void for_each_visual_line(size_t line_index, Callback) const;
struct LineVisualData {
struct LineData {
Vector<Utf32View> visual_lines;
Gfx::IntRect visual_rect;
};
Vector<NonnullOwnPtr<LineVisualData>> m_line_visual_data;
Vector<NonnullOwnPtr<LineData>> m_line_data;
OwnPtr<Syntax::Highlighter> m_highlighter;
OwnPtr<AutocompleteProvider> m_autocomplete_provider;