CN107479786A - A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text - Google Patents
A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text Download PDFInfo
- Publication number
- CN107479786A CN107479786A CN201710646254.4A CN201710646254A CN107479786A CN 107479786 A CN107479786 A CN 107479786A CN 201710646254 A CN201710646254 A CN 201710646254A CN 107479786 A CN107479786 A CN 107479786A
- Authority
- CN
- China
- Prior art keywords
- text
- character
- deleted
- deleting
- deletion
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention is applied to data processing field, there is provided a kind of method for deleting text, the method for deleting text include:Receive the character inputted in Text Entry shown in current interface;The touch operation to being slided after the pressing of delete button and along the Text Entry direction is received, wherein, the delete button is arranged on for by the soft keyboard of the character input to the Text Entry;According to the touch operation, function is deleted in triggering, and deletes at least a portion character in the Text Entry according to sliding distance.The method provided in an embodiment of the present invention for deleting text, triggered by touch operation and delete function and at least a portion character in Text Entry is deleted according to sliding distance, operating procedure is simple, facilitates user to delete the character in text, improves Consumer's Experience.
Description
Technical field
The invention belongs to data processing field, more particularly to a kind of method, apparatus, computer installation and meter for deleting text
Calculation machine readable storage medium storing program for executing.
Background technology
When Text Entry of the people in routine use terminal inputs word, user is often because of input error or expression
It is improper, it is necessary to be modified to the word in Text Entry or delete processing.
In the prior art, the method that delete processing is carried out to the word in Text Entry is generally:First cursor is positioned
In character afterbody to be deleted, the deletion button then clicked in terminal soft keyboard is deleted character;Or first by cursor
Character afterbody to be deleted is positioned at, cursor is then pinned and slides the character for choosing needs to delete, then the editor above character
Delete button is selected to delete character in column.
But the method generally existing cursor positioning deleted in the prior art the word in Text Entry is inaccurate
Really, user's deletion action complex steps, the problem of Consumer's Experience is bad.
The content of the invention
The embodiment of the present invention provides a kind and deletes text method, it is intended to solves in the prior art in Text Entry
The cursor position inaccurate for the method generally existing that word is deleted, user's deletion action complex steps, Consumer's Experience are bad
The problem of.
The embodiment of the present invention is achieved in that a kind of method for deleting text, and the method for deleting text includes:
Receive the character inputted in Text Entry shown in current interface;
The touch operation to being slided after the pressing of delete button and along the Text Entry direction is received, wherein described delete
Except button is arranged on for by the soft keyboard of the character input to the Text Entry;
According to the touch operation, function is deleted in triggering, and is deleted according to sliding distance in the Text Entry extremely
Few a part of character.
The embodiment of the present invention also provides a kind of device for deleting text, and deleting the device of text includes:
Character receiving unit, for receiving the character inputted in Text Entry shown in current interface;
Touch operation receiving unit, for receiving to being slided after the pressing of delete button and along the Text Entry direction
Touch operation, wherein, the delete button is arranged on for the soft keyboard by the character input to the Text Entry
In;
Character deletion unit, for deleting function according to the touch operation, triggering, and according to being deleted sliding distance
At least a portion character in Text Entry.
The embodiment of the present invention also provides a kind of computer installation, and the computer installation includes processor, the processor
The step as described above described in deletion text method is realized during for performing the computer program stored in memory.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter
The step as described above described in deletion text method is realized when calculation machine program is executed by processor.
The method provided in an embodiment of the present invention for deleting text, function is deleted by the pressing triggering to delete button, and
At least a portion character in the Text Entry is deleted according to sliding distance, user can be defeated to text without cursor positioning
The character entered in frame is deleted, and deletion action step is simple, facilitates user to delete text, improves Consumer's Experience;In addition, root
According to the default horizontal sliding distance along input frame direction with delete character quantity corresponding relation, user can set slip away from
From the corresponding relation with actual deletion character quantity, realize that user individual deletes text maninulation;Confirm to delete by output display
Except prompt message, it may remind the user that whether confirm to delete text message, with anti-error deletion action.
Brief description of the drawings
Fig. 1 is a kind of implementation process figure of method for deleting text provided in an embodiment of the present invention;
Fig. 2 a are a kind of practical application scene figures of method for deleting text provided in an embodiment of the present invention;
Fig. 2 b are the practical application scene figures of another method for deleting text provided in an embodiment of the present invention;
Fig. 3 is the implementation process figure of another method for deleting text provided in an embodiment of the present invention;
Fig. 4 is the implementation process figure of the method for another deletion text provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of device for deleting text provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another device for deleting text provided in an embodiment of the present invention;
Fig. 7 is the structural representation of the device of another deletion text provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The method provided in an embodiment of the present invention for deleting text, function is deleted by the pressing triggering to delete button, and
At least a portion character in the Text Entry is deleted according to sliding distance, user can be defeated to text without cursor positioning
The character entered in frame is deleted, and deletion action step is simple, facilitates user to delete text, improves Consumer's Experience.
In embodiments of the present invention, the method for deleting text can apply in intelligent terminal, can also be applied to intelligence
Software unit, hardware cell or the software and combination of hardware unit of terminal, such as:Wechat, QQ, Ali Wang Wang etc..
In embodiments of the present invention, intelligent terminal includes but is not limited to:Mobile phone, smart phone, notebook computer,
PDA (Personal Digital Assistant, personal digital assistant), TPC (Tablet Personal Computer, are put down
Plate computer) etc. terminal.
Fig. 1 shows a kind of implementation process figure of method for deleting text provided in an embodiment of the present invention, and details are as follows:
In step S101, the character inputted in Text Entry shown in current interface is received.
In embodiments of the present invention, current interface can be intelligent terminal itself function, in SMS interface;Also may be used
To be the function of application in intelligent terminal, in handset Wechat interface, do not limit specifically.
In embodiments of the present invention, character includes but is not limited to:Letter, numeral, symbol, word etc..
In step s 102, the touch operation for receiving after the pressing to delete button and being slided along Text Entry direction,
Wherein, delete button is arranged on for inputting characters into the soft keyboard of Text Entry.
In embodiments of the present invention, the pressing to delete button includes:Compressing time and/or compression number, it will be understood that
Compressing time can be:1s, 2s, 3s, 4s, 5s etc.;Compression number can be 1 time, 2 times, 3 times, 4 times, it is 5 inferior, do not do specifically
Limit.
As one embodiment of the present of invention, the touch operation of slip includes:Level is slided, such as:Horizontal slip, water to the left
Flat slip etc. to the right.
In step s 103, according to touch operation, function is deleted in triggering, and is deleted according to sliding distance in Text Entry
At least a portion character.
In embodiments of the present invention, after user can be by the pressing to delete button, function is deleted in triggering, as user can
With by pressing the deletion button in cellphone information soft keyboard, and then trigger and delete function.
In embodiments of the present invention, at least a portion character in Text Entry is deleted according to sliding distance, wherein, extremely
Few a part of character includes:
Determine the start position of character deletion;
If start position is defaulted as at the ending of the alphabet inputted in input frame, according to sliding distance at ending
Delete character;
If start position is the original position that user determines, character is deleted from original position according to sliding distance.
In embodiments of the present invention, user can determine the original position of character deletion by cursor, the original position bag
Include:The beginning location of the alphabet inputted in the middle optional position of the alphabet inputted in input frame, input frame.
For example, user A is using handset Wechat text box inputting word information, " tomorrow has typhoon." when, Ke Yitong
Start text suppression function after the delete button crossed in long-press soft keyboard and slide screen to the left, if the start position of character deletion
On the right of " having " word, then corresponding a part of word from " having " word to the left can be deleted.It is appreciated that in other implementations of the present invention
It in example, can also to the right be slided from " having " word, then correspond to a part of word deleted from " having " word to the right, can be certainly by user
The original position of definition selection character deletion, facilitates user to select diverse location character to be deleted, deletes text function more intelligence
Energyization.
The method provided in an embodiment of the present invention for deleting text, function is deleted by the pressing triggering to delete button, and
At least a portion character in the Text Entry is deleted according to sliding distance, user can be defeated to text without cursor positioning
The character entered in frame is deleted, and deletion action step is simple, facilitates user to delete text, improves Consumer's Experience.
In embodiments of the present invention, touch operation includes:To after the pressing of delete button and along the Text Entry side
To it is horizontal slide, step S103 is specifically included:
According to touch operation, function is deleted in triggering, and according to the default horizontal sliding distance along input frame direction with deleting
Except the corresponding relation of character quantity, at least a portion character in the Text Entry is deleted.
In embodiments of the present invention, the default horizontal sliding distance along input frame direction is with deleting the corresponding of character quantity
Relation can with when give tacit consent to 1:1 corresponding relation, can also when 1:2、1:3、1:4 grade corresponding relations.Facilitate user according to itself need
The corresponding relation for different sliding distances being set with deleting character quantity is sought, realizes that user individual deletes text maninulation.
For example, with reference to Fig. 2 a, user B uses short message input text message " the I will have a meeting in mobile phone
During in 30min ", user B can delete function by double-clicking the triggering of the delete button in Soft keyboard for handset, and along input frame side
To the horizontal text for sliding 1 centimetre to the left, then deleting " 30min " in corresponding short message text input frame in the range of 1 centimetre length
Word.
Referring to Fig. 2 b, user B uses short message input text message " the I will have a meeting in mobile phone
During 30min ", user B can also delete function by the triggering of delete button in long-press Soft keyboard for handset, and along input frame direction
It is horizontal slide 1 centimetre to the left, then delete " the ave a meeting in the range of 3 centimetre lengths in corresponding short message text input frame
In 30min " word.
In embodiments of the present invention, by the default horizontal sliding distance along input frame direction with deleting character quantity
Between different corresponding relations, user can set sliding distance and the actual corresponding relation for deleting character quantity, realize user
Text maninulation is deleted in personalization.
The implementation process figure of Fig. 3 another methods for deleting text provided in an embodiment of the present invention, itself and one shown in Fig. 1
The implementation process figure difference that kind deletes the method for text is that the method for the deletion text also includes:
In step s 201, output display confirms to delete prompt message, determines that deletion is chosen to prompt user to be confirmed whether
Text Entry at least a portion character.
In embodiments of the present invention, confirm that deleting prompt message includes:Text prompt information, information of voice prompt, picture
Prompt message etc., is not limited specifically.
In embodiments of the present invention, confirm to delete prompt message by setting, determine to delete to prompt user to be confirmed whether
At least a portion character in the Text Entry chosen, effectively prevent user from missing deletion action.
Fig. 4 be it is provided in an embodiment of the present invention another delete text method implementation process figure, its with shown in Fig. 1
A kind of implementation process figure difference for the method for deleting text is that the method for the deletion text also includes:
In step S301, judge whether the time that touch operation terminates exceedes default time threshold;
In step s 302, when the time for judging that touch operation terminates exceeding default time threshold, close text and delete
Except function;When judged result is no, step S303 is performed, does not close text suppression function.
In embodiments of the present invention, default time threshold can be 2s, 3s, 4s, 5s, 6s etc., specifically can according to
Family actual conditions are set, by when the time for judging that touch operation terminates exceeding default time threshold, closing automatically
The function of text is deleted, user deletes the function of text without manual-lock, improves Consumer's Experience.
The method provided in an embodiment of the present invention for deleting text, function is deleted by the pressing triggering to delete button, and
At least a portion character in the Text Entry is deleted according to sliding distance, user can be defeated to text without cursor positioning
The character entered in frame is deleted, and deletion action step is simple, facilitates user to delete text, improves Consumer's Experience;In addition, root
According to the default horizontal sliding distance along input frame direction with delete character quantity corresponding relation, user can set slip away from
From the corresponding relation with actual deletion character quantity, realize that user individual deletes text maninulation;Confirm to delete by output display
Except prompt message, it may remind the user that whether confirm to delete text message, with anti-error deletion action.
Fig. 5 shows a kind of structural representation of device 400 for deleting text provided in an embodiment of the present invention, for the ease of
Illustrate, be only illustrated in the part of correlation of the invention.
In embodiments of the present invention, the device 400 of the deletion text includes:
Character receiving unit 410, for receiving the character inputted in Text Entry shown in current interface;
In embodiments of the present invention, current interface can be intelligent terminal itself function, in SMS interface;Also may be used
To be the function of application in intelligent terminal, in handset Wechat interface, do not limit specifically.
In embodiments of the present invention, character includes but is not limited to:Letter, numeral, symbol, word etc..
Touch operation receiving unit 420, for receiving to after the pressing of delete button and along the Text Entry direction
The touch operation of slip, wherein, the delete button is arranged on for by the soft of the character input to the Text Entry
In keyboard.
In embodiments of the present invention, the pressing to delete button includes:Compressing time and/or compression number, it will be understood that
Compressing time can be:1s, 2s, 3s, 4s, 5s etc.;Compression number can be 1 time, 2 times, 3 times, 4 times, it is 5 inferior, do not do specifically
Limit.
As one embodiment of the present of invention, the touch operation of slip includes:Level is slided, such as:Horizontal slip, water to the left
Flat slip etc. to the right.
Character deletion unit 430, for according to the touch operation, function to be deleted in triggering, and is deleted according to sliding distance
At least a portion character in the Text Entry.
In embodiments of the present invention, after user can be by the pressing to delete button, function is deleted in triggering, as user can
With by pressing the deletion button in cellphone information soft keyboard, and then trigger and delete function.
In embodiments of the present invention, at least a portion character in Text Entry is deleted according to sliding distance, wherein, extremely
Few a part of character includes:
Determine the start position of character deletion;
If start position is defaulted as at the ending of the alphabet inputted in input frame, according to sliding distance at ending
Delete character;
If start position is the original position that user determines, character is deleted from original position according to sliding distance.
In embodiments of the present invention, user can determine the original position of character deletion by cursor, the original position bag
Include:The beginning location of the alphabet inputted in the middle optional position of the alphabet inputted in input frame, input frame.
For example, user A is using handset Wechat text box inputting word information, " tomorrow has typhoon." when, Ke Yitong
Start text suppression function after the delete button crossed in long-press soft keyboard and slide screen to the left, if the start position of character deletion
On the right of " having " word, then corresponding a part of word from " having " word to the left can be deleted.It is appreciated that in other implementations of the present invention
It in example, can also to the right be slided from " having " word, then correspond to a part of word deleted from " having " word to the right, can be certainly by user
The original position of definition selection character deletion, facilitates user to select diverse location character to be deleted, deletes text function more intelligence
Energyization.
The device provided in an embodiment of the present invention for deleting text, function is deleted by the pressing triggering to delete button, and
At least a portion character in the Text Entry is deleted according to sliding distance, user can be defeated to text without cursor positioning
The character entered in frame is deleted, and deletion action step is simple, facilitates user to delete text, improves Consumer's Experience.
In embodiments of the present invention, character deletion unit 430 includes:
Character deletion subelement, for deleting function according to touch operation, triggering, and according to default along input frame direction
Horizontal sliding distance with delete character quantity corresponding relation, delete at least a portion word in the Text Entry
Symbol.
In embodiments of the present invention, the default horizontal sliding distance along input frame direction is with deleting the corresponding of character quantity
Relation can with when give tacit consent to 1:1 corresponding relation, can also when 1:2、1:3、1:4 grade corresponding relations.Facilitate user according to itself need
The corresponding relation for different sliding distances being set with deleting character quantity is sought, realizes that user individual deletes text maninulation.
In embodiments of the present invention, by the default horizontal sliding distance along input frame direction with deleting character quantity
Between different corresponding relations, user can set sliding distance and the actual corresponding relation for deleting character quantity, realize user
Text maninulation is deleted in personalization.
Fig. 6 is the structural representation of another device 500 for deleting text provided in an embodiment of the present invention, itself and Fig. 5 institutes
A kind of difference of the device 400 of the deletion text shown is that the device 500 of the deletion text also includes:
Prompt message output unit 510, confirm to delete prompt message for output display, to prompt user to be confirmed whether really
At least a portion character in the Text Entry chosen is deleted calmly.
In embodiments of the present invention, confirm that deleting prompt message includes:Text prompt information, information of voice prompt, picture
Prompt message etc., is not limited specifically.
In embodiments of the present invention, confirm to delete prompt message by setting, determine to delete to prompt user to be confirmed whether
At least a portion character in the Text Entry chosen, effectively prevent user from missing deletion action.
Fig. 7 be it is provided in an embodiment of the present invention another delete text device 600 structural representation, itself and Fig. 5 institutes
A kind of difference of the device 400 of the deletion text shown is that the device 600 of the deletion text also includes:
Touch operation end time judging unit 610, for judging it is default whether time that touch operation terminates exceedes
Time threshold;
Text suppression function closing unit 620, judge that the time that touch operation terminates exceedes default time threshold for working as
During value, text suppression function is closed.
In embodiments of the present invention, default time threshold can be 2s, 3s, 4s, 5s, 6s etc., specifically can according to
Family actual conditions are set, by when the time for judging that touch operation terminates exceeding default time threshold, closing automatically
The function of text is deleted, user deletes the function of text without manual-lock, improves Consumer's Experience.
The device provided in an embodiment of the present invention for deleting text, function is deleted by the pressing triggering to delete button, and
At least a portion character in the Text Entry is deleted according to sliding distance, user can be defeated to text without cursor positioning
The character entered in frame is deleted, and deletion action step is simple, facilitates user to delete text, improves Consumer's Experience;In addition, root
According to the default horizontal sliding distance along input frame direction with delete character quantity corresponding relation, user can set slip away from
From the corresponding relation with actual deletion character quantity, realize that user individual deletes text maninulation;Confirm to delete by output display
Except prompt message, it may remind the user that whether confirm to delete text message, with anti-error deletion action.
The embodiment of the present invention provides a kind of computer installation, and the computer installation includes processor, and processor is used to perform
The step of deletion text method that above-mentioned each embodiment of the method provides is realized during the computer program stored in memory.
Exemplary, computer program can be divided into one or more modules, and one or more module is stored
In memory, and by computing device, to complete the present invention.One or more modules can complete specific function
Series of computation machine programmed instruction section, the instruction segment are used to describe implementation procedure of the computer program in computer installation.Example
Such as, computer program can be divided into the step of deletion text method that above-mentioned each embodiment of the method provides.
It will be understood by those skilled in the art that the description of above computer device is only example, do not form to calculating
The restriction of machine device, parts more more or less than foregoing description can be included, either combine some parts or different portions
Part, such as input-output equipment, network access equipment, bus etc. can be included.
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the computer installation, utilizes various interfaces and the whole computer installation of connection
Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization
The various functions of computer installation.The memory can mainly include storing program area and storage data field, wherein, storage program
Area can storage program area, the application program (such as sound-playing function, image player function etc.) needed at least one function
Deng;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.In addition,
Memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, grafting
Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
If the integrated module/unit of the computer installation is realized in the form of SFU software functional unit and as independent
Production marketing in use, can be stored in a computer read/write memory medium.It is real based on such understanding, the present invention
All or part of flow in existing above-described embodiment method, the hardware of correlation can also be instructed come complete by computer program
Into described computer program can be stored in a computer-readable recording medium, and the computer program is being executed by processor
When, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes computer program code, described
Computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..The meter
Calculation machine computer-readable recording medium can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk,
Mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), electric carrier signal, electric signal and software distribution medium etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (10)
- A kind of 1. method for deleting text, it is characterised in that the method for deleting text includes:Receive the character inputted in Text Entry shown in current interface;The touch operation to being slided after the pressing of delete button and along the Text Entry direction is received, wherein, the deletion Button is arranged on for by the soft keyboard of the character input to the Text Entry;According to the touch operation, function, and at least one in the sliding distance deletion Text Entry are deleted in triggering Partial character.
- 2. the method for text is deleted as claimed in claim 1, it is characterised in that the touch operation includes:To the deletion Slided after the pressing of button and along the level in the Text Entry direction, it is described that the text input is deleted according to sliding distance At least a portion character in frame includes:According to the default horizontal sliding distance along input frame direction and the corresponding relation for deleting character quantity, the text is deleted At least a portion character in input frame.
- 3. the method for text is deleted as claimed in claim 1, it is characterised in that at least a portion character includes:Determine the start position of character deletion;If the start position is defaulted as at the ending of the alphabet inputted in the input frame, according to the sliding distance Character is deleted at ending;If the start position is the original position that user determines, deleted according to the sliding distance from the original position Character.
- 4. the method for text is deleted as claimed in claim 1, it is characterised in that described to be deleted according to the touch operation, triggering Except function, and include before deleting at least a portion character in the Text Entry according to sliding distance:Output display confirms to delete prompt message, determines to delete in the Text Entry chosen to prompt user to be confirmed whether At least a portion character.
- 5. the method for text is deleted as claimed in claim 1, it is characterised in that the method for deleting text also includes:Judge whether the time that touch operation terminates exceedes default time threshold;When the time that the touch operation terminates exceeding the default time threshold, text suppression function is closed.
- 6. a kind of device for deleting text, it is characterised in that the device for deleting text includes:Character receiving unit, for receiving the character inputted in Text Entry shown in current interface;Touch operation receiving unit, for receiving to being touched after the pressing of delete button and along what the Text Entry direction was slided Operation is touched, wherein, the delete button is arranged on for by the soft keyboard of the character input to the Text Entry;Character deletion unit, for according to the touch operation, function to be deleted in triggering, and deletes the text according to sliding distance At least a portion character in input frame.
- 7. the device of text is deleted as claimed in claim 6, it is characterised in that the touch operation includes:To the deletion Slided after the pressing of button and along the level in the Text Entry direction, the character deletion unit includes:Character deletion subelement, for according to the default horizontal sliding distance along input frame direction and pair for deleting character quantity It should be related to, delete at least a portion character in the Text Entry.
- 8. the device of text is deleted as claimed in claim 6, it is characterised in that at least a portion character includes:Determine the start position of character deletion;If the start position is defaulted as at the ending of the alphabet inputted in the input frame, according to the sliding distance Character is deleted at ending;If the start position is the original position that user determines, deleted according to the sliding distance from the original position Character.
- 9. a kind of computer installation, it is characterised in that the computer installation includes processor, and the processor is deposited for execution The step of any one methods described in such as claim 1-5 is realized during the computer program stored in reservoir.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program The step of any one methods described in such as claim 1-5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646254.4A CN107479786A (en) | 2017-07-28 | 2017-07-28 | A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646254.4A CN107479786A (en) | 2017-07-28 | 2017-07-28 | A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107479786A true CN107479786A (en) | 2017-12-15 |
Family
ID=60597524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710646254.4A Withdrawn CN107479786A (en) | 2017-07-28 | 2017-07-28 | A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107479786A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108132752A (en) * | 2017-12-21 | 2018-06-08 | 维沃移动通信有限公司 | A kind of method for editing text and mobile terminal |
CN108572745A (en) * | 2018-03-16 | 2018-09-25 | 珠海市魅族科技有限公司 | A kind of input method application process and device |
CN109298790A (en) * | 2018-10-11 | 2019-02-01 | 科大讯飞股份有限公司 | Character deleting method and device |
CN110231880A (en) * | 2018-03-05 | 2019-09-13 | 京瓷办公信息***株式会社 | The control method of display input device and display input device |
CN111427587A (en) * | 2019-05-30 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Target deleting method and device |
CN112445403A (en) * | 2020-11-30 | 2021-03-05 | 北京搜狗科技发展有限公司 | Text processing method and device and text processing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331907A (en) * | 2011-09-13 | 2012-01-25 | 中兴通讯股份有限公司 | Character deleting method and device for terminal having touch screen, and terminal |
CN105095170A (en) * | 2015-07-31 | 2015-11-25 | 小米科技有限责任公司 | Text deleting method and device |
CN105183227A (en) * | 2015-09-09 | 2015-12-23 | 魅族科技(中国)有限公司 | Character deletion method and device and electronic equipment |
-
2017
- 2017-07-28 CN CN201710646254.4A patent/CN107479786A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102331907A (en) * | 2011-09-13 | 2012-01-25 | 中兴通讯股份有限公司 | Character deleting method and device for terminal having touch screen, and terminal |
CN105095170A (en) * | 2015-07-31 | 2015-11-25 | 小米科技有限责任公司 | Text deleting method and device |
CN105183227A (en) * | 2015-09-09 | 2015-12-23 | 魅族科技(中国)有限公司 | Character deletion method and device and electronic equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108132752A (en) * | 2017-12-21 | 2018-06-08 | 维沃移动通信有限公司 | A kind of method for editing text and mobile terminal |
US11340777B2 (en) | 2017-12-21 | 2022-05-24 | Vivo Mobile Communication Co., Ltd. | Method for editing text and mobile terminal |
CN110231880A (en) * | 2018-03-05 | 2019-09-13 | 京瓷办公信息***株式会社 | The control method of display input device and display input device |
CN108572745A (en) * | 2018-03-16 | 2018-09-25 | 珠海市魅族科技有限公司 | A kind of input method application process and device |
CN109298790A (en) * | 2018-10-11 | 2019-02-01 | 科大讯飞股份有限公司 | Character deleting method and device |
CN111427587A (en) * | 2019-05-30 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Target deleting method and device |
CN111427587B (en) * | 2019-05-30 | 2023-08-29 | 杭州海康威视数字技术股份有限公司 | Target deleting method and device |
CN112445403A (en) * | 2020-11-30 | 2021-03-05 | 北京搜狗科技发展有限公司 | Text processing method and device and text processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107479786A (en) | A kind of method, apparatus, computer installation and computer-readable recording medium for deleting text | |
CN105051722B (en) | The method and apparatus of the entity of atom link is kept using the mechanism that is automatically performed | |
WO2017054623A1 (en) | Method and device for starting application program, and electronic device | |
CN109445677B (en) | Method, device, medium and electronic equipment for editing content in document | |
CN105808058A (en) | Intelligent display method and apparatus for pasting prompt | |
CN103324674B (en) | Web page contents choosing method and device | |
CN104636321B (en) | Text display method and device | |
CN107346229A (en) | Pronunciation inputting method and device, computer installation and readable storage medium storing program for executing | |
CN111490927B (en) | Method, device and equipment for displaying message | |
CN104423869A (en) | Text erasing method and device | |
CN105512220A (en) | Image page output method and device | |
CN106060220B (en) | A kind of contact information creation method and mobile terminal | |
CN107508969A (en) | A kind of information processing method, device, computer installation and computer-readable recording medium | |
CN111666015A (en) | Suspension short message display method and device | |
CN103279276B (en) | The method of locating information and device | |
CN104363349A (en) | Short message processing method and portable terminal using same | |
CN106953913A (en) | A kind of information-pushing method and mobile terminal | |
CN104391644B (en) | A kind of input method and device | |
CN107765946A (en) | A kind of method and apparatus for triggering communication | |
CN109491570B (en) | Shorthand method, mobile terminal and storage medium | |
CN105095170A (en) | Text deleting method and device | |
CN107395487A (en) | Message updating method and system | |
CN107239169A (en) | A kind of control method and device of touch-screen touch controllable function | |
CN113918030A (en) | Handwriting input method and device and handwriting input device | |
CN107911550A (en) | A kind of method, apparatus of recording, computer installation and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171215 |