Use needsViewportLayout flag instead of needsLayout for viewport-related updates
Introduce a new internal needsViewportLayout flag to control lazy layout updates when only the viewport requires relayout, avoiding full layout passes. Replace existing uses of needsLayout where appropriate, including gutter view and layout tracking flags. Update layout() to call layoutViewport() conditionally on needsViewportLayout or needsScrollToSelection.
M
Marcin Krzyzanowski committed
9edfc9e613a1ff85f67cf60cab214d0405279239
Parent: ce0f3f0