I've noticed some unexpected behavior when using Ass.setLine or Ass.insertLine (without Ass.removeLine) to update the text of a line after Line.tags has been manipulated. If Line.tags is modified, and then setLine or insertLine is called to set new text , the text of the new line does not seem to update correctly. However, Calling Ass.setText(line) on the modified line object before calling setLine/insertLine results in the correct text being set.
I found this behavior might be related to the logic of the Ass.setText function. So, is this intentional?
In that case, the correct way is to do Line.update ass, line if I want to continue modifying the line, right?