code: def handle_typecheck_complete(self, call_id, payload):
          
          self.log.debug('handle_typecheck_complete: in')
          if not self.currently_buffering_typechecks:
              self.log.debug('Completed typecheck was not requested by user, not displaying notes')
              return
  
          self.editor.display_notes(self.buffered_notes)
          self.currently_buffering_typechecks = False
          self.buffered_notes = []
docs: Handles ``NewScalaNotesEvent```.
  
          Calls editor to display/highlight line notes and clears notes buffer.