Method and electronic device for deleting text displayed on touch screen
A technology of electronic equipment and touch screen, which is applied in the direction of electrical digital data processing, data processing input/output process, instruments, etc., to achieve the effect of improving experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 As shown, the present invention provides a method for deleting text displayed on a touch screen. The deletion method is mainly performed by a deletion system, which is an application software installed in an electronic device with a touch screen, and the electronic device with a touch screen includes but is not limited to: a mobile phone, a tablet computer, and the like.
[0038] In step S1, the deletion system sets a threshold range for identifying a deletion gesture according to the size of the text displayed on the touch screen.
[0039] Specifically, the deletion system can obtain information such as the font size, line spacing, and word spacing of the currently displayed text from the reading software in the electronic device with a touch screen, and calculate the width of each line of text according to the size of the touch screen , length, and coordinate interval on the touch screen, and set the range formed by the length, width, and coordinate ...
Embodiment 2
[0056] The difference from Example 1 is that, if image 3 As shown, when the characters to be deleted by the user are multiple consecutive lines, or skipped characters are deleted, the irregular touch gestures slid over are discontinuous. For this situation, the step S2 includes: steps S21 and S22.
[0057] In step S21, when the detected touch gestures are discontinuous, the deletion system detects whether the time interval between adjacent continuous touch gesture parts in the touch gesture is less than a preset discontinuous time interval. Wherein, the discontinuous time interval should be smaller than the deletion execution time interval. For example, the discontinuous time interval is between [100,500].
[0058] Specifically, when the deletion system detects an irregular touch gesture that the user slides over on the touch screen, it obtains the coordinates of each track point that the touch gesture passes through, and at the same time recognizes that the user is on the ...
Embodiment 3
[0068] Such as Figure 4 As shown, the present invention provides an electronic device with a touch screen. The electronic device 1 with a touch screen 11 includes, but is not limited to: a mobile phone, a tablet computer, and the like. The hardware contained in the electronic device 1 includes a processor (such as a chip containing a CPU), a memory (such as a FLASH memory, a memory, etc.), a microphone, a speaker, a touch screen (also known as a touch-sensitive display or a touch display) and its Sensors, players, audio circuits, wireless communication modules, system buses, and input and output ports, etc. The electronic device 1 includes: a preprocessing module 12 , a gesture detection module 13 , a gesture determination module 14 , and a deletion module 15 .
[0069] The pre-processing module 12 is used for setting a range threshold range for identifying a delete gesture according to the size of the text displayed on the touch screen 11 . In this embodiment, the preproc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


