Create current_line_number callback.