-
| 
         Hi, first—thanks a lot for making SoulverCore, it’s really awesome. I’m running into a crash when I set: I get an index out of range error here: 
 Is this a known issue, or am I maybe missing some required setup when using .lineCollection? Thanks again for your work on this library!  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| 
         
 You'd need to do this synchronisation yourself if you want to use the line collection's expression beautification feature. I wouldn't recommend touching the  The rough order of operations would look like this: 
  | 
  
Beta Was this translation helpful? Give feedback.
LineCollectionEditingHelperkeeps aLineCollectionin sync with a text view (not the other way around). The text view is the source of truth, and the helper does not expect the line collection to edit the expressions (which is what expression beautification is, inserting spaces, commas, etc).You'd need to do this synchronisation yourself if you want to use the line collection's expression beautification feature. I wouldn't recommend touching the
LineCollectionEditingHelperat all in this case.The rough order of operations would look like this: