def handle_typecheck_complete(self, call_id, payload):
        """Handles ``NewScalaNotesEvent```.

        Calls editor to display/highlight line notes and clears notes buffer.
        """
        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 = []
Handles ``NewScalaNotesEvent```.

        Calls editor to display/highlight line notes and clears notes buffer.