CN106066760B - Word processing method and device - Google Patents
Word processing method and device Download PDFInfo
- Publication number
- CN106066760B CN106066760B CN201610363611.1A CN201610363611A CN106066760B CN 106066760 B CN106066760 B CN 106066760B CN 201610363611 A CN201610363611 A CN 201610363611A CN 106066760 B CN106066760 B CN 106066760B
- Authority
- CN
- China
- Prior art keywords
- text
- button
- index value
- selection button
- chooses
- 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.)
- Expired - Fee Related
Links
- 238000003672 processing method Methods 0.000 title claims description 18
- 238000000034 method Methods 0.000 claims abstract description 24
- 238000001514 detection method Methods 0.000 claims description 23
- 238000010008 shearing Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 9
- 235000008216 herbs Nutrition 0.000 description 8
- 235000008331 Pinus X rigitaeda Nutrition 0.000 description 5
- 235000011613 Pinus brutia Nutrition 0.000 description 5
- 241000018646 Pinus brutia Species 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 239000007787 solid Substances 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
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/04842—Selection of displayed objects or displayed text elements
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
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)
- Document Processing Apparatus (AREA)
Abstract
The embodiment of the invention provides a method and a device for processing words, wherein in the method, click operation aiming at a selection button in a word display interface is detected, at least one word and the corresponding selection button are displayed in the word display interface, and the word and the selection button have unique correspondence; when the first click operation is detected, if a second click operation exists in the preset time, determining a first selection button corresponding to the first click operation and a second selection button corresponding to the second click operation; and selecting a first character corresponding to the first selection button, a target character corresponding to a target selection button positioned between the first selection button and the second selection button and a second character corresponding to the second selection button. In the invention, the characters are quickly selected by selecting the characters corresponding to the selection button, the characters do not need to be selected through a cursor, and the characters to be selected can be automatically determined after the selection button is determined, so that misoperation is reduced, and time consumption is reduced.
Description
Technical field
The present invention relates to word processing technical fields, more particularly to a kind of literal processing method and device.
Background technique
With the development of science and technology, touch screen using more and more common, user can be to touching screen display sometimes
Certain form of text is edited in word content, wherein certain types be usually name, address, telephone number, network address and
At least one of Email, such as: user edits the name " Wang Hong " in the short message for touching screen display (multiple
Make, clip and paste or share etc.), at this time, it may be necessary to first pass through the text to be chosen of vernier on sliding text displaying interface
" Wang Hong " then carries out corresponding editor to selected text " Wang Hong " again.
Due to the screen size of mobile terminal is smaller and interface on text interval it is smaller, hold during sliding vernier
It is also easy to produce maloperation, so that the process of selection is more time-consuming.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of literal processing method and device, with fast selecting text, reduces
Maloperation.Specific technical solution is as follows:
A kind of literal processing method is applied to mobile terminal, which comprises
Detection shows the clicking operation that button is chosen in interface for text, wherein the text shows in interface and shows
There are at least one text and corresponding selection button, the text and the selection button have unique correspondence;
When detecting the first clicking operation, detection whether there is the second clicking operation within a preset time;
If so, determining that first clicking operation corresponding first chooses button and second clicking operation is corresponding
Second chooses button;
Described first is chosen to choose corresponding first text of button, be located at the first selection button and second selection
Target text corresponding to Object selection button between button and described second chooses corresponding second text of button.
Optionally, further includes:
Not there is no the second clicking operation in detection, determine that first clicking operation corresponding first is chosen within a preset time
Button;
It chooses described first and chooses corresponding first text of button.
Optionally, it is described choose described first choose corresponding first text of button, be located at described first choose button and
Described second, which chooses target text and described second corresponding to Object selection button between button, chooses button corresponding the
Two texts, comprising:
Determine that described first chooses the corresponding first index value of button, is located at the first selection button and second choosing
The corresponding target index value of the Object selection button between button and described second is taken to choose the corresponding second index value of button,
In, each selection button uniquely corresponds to an index value, and each index value uniquely corresponds to a text;
Choose corresponding first text of button using text corresponding to the first index value as described first, will be described
Text corresponding to target index value is indexed as target text corresponding to the Object selection button and by described second
The corresponding text of value chooses the second text corresponding to button as described second;
Choose first text, the target text and second text.
It is optionally, described to choose corresponding first text of the first selection button, comprising:
Determine that described first chooses the corresponding first index value of button, wherein each selection button uniquely corresponds to a rope
Draw value, each index value uniquely corresponds to a text;
Corresponding first text of button is chosen using text corresponding to the first index value as described first;
Choose first text.
Optionally, further includes:
Pop-up is used to indicate the editing dialog frame edited to selected all texts, wherein the editing dialog
It include at least one in shearing, duplication and Paste in frame.
A kind of character processor, is applied to mobile terminal, and described device includes:
First detection module, for detecting the clicking operation for being directed to text and showing selection button in interface, wherein the text
Word, which is shown, shows at least one text and corresponding selection button in interface, the text and the selection button have only
One correspondence;
Second detection module, for when detecting the first clicking operation, detection to whether there is second within a preset time
Clicking operation, if so, the first determining module of triggering;
First determining module, for determining that first clicking operation corresponding first chooses button and described second
Clicking operation corresponding second chooses button;
First chooses module, chooses corresponding first text of button, positioned at first selection for choosing described first
Target text and described second corresponding to Object selection button between button and the second selection button chooses button pair
The second text answered.
Optionally, further includes:
Not there is no the second clicking operation for detecting in the second determining module, determine that described first clicks within a preset time
It operates corresponding first and chooses button;
Second chooses module, chooses corresponding first text of button for choosing described first.
Optionally, described first module is chosen, comprising:
First index value determination unit, for determining that described first chooses the corresponding first index value of button, positioned at described
First chooses the corresponding target index value of Object selection button and second choosing between button and the second selection button
Take the corresponding second index value of button, wherein each selection button uniquely corresponds to an index value, and each index value uniquely corresponds to
One text;
First text determination unit, for choosing button for text corresponding to the first index value as described first
Corresponding first text, using text corresponding to the target index value as target corresponding to the Object selection button text
Word and using text corresponding to the second index value as it is described second choose button corresponding to the second text;
First text selection unit, for choosing first text, the target text and second text.
Optionally, described second module is chosen, comprising:
Second index value determination unit, for determining that described first chooses the corresponding first index value of button, wherein each
It chooses button and uniquely corresponds to an index value, each index value uniquely corresponds to a text;
Second text determination unit, for choosing button for text corresponding to the first index value as described first
Corresponding first text;
Second text selection unit, for choosing first text.
Optionally, further includes:
Pop-up module is used for ejecting the editing dialog frame for being used to indicate and being edited to selected all texts, wherein
It include at least one in shearing, duplication and Paste in the editing dialog frame.
In the embodiment of the present invention, after detecting for the first clicking operation and the second clicking operation for choosing button, really
Fixed first clicking operation corresponding first chooses button and the second clicking operation corresponding second chooses button, by choosing first
It chooses corresponding to corresponding first text of button, the Object selection button between the first selection button and the second selection button
Target text and the mode of the second corresponding second text of selection button carry out fast selecting text, as a result, without passing through sliding
Text shows that the vernier on interface carrys out selected text, after determining selection button, can automatically determine the text to be chosen, subtract
Lack the maloperation as caused by sliding vernier, reduces time-consuming.Certainly, it implements any of the products of the present invention or method must be not necessarily
It needs to reach all the above advantage simultaneously.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the first flow diagram of literal processing method provided in an embodiment of the present invention;
Fig. 2 is that text of the shape provided in an embodiment of the present invention for choosing button when being circle shows interface schematic diagram;
Fig. 3 is second of flow diagram of literal processing method provided in an embodiment of the present invention;
Fig. 4 is the third flow diagram of literal processing method provided in an embodiment of the present invention;
Fig. 5 is the 4th kind of flow diagram of literal processing method provided in an embodiment of the present invention;
Fig. 6 is the 5th kind of flow diagram of literal processing method provided in an embodiment of the present invention;
Fig. 7 is the first structural schematic diagram of character processor provided in an embodiment of the present invention;
Fig. 8 is second of structural schematic diagram of character processor provided in an embodiment of the present invention;
Fig. 9 is the third structural schematic diagram of character processor provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to solve prior art problem, the embodiment of the invention provides a kind of literal processing method and devices.
A kind of literal processing method is provided for the embodiments of the invention first below to be introduced.
It should be noted that a kind of literal processing method provided by the embodiment of the present invention is applied to mobile terminal.In reality
In the application of border, which can be smart phone and tablet computer etc., this is all reasonable.
In addition, a kind of literal processing method executing subject provided by the embodiment of the present invention can fill for a kind of word processing
It sets, the device of the word processing can be independent client software, at this point, the independent client software can pass through execution
The present embodiment institute providing method carrys out fast selecting text, alternatively, the character processor can be in a certain client software
Plug-in unit, at this point, executing the present embodiment institute providing method by the plug-in unit enables the client software fast selecting text.
As shown in Figure 1, a kind of literal processing method provided in an embodiment of the present invention, is applied to mobile terminal, may include:
S101: detection shows the clicking operation that button is chosen in interface for text.
Wherein, at least one text is shown in text displaying interface and corresponding selection button, text are pressed with selection
Button has unique correspondence.
Since touch screen operation is convenient, more and more people use the mobile terminal with touch screen.When in movement
The text of terminal shows that detection shows in interface for text and chooses when showing text and corresponding selection button in interface
The clicking operation of button, wherein text shows that interface can be the interface that the various softwares of text can be shown on mobile terminal,
Such as: dialog interface, short message interface or input interface of memorandum of instant messaging application etc..
It is shown in text and shows at least one text and corresponding selection button in interface, text and selection button tool
There is unique correspondence.Wherein, choosing button may be displayed on the top, lower section, left or right side of its corresponding text, and selection is pressed
The shape of button can be circular, square or triangle, this is all reasonably, when selection button is not clicked on, to choose button
Form can be open circles shape, square hollow or hollow triangle.In addition show that the punctuation mark in interface can also be in text
Corresponding to choose button, this is all reasonable.
Such as: as shown in Fig. 2, the shape for choosing button is circle, chooses button and be shown in its lower section for corresponding to text, text
Word shows that the text shown in interface is that " Panasonic asks that boy, Yan Shi gather medicinal herbs.Only in this mountain, The Life God." then in text
Word, which is shown, shows a line text on interface, shows that the selection of the corresponding hollow rounded form of a line text is pressed in the next line of text
Button.
S102: when detecting the first clicking operation, detection whether there is the second clicking operation within a preset time, if
It is to execute step S103.
Detecting that detection is within a preset time when showing the first clicking operation for choosing button in interface for text
No there are the second clicking operations, wherein, generally can two selection buttons of adopting consecutive click chemical reaction since user is when choosing passage
Selection, therefore can pass through detection when detecting for the first clicking operation of button is chosen in text displaying interface
The text to be chosen of user is determined with the presence or absence of the second clicking operation within a preset time.Since user is generally continuity point
Two selection buttons are hit, therefore the preset time is shorter, can be 1s.
In addition, the form for choosing button can be become solid circles, sky from open circles shape after choosing button when the user clicks
The rectangular solid squares or hollow triangle of becoming of the heart become black triangle, or the form of selection button can be by hollow circle
Become the intermediate hollow round, square hollow for showing check mark and become the intermediate rectangular or hollow triangle for showing check mark becoming
Centre shows the black triangle of check mark, reminds user's selection button to be clicked as a result,.
S103: determine that the corresponding first selection button of the first clicking operation and the second clicking operation corresponding second are chosen and pressed
Button.
After detecting the first clicking operation and the second clicking operation, determine the first clicking operation it is corresponding first choose by
Button and the second clicking operation corresponding second choose button to carry out subsequent step.
S104: choose first choose corresponding first text of button, be located at first choose button and second choose button it
Between Object selection button corresponding to target text and second choose corresponding second text of button.
After the first selection button and the second selection button has been determined, that is, it can determine that the first selection button and the second selection are pressed
Object selection button between button, wherein the Object selection button may or may not exist.
Such as: the shape of button is chosen as circle, is chosen button and is shown in its lower section for corresponding to text, text shows interface
The text of middle display is that " Panasonic asks that boy, Yan Shi gather medicinal herbs.Only in this mountain, The Life God." shown on interface in text
It shows a line text, shows the selection button of the corresponding hollow rounded form of a line text in the next line of text.If it is determined that
First to choose button be the selection button below " pine " word, and second to choose button be the selection button below the word of "lower", then first
It chooses and Object selection button is not present between button and the second selection button;If it is determined that first chooses button as below " pine " word
Selection button, second choose button be " asking " word below selection button, then first choose button and second choose button it
Between there are Object selection button, Object selection button is the selection button below the word of "lower".
After being determined that the first selection button, second choose button and Object selection button, due to text and button is chosen
With unique correspondence, hence, it can be determined that first chooses mesh corresponding to corresponding first text of button, Object selection button
It marks text and second and chooses corresponding second text of button, choose the first text, target text and the second text.
After choosing the first text, target text and the second text, the first text, target text and the second text are in text
It shows and is highlighted on interface, such as: deepen font color, change font color or changes the color of font region, this
It is all reasonably, thus user's highlighted text to be reminded to be selected.
In the embodiment of the present invention, after detecting for the first clicking operation and the second clicking operation for choosing button, really
Fixed first clicking operation corresponding first chooses button and the second clicking operation corresponding second chooses button, by choosing first
It chooses corresponding to corresponding first text of button, the Object selection button between the first selection button and the second selection button
Target text and the mode of the second corresponding second text of selection button carry out fast selecting text, as a result, without passing through sliding
Text shows that the vernier on interface carrys out selected text, after determining selection button, can automatically determine the text to be chosen, subtract
Lack the maloperation as caused by sliding vernier, reduces time-consuming.
Method shown in Fig. 1 is described in detail below by a specific embodiment:
Such as: as shown in Fig. 2, mobile terminal is mobile phone, the shape of button is chosen as circle, it is right that selection button is shown in its
The lower section of text is answered, text shows that the text shown in interface is that " Panasonic asks that boy, Yan Shi gather medicinal herbs.Only in this mountain, cloud depth
Do not know to locate." text show interface on show a line text, show the corresponding hollow circle of a line text in the next line of text
The selection button of form, after user clicks selection button, selection button becomes intermediate from open circles shape and shows the hollow of check mark
It is round.
Detection shows the clicking operation that button is chosen in interface for text, detects the first clicking operation, and detect
There are second points to hit operation in preset time, determines that the first selection button is the selection button below " asking " word, the second selection is pressed
Button is the selection button below " only " word, then there are Object selection button, mesh between the first selection button and the second selection button
It is that " boy, Yan Shi gather medicinal herbs that mark, which chooses button,." in selection button below each text, choosing first, to choose button corresponding
First text " asking " chooses target text corresponding to the Object selection button between button positioned at the first selection button and second
" boy, Yan Shi gather medicinal herbs." and corresponding second text " only " of the second selection button.
Thus text has been selected " to ask that boy, Yan Shi gather medicinal herbs.Only ", and " it will ask that boy, Yan Shi gather medicinal herbs.Only " in text
Show that the region where in interface is deepened.
Further, on the basis of method shown in Fig. 1, when there is no the second clicking operation within a preset time in detection,
As shown in figure 3, a kind of literal processing method provided in an embodiment of the present invention, can also include:
S105: determine that the first clicking operation corresponding first chooses button.
Since user only clicks a selection button when choosing a text, detection does not exist within a preset time
It when the second clicking operation, that is, can determine that user only chooses a text, determine that the first clicking operation corresponding first chooses button
To carry out subsequent step.
S106: it chooses first and chooses corresponding first text of button.
Due to text and button is chosen with unique correspondence, hence, it can be determined that first chooses button corresponding first
Text chooses the first text.
Such as: the shape of button is chosen as circle, is chosen button and is shown in its lower section for corresponding to text, text shows interface
The text of middle display is that " Panasonic asks that boy, Yan Shi gather medicinal herbs.Only in this mountain, The Life God." shown on interface in text
It shows a line text, shows the selection button of the corresponding hollow rounded form of a line text in the next line of text.If it is determined that
First chooses button as the selection button below " pine " word, determines that corresponding first text of the first selection button is " pine " word, choosing
Take " pine " word.
When detecting as a result, within a preset time in the presence of the second clicking operation, the first clicking operation corresponding first is determined
Button is chosen, and chooses first and chooses corresponding first text of button, a text can be quickly selected as a result, reduce and accidentally grasp
Make, reduces time-consuming.
It chooses corresponding first text of button it should be noted that choosing first, be located at the first selection button and the second choosing
Target text corresponding to the Object selection button between button and second is taken to choose the specific reality of corresponding second text of button
Existing mode carries out citing introduction there are a variety of below.
In one implementation, it chooses corresponding first text of button as shown in figure 4, choosing first, be located at the first choosing
Button and second is taken to choose target text and second corresponding to Object selection button between button and choose button corresponding the
Two texts (S104) may include:
S1041: it determines the corresponding first index value of the first selection button, be located at the first selection button and the second selection button
Between the corresponding target index value of Object selection button and second choose the corresponding second index value of button, wherein Mei Gexuan
Button is taken uniquely to correspond to an index value, each index value uniquely corresponds to a text.
The corresponding index value of the text is automatically generated when generating text, wherein index value is a mark, passes through rope
Draw value i.e. and can determine corresponding text, specifically, the text can be text, number or punctuation mark etc..Therefore, each index
Value can uniquely correspond to a text, in order to which by choosing button selected text, each selection button is uniquely corresponded to a rope
Draw value, as a result, after determining selection button, that is, can determine the corresponding text of selection button.
After being determined that the first selection button, second choose button and Object selection button, only due to each selection button
An one corresponding index value, hence, it can be determined that the corresponding first index value of the first selection button, Object selection button are corresponding
Target index value and second chooses the corresponding second index value of button, and since each index value uniquely corresponds to a text, because
This, can determine the corresponding text of first index value, the corresponding text of target index value and the corresponding text of second index value.
S1042: corresponding first text of button is chosen using text corresponding to first index value as first, by target rope
Draw the corresponding text of value as target text corresponding to Object selection button and by text corresponding to second index value
The second text corresponding to button is chosen as second.
Determining the corresponding text of first index value, the corresponding text of target index value and the corresponding text of second index value
Afterwards, choose corresponding first text of button using text corresponding to first index value as first, will be corresponding to target index value
Text as target text corresponding to Object selection button and using text corresponding to second index value as second choosing
Take the second text corresponding to button.
S1043: the first text, target text and the second text are chosen.
Choose determining the first text, target text and the second text.
Corresponding index value is determined by choosing button as a result, then corresponding text is determined by index value, is chosen and is determined
Text.
It should be noted that choosing first chooses the specific implementation of corresponding first text of button there are a variety of, under
Face carries out citing introduction.
It in one implementation, can be with as shown in figure 5, choosing first chooses corresponding first text (S106) of button
Include:
S1061: the corresponding first index value of the first selection button is determined.
Wherein, each selection button uniquely corresponds to an index value, and each index value uniquely corresponds to a text.
After the first selection button has been determined, since each selection button uniquely corresponds to an index value, can be true
Fixed first chooses the corresponding first index value of button, and since each index value uniquely corresponds to a text, hence, it can be determined that
The corresponding text of first index value.
S1062: corresponding first text of button is chosen using text corresponding to first index value as first.
After determining the corresponding text of first index value, button is chosen using text corresponding to first index value as first
Corresponding first text.
S1063: the first text is chosen.
Choose the first determining text.
Corresponding index value is determined by choosing button as a result, then corresponding text is determined by index value, is chosen and is determined
Text.
Further, on the basis of method shown in Fig. 1, as shown in fig. 6, a kind of text provided in an embodiment of the present invention
Processing method can also include:
S107: pop-up is used to indicate the editing dialog frame edited to selected all texts.
It wherein, include at least one in shearing, duplication and Paste in institute's editing dialog frame.
The text of selection is edited for convenience, an editing dialog frame can be popped up, which can be with
Top set show text show interface on, can be shown in the editing dialog frame including in shearing, duplication and Paste extremely
One item missing.
As a result, in such a way that pop-up is used to indicate the editing dialog frame edited to selected all texts, side
Just user edits the text of selection.
Relative to above method embodiment, the embodiment of the invention also provides a kind of character processors, are applied to movement
Terminal, as shown in fig. 7, the apparatus may include:
First detection module 201, for detecting the clicking operation for being directed to text and showing selection button in interface, wherein institute
It states and shows at least one text and corresponding selection button in text displaying interface, the text and the selection button have
There is unique correspondence;
Second detection module 202, for when detecting the first clicking operation, detection is within a preset time with the presence or absence of the
Two clicking operations, if so, the first determining module of triggering;
First determining module 203, for determining that first clicking operation corresponding first chooses button and described
Second clicking operation corresponding second chooses button;
First chooses module 204, chooses corresponding first text of button, positioned at first choosing for choosing described first
Target text and described second corresponding to the Object selection button between button and the second selection button is taken to choose button
Corresponding second text.
In the embodiment of the present invention, after detecting for the first clicking operation and the second clicking operation for choosing button, really
Fixed first clicking operation corresponding first chooses button and the second clicking operation corresponding second chooses button, by choosing first
It chooses corresponding to corresponding first text of button, the Object selection button between the first selection button and the second selection button
Target text and the mode of the second corresponding second text of selection button carry out fast selecting text, as a result, without passing through sliding
Text shows that the vernier on interface carrys out selected text, after determining selection button, can automatically determine the text to be chosen, subtract
Lack the maloperation as caused by sliding vernier, reduces time-consuming.
Specifically, described first chooses module 204, may include:
First index value determination unit, for determining that described first chooses the corresponding first index value of button, positioned at described
First chooses the corresponding target index value of Object selection button and second choosing between button and the second selection button
Take the corresponding second index value of button, wherein each selection button uniquely corresponds to an index value, and each index value uniquely corresponds to
One text;
First text determination unit, for choosing button for text corresponding to the first index value as described first
Corresponding first text, using text corresponding to the target index value as target corresponding to the Object selection button text
Word and using text corresponding to the second index value as it is described second choose button corresponding to the second text;
First text selection unit, for choosing first text, the target text and second text.
On the basis of the embodiment shown in fig. 7, as shown in figure 8, a kind of character processor provided in an embodiment of the present invention,
Applied to mobile terminal, which can also include:
Not there is no the second clicking operation within a preset time for detecting, determine at described first point in the second determining module 205
It hits operation corresponding first and chooses button;
Second chooses module 206, chooses corresponding first text of button for choosing described first.
When detecting as a result, within a preset time in the presence of the second clicking operation, the first clicking operation corresponding first is determined
Button is chosen, and chooses first and chooses corresponding first text of button, a text can be quickly selected as a result, reduce and accidentally grasp
Make, reduces time-consuming
Specifically, described second chooses module 206, may include:
Second index value determination unit, for determining that described first chooses the corresponding first index value of button, wherein each
It chooses button and uniquely corresponds to an index value, each index value uniquely corresponds to a text;
Second text determination unit, for choosing button for text corresponding to the first index value as described first
Corresponding first text;
Second text selection unit, for choosing first text.
On the basis of the embodiment shown in fig. 7, as shown in figure 9, a kind of character processor provided in an embodiment of the present invention,
Applied to mobile terminal, which can also include:
Pop-up module 207 is used for ejecting the editing dialog frame for being used to indicate and being edited to selected all texts,
In, it include at least one in shearing, duplication and Paste in the editing dialog frame.
As a result, in such a way that pop-up is used to indicate the editing dialog frame edited to selected all texts, side
Just user edits the text of selection.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of literal processing method is applied to mobile terminal, which is characterized in that the described method includes:
Detection shows the clicking operation that button is chosen in interface for text, wherein the text show shown in interface to
A few text and corresponding selection button, the text and the selection button have unique correspondence;
When detecting the first clicking operation, detection whether there is the second clicking operation within a preset time;
If so, determining that first clicking operation corresponding first chooses button and second clicking operation corresponding second
Choose button;
Described first is chosen to choose corresponding first text of button, be located at the first selection button and the second selection button
Between Object selection button corresponding to target text and described second choose corresponding second text of button.
2. the method according to claim 1, wherein further include:
Detection within a preset time do not exist the second clicking operation, determine first clicking operation it is corresponding first choose by
Button;
It chooses described first and chooses corresponding first text of button.
3. method according to claim 1 or 2, which is characterized in that described to choose described first and choose button corresponding the
One text chooses target text corresponding to the Object selection button between button positioned at the first selection button and described second
Word and described second chooses corresponding second text of button, comprising:
It determines the corresponding first index value of the first selection button, choose and press positioned at the first selection button and described second
The corresponding target index value of Object selection button and described second between button choose the corresponding second index value of button, wherein
Each selection button uniquely corresponds to an index value, and each index value uniquely corresponds to a text;
Corresponding first text of button is chosen using text corresponding to the first index value as described first, by the target
Text corresponding to index value is as target text corresponding to the Object selection button and by the second index value institute
Corresponding text chooses the second text corresponding to button as described second;
Choose first text, the target text and second text.
4. according to the method described in claim 2, it is characterized in that, described choose corresponding first text of the first selection button
Word, comprising:
Determining that described first chooses the corresponding first index value of button, wherein each selection button uniquely corresponds to an index value,
Each index value uniquely corresponds to a text;
Corresponding first text of button is chosen using text corresponding to the first index value as described first;
Choose first text.
5. method according to claim 1 or 2, which is characterized in that further include:
Pop-up is used to indicate the editing dialog frame edited to selected all texts, wherein in the editing dialog frame
Including at least one in shearing, duplication and Paste.
6. a kind of character processor, which is characterized in that be applied to mobile terminal, described device includes:
First detection module, for detecting the clicking operation for being directed to text and showing selection button in interface, wherein the text exhibition
Show and show at least one text and corresponding selection button in interface, it is unique right that the text has with the selection button
Ying Xing;
Second detection module, for when detecting the first clicking operation, detection to be clicked with the presence or absence of second within a preset time
Operation, if so, the first determining module of triggering;
First determining module is clicked for determining that first clicking operation corresponding first chooses button and described second
It operates corresponding second and chooses button;
First chooses module, chooses corresponding first text of button, positioned at the first selection button for choosing described first
Target text corresponding to Object selection button between the second selection button and the second selection button are corresponding
Second text.
7. device according to claim 6, which is characterized in that further include:
Not there is no the second clicking operation within a preset time for detecting, determine first clicking operation in the second determining module
Corresponding first chooses button;
Second chooses module, chooses corresponding first text of button for choosing described first.
8. device according to claim 6 or 7, which is characterized in that described first chooses module, comprising:
First index value determination unit, for determining that described first chooses the corresponding first index value of button, positioned at described first
It chooses the corresponding target index value of Object selection button between button and the second selection button and second selection is pressed
The corresponding second index value of button, wherein each selection button uniquely corresponds to an index value, and each index value uniquely corresponds to one
Text;
First text determination unit, it is corresponding for choosing button using text corresponding to the first index value as described first
The first text, using text corresponding to the target index value as target text corresponding to the Object selection button with
And the second text corresponding to button is chosen using text corresponding to the second index value as described second;
First text selection unit, for choosing first text, the target text and second text.
9. device according to claim 7, which is characterized in that described second chooses module, comprising:
Second index value determination unit, for determining that described first chooses the corresponding first index value of button, wherein each selection
Button uniquely corresponds to an index value, and each index value uniquely corresponds to a text;
Second text determination unit, it is corresponding for choosing button using text corresponding to the first index value as described first
The first text;
Second text selection unit, for choosing first text.
10. device according to claim 6 or 7, which is characterized in that further include:
Pop-up module is used for ejecting the editing dialog frame for being used to indicate and being edited to selected all texts, wherein described
It include at least one in shearing, duplication and Paste in editing dialog frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610363611.1A CN106066760B (en) | 2016-05-26 | 2016-05-26 | Word processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610363611.1A CN106066760B (en) | 2016-05-26 | 2016-05-26 | Word processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106066760A CN106066760A (en) | 2016-11-02 |
CN106066760B true CN106066760B (en) | 2019-04-12 |
Family
ID=57420421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610363611.1A Expired - Fee Related CN106066760B (en) | 2016-05-26 | 2016-05-26 | Word processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106066760B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110232174A (en) * | 2019-04-22 | 2019-09-13 | 维沃移动通信有限公司 | A kind of content chooses method and terminal device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101419526A (en) * | 2007-10-26 | 2009-04-29 | 捷讯研究有限公司 | Text selection using a touch sensitive screen of a handheld mobile communication device |
CN101526881A (en) * | 2008-03-04 | 2009-09-09 | 苹果公司 | Text selection by gesture |
CN103365570A (en) * | 2012-03-26 | 2013-10-23 | 华为技术有限公司 | Content selecting method and content selecting device |
CN105094626A (en) * | 2015-06-26 | 2015-11-25 | 小米科技有限责任公司 | Method and device for selecting text contents |
-
2016
- 2016-05-26 CN CN201610363611.1A patent/CN106066760B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101419526A (en) * | 2007-10-26 | 2009-04-29 | 捷讯研究有限公司 | Text selection using a touch sensitive screen of a handheld mobile communication device |
CN101526881A (en) * | 2008-03-04 | 2009-09-09 | 苹果公司 | Text selection by gesture |
CN103365570A (en) * | 2012-03-26 | 2013-10-23 | 华为技术有限公司 | Content selecting method and content selecting device |
CN105094626A (en) * | 2015-06-26 | 2015-11-25 | 小米科技有限责任公司 | Method and device for selecting text contents |
Also Published As
Publication number | Publication date |
---|---|
CN106066760A (en) | 2016-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104090714B (en) | A kind of mobile terminal checks the method and system of chat record | |
CN102221957B (en) | Electronic equipment and operation control method thereof | |
CN105824497A (en) | Unread message displaying method and mobile terminal | |
CN103577079B (en) | The method interacted with the application and electronic equipment are realized in electronic equipment | |
EP2869174A1 (en) | Method and device for text input and display of intelligent terminal | |
CN104238904B (en) | A kind of method and mobile terminal of display interface sliding | |
CN107066188B (en) | A kind of method and terminal sending screenshot picture | |
EP2703959A1 (en) | Terminal and method for inputting in terminal using positive and negative ends of stylus | |
CN103473003A (en) | Character input error correction method and device | |
US20100039449A1 (en) | Menu controlling method | |
CN103235692A (en) | Touch-screen device and method for touch-screen device to select target objects | |
CN103513969B (en) | Application program entry method for building up, device and terminal | |
CN103064627A (en) | Application management method and device | |
EP3133479A1 (en) | Element deleting method and apparatus based on touch screen | |
CN104169861A (en) | Method and apparatus for combining contact information, and terminal | |
CN103488488A (en) | Text input check method, device ad mobile terminal | |
CN102799348A (en) | Method and device for icon edition on terminal adopting touch screen | |
CN109976599A (en) | A kind of unread message processing method, device and the equipment of application program | |
CN108279848B (en) | Display method and electronic equipment | |
CN105824548B (en) | A kind of electronic form unit grid merges, method for splitting and device | |
CN102331910A (en) | Display control method and device for touch display screen | |
CN102750035B (en) | The determination method and apparatus of display position of cursor | |
CN108089796A (en) | The display methods and device of shortcut bar | |
CN106066760B (en) | Word processing method and device | |
CN106210259A (en) | A kind of multi-screen display method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190412 |