19. The device of claim 1 , including instructions for: while displaying a range of selected text in the text of the electronic document: detecting a second horizontal gesture on the touch-sensitive surface; and, in response to a determination that the second horizontal gesture satisfies an eighth set of one or more predefined conditions: placing the insertion marker at a beginning or an end of the range of selected text in accordance with a direction of the second horizontal gesture, and deselecting the range of selected text.
19. The device of claim 1 , including instructions for: while displaying a range of selected text in the text of the electronic document: detecting a second horizontal gesture on the touch-sensitive surface; and, in response to a determination that the second horizontal gesture satisfies an eighth set of one or more predefined conditions: placing the insertion marker at a beginning or an end of the range of selected text in accordance with a direction of the second horizontal gesture, and deselecting the range of selected text. 20. The device of claim 19 , wherein the eighth set of one or more predefined conditions includes that the second horizontal gesture is a single-finger gesture.