摘要 |
The invention relates to a method and a device for positioning a cursor. The method is applied in an apparatus having a touch screen, including: when a first touch operation aiming at the input box on a display interface of the touch screen is detected, determining (S101, S301, S401) contents in the input box aimed by the first touch operation and a first operating distance, a first operating direction of the first touch operation being consistent with the arraying direction of the contents; moving (S102, S302) the contents by a distance corresponding to the first operating distance along the first operating direction to form a blank space between a side of the input box and a side edge of the contents; and when a second touch operation aiming at the blank space is detected, positioning (S103, S304) the cursor in the position of the blank space. |