Bug in Text Tool

text: ‘בגהוזחיכלספקר
C’ (__NSCFString), length: 15, string: ‘o{
}’ (NSConcreteAttributedString), length: 1, range: {16, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
“3 Foundation 0x00007fff44115075 -[NSMutableRLEArray insertObject:range:] + 159”,
“4 Foundation 0x00007fff44154fb6 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 242”,
“5 Glyphs 0x000000010d0b82ba Glyphs + 332474”,
“6 AppKit 0x00007fff3f76f955 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 169”,
“7 AppKit 0x00007fff3fe35700 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.309 + 102”,
“8 AppKit 0x00007fff3f76f8a6 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105”,
“9 AppKit 0x00007fff3fe338e3 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 308”
)

We working on this.

It only happens when I start a new paragraph with the Enter (Return) key

We know. If you keep one character behind the cursor, it will not crash.