Skip to content

Unexpected text update behavior with Ass.setLine/Ass.insertLine #7

@oborozuk1

Description

@oborozuk1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions