fix a bug with where TextLayout::cursorPositionAt would return document size
fix a bug with where TextLayout::cursorPositionAt would return document size

Andersbakken/LazyTextEdit,Andersbakken/LazyTextEdit