1. A method in an electronic device, the method comprising: displaying a text including one or more paragraphs; after displaying the text, detecting a user touch input drawing a vertical indicator overlapping the text displayed on a display; displaying, in a region in which the user touch input is inputted, the vertical indicator overlapping the text displayed on the display; determining one or more paragraphs overlapped with at least one part of the vertical indicator among the one or more paragraphs included in the text; detecting a motion input across the vertical indicator; and in response to detecting the motion input across the vertical indicator, indenting, by an indentation distance, the determined one or more paragraphs based on a position of the vertical indicator and an intensity of the motion input across the vertical indicator, wherein the indentation distance is a horizontal distance between a virtual vertical line representing left margin of the determined one or more paragraphs and the vertical indicator.