mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 21:59:21 +00:00
This commit refactors the text chunking algorithm used in TextNode::ChunkIterator. The m_start_of_chunk member parameter has been replaced with a local variable that's anchored to the current iterator at the start of every next() call, and the algorithm is made a little more clear by explicitly separating what can and cannot peek into the next character during iteration.
16 KiB
16 KiB