Browse Source
* Add failing test: LineBreakEnumerator infinite loop on empty string * Return false immediately for empty string in LineBreakEnumerator Empty text has no content and should not produce any line break opportunities. Short-circuit in MoveNext before entering the read/rule loop, while keeping the PeekAt EndOfText fix as a defensive safeguard.pull/21823/head
committed by
GitHub
2 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue