code: def set_position(self, decl_pos):
          
          if decl_pos["typehint"] == "LineSourcePosition":
              self.editor.set_cursor(decl_pos['line'], 0)
          else:  # OffsetSourcePosition
              point = decl_pos["offset"]
              row, col = self.editor.point2pos(point + 1)
              self.editor.set_cursor(row, col)
docs: Set editor position from ENSIME declPos data.