WO2019096154A1 - 文本编辑方法及移动终端 - Google Patents

文本编辑方法及移动终端 Download PDF

Info

Publication number
WO2019096154A1
WO2019096154A1 PCT/CN2018/115389 CN2018115389W WO2019096154A1 WO 2019096154 A1 WO2019096154 A1 WO 2019096154A1 CN 2018115389 W CN2018115389 W CN 2018115389W WO 2019096154 A1 WO2019096154 A1 WO 2019096154A1
Authority
WO
WIPO (PCT)
Prior art keywords
text
preset
touch operation
text block
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/115389
Other languages
English (en)
French (fr)
Inventor
郑伟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to EP18879312.9A priority Critical patent/EP3706016A4/en
Priority to US16/765,682 priority patent/US11307761B2/en
Publication of WO2019096154A1 publication Critical patent/WO2019096154A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/53Processing of non-Latin text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a text editing method and a mobile terminal.
  • mobile terminals have more and more functions
  • mobile terminals are widely used in various scenarios in daily life.
  • the user can use the mobile terminal to chat in the social software, and the user can use the mobile terminal to edit the character information in the office software.
  • the character can be deleted from the end of the text until the cursor moves to the position where the error occurred, and the error is modified.
  • Characters, and re-enter the tail text In this way, after the user deletes the words, they need to input the characters one by one, and there are many steps to re-enter the tail text. It can be seen that the related art has a problem of cumbersome character deletion, insertion and modification in the character editing process.
  • an embodiment of the present disclosure provides a text editing method, including:
  • the text recovery window stores at least one text block to be recovered.
  • an embodiment of the present disclosure further provides a mobile terminal, including:
  • a first detecting module configured to detect a touch operation on the at least one text block displayed by the user in an operation area of the preset text recovery window
  • a pasting module configured to paste at least one character selected by the first touch operation into a current position of a cursor in a text editing area, if a preset first touch operation is detected;
  • the text recovery window stores at least one text block to be recovered.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor.
  • an embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the text editing method.
  • FIG. 1 is a flowchart of a text editing method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 3 is a second schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of an operation area provided by an embodiment of the present disclosure.
  • FIG. 5 is a second flowchart of a text editing method according to an embodiment of the present disclosure.
  • FIG. 6 is a third schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a fourth schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a fifth schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a sixth schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a text block of a grid alignment display according to an embodiment of the present disclosure.
  • FIG. 11 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a second structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 13 is a structural diagram of a cache module in a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 14 is a structural diagram of a determining submodule in a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 15 is a third structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 16 is a fifth structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 17 is a structural diagram of a first display module in a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 18 is a sixth structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 19 is a seventh structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 20 is a structural diagram of a second display module in a mobile terminal according to an embodiment of the present disclosure.
  • 21 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 22 is a ninth structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 23 is a structural diagram 10 of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 24 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a text editing method according to an embodiment of the present disclosure.
  • the text editing method may be applied to a mobile terminal. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 Detect a touch operation on at least one text block displayed by a user in an operation area of a preset text recovery window.
  • the text recovery window stores at least one text block to be recovered, and the text block includes at least one character, and the characters include numbers, characters, punctuation marks, and the like.
  • the text block to be recycled stored in the text recycling window is a text block deleted by the user through a cutting operation and/or a deletion operation, and the text information included in the text block deleted by the user has high re-use value for the user. In this way, by storing the text block to be recovered through the text recovery window, the user can provide the text block with higher re-use value, and improve the probability that the user selects the appropriate character from the text block.
  • the operation area can be displayed according to the touch operation received on the text recovery window displayed on the screen of the mobile terminal.
  • FIG. 2 is a schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • a text recovery window 201 and a text editing area 202 are displayed on the screen of the mobile terminal 200 shown in FIG. 2, and the screen of the mobile terminal shown in FIG. 2 is in a state where the operation area is not displayed. If the text recovery window 201 receives the preset Touch operation displays the operation area. It should be noted that the characters in the text block to be recovered may be characters corresponding to operations such as a delete operation and a cut operation. Character editing can be performed on the text editing area 202. If a touch operation is received on the text recovery window 201, the operation area is displayed.
  • FIG. 3 is a schematic diagram of the screen of the mobile terminal according to the embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of a screen formed by displaying an operation area on the basis of FIG. 2.
  • a text recovery window 201, a text editing area 202, and an operation area 203 are displayed.
  • the operation area 203 is further displayed with a text block 204, and the specific text content of the text block 204 is " That, I want to tell you.” Text editing can be performed in the text editing area 202.
  • FIG. 4 is a schematic diagram of an operation area provided by an embodiment of the present disclosure.
  • a first text block 401, a second text block 402, and a third text block 403 are displayed on the operation area 203, wherein the first text block 401 includes "whatever, anyway, I delete" multiple characters.
  • the second text block 402 includes "all, don't know, I lose" a plurality of characters
  • the third text block 403 includes "what is lost, I want to drop the ground” multiple characters
  • the creation time of the first text block 401 At the latest, the creation time of the third text block 403 is the earliest, and the creation time of the second text block 402 is between the creation time of the first text block 401 and the creation time of the third text block 403, according to the first text block 401
  • the order of creation time of the two text blocks 402 and the third text block 403 sequentially displays the first text block 401, the second text block 402, and the third text block 403 on the operation area 203.
  • the number of text blocks displayed in the operation area and the order of the arrangement may be set by the user, or may be a default setting.
  • the movement operation may be preset, when the mobile operation is received. , adjust the position of the operation area according to the movement operation.
  • the touch operation includes a click operation and a slide operation
  • the click operation includes a click operation, a double click operation, a multi-click operation, and the like.
  • Step 102 If a preset first touch operation is detected, at least one character selected by the first touch operation is pasted to a current position of the cursor in the text editing area.
  • the preset first touch operation may be a click operation and a slide operation
  • the click operation may be a click operation, a double click operation, and a multi-click operation.
  • the second touch operation includes a sliding operation that satisfies the first preset sliding direction and/or satisfies the first preset sliding trajectory and a click operation detected on the first preset character display area, for example, the second The touch operation may be a sliding operation to the right in the sliding direction, and the second touch operation may be a sliding operation in which the length of the sliding track exceeds 1 cm, and the second touch operation may be a character in a text block in the operation area.
  • the click, double-click, or multi-click operation received by the display area.
  • the at least one character selected by the first touch operation may be at least one character selected in a text block, or may be a character selected from a plurality of text blocks respectively.
  • the first touch operation may select at least one character in one of the first text block 401, the second text block 402, and the third text block 403 of the operation area 203 shown in FIG. 4, for example, The first touch operation selects two characters "what" from the first text block 401; the first touch operation may also be at least two of the first text block 401, the second text block 402, and the third text block 403.
  • At least one character is selected in each of the text blocks, for example, the first touch operation selects two characters “anyway” from the first text block 401, and selects the character “I” from the second text block 402, from the third In the text block 403, the two characters "I want to think” are selected.
  • the first touch operation selects the character "all” from the first text block 401, selects "don't know” three characters from the second text block 402, and from the third text block. In 403, if two characters are selected, the selected "don't know lost" character is pasted to the current position of the cursor in the text editing area.
  • the characters selected from one text block or more than two text blocks can be conveniently pasted to the current position of the cursor, and the user does not need to input characters one by one, thereby reducing the operation steps of the user to write characters and saving user time.
  • One method may be: after the operation area is displayed on the screen of the mobile terminal, if a preset touch operation is received on the text recovery window, the operation area is closed. For example, referring to FIG. 3, if the text recovery window 201 in FIG. 3 receives a preset touch operation, the operation area 203 is collapsed.
  • Another way may be: after the mobile terminal starts the input function and displays the operation area, if the input function is turned off, the operation area is put away. In this way, the user can conveniently close the operation area at any time, and after the operation area is put away, the screen of the mobile terminal can display other content, which is convenient for the user to perform other operations on the screen of the mobile terminal.
  • the mobile terminal may be any mobile terminal including a dual camera, such as a mobile phone, a tablet personal computer, a laptop computer, and a personal digital assistant (PDA). , Mobile Internet Device (MID) or Wearable Device.
  • a dual camera such as a mobile phone, a tablet personal computer, a laptop computer, and a personal digital assistant (PDA).
  • PDA personal digital assistant
  • MID Mobile Internet Device
  • Wearable Device any mobile terminal including a dual camera, such as a mobile phone, a tablet personal computer, a laptop computer, and a personal digital assistant (PDA).
  • MID Mobile Internet Device
  • Wearable Device MID
  • the text editing method of the embodiment of the present disclosure detects a touch operation on at least one text block displayed by the user in an operation area of the preset text recovery window; if a preset first touch operation is detected, the At least one character selected by the first touch operation is pasted to a current position of the cursor in the text editing area; wherein the text recovery window stores at least one text block to be recovered.
  • the corresponding character can be quickly selected from the text block and pasted to the current position of the cursor, and the user does not need to input characters one by one, which can simplify the problem of cumbersome character deletion, insertion and modification in the character editing process, thereby realizing the user to complete quickly and conveniently.
  • FIG. 5 is a flowchart of a text editing method according to an embodiment of the present disclosure, and the text editing method may be applied to a mobile terminal. As shown in Figure 5, the following steps are included:
  • Step 501 Detect a touch operation performed by the user on the first text content displayed in the text editing area.
  • FIG. 6 is a third schematic diagram of a screen of the mobile terminal according to an embodiment of the present disclosure.
  • the screen of the mobile terminal 200 displays a text recovery window 201 and a text editing area 202, which are displayed in the text editing area 202.
  • the text content is "Don't eat delicious beef in the cafeteria that day”
  • the touch operation on the text content "Go to the cafeteria to eat delicious beef” that is displayed in the text editing area 202 can be detected.
  • Step 502 If a preset second touch operation is detected, determine at least one character selected by the second touch operation as a target text block to be recovered.
  • the second touch operation includes a sliding operation that satisfies the second preset sliding direction and/or satisfies the second preset sliding trajectory and a click operation detected in the second preset character display area, for example,
  • the second touch operation may be a sliding operation to the left of the sliding direction, and the second touch operation may be a sliding operation in which the length of the sliding track exceeds 2 cm, and the second touch operation may be a text editing area.
  • the character in the display area receives a click operation, a double click operation, or a multi-click operation.
  • the text editing area is the text editing area 202 shown in FIG. 6, the second touch operation is detected on the plurality of characters of the "go to the cafeteria eating delicious beef" of the text content displayed in the text editing area 202. , then determine that "go to the cafeteria to eat delicious beef" multiple characters for the target text block to be recycled.
  • Step 503 Cache the target text block to a preset text recovery window.
  • FIG. 7 is a fourth schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • the screen of the mobile terminal 200 displays a text collection window 201, a text editing area 202, and a character sliding curve 205.
  • the target text block is "eat the delicious beef in the cafeteria”
  • the target text block "to eat the delicious beef in the cafeteria” is slid one by one according to the sliding track shown by the character sliding curve 205.
  • the target text "Go to the cafeteria to eat delicious beef” is cached in the text recovery window 201.
  • step 503 can include the following steps:
  • a text block needs to be created, creating a target text block based on the at least one character selected by the second touch operation, and buffering the target text block to a preset text recovery window;
  • the target text block is cached into a text block in which the time interval between the creation time and the current time is the smallest in the preset text recovery window.
  • step 502 For example, if it is determined in step 502 that the "go to the cafeteria has eaten the good beef" multiple characters are the target text block to be recovered, and it is judged that a target text block needs to be created, it is based on "going to the cafeteria.” Eat Beef" multiple characters create a target text block and cache the target text block including "go to the cafeteria to eat good beef” multiple characters to the preset text recovery window; if it is determined in step 502 "go The canteen eats delicious beef. After multiple characters are the target text block to be recycled, and it is judged that it is not necessary to create a text block, the characters of “Go to the canteen to eat delicious beef” are cached to the preset.
  • the text reclamation window creates a text block with the smallest time interval between the current time and the current time. In this way, the number of text blocks in the preset text recovery window can be reasonably controlled, and the storage space in the text block can be effectively utilized.
  • the determining whether a text block needs to be created includes:
  • the first preset condition includes at least one of the following:
  • the last touch operation of the second touch operation is a preset operation
  • the time interval between the last touch operation and the second touch operation of the second touch operation is greater than the first preset time length
  • the last touch operation is a touch operation with a minimum time interval between the operation time and the operation time of the second touch operation;
  • the preset operation includes: an operation area expansion operation, and a text recovery window startup. At least one of an operation, a text addition operation.
  • the last operation of the detected second touch operation is the operation area expansion operation and the text. Retrieving at least one of a startup operation and a text addition operation of the window, creating a text block; if the second touch operation is detected on the first text content displayed in the text editing area 202 shown in FIG. 6, and detecting The second touch operation creates a text block, wherein the first preset duration can be set to 5 seconds or 8 seconds, etc., when the time interval of the last touch operation is greater than the first preset duration.
  • the method further includes the step of: numbering the target text blocks according to the creation time of the target text block.
  • the currently created target text block is numbered as the fourth text block, and the number of characters of the target text block, the creation time, and the like can also be recorded. information.
  • the method further includes:
  • FIG. 8 is a fifth schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a screen obtained by adding characters in the text editing area 202 shown in FIG.
  • the virtual terminal 801, the cursor 802, and the text editing area 202 are displayed on the screen of the mobile terminal 200.
  • a text recovery window 201 is displayed in the first preset area of the virtual keyboard 801, and the cursor 802 is used to remind the user to input the position of the character. .
  • three characters of "Noon I" are input through the virtual keyboard 801, and the text content of the text editing area shown in FIG.
  • Step 504 Detect a touch operation on at least one text block displayed by the user in an operation area of the preset text recovery window.
  • This step 504 can include the following steps:
  • At least one character input by the user in the text editing area is displayed by a preset highlighting manner, and/or at least one of the first touch operation selections in the text editing area Characters are displayed in a preset highlighting mode.
  • FIG. 9 is a sixth schematic diagram of a screen of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a screen obtained by pasting a text block in the text editing area 202 shown in FIG.
  • the virtual keyboard 801, the text editing area 202, the operation area 203, the text block 204, and the sliding track 803 are displayed on the screen of the mobile terminal 200.
  • the first touch operation is to generate a sliding operation corresponding to the sliding track 803
  • At least one of the selected characters is "Go to the cafeteria to eat delicious beef" in the text block 204, then paste the "eat the delicious beef to the cafeteria” to the text editing area 202, and get “I go to the cafeteria at noon that day.”
  • the second text of "Beef”, in which the characters "Go to the canteen to eat delicious beef” can be displayed by a preset highlighting method such as bold or highlight. In this way, at least one word selected in the first touch operation is pasted in the text editing area, and the user does not need to input characters one by one, which can reduce the step of inputting characters by the user and improve the speed of generating the text content.
  • the method may further include the step of: displaying a text recovery window.
  • the step of displaying the text recovery window may include the following steps:
  • the virtual keyboard is displayed
  • a text recovery window is displayed in the first preset area of the virtual keyboard.
  • the screen of the mobile terminal changes accordingly.
  • the screen of the mobile terminal 200 is A virtual keyboard 801 and a text editing area 202 are displayed.
  • a text recovery window 201 is displayed in the first preset area of the virtual keyboard 801.
  • the mobile terminal 200 initiates an input method to input a plurality of characters "I am at noon that day" in the text editing area 202.
  • the text recovery window is displayed on the virtual keyboard, and the user can be reminded that the text recovery window can be used for text editing, and the user can quickly perform subsequent operations on the text recovery window.
  • the step of displaying the text recovery window may include the following steps: if receiving a text recovery function startup instruction input by the user, displaying a text recovery window in the second preset area of the current display interface.
  • any of the program interfaces may display the text recovery window.
  • the text recovery function may be displayed according to the received text recovery function of the user input, and the text recovery window may be displayed on the chat interface of the instant communication application.
  • the text recovery window is displayed on the office application interface according to the received text recovery function startup command input by the user.
  • a text recovery button may be displayed on the current display interface, and the touch command received by the text recovery button is used as a text recovery function activation command input by the user.
  • the user can actively input a text recovery function start instruction to the mobile terminal, display a text recovery window, and perform subsequent operations on the text recovery window, thereby improving the flexibility of displaying the text recovery window.
  • the method further includes the step of: eliminating the display of the text recovery window if it is detected that the input method function is turned off or a text recovery function close instruction input by the user is received.
  • the display of the text recycling window can be eliminated, the screen display space of the mobile terminal is saved, and other content is conveniently displayed on the screen of the mobile terminal.
  • step 504 after the step of displaying the text recovery window, before step 504, the following steps may be further included:
  • At least one text block is displayed in the operation area in the order of numbering.
  • the third touch operation includes a sliding operation that satisfies a third preset sliding direction and/or satisfies a third preset sliding trajectory and a click operation detected on a text recovery window, for example,
  • the third touch operation may be a sliding operation in which the sliding direction is upward
  • the second touch operation may be a sliding operation in which the length of the sliding track exceeds 1 cm
  • the third touch operation may be received on the text recovery window. Click an action, double-click, or multi-click.
  • text blocks 204 are displayed in the operation area 203 in the order of numbering, as shown in FIG. 4, displayed in the operation area 203 in the order of numbering.
  • At least one text block can be displayed in the operation area in the order of numbering, so that the user can select the corresponding character from the text block and quickly complete the character pasting operation.
  • At least one text block is displayed in the operation area, including:
  • the at least one text block is displayed in the operation area in the order of numbering.
  • the at least one text block that satisfies the second preset condition includes at least one of the following:
  • At least one block of text having a number of words greater than a predetermined threshold At least one block of text having a number of words greater than a predetermined threshold.
  • the second preset duration may be 1 minute or 2 minutes, etc.
  • the preset threshold may be 10 or 15 or the like, and is not limited herein.
  • the user can display at least one question block that is closer to the current time in the operation area according to requirements, or the user displays at least one text block with a large number of characters in the operation area according to requirements, and provides a plurality of manners for displaying the text block, which is satisfied. Different needs of users in the text editing process.
  • the displaying at least one text block includes:
  • At least one text block is displayed by a formatted display.
  • the formatted display mode only displays the content attribute corresponding to the character in the text block, and does not display the format attribute, so that the display effect of at least one text block of the operation area is better, which is convenient for the user to view.
  • the displaying the at least one text block by using the formatted display manner includes:
  • Each character in each text block corresponds to a grid.
  • FIG. 10 is a schematic diagram of a grid alignment display text block provided.
  • the text block 204 has 3 rows and 10 columns and a total of 30 grids, each grid. Display one character.
  • each character in each text block is respectively corresponding to a grid, which can facilitate the user to accurately select characters from the text block, reduce erroneous operations in the character selection process, and improve the correct rate of character selection.
  • step 504 the following steps may also be included:
  • the grid corresponding to each character selected by the first touch operation is set to be highlighted for a third preset duration.
  • the grid corresponding to the selected character is set to highlight the third preset duration, which can remind the user of the currently selected character and guide the user to select the correct character.
  • Step 505 If a preset first touch operation is detected, at least one character selected by the first touch operation is pasted to a current position of the cursor in the text editing area.
  • step 102 For the implementation process and the beneficial effects of this step, refer to the description of step 102, and details are not described herein again.
  • the text editing method of the embodiment of the present disclosure detects a touch operation on the first text content displayed by the user in the text editing area; and if the preset second touch operation is detected, the second touch operation is selected. At least one character is determined as a target text block to be recycled; the target text block is cached to a preset text recovery window; detecting a touch on at least one text block displayed by the user in an operation area of the preset text recovery window Controlling an operation; if a preset first touch operation is detected, pasting at least one character selected by the first touch operation to a current position of a cursor in a text editing area; wherein the text recovery window stores There is at least one block of text to be recycled.
  • At least one character selected by the second touch operation is cached as a target text block into the preset text recovery window, and displayed from the operation area in the preset text recovery window according to the first touch operation. At least one character is selected in the text block, and the selected at least one character is pasted to the current position of the cursor in the text editing area, and the text block can be effectively recovered. In the text editing process, the recovered text block is displayed, and the text block is quickly retrieved from the text block.
  • FIG. 11 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal 1100 includes a first detecting module 1101 and a pasting module 1102.
  • the first detecting module 1101 is connected to the pasting module 1102:
  • the first detecting module 1101 is configured to detect a touch operation on the at least one text block displayed by the user in an operation area of the preset text recovery window;
  • the pasting module 1102 is configured to paste at least one character selected by the first touch operation into a current position of the cursor in the text editing area, if the preset first touch operation is detected;
  • the text recovery window stores at least one text block to be recovered.
  • the mobile terminal 1100 further includes:
  • a second detecting module 1103, configured to detect a touch operation performed by the user on the first text content displayed in the text editing area
  • the determining module 1104 is configured to determine, according to the preset second touch operation, at least one character selected by the second touch operation as a target text block to be recovered;
  • the cache module 1105 is configured to cache the target text block to a preset text recovery window.
  • the cache module 1105 includes:
  • a determining sub-module 11051 configured to determine whether a text block needs to be created
  • a sub-module 11052 is configured to create a target text block based on at least one character selected by the second touch operation, and cache the target text block to a preset text recovery, if a text block needs to be created. window;
  • the buffer sub-module 11053 if it is not required to create a text block, caches the target text block into a text block in which the time interval between the creation time and the current time is the smallest in the preset text recovery window.
  • the determining submodule 11051 includes:
  • the detecting unit 110511 is configured to detect whether the second touch operation meets the first preset condition
  • the determining unit 110512 is configured to: if it is detected that the second touch operation meets the first preset condition, determine that a text block needs to be created;
  • the first preset condition includes at least one of the following:
  • the last touch operation of the second touch operation is a preset operation
  • the time interval between the last touch operation and the second touch operation of the second touch operation is greater than the first preset time length
  • the last touch operation is a touch operation with a minimum time interval between the operation time and the operation time of the second touch operation;
  • the preset operation includes: an operation area expansion operation, and a text recovery window startup. At least one of an operation, a text addition operation.
  • the mobile terminal 1100 further includes:
  • the numbering module 1106 is configured to number the target text blocks according to the creation time of the target text block.
  • the mobile terminal 1100 further includes:
  • the first display module 1107 is configured to display a text recovery window.
  • the first display module 1107 includes:
  • a detecting submodule 11071 configured to detect whether an input method function is called
  • the first display sub-module 11072 is configured to display a virtual keyboard if it is detected that the input method function is invoked;
  • the second display sub-module 11073 is configured to display a text recovery window in the first preset area of the virtual keyboard.
  • the first display module 1107 is further configured to display a text recovery window in a second preset area of the current display interface if receiving a text recovery function activation command input by the user.
  • the mobile terminal 1100 further includes:
  • the elimination module 1108 is configured to eliminate the display of the text recovery window if it detects that the input method function is turned off or receives a text recovery function close instruction input by the user.
  • the mobile terminal 1100 further includes:
  • the third detecting module 1109 is configured to detect a touch operation of the text recovery window by the user
  • the expansion module 11010 is configured to expand an operation area of the text recovery window if a preset third touch operation is detected;
  • the second display module 11011 is configured to display at least one text block in the operation area in the order of numbering.
  • the second display module 11011 includes:
  • Determining a sub-module 110111 configured to determine at least one text block that satisfies a second preset condition
  • the third display sub-module 110112 is configured to display the at least one text block in the operation area in the order of numbering.
  • the at least one text block that satisfies the second preset condition includes at least one of the following:
  • At least one block of text having a number of words greater than a predetermined threshold At least one block of text having a number of words greater than a predetermined threshold.
  • the second display module 11011 is further configured to display at least one text block by using a formatted display manner.
  • the second display module 11011 is further configured to display at least one text block by using a grid aligned display manner
  • Each character in each text block corresponds to a grid.
  • the mobile terminal 1100 further includes:
  • the setting module 11012 is configured to: when the preset first touch operation is detected, set a grid corresponding to each character in the first touch operation selection to be highlighted for a third preset duration.
  • the mobile terminal 1100 further includes:
  • the module 11013 is configured to: when receiving the stowage instruction of the operation area input by the user, retract the operation area of the text recovery window.
  • the mobile terminal 1100 further includes:
  • the obtaining module 11014 is configured to acquire at least one character input by the user;
  • An adding module 11015 configured to add at least one character input by the user to the text editing area
  • a moving module 11016 configured to move the cursor to the right side of the last added character
  • the pasting module 1102 is further configured to paste at least one character selected by the first touch operation into a current position of a cursor in a text editing area to generate a second text content;
  • At least one character input by the user in the text editing area is displayed by a preset highlighting manner, and/or at least one of the first touch operation selections in the text editing area Characters are displayed in a preset highlighting mode.
  • the mobile terminal 1100 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 1 and FIG. 5, and details are not described herein again.
  • the mobile terminal 1100 provided by the embodiment of the present invention can quickly select the corresponding character from the text block and paste it to the current position of the cursor.
  • the user does not need to input characters one by one, which can simplify the problem of cumbersome character deletion, insertion and modification in the character editing process. , enabling users to complete text editing quickly and easily.
  • FIG. 24 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure.
  • the mobile terminal 2400 includes, but is not limited to, a radio frequency unit 2401, a network module 2402, an audio output unit 2403, an input unit 2404, a sensor 2405, and a display unit. 2406, a user input unit 2407, an interface unit 2408, a memory 2409, a processor 2410, and a power source 2411.
  • the mobile terminal structure shown in FIG. 24 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the processor 2410 is configured to detect a touch operation on the at least one text block displayed by the user in the operation area of the preset text recovery window; if the preset first touch operation is detected, the first At least one character selected by a touch operation is pasted to a current position of the cursor in the text editing area; wherein the text recovery window stores at least one text block to be recycled.
  • the processor 2410 is further configured to: detect a touch operation performed by the user on the first text content displayed in the text editing area; and if the preset second touch operation is detected, the second touch At least one character selected in the control operation is determined as a target text block to be recovered; the target text block is cached to a preset text recovery window.
  • the performing, by the processor 2410, the buffering the target text block to a preset text recovery window comprising: determining whether a text block needs to be created; if the text block needs to be created, based on the second Touching at least one character selected in the operation, creating a target text block, and buffering the target text block to a preset text recovery window; if it is not required to create a text block, buffering the target text block to a pre- Set the text recovery window to create a text block with the smallest time interval between the current time and the current time.
  • the determining, by the processor 2410, whether a text block needs to be created includes: detecting whether the second touch operation meets a first preset condition; and detecting that the second touch operation meets the first a predetermined condition, the first touch condition includes at least one of the following: the last touch operation of the second touch operation is a preset operation; the second touch The time interval between the last touch operation and the second touch operation is greater than the first preset duration; wherein the last touch operation is the operation time and the operation time of the second touch operation One touch operation with a minimum interval; the preset operation includes at least one of an operation area expansion operation, a start operation of a text recovery window, and a text addition operation.
  • the processor 2410 is further configured to number the target text blocks according to a creation time of the target text block.
  • the processor 2410 is further configured to display a text recovery window.
  • the processor 2410 executes the display text recovery window, including: detecting whether an input method function is invoked; displaying a virtual keyboard if the input method function is detected; and displaying a first pre- Set the area to display the text recycling window.
  • the executing the display text recovery window by the processor 2410 includes: displaying a text recovery window in a second preset area of the current display interface if receiving a text recovery function activation instruction input by the user.
  • the processor 2410 is further configured to: if it detects that the input method function is turned off or receives a text recovery function close instruction input by the user, the display of the text recovery window is eliminated.
  • the processor 2410 is further configured to: detect a touch operation of the text recovery window by the user; if a preset third touch operation is detected, expand an operation area of the text recovery window; The order of the numbers in which at least one text block is displayed.
  • the processor 2410 performs the sequence of numbers, in the operation area, displaying at least one text block, including: determining at least one text block that satisfies a second preset condition; The operation area displays the at least one text block.
  • the at least one text block that meets the second preset condition includes at least one of the following: at least one text block whose creation time and current time interval are less than a second preset duration; and the number of words is greater than a preset threshold At least one block of text.
  • the processor 2410 performs the displaying the at least one text block, including: displaying at least one text block by using a formatted display manner.
  • the processor 2410 performs the formatted display manner to display at least one text block, including:
  • At least one text block is displayed by grid-aligned display mode; wherein each character in each text block corresponds to a grid.
  • the processor 2410 is further configured to: if a preset first touch operation is detected, set a grid corresponding to each character selected by the first touch operation to be highlighted. Three preset durations.
  • the processor 2410 is further configured to: when receiving the retracting instruction of the operation area input by the user, retract the operation area of the text recovery window.
  • the processor 2410 is further configured to: acquire at least one character input by the user; add at least one character input by the user to the text editing area; and move the cursor to the right of the last added character side;
  • the processor 2410 performs the process of pasting at least one character selected by the first touch operation to a current position of a cursor in a text editing area, including:
  • At least one character input by the user in the text editing area is displayed by a preset highlighting manner, and/or at least one of the first touch operation selections in the text editing area Characters are displayed in a preset highlighting mode.
  • the touch operation includes: a sliding operation and a click operation; wherein the click operation includes a click operation, a double click operation, and a multi-click operation.
  • the mobile terminal 2400 can implement various processes implemented by the mobile terminal in the foregoing embodiment. To avoid repetition, details are not described herein again.
  • the mobile terminal 2400 of the embodiment of the present invention can quickly select the corresponding character from the text block and paste it to the current position of the cursor.
  • the user does not need to input the characters one by one, which can simplify the problem of cumbersome character deletion, insertion and modification in the character editing process. This allows users to complete text editing quickly and easily.
  • the radio frequency unit 2401 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 2410; The uplink data is sent to the base station.
  • radio frequency unit 2401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 2401 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides the user with wireless broadband Internet access through the network module 2402, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 2403 may convert the audio data received by the radio frequency unit 2401 or the network module 2402 or stored in the memory 2409 into an audio signal and output as a sound. Moreover, the audio output unit 2403 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a particular function performed by the mobile terminal 2400.
  • the audio output unit 2403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 2404 is for receiving an audio or video signal.
  • the input unit 2404 may include a graphics processing unit (GPU) 24041 and a microphone 24042, and the graphics processor 24041 views an image of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on display unit 2406.
  • the image frames processed by the graphics processor 24041 may be stored in the memory 2409 (or other storage medium) or transmitted via the radio unit 2401 or the network module 2402.
  • the microphone 24042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 2401 in the case of a telephone call mode.
  • the mobile terminal 2400 also includes at least one type of sensor 2405, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 24061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 24061 when the mobile terminal 2400 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 2405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
  • the display unit 2406 is for displaying information input by the user or information provided to the user.
  • the display unit 2406 can include a display panel 24061.
  • the display panel 24061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 2407 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 2407 includes a touch panel 24071 and other input devices 24072.
  • the touch panel 24071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 24071 or near the touch panel 24071 Operation).
  • the touch panel 24071 can include two parts of a touch detection device and a touch controller.
  • the touch detection device detects a touch orientation of the user, detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the touch information into contact coordinates.
  • the processor 2410 is again sent to receive the command sent by the processor 2410 and executed.
  • the touch panel 24071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 2407 can also include other input devices 24072.
  • the other input devices 24072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, and are not described herein again.
  • the touch panel 24071 can be overlaid on the display panel 24061. After the touch panel 24071 detects a touch operation on or near the touch panel 24071, the touch panel 24071 is transmitted to the processor 2410 to determine the type of the touch event, and then the processor 2410 is The type of touch event provides a corresponding visual output on display panel 24061.
  • the touch panel 24071 and the display panel 24061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 24071 can be integrated with the display panel 24061. The input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 2408 is an interface in which an external device is connected to the mobile terminal 2400.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 2408 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 2400 or can be used at the mobile terminal 2400 and externally Data is transferred between devices.
  • Memory 2409 can be used to store software programs as well as various data.
  • the memory 2409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 2409 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 2410 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 2409, and recalling data stored in the memory 2409.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 2410 can include one or more processing units; optionally, the processor 2410 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 2410.
  • the mobile terminal 2400 may further include a power source 2411 (such as a battery) for supplying power to various components.
  • a power source 2411 such as a battery
  • the power source 2411 may be logically connected to the processor 2410 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 2400 includes some functional modules not shown, and details are not described herein again.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 2410, a memory 2409, a computer program stored on the memory 2409 and executable on the processor 2410, the computer program being executed by the processor 2410.
  • a mobile terminal including a processor 2410, a memory 2409, a computer program stored on the memory 2409 and executable on the processor 2410, the computer program being executed by the processor 2410.
  • the embodiment of the present disclosure further provides a computer readable storage medium.
  • the computer readable storage medium stores a computer program, where the computer program is executed by the processor to implement various processes of the text editing method embodiment, and can achieve the same technology. The effect, to avoid repetition, will not be repeated here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present disclosure, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开提供一种文本编辑方法及移动终端,该方法包括:检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;其中,所述文本回收窗中存储有至少一个待回收的文本块。

