'Terminate on a newline if the trigger was a space'

def calltip_verify_termination(self, accessor, ch, trg_pos, curr_pos):

    return ((ch not in ('\r', '\n')) or (accessor.char_at_pos((trg_pos - 1)) == '    '))
