mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
To expand a bit on how the line-wrapping works, each physical line of text is broken up into multiple visual lines. This is recomputed when the document changes, or when the widget is resized. Each GTextEditor::Line keeps track of the visual breaking points, and also their visual rect in content coordinates. This allows us to do painting and hit testing reasonably efficiently for now. This code needs some cleanup, but it's finally in a working state, so here it goes. :^) |
||
---|---|---|
.. | ||
LibAudio | ||
LibC | ||
LibCore | ||
LibDraw | ||
LibGUI | ||
LibHTML | ||
LibIPC | ||
LibM | ||
LibPCIDB | ||
LibVT |