I have got this error how to fix?
text: 'd' (__NSCFString), length: 1, string: '' (NSConcreteAttributedString), length: 0, range: {2, 0}
NSInvalidArgumentException
-[__NSCFString replaceCharactersInRange:withString:]: Range or index out of bounds
(
"3 CoreFoundation 0x00007ff80a832d5a mutateError + 121",
"4 CoreFoundation 0x00007ff80a7861e1 -[__NSCFString replaceCharactersInRange:withString:] + 50",
"5 Foundation 0x00007ff80b603229 -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 346",
"6 Glyphs 3 0x000000010686bf6b _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 342859",
"7 AppKit 0x00007ff80dac2f7b -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 176",
"8 AppKit 0x00007ff80e364dcb __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.352 + 102",
"9 AppKit 0x00007ff80dac2ec1 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105"
)