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?
I've noticed some unexpected behavior when using
Ass.setLineorAss.insertLine(withoutAss.removeLine) to update the text of a line after Line.tags has been manipulated. If Line.tags is modified, and thensetLineorinsertLineis called to set new text , the text of the new line does not seem to update correctly. However, CallingAss.setText(line)on the modified line object before callingsetLine/insertLineresults in the correct text being set.I found this behavior might be related to the logic of the
Ass.setTextfunction. So, is this intentional?In that case, the correct way is to do
Line.update ass, lineif I want to continue modifying the line, right?