We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d29da14 + 26d1f99 commit 66171b4Copy full SHA for 66171b4
src/Uno.UI/UI/Xaml/Documents/UnicodeText.skia.cs
@@ -519,7 +519,7 @@ internal unsafe UnicodeText(
519
while (trimPoint.Value is { containsOnlyWhitespace: true, containsTab: false } && trimPoint.Value.start > line.start)
520
{
521
trimPoint = trimPoint.Previous!;
522
- if (enumerator.Current == trimPoint)
+ if (hasMore && enumerator.Current == trimPoint)
523
524
hasMore = enumerator.MoveNext();
525
}
0 commit comments