code: def _element_charfix(self, element, charcount):
          
          element.start += charcount
          element.docstart += charcount
          element.end += charcount
          element.docend += charcount
docs: Updates the start and end attributes by charcount for the element.