Description

文本编辑方法及移动终端
相关申请的交叉引用
本申请主张在2017年11月20日在中国提交的中国专利申请号No.201711169660.2的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种文本编辑方法及移动终端。
背景技术
随着移动终端具有的功能越来越多,移动终端在日常生活中的各种场景中得到广泛应用。例如,用户可以使用移动终端在社交软件中进行聊天,用户可以使用移动终端在办公软件对字符信息进行编辑等。相关技术中,若在移动终端输入的字符中出现错别字、多输入字符及遗漏字符、语句不通顺等错误时,可以从文本尾部开始删除字符,直到光标移动到发生错误的位置,修改发生错误的字符,并重新输入尾部文本,在这种方式中,用户删除字后,需要逐个输入字符,重新输入尾部文本的步骤多。可见,相关技术在字符编辑过程中存在字符删除、插入和修改操作繁琐的问题。
发明内容
第一方面,本公开实施例提供了一种文本编辑方法,包括:
检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;
若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;
其中,所述文本回收窗中存储有至少一个待回收的文本块。
第二方面,本公开实施例还提供一种移动终端,包括:
第一检测模块,用于检测用户在预设的文本回收窗的操作区域中显示的 至少一个文本块上的触控操作;
粘贴模块,用于若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;
其中,所述文本回收窗中存储有至少一个待回收的文本块。
第三方面,本公开实施例还提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述文本编辑方法的步骤。
第四方面,本公开实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述文本编辑方法的步骤。
附图说明
图1是本公开实施例提供的文本编辑方法的流程图之一;
图2是本公开实施例提供的移动终端的屏幕示意图之一;
图3是本公开实施例提供的移动终端的屏幕示意图之二;
图4是本公开实施例提供的操作区域的示意图之一;
图5是本公开实施例提供的文本编辑方法的流程图之二;
图6是本公开实施例提供的移动终端的屏幕示意图之三;
图7是本公开实施例提供的移动终端的屏幕示意图之四;
图8是本公开实施例提供的移动终端的屏幕示意图之五;
图9是本公开实施例提供的移动终端的屏幕示意图之六;
图10是本公开实施例提供的网格对齐显示的文本块的示意图;
图11是本公开实施例提供的移动终端的结构图之一;
图12是本公开实施例提供的移动终端的结构图之二;
图13是本公开实施例提供的移动终端中缓存模块的结构图;
图14是本公开实施例提供的移动终端中判断子模块的结构图;
图15是本公开实施例提供的移动终端的结构图之三;
图16是本公开实施例提供的移动终端的结构图之五;
图17是本公开实施例提供的移动终端中第一显示模块的结构图;
图18是本公开实施例提供的移动终端的结构图之六;
图19是本公开实施例提供的移动终端的结构图之七;
图20是本公开实施例提供的移动终端中第二显示模块的结构图;
图21是本公开实施例提供的移动终端的结构图之八;
图22是本公开实施例提供的移动终端的结构图之九;
图23是本公开实施例提供的移动终端的结构图之十;
图24是本公开实施例提供的移动终端的结构图之十一。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
参见图1,图1是本公开实施例提供的文本编辑方法的流程图,所述文本编辑方法可以应用于移动终端,如图1所示,包括以下步骤:
步骤101、检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作。
在本实施例中,所述文本回收窗中存储有至少一个待回收的文本块,文本块中包括至少一个字符,字符包括数字、文字、标点符号等。文本回收窗存储的待回收的文本块为被用户通过剪切操作和/或删除操作删除的文本块,被用户删除的文本块中包括的文字信息对用户来说,具有很高的重复使用价值,这样,通过文本回收窗存储待回收的文本块,可以向用户提供重复使用价值比较高的文本块,提高用户从文本块中选择到合适的字符的概率。该步骤101中,可以根据显示在移动终端屏幕的文本回收窗上接收到的触控操作显示操作区域。具体来说,可以参阅图2,图2是本公开实施例提供的移动终端的屏幕示意图之一。在图2所示的移动终端200的屏幕上显示有文本回收窗201及文本编辑区域202,图2所示的移动终端的屏幕处于未显示操作区域的状态若文本回收窗201接收到预设的触控操作,则显示操作区域。需要说明的是,待回收的文本块中的字符可以为删除操作及剪切操作等操作所 对应去除的字符。在文本编辑区域202上可以进行字符编辑。若文本回收窗201上接收到触控操作,则显示操作区域。
在文本回收窗201接收到预设的触控操作后,在移动终端200的屏幕上显示操作区域,具体的,可以参阅图3,图3是本公开实施例提供的移动终端的屏幕示意图之二,图3为在图2所示的基础上显示操作区域而形成的屏幕示意图。在图3所示的移动终端200的屏幕上显示有文本回收窗201、文本编辑区域202及操作区域203,所述操作区域203上还显示有文本块204,文本块204的具体文本内容为“那个,我想和你说。”。文本编辑区域202中可以进行文本编辑。
补充说明的是,在图3所示的操作区域203上仅仅示意性的显示一个文本块204,也可以在操作区域203上显示至少两个文本块。具体的,可以参阅图4,图4是本公开实施例提供的操作区域的示意图之一。在图4中,操作区域203上显示有第一文本块401、第二文本块402及第三文本块403,其中,第一文本块401包括“了什么,反正我都删掉”多个字符,第二文本块402包括“了了么,不知道我输”多个字符,第三文本块403包括“输了么,好想掉地了”多个字符,第一文本块401的创建时间最晚,第三文本块403的创建时间最早,第二文本块402的创建时间处于第一文本块401的创建时间及第三文本块403的创建时间之间,按照第一文本块401、第二文本块402及第三文本块403的创建时间的先后顺序,依次在所述操作区域203上显示第一文本块401、第二文本块402及第三文本块403。
进一步补充说明的是,在操作区域显示的文本块个数及排列顺序可以由用户自定义设置,也可以为默认设置,在此不做限制,还可以预设移动操作,当接收到移动操作时,根据移动操作调整操作区域的位置。举例来说,该步骤101中,若文本块为图3所示的文本块204,则检测在文本块204上的触控操作,若文本块包括图4所示的操作区域203上的第一文本块401、第二文本块402及第三文本块403,则检测第一文本块401、第二文本块402及第三文本块403中至少一个文本块上的触控操作。在本实施例中,所述触控操作包括点击操作和滑动操作,点击操作包括单击操作、双击操作、多击操作等。
步骤102、若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置。
在本实施例中,预设的第一触控操作可以为点击操作及滑动操作,所述点击操作可以为单击操作、双击操作及多击操作。所述第二触控操作包括满足第一预设滑动方向和/或满足第一预设滑动轨迹的滑动操作及在第一预设字符显示区域上检测到的点击操作,例如,所述第二触控操作可为滑动方向向右的滑动操作,所述第二触控操作可为滑动轨迹的长度超过1厘米的滑动操作,所述第二触控操作可为操作区域中文本块中的字符显示区域接收到的单击操作、双击操作或多击操作。
所述第一触控操作所选中的至少一个字符可以为一个文本块中选中的至少一个字符,也可以为从多个文本块中分别选中的字符。举例来说,第一触控操作可以在图4所示的操作区域203的第一文本块401、第二文本块402及第三文本块403中的一个文本块中选择至少一个字符,例如,第一触控操作从第一文本块401中选中“什么”这两个字符;第一触控操作也可以在第一文本块401、第二文本块402及第三文本块403中的至少两个文本块中分别选中至少一个字符,例如,第一触控操作从第一文本块401中选择“反正”这两个字符,从第二文本块402中选择“我”这个字符,从第三文本块403中选择“好想”这两个字符。
具体来说,可以参阅图3,若第一触控操作所选中的至少一个字符为图3所示的文本块204中的“我想”三个字符,则将选中的“去食堂”三个字符粘贴至光标的当前位置,文本编辑区域202显示“我想”两个字符。进一步的,还可以参阅图4,若第一触控操作从第一文本块401中选择“都”这个字符,从第二文本块402中选择“不知道”三个字符,从第三文本块403中选择“输了”两个字符,则将选中的“都不知道输了”的字符粘贴至文本编辑区域的光标的当前位置。
这样,可以便捷地将从一个文本块中或两个以上文本块中选择的字符粘贴至光标的当前位置,用户无需逐个输入字符,减少用户编写字符的操作步骤,节约用户时间。
补充说明的是,有多种方式可以收起操作区域。一种方式可以为:在移 动终端的屏幕上显示操作区域后,若在文本回收窗上接收到预设的触控操作,则收起操作区域。举例来说,可以参阅图3,若图3中的文本回收窗201接收预设的触控操作,则收起操作区域203。另一种方式可以为:在移动终端启动输入功能、且显示操作区域后,若关闭输入功能,则收起操作区域。这样,可以方便用户随时收起操作区域,收起操作区域后,移动终端的屏幕可以显示其他内容,方便用户在移动终端的屏幕进行其他操作。
本公开实施例中,上述移动终端可以为任何包括双摄像头的移动终端,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。
本公开实施例的文本编辑方法,检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;其中,所述文本回收窗中存储有至少一个待回收的文本块。这样,能够快速从文本块中选择相应的字符粘贴至光标的当前位置,用户无需逐个输入字符,能够简化字符编辑过程中的字符删除、插入和修改操作繁琐的问题,从而实现用户快速便捷地完成文本编辑。
参见图5,图5是本公开实施例提供的文本编辑方法的流程图,所述文本编辑方法可以应用于移动终端。如图5所示,包括以下步骤:
步骤501、检测用户在文本编辑区域显示的第一文本内容上的触控操作。
在本实施例中,所述触控操作可以为点击操作及滑动操作,所述点击操作包括单击操作、双击操作、多击操作。请参阅图6,图6为本公开实施例提供的移动终端的屏幕示意图之三,如图所示,移动终端200的屏幕显示有文本回收窗201及文本编辑区域202,在文本编辑区域202显示的文本内容为“那天去食堂吃了好吃的牛肉”,则可以检测在文本编辑区域202显示的文本内容“那天去食堂吃了好吃的牛肉”上的触控操作。
步骤502、若检测到预设的第二触控操作,则将所述第二触控操作所选中的至少一个字符确定为待回收的目标文本块。
在本实施例中,所述第二触控操作包括满足第二预设滑动方向和/或满足 第二预设滑动轨迹的滑动操作及在第二预设字符显示区域检测到的点击操作,例如,所述第二触控操作可为滑动方向向左的滑动操作,所述第二触控操作可为滑动轨迹的长度超过2厘米的滑动操作,所述第二触控操作可为文本编辑区域中的字符显示区域接收到的单击操作、双击操作或多击操作。
举例来说,若文本编辑区域为图6所示的文本编辑区域202,在文本编辑区域202显示的文本内容的“去食堂吃了好吃的牛肉”多个字符上检测到第二触控操作,则确定“去食堂吃了好吃的牛肉”多个字符为待回收的目标文本块。
步骤503、将所述目标文本块缓存至预设的文本回收窗。
请参阅图7,图7是本公开实施例提供的移动终端的屏幕示意图之四。如图7所示,移动终端200的屏幕显示有文本回收窗201、文本编辑区域202及字符滑动曲线205。在本实施例中,若目标文本块为“去食堂吃了好吃的牛肉”,则将目标文本块“去食堂吃了好吃的牛肉”按照字符滑动曲线205所示的滑动轨迹,逐个滑动到文本回收窗201,将目标文本“去食堂吃了好吃的牛肉”缓存至文本回收窗201中。
可选的,步骤503可以包括以下步骤:
判断是否需要创建一个文本块;
若需要创建一个文本块,则基于所述第二触控操作所选中的至少一个字符,创建一个目标文本块,并将所述目标文本块缓存至预设的文本回收窗;
若不需要创建一个文本块,则将所述目标文本块缓存至预设的文本回收窗中创建时间与当前时刻的时间间隔最小的文本块中。
举例来说,若在步骤502中确定“去食堂吃了好吃的牛肉”多个字符为待回收的目标文本块后,且判断出需要创建一个目标文本块,则基于“去食堂吃了好吃的牛肉”多个字符创建一个目标文本块,并将包括“去食堂吃了好吃的牛肉”多个字符的目标文本块缓存至预设的文本回收窗;若在步骤502中确定“去食堂吃了好吃的牛肉”多个字符为待回收的目标文本块后,且判断出不需要创建一个文本块,则将“去食堂吃了好吃的牛肉”多个字符缓存至预设的文本回收窗中创建时间与当前时刻的时间间隔最小的文本块中。这样,可以合理控制预设的文本回收窗中的文本块的数量,有效利用文本块中 的存储空间。
可选的,所述判断是否需要创建一个文本块,包括:
检测所述第二触控操作是否满足第一预设条件;
若检测到所述第二触控操作满足第一预设条件,则确定需要创建一个文本块;
所述第一预设条件包括以下至少一项:
所述第二触控操作的上一次触控操作为预设操作;
所述第二触控操作的上一次触控操作与所述第二触控操作的时间间隔大于第一预设时长;
其中,所述上一次触控操作为操作时间与所述第二触控操作的操作时间的时间间隔最小的一次触控操作;所述预设操作包括:操作区域展开操作、文本回收窗的启动操作、文本添加操作中的至少一项。
举例来说,若在图6所示的文本编辑区域202显示的第一文本内容上检测到第二触控操作,且检测到的第二触控操作的上一次操作为操作区域展开操作、文本回收窗的启动操作、文本添加操作中的至少一项,则创建一个文本块;若在图6所示的文本编辑区域202显示的第一文本内容上检测到第二触控操作,且检测到的第二触控操作距离上一次触控操作的时间间隔大于第一预设时长,则创建一个文本块,其中,第一预设时长可设为5秒或者8秒等。
这样,在对文本编辑区域的文本内容进行编辑的过程中,可创建多个文本块,可以合理控制每个文本块中的字符个数,方便文本块在操作区域中进行显示,用户也可以在显示的文本块中快速查找到需要选中的字符。
可选的,该步骤503之后,还可以包括以下步骤:按照所述目标文本块的创建时间,对所述目标文本块进行编号。
举例来说,若创建目标文本块之前,文本块已经编号到第三文本块,则将当前创建的目标文本块编号为第四文本块,还可以记录目标文本块的字符个数、创建时间等信息。
这样,对所有创建的文本块进行编号后,可以根据文本块编号便捷地查找到相应的文本块。
可选的,在步骤503之后,还包括:
获取用户输入的至少一个字符;
将所述用户输入的至少一个字符添加至所述文本编辑区域中;
将光标移动至最后一个添加的字符的右侧。
举例来说,请参阅图8,图8是本公开实施例提供的移动终端的屏幕示意图之五,图8是在图7所示文本编辑区域202中添加字符后得到的屏幕示意图,如图8所示,移动终端200的屏幕上显示有虚拟键盘801、光标802及文本编辑区域202,在虚拟键盘801的第一预设区域显示有文本回收窗201,光标802用于提醒用户输入字符的位置。在图7所示的文本编辑区域202通过虚拟键盘801输入添加“中午我”三个字符,得到图8所示的文本编辑区域的文本内容“那天中午我”,其中,“中午我”三个字符可以通过加粗或高亮等预设的突出显示方式进行显示。这样,可以方便用户在文本编辑区域添加字符,提高用户添加字符的速度。
步骤504、检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作。
该步骤504可以包括以下步骤:
将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,生成第二文本内容;
其中,所述文本编辑区域中的所述用户输入的至少一个字符通过预设的突出显示方式进行显示,和/或,所述文本编辑区域中的所述第一触控操作所选中的至少一个字符通过预设的突出显示方式进行显示。
举例来说,请参阅图9,图9是本公开实施例提供的移动终端的屏幕示意图之六,图9是在图8所示文本编辑区域202中粘贴文本块后得到的屏幕示意图,如图9所示,移动终端200的屏幕上显示有虚拟键盘801、文本编辑区域202、操作区域203、文本块204及滑动轨迹803,若第一触控操作为产生滑动轨迹803对应的滑动操作,则所选中的至少一个字符为文本块204中的“去食堂吃了好吃的牛肉”,则将“去食堂吃了好吃的牛肉”粘贴至文本编辑区域202,得到“那天中午我去食堂吃牛肉”的第二文本内容,其中,“去食堂吃了好吃的牛肉”这几个字符进可以通过加粗或高亮等预设的突出显示 方式进行显示。这样,在文本编辑区域中粘贴第一触控操作所选中的至少一个字,不需要用户逐个输入字符,可以减少用户输入字符的步骤,提高生成文本内容的速度。
可选的,该步骤504之前,还可以包括以下步骤:显示文本回收窗。
可选的,所述显示文本回收窗的步骤可以包括以下步骤:
检测输入法功能是否被调用;
若检测到输入法功能被调用,则显示虚拟键盘;
在所述虚拟键盘的第一预设区域,显示文本回收窗。
在本实施例中,在检测到输入法功能被调用后,移动终端的屏幕相应发生变化,举例来说,可以再次参阅图8,在检测到输入法功能被调用后,移动终端200的屏幕上显示有虚拟键盘801及文本编辑区域202,在虚拟键盘801的第一预设区域显示有文本回收窗201,移动终端200启动输入法在文本编辑区域202中输入“那天中午我”多个字符。这样,在虚拟键盘上显示文本回收窗,可以提醒用户当前可以使用文本回收窗进行文本编辑,用户可以快速对文本回收窗进行后续操作。
可选的,所述显示文本回收窗的步骤,可以包括以下步骤:若接收到用户输入的文本回收功能启动指令,则在当前显示界面的第二预设区域,显示文本回收窗。
在本实施例中,任一程序界面均可显示所述文本回收窗,例如,可以根据接收到的用户输入的文本回收功能启动指令,在及时通讯应用的聊天界面上显示文本回收窗,也可以根据接收到的用户输入的文本回收功能启动指令,在办公应用界面上显示文本回收窗。
在本实施例中,可以在当前显示界面上显示文本回收按钮,将文本回收按钮接收的触控指令作为用户输入的文本回收功能启动指令。这样,用户在需要进行文本编辑时,可以主动对移动终端输入文本回收功能启动指令,显示文本回收窗,对文本回收窗进行后续操作,可以提高显示文本回收窗的灵活性。
可选的,在所述显示文本回收框之后,还可以包括以下步骤:若检测到输入法功能被关闭或者接收到用户输入的文本回收功能关闭指令,则消除所 述文本回收窗的显示。
这样,当用户完成文本编辑或者不需要使用文本回收窗时,可以消除文本回收窗的显示,节约移动终端的屏幕显示空间,便于在移动终端的屏幕上显示其他内容。
可选的,在所述显示文本回收窗的步骤之后,在步骤504之前,还可以包括以下步骤:
检测用户对所述文本回收窗的触控操作;
若检测到预设的第三触控操作,则展开所述文本回收窗的操作区域;
按照编号的顺序,在所述操作区域,显示至少一个文本块。
在本实施例中,所述第三触控操作包括满足第三预设滑动方向和/或满足第三预设滑动轨迹的滑动操作及在文本回收窗上检测到的点击操作,例如,所述第三触控操作可为滑动方向向上的滑动操作,所述第二触控操作可为滑动轨迹的长度超过1厘米的滑动操作,所述第三触控操作可为文本回收窗上接收到的单击操作、双击操作或多击操作。
具体来说,可以再次参阅图3-4,如图3所示,按照编号的顺序,在操作区域203中显示文本块204,如图4所示,按照编号的顺序,在操作区域203中显示第一文本块401、第二文本块402及第三文本块403。
这样,可以按照编号的顺序,在操作区域显示至少一个文本块,方便用户从文本块中选择相应的字符,快速完成字符粘贴操作。
可选的,所述按照编号的顺序,在所述操作区域,显示至少一个文本块,包括:
确定满足第二预设条件的至少一个文本块;
按照编号的顺序,在所述操作区域,显示所述至少一个文本块。
可选的,所述满足第二预设条件的至少一个文本块,包括以下至少一项:
创建时间与当前时刻的时间间隔小于第二预设时长的至少一个文本块;
字数大于预设阈值的至少一个文本块。
在本实施例中,第二预设时长可以为1分钟或2分钟等,预设阈值可以为10或则15等,在此不做限制。
这样,用户可以根据需求在操作区域显示距离当前时间比较近的至少一 个问板块,或者用户根据需求在操作区域显示字符个数较多的至少一个文本块,提供多种显示文本块的方式,满足用户在文本编辑过程中的不同需求。
可选的,所述显示至少一个文本块,包括:
通过格式化的显示方式,显示至少一个文本块。
在本实施例中,格式化的显示方式只显示文本块中字符对应的内容属性,不显示格式属性,这样,可以使得操作区域的至少一个文本块的显示效果比较好,方便用户查看。
可选的,所述通过格式化的显示方式,显示至少一个文本块,包括:
通过网格对齐的显示方式,显示至少一个文本块;
其中,每个文本块中的每个字符分别对应一个网格。
举例来说,可以参阅图10,图10所示为提供的网格对齐显示文本块的示意图,如图10所示,文本块204具有3行10列共30个网格,每个网格中显示一个字符。
这样,将每个文本块中的每个字符分别对应一个网格,可以便于用户从文本块中准确地选择字符,减少字符选择过程中的误操作,提高字符选择的正确率。
在本实施例中,在步骤504之后,还可以包括以下步骤:
若检测到预设的第一触控操作,则将所述第一触控操作所选中的每个字符对应的网格置为高亮显示第三预设时长。
这样,将选中的字符对应的网格置为高亮显示第三预设时长,可以提醒用户当前选中的字符,引导用户选择正确的字符。
步骤505、若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置。
此步骤的实现过程和有益效果可以参见步骤102的描述,此处不再赘述。
本公开实施例的文本编辑方法,检测用户在文本编辑区域显示的第一文本内容上的触控操作;若检测到预设的第二触控操作,则将所述第二触控操作所选中的至少一个字符确定为待回收的目标文本块;将所述目标文本块缓存至预设的文本回收窗;检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;若检测到预设的第一触控操作,则将所述第 一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;其中,所述文本回收窗中存储有至少一个待回收的文本块。这样,通过将第二触控操作所选中的至少一个字符作为目标文本块缓存至预设的文本回收窗中,并根据第一触控操作从预设的文本回收窗中的操作区域中显示的文本块中选中至少一个字符,将选中的至少一个字符粘贴文本编辑区域中光标的当前位置,能够有效地对文本块进行回收,在文本编辑过程中,显示回收的文本块,快速从文本块中选择相应的字符粘贴至光标的当前位置,用户无需逐个输入字符,能够简化字符编辑过程中的字符删除、插入和修改操作繁琐的问题,从而实现用户快速便捷地完成文本编辑,提高文本编辑速度。
参见图11,图11是本公开实施例提供的移动终端的结构图,如图11所示,移动终端1100包括第一检测模块1101及粘贴模块1102,第一检测模块1101与粘贴模块1102连接:
第一检测模块1101,用于检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;
粘贴模块1102,用于若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;
其中,所述文本回收窗中存储有至少一个待回收的文本块。可选的,如图12所示,移动终端1100还包括:
第二检测模块1103,用于检测用户在文本编辑区域显示的第一文本内容上的触控操作;
确定模块1104,用于若检测到预设的第二触控操作,则将所述第二触控操作所选中的至少一个字符确定为待回收的目标文本块;
缓存模块1105,用于将所述目标文本块缓存至预设的文本回收窗。
可选的,如图13所示,所述缓存模块1105包括:
判断子模块11051,用于判断是否需要创建一个文本块;
创建子模块11052,用于若需要创建一个文本块,则基于所述第二触控操作所选中的至少一个字符,创建一个目标文本块,并将所述目标文本块缓存至预设的文本回收窗;
缓存子模块11053,若不需要创建一个文本块,则将所述目标文本块缓 存至预设的文本回收窗中创建时间与当前时刻的时间间隔最小的文本块中。
可选的,如图14所示,所述判断子模块11051包括:
检测单元110511,用于检测所述第二触控操作是否满足第一预设条件;
确定单元110512,用于若检测到所述第二触控操作满足第一预设条件,则确定需要创建一个文本块;
所述第一预设条件包括以下至少一项:
所述第二触控操作的上一次触控操作为预设操作;
所述第二触控操作的上一次触控操作与所述第二触控操作的时间间隔大于第一预设时长;
其中,所述上一次触控操作为操作时间与所述第二触控操作的操作时间的时间间隔最小的一次触控操作;所述预设操作包括:操作区域展开操作、文本回收窗的启动操作、文本添加操作中的至少一项。可选的,如图15所示,所述移动终端1100还包括:
编号模块1106,用于按照所述目标文本块的创建时间,对所述目标文本块进行编号。
可选的,如图16所示,所述移动终端1100还包括:
第一显示模块1107,用于显示文本回收窗。
可选的,如图17所示,所述第一显示模块1107包括:
检测子模块11071,用于检测输入法功能是否被调用;
第一显示子模块11072,用于若检测到输入法功能被调用,则显示虚拟键盘;
第二显示子模块11073,用于在所述虚拟键盘的第一预设区域,显示文本回收窗。可选的,所述第一显示模块1107,还用于若接收到用户输入的文本回收功能启动指令,则在当前显示界面的第二预设区域,显示文本回收窗。
可选的,如图18所示,所述移动终端1100还包括:
消除模块1108,用于若检测到输入法功能被关闭或者接收到用户输入的文本回收功能关闭指令,则消除所述文本回收窗的显示。
可选的,如图19所示,所述移动终端1100还包括:
第三检测模块1109,用于检测用户对所述文本回收窗的触控操作;
展开模块11010,用于若检测到预设的第三触控操作,则展开所述文本回收窗的操作区域;
第二显示模块11011,用于按照编号的顺序,在所述操作区域,显示至少一个文本块。
可选的,如图20所示,所述第二显示模块11011包括:
确定子模块110111,用于确定满足第二预设条件的至少一个文本块;
第三显示子模块110112,用于按照编号的顺序,在所述操作区域,显示所述至少一个文本块。
可选的,所述满足第二预设条件的至少一个文本块,包括以下至少一项:
创建时间与当前时刻的时间间隔小于第二预设时长的至少一个文本块;
字数大于预设阈值的至少一个文本块。
可选的,所述第二显示模块11011,还用于通过格式化的显示方式,显示至少一个文本块。
可选的,所述第二显示模块11011,还用于通过网格对齐的显示方式,显示至少一个文本块;
其中,每个文本块中的每个字符分别对应一个网格。
可选的,如图21所示,所述移动终端1100还包括:
设置模块11012,用于若检测到预设的第一触控操作,则将所述第一触控操作所选中的每个字符对应的网格置为高亮显示第三预设时长。
可选的,如图22所示,所述移动终端1100还包括:
收起模块11013,用于若接收到用户输入的操作区域的收起指令,则收起所述文本回收窗的操作区域。
可选的,如图23所示,所述移动终端1100还包括:
获取模块11014,用于获取用户输入的至少一个字符;
添加模块11015,用于将所述用户输入的至少一个字符添加至所述文本编辑区域中;
移动模块11016,用于将光标移动至最后一个添加的字符的右侧;
所述粘贴模块1102,还用于将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,生成第二文本内容;
其中,所述文本编辑区域中的所述用户输入的至少一个字符通过预设的突出显示方式进行显示,和/或,所述文本编辑区域中的所述第一触控操作所选中的至少一个字符通过预设的突出显示方式进行显示。
移动终端1100能够实现图1及图5的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。
本公开实施例提供的移动终端1100,能够快速从文本块中选择相应的字符粘贴至光标的当前位置,用户无需逐个输入字符,能够简化字符编辑过程中的字符删除、插入和修改操作繁琐的问题,从而实现用户快速便捷地完成文本编辑。
图24为实现本公开各个实施例的一种移动终端的硬件结构示意图,该移动终端2400包括但不限于:射频单元2401、网络模块2402、音频输出单元2403、输入单元2404、传感器2405、显示单元2406、用户输入单元2407、接口单元2408、存储器2409、处理器2410、以及电源2411等部件。本领域技术人员可以理解,图24中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器2410用于,检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;其中,所述文本回收窗中存储有至少一个待回收的文本块。
可选的,所述处理器2410还用于,检测用户在文本编辑区域显示的第一文本内容上的触控操作;若检测到预设的第二触控操作,则将所述第二触控操作所选中的至少一个字符确定为待回收的目标文本块;将所述目标文本块缓存至预设的文本回收窗。
可选的,所述处理器2410执行所述将所述目标文本块缓存至预设的文本回收窗,包括:判断是否需要创建一个文本块;若需要创建一个文本块,则基于所述第二触控操作所选中的至少一个字符,创建一个目标文本块,并将所述目标文本块缓存至预设的文本回收窗;若不需要创建一个文本块,则将 所述目标文本块缓存至预设的文本回收窗中创建时间与当前时刻的时间间隔最小的文本块中。
可选的,所述处理器2410执行所述判断是否需要创建一个文本块,包括:检测所述第二触控操作是否满足第一预设条件;若检测到所述第二触控操作满足第一预设条件,则确定需要创建一个文本块;所述第一预设条件包括以下至少一项:所述第二触控操作的上一次触控操作为预设操作;所述第二触控操作的上一次触控操作与所述第二触控操作的时间间隔大于第一预设时长;其中,所述上一次触控操作为操作时间与所述第二触控操作的操作时间的时间间隔最小的一次触控操作;所述预设操作包括:操作区域展开操作、文本回收窗的启动操作、文本添加操作中的至少一项。
可选的,所述处理器2410还用于,按照所述目标文本块的创建时间,对所述目标文本块进行编号。
可选的,所述处理器2410还用于,显示文本回收窗。可选的,所述处理器2410执行所述显示文本回收窗,包括:检测输入法功能是否被调用;若检测到输入法功能被调用,则显示虚拟键盘;在所述虚拟键盘的第一预设区域,显示文本回收窗。
可选的,所述处理器2410执行所述显示文本回收窗,包括:若接收到用户输入的文本回收功能启动指令,则在当前显示界面的第二预设区域,显示文本回收窗。
可选的,所述处理器2410还用于,若检测到输入法功能被关闭或者接收到用户输入的文本回收功能关闭指令,则消除所述文本回收窗的显示。
可选的,所述处理器2410还用于,检测用户对所述文本回收窗的触控操作;若检测到预设的第三触控操作,则展开所述文本回收窗的操作区域;按照编号的顺序,在所述操作区域,显示至少一个文本块。
可选的,所述处理器2410执行所述按照编号的顺序,在所述操作区域,显示至少一个文本块,包括:确定满足第二预设条件的至少一个文本块;按照编号的顺序,在所述操作区域,显示所述至少一个文本块。
可选的,所述满足第二预设条件的至少一个文本块,包括以下至少一项:创建时间与当前时刻的时间间隔小于第二预设时长的至少一个文本块;字数 大于预设阈值的至少一个文本块。
可选的,所述处理器2410执行所述显示至少一个文本块,包括:通过格式化的显示方式,显示至少一个文本块。
可选的,所述处理器2410执行所述通过格式化的显示方式,显示至少一个文本块,包括:
通过网格对齐的显示方式,显示至少一个文本块;其中,每个文本块中的每个字符分别对应一个网格。
可选的,所述处理器2410还用于,若检测到预设的第一触控操作,则将所述第一触控操作所选中的每个字符对应的网格置为高亮显示第三预设时长。
可选的,所述处理器2410还用于,若接收到用户输入的操作区域的收起指令,则收起所述文本回收窗的操作区域。
可选的,所述处理器2410还用于,获取用户输入的至少一个字符;将所述用户输入的至少一个字符添加至所述文本编辑区域中;将光标移动至最后一个添加的字符的右侧;
所述处理器2410执行所述将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,包括:
将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,生成第二文本内容;
其中,所述文本编辑区域中的所述用户输入的至少一个字符通过预设的突出显示方式进行显示,和/或,所述文本编辑区域中的所述第一触控操作所选中的至少一个字符通过预设的突出显示方式进行显示。
可选的,所述触控操作包括:滑动操作和点击操作;其中,所述点击操作包括单击操作、双击操作和多击操作。
移动终端2400能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。
本公开实施例的移动终端2400,能够快速从文本块中选择相应的字符粘贴至光标的当前位置,用户无需逐个输入字符,能够简化字符编辑过程中的字符删除、插入和修改操作繁琐的问题,从而实现用户快速便捷地完成文本编辑。
应理解的是,本公开实施例中,射频单元2401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器2410处理;另外,将上行的数据发送给基站。通常,射频单元2401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元2401还可以通过无线通信系统与网络和其他设备通信。
移动终端通过网络模块2402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元2403可以将射频单元2401或网络模块2402接收的或者在存储器2409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元2403还可以提供与移动终端2400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元2403包括扬声器、蜂鸣器以及受话器等。
输入单元2404用于接收音频或视频信号。输入单元2404可以包括图形处理器(Graphics Processing Unit,GPU)24041和麦克风24042,图形处理器24041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元2406上。经图形处理器24041处理后的图像帧可以存储在存储器2409(或其它存储介质)中或者经由射频单元2401或网络模块2402进行发送。麦克风24042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元2401发送到移动通信基站的格式输出。
移动终端2400还包括至少一种传感器2405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板24061的亮度,接近传感器可在移动终端2400移动到耳边时,关闭显示面板24061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器2405还可以包括指纹传感器、压力传感器、虹膜 传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元2406用于显示由用户输入的信息或提供给用户的信息。显示单元2406可包括显示面板24061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板24061。
用户输入单元2407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元2407包括触控面板24071以及其他输入设备24072。触控面板24071,也称为触摸屏,可收集用户在其上或附近的触控操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板24071上或在触控面板24071附近的操作)。触控面板24071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触控操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器2410,接收处理器2410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板24071。除了触控面板24071,用户输入单元2407还可以包括其他输入设备24072。具体地,其他输入设备24072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板24071可覆盖在显示面板24061上,当触控面板24071检测到在其上或附近的触控操作后,传送给处理器2410以确定触摸事件的类型,随后处理器2410根据触摸事件的类型在显示面板24061上提供相应的视觉输出。虽然在图24中,触控面板24071与显示面板24061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板24071与显示面板24061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元2408为外部装置与移动终端2400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频 输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元2408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端2400内的一个或多个元件或者可以用于在移动终端2400和外部装置之间传输数据。
存储器2409可用于存储软件程序以及各种数据。存储器2409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器2409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器2410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器2409内的软件程序和/或模块,以及调用存储在存储器2409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器2410可包括一个或多个处理单元;可选的,处理器2410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2410中。
移动终端2400还可以包括给各个部件供电的电源2411(比如电池),可选的,电源2411可以通过电源管理系统与处理器2410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,移动终端2400包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种移动终端,包括处理器2410,存储器2409,存储在存储器2409上并可在所述处理器2410上运行的计算机程序,该计算机程序被处理器2410执行时实现上述文本编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述文本编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。 其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (38)

  1. 一种文本编辑方法,包括:
    检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;
    若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;
    其中,所述文本回收窗中存储有至少一个待回收的文本块。
  2. 根据权利要求1所述的方法,还包括:所述检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作之前,
    检测用户在文本编辑区域显示的第一文本内容上的触控操作;
    若检测到预设的第二触控操作,则将所述第二触控操作所选中的至少一个字符确定为待回收的目标文本块;
    将所述目标文本块缓存至预设的文本回收窗。
  3. 根据权利要求2所述的方法,其中,所述将所述目标文本块缓存至预设的文本回收窗,包括:
    判断是否需要创建一个文本块;
    若需要创建一个文本块,则基于所述第二触控操作所选中的至少一个字符,创建一个目标文本块,并将所述目标文本块缓存至预设的文本回收窗;
    若不需要创建一个文本块,则将所述目标文本块缓存至预设的文本回收窗中创建时间与当前时刻的时间间隔最小的文本块中。
  4. 根据权利要求3所述的方法,其中,所述判断是否需要创建一个文本块,包括:
    检测所述第二触控操作是否满足第一预设条件;
    若检测到所述第二触控操作满足第一预设条件,则确定需要创建一个文本块;
    所述第一预设条件包括以下至少一项:
    所述第二触控操作的上一次触控操作为预设操作;
    所述第二触控操作的上一次触控操作与所述第二触控操作的时间间隔大 于第一预设时长;
    其中,所述上一次触控操作为操作时间与所述第二触控操作的操作时间的时间间隔最小的一次触控操作;所述预设操作包括:操作区域展开操作、文本回收窗的启动操作、文本添加操作中的至少一项。
  5. 根据权利要求2所述的方法,还包括:所述将所述目标文本块缓存至预设的文本回收窗之后,
    按照所述目标文本块的创建时间,对所述目标文本块进行编号。
  6. 根据权利要求5所述的方法,还包括:所述检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作之前,
    显示文本回收窗。
  7. 根据权利要求6所述的方法,其中,所述显示文本回收窗,包括:
    检测输入法功能是否被调用;
    若检测到输入法功能被调用,则显示虚拟键盘;
    在所述虚拟键盘的第一预设区域,显示文本回收窗。
  8. 根据权利要求6所述的方法,其中,所述显示文本回收窗,包括:
    若接收到用户输入的文本回收功能启动指令,则在当前显示界面的第二预设区域,显示文本回收窗。
  9. 根据权利要求6所述的方法,还包括:所述显示文本回收窗之后,
    若检测到输入法功能被关闭或者接收到用户输入的文本回收功能关闭指令,则消除所述文本回收窗的显示。
  10. 根据权利要求6所述的方法,还包括:所述显示文本回收窗之后,所述检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作之前,
    检测用户对所述文本回收窗的触控操作;
    若检测到预设的第三触控操作,则展开所述文本回收窗的操作区域;
    按照编号的顺序,在所述操作区域,显示至少一个文本块。
  11. 根据权利要求10所述的方法,其中,所述按照编号的顺序,在所述操作区域,显示至少一个文本块,包括:
    确定满足第二预设条件的至少一个文本块;
    按照编号的顺序,在所述操作区域,显示所述至少一个文本块。
  12. 根据权利要求11所述的方法,其中,所述满足第二预设条件的至少一个文本块,包括以下至少一项:
    创建时间与当前时刻的时间间隔小于第二预设时长的至少一个文本块;
    字数大于预设阈值的至少一个文本块。
  13. 根据权利要求10所述的方法,其中,所述显示至少一个文本块,包括:
    通过格式化的显示方式,显示至少一个文本块。
  14. 根据权利要求13所述的方法,其中,所述通过格式化的显示方式,显示至少一个文本块,包括:
    通过网格对齐的显示方式,显示至少一个文本块;
    其中,每个文本块中的每个字符分别对应一个网格。
  15. 根据权利要求14所述的方法,还包括:所述检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作之后,
    若检测到预设的第一触控操作,则将所述第一触控操作所选中的每个字符对应的网格置为高亮显示第三预设时长。
  16. 根据权利要求10所述的方法,还包括:所述展开所述文本回收窗的操作区域之后,
    若接收到用户输入的操作区域的收起指令,则收起所述文本回收窗的操作区域。
  17. 根据权利要求2所述的方法,还包括:所述将所述目标文本块缓存至预设的文本回收窗之后,
    获取用户输入的至少一个字符;
    将所述用户输入的至少一个字符添加至所述文本编辑区域中;
    将光标移动至最后一个添加的字符的右侧;
    所述将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,包括:
    将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,生成第二文本内容;
    其中,所述文本编辑区域中的所述用户输入的至少一个字符通过预设的突出显示方式进行显示,和/或,所述文本编辑区域中的所述第一触控操作所选中的至少一个字符通过预设的突出显示方式进行显示。
  18. 根据权利要求1、2或10所述的方法,其中,所述触控操作包括:滑动操作和点击操作;其中,所述点击操作包括单击操作、双击操作和多击操作。
  19. 一种移动终端,包括:
    第一检测模块,用于检测用户在预设的文本回收窗的操作区域中显示的至少一个文本块上的触控操作;
    粘贴模块,用于若检测到预设的第一触控操作,则将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置;
    其中,所述文本回收窗中存储有至少一个待回收的文本块。
  20. 根据权利要求19所述的移动终端,还包括:
    第二检测模块,用于检测用户在文本编辑区域显示的第一文本内容上的触控操作;
    确定模块,用于若检测到预设的第二触控操作,则将所述第二触控操作所选中的至少一个字符确定为待回收的目标文本块;
    缓存模块,用于将所述目标文本块缓存至预设的文本回收窗。
  21. 根据权利要求20所述的移动终端,其中,所述缓存模块包括:
    判断子模块,用于判断是否需要创建一个文本块;
    创建子模块,用于若需要创建一个文本块,则基于所述第二触控操作所选中的至少一个字符,创建一个目标文本块,并将所述目标文本块缓存至预设的文本回收窗;
    缓存子模块,若不需要创建一个文本块,则将所述目标文本块缓存至预设的文本回收窗中创建时间与当前时刻的时间间隔最小的文本块中。
  22. 根据权利要求21所述的移动终端,其中,所述判断子模块包括:
    检测单元,用于检测所述第二触控操作是否满足第一预设条件;
    确定单元,用于若检测到所述第二触控操作满足第一预设条件,则确定需要创建一个文本块;
    所述第一预设条件包括以下至少一项:
    所述第二触控操作的上一次触控操作为预设操作;
    所述第二触控操作的上一次触控操作与所述第二触控操作的时间间隔大于第一预设时长;
    其中,所述上一次触控操作为操作时间与所述第二触控操作的操作时间的时间间隔最小的一次触控操作;所述预设操作包括:操作区域展开操作、文本回收窗的启动操作、文本添加操作中的至少一项。
  23. 根据权利要求20所述的移动终端,还包括:
    编号模块,用于按照所述目标文本块的创建时间,对所述目标文本块进行编号。
  24. 根据权利要求23所述的移动终端,还包括:
    第一显示模块,用于显示文本回收窗。
  25. 根据权利要求24所述的移动终端,其中,所述第一显示模块包括:
    检测子模块,用于检测输入法功能是否被调用;
    第一显示子模块,用于若检测到输入法功能被调用,则显示虚拟键盘;
    第二显示子模块,用于在所述虚拟键盘的第一预设区域,显示文本回收窗。
  26. 根据权利要求24所述的移动终端,其中,所述第一显示模块,还用于若接收到用户输入的文本回收功能启动指令,则在当前显示界面的第二预设区域,显示文本回收窗。
  27. 根据权利要求24所述的移动终端,还包括:
    消除模块,用于若检测到输入法功能被关闭或者接收到用户输入的文本回收功能关闭指令,则消除所述文本回收窗的显示。
  28. 根据权利要求24所述的移动终端,还包括:
    第三检测模块,用于检测用户对所述文本回收窗的触控操作;
    展开模块,用于若检测到预设的第三触控操作,则展开所述文本回收窗的操作区域;
    第二显示模块,用于按照编号的顺序,在所述操作区域,显示至少一个文本块。
  29. 根据权利要求28所述的移动终端,其中,所述第二显示模块包括:
    确定子模块,用于确定满足第二预设条件的至少一个文本块;
    第三显示子模块,用于按照编号的顺序,在所述操作区域,显示所述至少一个文本块。
  30. 根据权利要求29所述的移动终端,其中,所述满足第二预设条件的至少一个文本块,包括以下至少一项:
    创建时间与当前时刻的时间间隔小于第二预设时长的至少一个文本块;
    字数大于预设阈值的至少一个文本块。
  31. 根据权利要求28所述的移动终端,其中,所述第二显示模块,还用于通过格式化的显示方式,显示至少一个文本块。
  32. 根据权利要求31所述的移动终端,其中,所述第二显示模块,还用于通过网格对齐的显示方式,显示至少一个文本块;
    其中,每个文本块中的每个字符分别对应一个网格。
  33. 根据权利要求32所述的移动终端,还包括:
    设置模块,用于若检测到预设的第一触控操作,则将所述第一触控操作所选中的每个字符对应的网格置为高亮显示第三预设时长。
  34. 根据权利要求28所述的移动终端,还包括:
    收起模块,用于若接收到用户输入的操作区域的收起指令,则收起所述文本回收窗的操作区域。
  35. 根据权利要求20所述的移动终端,还包括:
    获取模块,用于获取用户输入的至少一个字符;
    添加模块,用于将所述用户输入的至少一个字符添加至所述文本编辑区域中;
    移动模块,用于将光标移动至最后一个添加的字符的右侧;
    所述粘贴模块,还用于将所述第一触控操作所选中的至少一个字符粘贴至文本编辑区域中光标的当前位置,生成第二文本内容;
    其中,所述文本编辑区域中的所述用户输入的至少一个字符通过预设的突出显示方式进行显示,和/或,所述文本编辑区域中的所述第一触控操作所选中的至少一个字符通过预设的突出显示方式进行显示。
  36. 根据权利要求19、20或28所述的移动终端,其中,所述触控操作包括:滑动操作和点击操作;其中,所述点击操作包括单击操作、双击操作和多击操作。
  37. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至18中任一项所述的文本编辑方法的步骤。
  38. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至18中任一项所述的文本编辑方法的步骤。
