Method and device for realizing text editing on touch screen interface
A text editing and touch screen technology, which is applied in the field of text editing and human-computer interaction, can solve problems such as inaccurate cursor positioning, inconvenient operation, and increase user memory burden, so as to improve editing efficiency, solve inaccurate positioning, and facilitate text editing Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0041] Example one:
[0042] Such as figure 2 This is the implementation flowchart of the first embodiment of the present invention, and introduces the selection process of the text to be inserted triggered by the touch point pressing event, including:
[0043] Step 201: The user presses the touch screen.
[0044] Step 202: Detect whether the user's touch point on the touch screen is located in the area to be inserted, and if so, proceed to step 203;
[0045] In this step, the area to be inserted may be an input box candidate area, an area on the virtual keyboard, or a selected area in the text.
[0046] Step 203: Determine whether the user's continuous touch time at the touch point is greater than a preset threshold, and if so, perform step 204.
[0047] Step 204: Select the content at the position of the touch point as the text to be inserted, and highlight the text to be inserted, such as increasing the size of the text to be inserted, displaying dynamically floating, changing colors...
Example Embodiment
[0048] Embodiment two:
[0049] Such as image 3 This is the implementation flow chart of the second embodiment of the present invention, and introduces the process of moving and displaying the text to be inserted triggered by a touch point movement event and selecting the text that can be inserted, including:
[0050] Step 301: The user moves the touch point.
[0051] Step 302: As the touch point moves on the touch screen, the text to be inserted is displayed on the moving track of the touch point.
[0052] Step 303: Detect whether the user's touch point on the touch screen is located in the insertable area, and if so, proceed to step 304.
[0053] Step 304: Select the content at the position of the touch point as insertable text, and highlight the insertable text. And adjust the entire editing area to ensure that there is a suitable interval to place the text to be inserted.
[0054] Specifically, when the touch point touches the existing content, the surrounding content such as the a...
Example Embodiment
[0056] Embodiment three:
[0057] Such as Figure 4 This is the implementation flow chart of the third embodiment of the present invention, and introduces the process of inserting the text to be inserted triggered by the touch point release event, including:
[0058] Step 401: The user releases the touch point.
[0059] Step 402: Determine whether the touch point is released in the insertable area, if yes, go to step 403; otherwise, restore to the initial state of the insertable area.
[0060] Step 403: Insert or replace the insertable text with the text to be inserted.
[0061] Specifically, when the insertable text is two characters, the text to be inserted is inserted between the two characters; when the insertable text is one character, the text to be inserted is substituted for this character.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap