1. An electronic device, comprising: one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: generating a user interface for display on a display device, wherein the user interface includes a candidate character region; while the user interface is displayed on the display device, receiving an indication of a first input that includes movement of a contact detected on a touch-sensitive surface of a device; in response to detecting the movement of the contact, identifying a first candidate character that corresponds to the movement, and updating the user interface to include the first candidate character in the candidate character region; receiving a request to delete the first candidate character; and in response to receiving the request to delete the first candidate character, updating the user interface by: deleting the first candidate character in the candidate character region; and displaying a first plurality of other candidate characters that correspond to the movement of the contact in place of the first candidate character.