SourceClass LayoutSection
from egui import LayoutSectionclass LayoutSection:A contiguous range of LayoutJob.text that shares the same TextFormat.
The sections of a LayoutJob are ordered and together cover the whole text
with no gaps and no overlaps. See LayoutJob.sections for the full invariant.
Text is shaped on a per-section basis: each section is an independent shaping run.
This means kerning (and ligatures) are only correct within a single section,
and not across the boundary between two adjacent sections.
For this reason LayoutJob.append merges consecutive sections when possible.