code: def linecol(doc, pos):
      lineno = doc.count("\n", 0, pos) + 1
      if lineno == 1:
          colno = pos + 1
      else:
          colno = pos - doc.rindex("\n", 0, pos)
      return lineno, colno
  
label_desc: Use image node_id 1 for calling a global function with example usage: linecol(doc, pos) and returns: lineno,  colno