libtxt: add boxes representing empty lines in GetRectsForRange (#5043)
If the start/end range passed to GetRectsForRange includes lines of text that did not render any glyphs, then GetRectsForRange should add a placeholder for that line. In particular, the framework expects this so that it can position the cursor on an empty line when editing text. Fixes https://github.com/flutter/flutter/issues/16418
Showing
想要评论请 注册 或 登录