You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than eagerly rebuilding the layout when some change invalidates it we should consider setting a dirty flag and relayout lazily when we require an accurate layout.
This would allow multiple changes to be applied without rebuilding the layout multiple times.
The text was updated successfully, but these errors were encountered:
Sure, this is sort of happening right now, but it's not rigorous so there might be some unnecessary layout. Layout is dirty for Selection construction (both index and point) when the buffer contents or width change. If we move from transact w/ PlainEditorOp to individual methods, we will need to add more rigorous dirty tracking state to PlainEditor itself (it won't be localized to transact.
Rather than eagerly rebuilding the layout when some change invalidates it we should consider setting a dirty flag and relayout lazily when we require an accurate layout.
This would allow multiple changes to be applied without rebuilding the layout multiple times.
The text was updated successfully, but these errors were encountered: