"She looked through the text, editing all the errors."
The phrase "editing all the errors" that you are asking about, is a participle phrase. In other words, it is "a group of present-participle (verb + ing)...and other linked words. [It] is punctuated with a comma or commas." See more here, the source.
A participle phrase, and it is.