PCT/CN2018/115389 2017-11-20 2018-11-14 文本编辑方法及移动终端 Ceased WO2019096154A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP18879312.9A EP3706016A4 (en) 2017-11-20 2018-11-14 TEXT REVISION AND MOBILE TERMINAL PROCESS
US16/765,682 US11307761B2 (en) 2017-11-20 2018-11-14 Text editing method and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711169660.2 2017-11-20
CN201711169660.2A CN107748741B (zh) 2017-11-20 2017-11-20 一种文本编辑方法及移动终端

Publications (1)

Publication Number Publication Date
WO2019096154A1 true WO2019096154A1 (zh) 2019-05-23

Family

ID=61251403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115389 Ceased WO2019096154A1 (zh) 2017-11-20 2018-11-14 文本编辑方法及移动终端

Country Status (4)

Country Link
US (1) US11307761B2 (zh)
EP (1) EP3706016A4 (zh)
CN (1) CN107748741B (zh)
WO (1) WO2019096154A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742106A (zh) * 2021-09-01 2021-12-03 统信软件技术有限公司 一种文本粘贴方法、装置、计算设备及可读存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748741B (zh) * 2017-11-20 2021-04-23 维沃移动通信有限公司 一种文本编辑方法及移动终端
CN110174979B (zh) * 2019-05-22 2022-10-18 努比亚技术有限公司 消息的编辑方法、可穿戴设备及计算机可读存储介质
CN111027288A (zh) * 2019-11-04 2020-04-17 贝壳技术有限公司 文本编辑方法及文本编辑系统
CN114860147B (zh) * 2021-02-04 2023-09-08 Oppo广东移动通信有限公司 输入方法、装置、电子设备以及存储介质
CN115048030B (zh) * 2022-08-12 2022-12-09 广东新空电子科技股份有限公司 一种文字合并方法、装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240430B1 (en) * 1996-12-13 2001-05-29 International Business Machines Corporation Method of multiple text selection and manipulation
CN102981750A (zh) * 2011-07-04 2013-03-20 三星电子株式会社 用于在移动终端中编辑文本的方法和设备
CN104320539A (zh) * 2014-10-21 2015-01-28 厦门美图移动科技有限公司 一种在移动设备上通过模板快速输入的方法
CN106919307A (zh) * 2017-03-09 2017-07-04 维沃移动通信有限公司 一种文本复制方法及移动终端
CN107748741A (zh) * 2017-11-20 2018-03-02 维沃移动通信有限公司 一种文本编辑方法及移动终端

