Add hint check to codeinput's _create_line_label.