just to be sure : what we want here is that the Task.add_tag() method add the tag to the text of the task if that tag is not present. Is that right?
I see two possible approaches :
1) We modify the text of a task when adding a tag.
2) When we open a task with the editor, we add tags that are not in the text.
I don't know which one would be more appropriate. What do you think?
just to be sure : what we want here is that the Task.add_tag() method add the tag to the text of the task if that tag is not present. Is that right?
I see two possible approaches :
1) We modify the text of a task when adding a tag.
2) When we open a task with the editor, we add tags that are not in the text.
I don't know which one would be more appropriate. What do you think?