code: def _save_url(self, url_data, content, url_text, url_pos):
          
          line = content.count('\n', 0, url_pos) + 1
          column = url_pos - content.rfind('\n', 0, url_pos)
          url_data.add_url(url_text.translate(None, '\n '), line=line, column=column)
docs: Saves url. Converts url to 1-line text and url position as offset from the file beginning to (line, column).
  
          :param url_data: object for url storing
          :param content: file content
          :param url_text: url text
          :param url_pos: url position from the beginning