1. A computer-readable recording medium that stores therein a program for program editing for editing a program described using a symbol on a program editing screen, the program for program editing causing an information processing apparatus to function as: input-gesture-characteristic-information acquiring unit for acquiring input gesture characteristic information including coordinate information and a shape of a track of the coordinate information input on the program editing screen; and processing executing unit for specifying an operation target and specifying a command applied to the operation target based on the input gesture characteristic information, executing the command, and displaying a result of execution of the command on the program editing screen, wherein: the processing executing unit specifies the command based on a gesture definition in which a type of the operation target selected from among a constituent element type and a non-constituent element type, the shape of the track, and a command to be executed, are associated with each other, executes the specified command, and displays a result of execution of the command on the program editing screen, in the constituent element type, the operation target is a symbol of a relay control circuit, the input-gesture-characteristic-information acquiring unit acquires a first input track, which is a record of passing points from a start point to an end point of the coordinate information at first resolution, and a second input track, which is a record of the passing points from the start point to the end point of the coordinate information at second resolution higher than the first resolution, the processing executing unit judges whether a command corresponding to the first input track is present in the gesture definition and judges whether a command corresponding to the second input track is present in the gesture definition, and the processing executing unit acquires an input character string based on the second input track and, when a command corresponding to the input character string is present in the gesture definition, registers the input character string in the operation target.