parameters: (self, output, is_refresh=False, highlight_regex=None)
docstring: Display text output in a scrollable text pad.
  
      Args:
        output: A RichTextLines object that is the screen output text.
        is_refresh: (bool) Is this a refreshing display with existing output.
        highlight_regex: (str) Optional string representing the regex used to
          search and highlight in the current screen output.
docstring_summary: Display text output in a scrollable text pad.
docstring_tokens: Display text output in a scrollable text pad .
function: def _display_output(self, output, is_refresh=False, highlight_regex=None):
      """Display text output in a scrollable text pad.
  
      Args:
        output: A RichTextLines object that is the screen output text.
        is_refresh: (bool) Is this a refreshing display with existing output.
        highlight_regex: (str) Optional string representing the regex used to
          search and highlight in the current screen output.
      """
  
      if highlight_regex:
        output = debugger_cli_common.regex_find(
            output, highlight_regex, font_attr=self._search_highlight_font_attr)
      else:
        self._curr_unwrapped_output = output
  
      self._curr_wrapped_output = debugger_cli_common.wrap_rich_text_lines(
          output, self._max_x - 1)
  
      (self._output_pad, self._output_pad_height,
       self._output_pad_width) = self._display_lines(self._curr_wrapped_output,
                                                     self._output_num_rows)
  
      # Size of view port on screen, which is always smaller or equal to the
      # screen size.
      self._output_pad_screen_height = self._output_num_rows - 1
      self._output_pad_screen_width = self._max_x - 1
      self._output_pad_screen_location = self.rectangle(
          top=self._output_top_row,
          left=0,
          bottom=self._output_top_row + self._output_num_rows,
          right=self._output_pad_screen_width)
  
      if is_refresh:
        self._scroll_output(self._SCROLL_REFRESH)
      else:
        self._output_pad_row = 0
        self._scroll_output(self._SCROLL_HOME)
function_tokens: def _display_output ( self , output , is_refresh = False , highlight_regex = None ) : if highlight_regex : output = debugger_cli_common . regex_find ( output , highlight_regex , font_attr = self . _search_highlight_font_attr ) else : self . _curr_unwrapped_output = output self . _curr_wrapped_output = debugger_cli_common . wrap_rich_text_lines ( output , self . _max_x - 1 ) ( self . _output_pad , self . _output_pad_height , self . _output_pad_width ) = self . _display_lines ( self . _curr_wrapped_output , self . _output_num_rows ) # Size of view port on screen, which is always smaller or equal to the # screen size. self . _output_pad_screen_height = self . _output_num_rows - 1 self . _output_pad_screen_width = self . _max_x - 1 self . _output_pad_screen_location = self . rectangle ( top = self . _output_top_row , left = 0 , bottom = self . _output_top_row + self . _output_num_rows , right = self . _output_pad_screen_width ) if is_refresh : self . _scroll_output ( self . _SCROLL_REFRESH ) else : self . _output_pad_row = 0 self . _scroll_output ( self . _SCROLL_HOME )