class_docstr: :param text: The new string that will be inserted into the document.
  :param start_position: Position relative to the cursor_position where the
      new text will start. The text will be inserted between the
      start_position and the original cursor position.
  :param display: (optional string) If the completion has to be displayed
      differently in the completion menu.
  :param display_meta: (Optional string) Meta information about the
      completion, e.g. the path or source where it's coming from.
  :param get_display_meta: Lazy `display_meta`. Retrieve meta information
      only when meta is displayed.
class_docstr_tok: [":","param","text",":","The","new","string","that","will","be","inserted","into","the","document",".",":","param","start_position",":","Position","relative","to","the","cursor_position","where","the","new","text","will","start",".","The","text","will","be","inserted","between","the","start_position","and","the","original","cursor","position",".",":","param","display",":","(","optional","string",")","If","the","completion","has","to","be","displayed","differently","in","the","completion","menu",".",":","param","display_meta",":","(","Optional","string",")","Meta","information","about","the","completion",",","e.g",".","the","path","or","source","where","it","'s","coming","from",".",":","param","get_display_meta",":","Lazy","`","display_meta","`",".","Retrieve","meta","information","only","when","meta","is","displayed","."]
docstr: (Only for internal use!)
  Get a new completion by splitting this one. Used by
  `CommandLineInterface` when it needs to have a list of new completions
  after inserting the common prefix.
docstr_tok: ["(","Only","for","internal","use","!",")","Get","a","new","completion","by","splitting","this","one",".","Used","by","`","CommandLineInterface","`","when","it","needs","to","have","a","list","of","new","completions","after","inserting","the","common","prefix","."]
code: def new_completion_from_position(self, position):
      """
      (Only for internal use!)
      Get a new completion by splitting this one. Used by
      `CommandLineInterface` when it needs to have a list of new completions
      after inserting the common prefix.
      """
      assert (
          isinstance(position, int)
          and position - self.start_position >= 0
      )
  
      return Completion(
          text=self.text[position - self.start_position :],
          display=self.display,
          display_meta=self._display_meta,
          get_display_meta=self._get_display_meta,
      )
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/completion.py
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
label_desc: Use image node_id 6 for calling the Completion obj's underlying member method code with example usage: obj.new_completion_from_position(position) and returns: Completion