The purpose of the IPresentationDamager
is to take a document change done by the user and calculate the affected area of the document that needs to be redrawn as a result. I suspect it's typical use is to expand the damage area to include at least whole tokens so that the "repairer" can correctly scan that region to give correct syntax highlighting.