tools/sublime/compile_current_file.py
def draw_panel_text(self):
    """Draw in the output.exec panel the text accumulated in self.text_to_draw.

    This must be called from the main UI thread (e.g., using set_timeout).
    """
    assert self.thread_id == threading.current_thread().ident
    logging.debug("draw_panel_text called.")
    self.lock.acquire()
    text_to_draw = self.text_to_draw
    self.text_to_draw = ""
    self.lock.release()

    if len(text_to_draw):
      self.output_panel.run_command('print_output', {'text': text_to_draw})
      self.view.window().run_command("show_panel", {"panel": "output.exec"})
      logging.debug("Added text:\n%s.", text_to_draw)
Draw in the output.exec panel the text accumulated in self.text_to_draw.

    This must be called from the main UI thread (e.g., using set_timeout).
    
Draw in the output.exec panel the text accumulated in self.text_to_draw.
This must be called from the main UI thread .
Draw in the output . exec panel the text accumulated in self . text_to_draw . This must be called from the main UI thread .
def draw_panel_text(self):
    assert self.thread_id == threading.current_thread().ident
    logging.debug("draw_panel_text called.")
    self.lock.acquire()
    text_to_draw = self.text_to_draw
    self.text_to_draw = ""
    self.lock.release()
    if len(text_to_draw):
      self.output_panel.run_command('print_output', {'text': text_to_draw})
      self.view.window().run_command("show_panel", {"panel": "output.exec"})
      logging.debug("Added text:\n%s.", text_to_draw)
def draw_panel_text ( self ) : assert self . thread_id == threading . current_thread ( ) . ident logging . debug ( "draw_panel_text called." ) self . lock . acquire ( ) text_to_draw = self . text_to_draw self . text_to_draw = "" self . lock . release ( ) if len ( text_to_draw ) : self . output_panel . run_command ( 'print_output' , { 'text' : text_to_draw } ) self . view . window ( ) . run_command ( "show_panel" , { "panel" : "output.exec" } ) logging . debug ( "Added text:\n%s." , text_to_draw )
Draw in the output.exec panel the text accumulated in self.text_to_draw.
Draw in the output . exec panel the text accumulated in self . text_to_draw .
"""Draw in the output.exec panel the text accumulated in self.text_to_draw.

    This must be called from the main UI thread (e.g., using set_timeout).
    """
self