class

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))
Source

Instance methods

galley
Source
galley=(galley : Galley | Nil)
Source
k0=(k0 : Int32)
Source
k1=(k1 : Int32)
Source
row_starts
Source
row_starts=(row_starts : Array(Int32))
Source
starts
Source
starts=(starts : Array(Int32))
Source
text
Source
text=(text : String)
Source