code: def current_line(self) -> int:
      if self.shell.pt_app is not None:
          return (
              self.shell.pt_app.default_buffer.document.cursor_position_row
              or 0
          )
      return 0
  
imports: from pygments.token import Token
  import sys
  from IPython.core.displayhook import DisplayHook
  from prompt_toolkit.formatted_text import fragment_list_width, PygmentsTokens
  from prompt_toolkit.shortcuts import print_formatted_text
  from prompt_toolkit.enums import EditingMode
label_desc: Use image node_id 3 for calling the Prompts obj's underlying member method code with example usage: obj.current_line() and returns: int, unknown