Egui::TextArea::VirtualState
Inherits Reference < Object
Cross-frame state for the virtual big-text mode: TextArea widgets are recreated every frame, so the line index and the last built row window live here, keyed by widget id (bounded — the handful of open documents). Entries are dropped wholesale when their text object changes (edits produce a new String; identity, not an O(n) compare, decides).
Constructors
new(text : String, starts : Array(Int32))
SourceInstance methods
galley
Sourcegalley=(galley : Galley | Nil)
Sourcek0
Sourcek0=(k0 : Int32)
Sourcek1
Sourcek1=(k1 : Int32)
Sourcerow_starts
Sourcerow_starts=(row_starts : Array(Int32))
Sourcestarts
Sourcestarts=(starts : Array(Int32))
Sourcetext
Sourcetext=(text : String)
Source