I help you by copying the following text and pasting into this new post


Please help us to fix it by copying the following text and pasting it into a new post on https://forum.glyphsapp.com. Thanks!

text: '10' (__NSCFString), length: 2, string: '0{
}' (NSConcreteAttributedString), length: 1, range: {18446744073709551613, 0}

NSRangeException

NSMutableRLEArray insertObject:range:: Out of bounds

(
    "3   Foundation                          0x00007ff8066cd74e -[NSConcreteMutableAttributedString replaceCharactersInRange:withAttributedString:] + 238",
    "4   Glyphs 3                            0x00000001023a31d1 _ZN7plcrash2MS5async35plcrash_async_dwarf_expression_evalIyxEE15plcrash_error_tP21plcrash_async_mobjectjPK26plcrash_async_thread_statePK25MSplcrash_async_byteorderyxyPT_mSD_ + 364621",
    "5   AppKit                              0x00007ff808481e43 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 176",
    "6   AppKit                              0x00007ff808c31a2e __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.354 + 102",
    "7   AppKit                              0x00007ff808481d85 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 105",
    "8   AppKit                              0x00007ff808481c4c -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedWorkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachInsertText:continuation:] + 310",
    "9   AppKit                              0x00007ff808c31128 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.310 + 2235"
)

this was the feature that probably caused it

lookup lookup1 {
    sub @numbers' zero by z e r o;
} lookup1;

after typing 100

please don’t judge the feature, it doesn’t make sense, but it triggered something

That should be fixed in the next cutting edge version. Thanks.