An electronic device comprising: a display; a touch input interface; a memory storing instructions; and a processor configured to execute the instructions stored in the memory to: display a writing area in a display area of the display; detect a predefined touch input in the writing area; and based on detecting the predefined touch input, reduce the writing area, display the reduced writing area in at least first part of the display area and provide an extended area in at least second part of the display area, the extended area being configured to receive a writing input continuing from the reduced writing area; wherein: the predefined touch input comprises at least one of a touch input for a first predefined time or more in the writing area, a touch input made repeatedly for a second predefined time in the writing area, or a touch input of which pressure exceeds a threshold value in the writing area, and wherein the processor is further configured to execute the instructions to: identify a parameter value corresponding to the predefined touch input, the parameter value including at least one of a duration time of the predefined touch input, pressure corresponding to the predefined touch input, or a number of times of the predefined touch input; and determine a size of the extended area according to the parameter value. a display; a touch input interface; a memory storing instructions; and a processor configured to execute the instructions stored in the memory to: display a writing area in a display area of the display; detect a predefined touch input in the writing area; and based on detecting the predefined touch input, reduce the writing area, display the reduced writing area in at least first part of the display area and provide an extended area in at least second part of the display area, the extended area being configured to receive a writing input continuing from the reduced writing area; wherein: the predefined touch input comprises at least one of a touch input for a first predefined time or more in the writing area, a touch input made repeatedly for a second predefined time in the writing area, or a touch input of which pressure exceeds a threshold value in the writing area, and wherein the processor is further configured to execute the instructions to: identify a parameter value corresponding to the predefined touch input, the parameter value including at least one of a duration time of the predefined touch input, pressure corresponding to the predefined touch input, or a number of times of the predefined touch input; and determine a size of the extended area according to the parameter value. display a writing area in a display area of the display; detect a predefined touch input in the writing area; and based on detecting the predefined touch input, reduce the writing area, display the reduced writing area in at least first part of the display area and provide an extended area in at least second part of the display area, the extended area being configured to receive a writing input continuing from the reduced writing area; wherein: the predefined touch input comprises at least one of a touch input for a first predefined time or more in the writing area, a touch input made repeatedly for a second predefined time in the writing area, or a touch input of which pressure exceeds a threshold value in the writing area, and wherein the processor is further configured to execute the instructions to: identify a parameter value corresponding to the predefined touch input, the parameter value including at least one of a duration time of the predefined touch input, pressure corresponding to the predefined touch input, or a number of times of the predefined touch input; and determine a size of the extended area according to the parameter value. the predefined touch input comprises at least one of a touch input for a first predefined time or more in the writing area, a touch input made repeatedly for a second predefined time in the writing area, or a touch input of which pressure exceeds a threshold value in the writing area, and wherein the processor is further configured to execute the instructions to: identify a parameter value corresponding to the predefined touch input, the parameter value including at least one of a duration time of the predefined touch input, pressure corresponding to the predefined touch input, or a number of times of the predefined touch input; and determine a size of the extended area according to the parameter value. identify a parameter value corresponding to the predefined touch input, the parameter value including at least one of a duration time of the predefined touch input, pressure corresponding to the predefined touch input, or a number of times of the predefined touch input; and determine a size of the extended area according to the parameter value.