Patent ID: 7185291

Claim:
A computer with a touch screen enabling a user to control the computer via a touch pen, the computer comprising: the touch screen enabling the user to input data into the touch screen via the touch pen, wherein a track on the touch screen made by the touch pen is termed a stroke; a microprocessor; a memory connected to the microprocessor, comprising a text editing program; the computer capable of executing the text editing program to display a plurality of text on the touch screen, and enabling the user to input and edit the text via the text editing program; characterized in that: the memory having an editing operating program, and the microprocessor executing the editing operating program to achieve the following means: a first means for allowing the user to mark a section of text via the touch pen to enable the marked text to be a marked area; and a second means for determining if a retention period of the stroke exceeds a predetermined period, and when the retention period exceeds the predetermined period, the computer performs different editing means, the editing means comprising: cutting means for cutting the marked area; and copying means for copying the marked area; wherein when the computer performs the second means, the cutting means is next performed if a subsequent stroke is downwards, and the copying means is next performed if the subsequent stroke is upwards.