docs: def get_cursor_position(self, file_path):
          """
          Gets the cached cursor position for file_path
  
          :param file_path: path of the file in the cache
          :return: Cached cursor position or (0, 0)
          """
          try:
              map = json.loads(self._settings.value('cachedCursorPosition'))
          except TypeError:
              map = {}
          try:
              pos = map[file_path]
          except KeyError:
              pos = 0
          if isinstance(pos, list):
              # changed in pyqode 2.6.3, now we store the cursor position
              # instead of the line and column  (faster)
              pos = 0
          return pos