Family Cites Families (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2993528B2 (ja) * 1991-05-18 1999-12-20 富士通株式会社 テキスト管理・復元方式
JP2004030268A (ja) 2002-06-26 2004-01-29 Toshiba Corp 移動無線端末装置
US7921082B2 (en) * 2004-01-23 2011-04-05 Lsi Corporation File recovery under linux operating system
US20060095470A1 (en) * 2004-11-04 2006-05-04 Cochran Robert A Managing a file in a network environment
US9785329B2 (en) * 2005-05-23 2017-10-10 Nokia Technologies Oy Pocket computer and associated methods
US7559033B2 (en) * 2005-07-21 2009-07-07 International Business Machines Corporation Method and system for improving selection capability for user interface
US7890485B2 (en) * 2006-04-13 2011-02-15 Tony Malandain Knowledge management tool
US8453066B2 (en) * 2006-11-06 2013-05-28 Microsoft Corporation Clipboard augmentation with references
CN101651895B (zh) 2008-08-15 2012-06-27 华为技术有限公司 长期演进的时分双工通信方法、设备、系统及无线帧结构
CN101924727A (zh) 2009-06-16 2010-12-22 中兴通讯股份有限公司 无线通信系统中的帧结构指示信息配置方法
CN102141886B (zh) * 2010-01-29 2016-04-20 诺基亚技术有限公司 文本编辑方法和设备
KR101601049B1 (ko) * 2010-02-10 2016-03-08 삼성전자주식회사 듀얼 표시부를 가지는 휴대단말 및 그 표시부를 이용한 클립보드 기능 제공 방법
JP5229750B2 (ja) * 2010-10-29 2013-07-03 キヤノンマーケティングジャパン株式会社 情報処理装置、情報処理方法、およびそのプログラム
KR20120132069A (ko) * 2011-05-27 2012-12-05 삼성전자주식회사 다중 선택 및 다중 붙이기를 이용한 텍스트 편집을 위한 방법 및 장치
JP5546022B2 (ja) * 2011-06-09 2014-07-09 株式会社Nttドコモ 表示装置、表示方法及びプログラム
US8914594B2 (en) * 2011-12-22 2014-12-16 Sandisk Technologies Inc. Systems and methods of loading data from a non-volatile memory to a volatile memory
KR101869522B1 (ko) * 2012-01-19 2018-06-22 삼성전자주식회사 휴대 단말기에서 클립보드를 제공하는 장치 및 방법
CN103312462B (zh) 2012-03-16 2016-11-16 上海贝尔股份有限公司 解决tdd上行资源配置信息和harq应答消息冲突的方法
US9098520B2 (en) * 2012-04-03 2015-08-04 Baloota Applications Ltd. Apparatus and methods for restoring data objects
CN103457911A (zh) * 2012-05-29 2013-12-18 北京小米科技有限责任公司 一种信息共享方法及系统
CN103136181B (zh) * 2013-03-06 2017-04-12 惠州Tcl移动通信有限公司 电子阅读设备及其文本提取与保存的方法
US9760964B2 (en) * 2013-04-11 2017-09-12 Facebook, Inc. Application-tailored object re-use and recycling
US9710147B2 (en) * 2013-05-29 2017-07-18 Lg Electronics Inc. Mobile terminal and controlling method thereof
KR102136602B1 (ko) * 2013-07-10 2020-07-22 삼성전자 주식회사 휴대단말기의 컨텐츠 처리 장치 및 방법
CN104346092A (zh) * 2013-08-01 2015-02-11 腾讯科技(深圳)有限公司 一种在移动终端中呈现剪贴板内容的方法及装置
US9853720B2 (en) 2013-08-20 2017-12-26 Lg Electronics Inc. Method and user equipment for simultaneously accessing plurality of cells
CN103761216B (zh) 2013-12-24 2018-01-16 上海斐讯数据通信技术有限公司 编辑文本的方法及移动终端
CN104156140A (zh) 2014-08-15 2014-11-19 广东欧珀移动通信有限公司 一种利用重力传感器快速编辑文字的方法及装置
JP6380150B2 (ja) * 2015-02-13 2018-08-29 オムロン株式会社 文字入力システム用のプログラムおよび情報処理装置
US9629066B2 (en) 2015-02-24 2017-04-18 Huawei Technologies Co., Ltd. System and method for transmission time intervals
CN107408999B (zh) 2015-03-17 2019-04-05 Lg电子株式会社 在无线通信系统中执行测量的方法及用户设备
CN104834433B (zh) * 2015-04-24 2018-02-02 小米科技有限责任公司 文本编辑方法、装置及终端
CN105892805A (zh) * 2016-03-29 2016-08-24 北京小米移动软件有限公司 即时消息的处理方法及装置
CN106648371A (zh) * 2016-12-29 2017-05-10 北京小米移动软件有限公司 基于文本文件的文本移动方法及装置
US11468008B2 (en) * 2017-06-16 2022-10-11 Huawei Technologies Co., Ltd. File processing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240430B1 (en) * 1996-12-13 2001-05-29 International Business Machines Corporation Method of multiple text selection and manipulation
CN102981750A (zh) * 2011-07-04 2013-03-20 三星电子株式会社 用于在移动终端中编辑文本的方法和设备
CN104320539A (zh) * 2014-10-21 2015-01-28 厦门美图移动科技有限公司 一种在移动设备上通过模板快速输入的方法
CN106919307A (zh) * 2017-03-09 2017-07-04 维沃移动通信有限公司 一种文本复制方法及移动终端
CN107748741A (zh) * 2017-11-20 2018-03-02 维沃移动通信有限公司 一种文本编辑方法及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3706016A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742106A (zh) * 2021-09-01 2021-12-03 统信软件技术有限公司 一种文本粘贴方法、装置、计算设备及可读存储介质

Also Published As

Publication number Publication date
US11307761B2 (en) 2022-04-19
EP3706016A4 (en) 2020-11-25
EP3706016A1 (en) 2020-09-09
US20200301574A1 (en) 2020-09-24
CN107748741B (zh) 2021-04-23
CN107748741A (zh) 2018-03-02

Similar Documents

Publication Publication Date Title
CN108762954B (zh) 一种对象分享方法及移动终端
CN108737904B (zh) 一种视频数据处理方法及移动终端
WO2019096154A1 (zh) 文本编辑方法及移动终端
WO2019120191A1 (zh) 多段文本复制方法及移动终端
US20220365641A1 (en) Method for displaying background application and mobile terminal
US11340777B2 (en) Method for editing text and mobile terminal
CN107977132B (zh) 一种信息显示方法及移动终端
CN110618969B (zh) 一种图标显示方法及电子设备
WO2019076371A1 (zh) 资源数据展示方法及移动终端
WO2020215949A1 (zh) 对象处理方法及终端设备
CN107734170B (zh) 一种通知消息处理方法、移动终端及穿戴设备
WO2019196691A1 (zh) 一种键盘界面显示方法和移动终端
US11895069B2 (en) Message sending method and mobile terminal
CN108600089B (zh) 一种表情图像的显示方法及终端设备
CN110196646A (zh) 一种信息输入方法及移动终端
WO2019076377A1 (zh) 图像的查看方法及移动终端
CN109726179A (zh) 截屏图片处理方法、存储介质及移动终端
WO2019114522A1 (zh) 屏幕控制方法、屏幕控制装置及移动终端
WO2021004426A1 (zh) 内容选择方法及终端
WO2020024788A1 (zh) 文字输入方法和终端
CN110209332A (zh) 一种信息处理方法及终端设备
WO2019129264A1 (zh) 界面的显示方法和移动终端
CN110932964A (zh) 一种信息的处理方法及装置
WO2019120190A1 (zh) 拨号方法及移动终端
US20230087022A1 (en) Text language type switching method and apparatus, device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18879312

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018879312

Country of ref document: EP

Effective date: 20200602

WWP Wipo information: published in national office

Ref document number: 2018879312

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 2018879312

Country of ref document: EP