Sentence:  She was trimming a very smart straw hat with pink ribbons; trimming and <WSD>untrimming</WSD>, for the bows were tied and untied, taken off and put on, and taken off again, with a look of impatience and discontent ... 
Meaning of the word marked with <WSD> tags:  To remove the trimmings or adornments from.