CN103699292B - Method and device for entering into text selection mode - Google Patents

Method and device for entering into text selection mode Download PDF

Info

Publication number
CN103699292B
CN103699292B CN201310629034.2A CN201310629034A CN103699292B CN 103699292 B CN103699292 B CN 103699292B CN 201310629034 A CN201310629034 A CN 201310629034A CN 103699292 B CN103699292 B CN 103699292B
Authority
CN
China
Prior art keywords
cursor
clicked
direction key
show
text
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.)
Active
Application number
CN201310629034.2A
Other languages
Chinese (zh)
Other versions
CN103699292A (en
Inventor
张旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310629034.2A priority Critical patent/CN103699292B/en
Publication of CN103699292A publication Critical patent/CN103699292A/en
Application granted granted Critical
Publication of CN103699292B publication Critical patent/CN103699292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a device for entering into a text selection mode, and belongs to the technical field of a computer. The method comprises the steps of displaying a first cursor when entering into a single-cursor movement mode under a text editing state, and displaying a direction key corresponding to the first cursor; entering into the text selection mode when the situation that the direction key corresponding to the first cursor is clicked is detected, and displaying a second cursor according to the direction of the direction key which is clicked. Due to the adoption of the method and the device, which are disclosed by the invention, the efficiency of switching the single-cursor movement mode into the text selection mode can be increased.

Description

A kind of method and apparatus entering text selection mode
Technical field
It relates to field of computer technology, particularly to a kind of method and apparatus entering text selection mode.
Background technology
Developing rapidly with mobile terminal technology, the mobile terminal by contact action such as smart mobile phone, panel computer Obtain extensive popularization and applied, become very important part in people's daily life.Text editing is mobile A very conventional function in terminal.
When carrying out text editing in the terminal of contact action, often it is related to be selected from single cursor movement mode to text Select pattern(Show two cursors, for choosing one section of character in text)Switching, general mode of operation is, first, User clicks on editable text and generates cursor, enters single cursor movement mode, and then, user again taps on or length is touched by this cursor Send out function menu, finally, user clicks on the option of " selection " in function menu, enters text selection mode.
During realizing the disclosure, inventor finds that correlation technique at least has problems with:
In the above-described techniques, user at least needs above-mentioned three step operations, can be switched to literary composition by single cursor movement mode This selection pattern, leads to the efficiency being switched to text selection mode from single cursor movement mode more low.
Content of the invention
In order to solve the problems, such as correlation technique, the embodiment of the present disclosure provide a kind of enter text selection mode method and Device.Described technical scheme is as follows:
On the one hand, there is provided a kind of method entering text selection mode, methods described includes:
Under text editing state, when entering single cursor movement mode, show the first cursor, and show described first light Mark corresponding direction key;
When the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and according to quilt The direction of the direction key clicked on, shows the second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described when the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and root According to the direction of clicked direction key, show the second cursor, including:
When the corresponding forward direction button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent smooth mark of forward direction of the first smooth target current cursor position, show described second cursor;
When the corresponding backward button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent backward smooth mark of the first smooth target current cursor position, show described second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described when the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and root According to the direction of clicked direction key, show the second cursor, including:
When the corresponding forward direction button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the mark of light foremost of text, show described second cursor;
When the corresponding backward button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the least significant end light mark of text, show described second cursor.
Preferably, described display the second cursor, including:
Show described second cursor, and show the corresponding direction key of described second cursor;
After described entrance text selection mode, methods described also includes:
When described first cursor is detected or the corresponding direction key of the second cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor, if the target light mark that the cursor moving is moved is another Light target current cursor position, then enter single cursor movement mode, remove one of cursor and its corresponding direction key.
Preferably, described when described first cursor is detected or the corresponding direction key of the second cursor is clicked, according to The direction of clicked direction key, moves to corresponding cursor, if the target light that the cursor moving is moved Mark is another light target current cursor position, then enter single cursor movement mode, removes one of cursor and it corresponds to Direction key, including:
When the corresponding direction key of described first cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described second cursor is in opposite direction with respect to the described first smooth target, then by described first cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the Two cursors are identical with respect to the described first smooth target direction, then enter single cursor movement mode, remove described first cursor and its Corresponding direction key;
When the corresponding direction key of described second cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described first cursor is in opposite direction with respect to the described second smooth target, then by described second cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the One cursor is identical with respect to the described second smooth target direction, then enter single cursor movement mode, remove described second cursor and its Corresponding direction key.
Preferably, methods described also includes:
Under the non-editing mode of text, when entering text selection mode, show the 3rd cursor and the 4th cursor, and show The described corresponding direction key of 3rd cursor and the corresponding direction key of described 4th cursor.
Preferably, methods described also includes:
When described 3rd cursor is detected or the corresponding direction key of the 4th cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor.
Preferably, during described single cursor movement mode when entrance, show the first cursor, including:
When current text is detected and being clicked and enter single cursor movement mode, in the corresponding preset range of click location Interior, if there is the target light mark between adjacent two words or after error character, then in described target light mark Show described first cursor.
On the other hand, there is provided a kind of device entering text selection mode, described device includes:
Display module, under text editing state, when entering single cursor movement mode, shows the first cursor, and Show the corresponding direction key of described first cursor;
Handover module, for when the corresponding direction key of described first cursor is detected and being clicked, entering text selecting Pattern, and the direction according to clicked direction key, show the second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described handover module, is used for:
When the corresponding forward direction button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent smooth mark of forward direction of the first smooth target current cursor position, show described second cursor;
When the corresponding backward button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent backward smooth mark of the first smooth target current cursor position, show described second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described handover module, is used for:
When the corresponding forward direction button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the mark of light foremost of text, show described second cursor;
When the corresponding backward button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the least significant end light mark of text, show described second cursor.
Preferably, described handover module, is used for:
Show described second cursor, and show the corresponding direction key of described second cursor;
Described device also includes mobile module, is used for:
When described first cursor is detected or the corresponding direction key of the second cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor, if the target light mark that the cursor moving is moved is another Light target current cursor position, then enter single cursor movement mode, remove one of cursor and its corresponding direction key.
Preferably, described mobile module, is used for:
When the corresponding direction key of described first cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described second cursor is in opposite direction with respect to the described first smooth target, then by described first cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the Two cursors are identical with respect to the described first smooth target direction, then enter single cursor movement mode, remove described first cursor and its Corresponding direction key;
When the corresponding direction key of described second cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described first cursor is in opposite direction with respect to the described second smooth target, then by described second cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the One cursor is identical with respect to the described second smooth target direction, then enter single cursor movement mode, remove described second cursor and its Corresponding direction key.
Preferably, described display module, is additionally operable to:
Under the non-editing mode of text, when entering text selection mode, show the 3rd cursor and the 4th cursor, and show The described corresponding direction key of 3rd cursor and the corresponding direction key of described 4th cursor.
Preferably, described device also includes mobile module, is used for:
When described 3rd cursor is detected or the corresponding direction key of the 4th cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor.
Preferably, described display module, is used for:
When current text is detected and being clicked and enter single cursor movement mode, in the corresponding preset range of click location Interior, if there is the target light mark between adjacent two words or after error character, then in described target light mark Show described first cursor.
Some beneficial effects of the disclosure can include:
In the embodiment of the present disclosure, under text editing state, when entering single cursor movement mode, show the first cursor, And show the corresponding direction key of the first cursor, when the corresponding direction key of the first cursor is detected and being clicked, enter text Selection pattern, and the direction according to clicked direction key, show the second cursor, so, by less operating procedure, just Text selection mode can be switched to by single cursor movement mode, it is thus possible to improve single cursor movement mode to text selecting The efficiency of pattern switching.
It should be appreciated that above general description and detailed description hereinafter are only exemplary, can not be limited this Open.
Brief description
Accompanying drawing described herein is used for providing further understanding of the disclosure, constitutes the part of the application, not Constitute restriction of this disclosure.In the accompanying drawings:
Fig. 1 is the exemplary process diagram of the method for entrance text selection mode that the embodiment of the present disclosure provides;
Fig. 2 a, 2b, 2c, 2d are the illustrative interfaces fig. that the terminal that the embodiment of the present disclosure provides shows;
Fig. 3 a, 3b are the illustrative interfaces fig. that the terminal that the embodiment of the present disclosure provides shows;
Fig. 4 a, 4b are the illustrative interfaces fig. that the terminal that the embodiment of the present disclosure provides shows;
Fig. 5 a, 5b are the illustrative interfaces fig. that the terminal that the embodiment of the present disclosure provides shows;
Fig. 6 is the illustrative interfaces fig. that the terminal that the embodiment of the present disclosure provides shows;
Fig. 7 is the exemplary block diagram of the device of entrance text selection mode that the embodiment of the present disclosure provides;
Fig. 8 is the exemplary block diagram of the terminal device that the embodiment of the present disclosure provides.
By above-mentioned accompanying drawing it has been shown that the clear and definite embodiment of the disclosure, hereinafter will be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but by reference to specific embodiment be Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Purpose, technical scheme and advantage for making the disclosure become more apparent, with reference to embodiment and accompanying drawing, right The disclosure is described in further details.Here, the exemplary embodiment of the disclosure and its illustrate for explaining the disclosure, but simultaneously Not as restriction of this disclosure.
The embodiment of the present disclosure provides a kind of method and apparatus entering text selection mode, below in conjunction with accompanying drawing to the disclosure It is described in detail.
Embodiment one
The embodiment of the present disclosure provides a kind of method entering text selection mode, as shown in figure 1, the processing stream of the method Journey may include steps of:
In a step 101, under text editing state, when entering single cursor movement mode, show the first cursor, and show Show the corresponding direction key of the first cursor.
In a step 102, when the corresponding direction key of the first cursor is detected and being clicked, enter text selection mode, And the direction according to clicked direction key, show the second cursor.
In the embodiment of the present disclosure, under text editing state, when entering single cursor movement mode, show the first cursor, And show the corresponding direction key of the first cursor, when the corresponding direction key of the first cursor is detected and being clicked, enter text Selection pattern, and the direction according to clicked direction key, show the second cursor, so, by less operating procedure, just Text selection mode can be switched to by single cursor movement mode, it is thus possible to improve single cursor movement mode to text selecting The efficiency of pattern switching.
Embodiment two
The embodiment of the present disclosure provides a kind of method entering text selection mode, and the executive agent of the method can be for appointing Meaning has the electronic equipment of text editing function, for example, has the terminal of touch-screen(As smart mobile phone, panel computer etc. are mobile Terminal), the present embodiment to carry out the detailed description of scheme using the terminal with touch-screen as a example executive agent, other execution Similar in the case of main body, repeat no more in the present embodiment.
Below in conjunction with specific embodiment, the handling process shown in Fig. 1 is described in detail, content can be as Under:
In a step 101, under text editing state, when entering single cursor movement mode, show the first cursor, and show Show the corresponding direction key of the first cursor, the method for the present embodiment can be used in terminal.
Wherein, text editing state can be the target text of current operation(Or title current text)For editable text State, for example, during using wechat input chat content, or during editor's Mail Contents etc., it is in text editing state.Monochromatic light mark moves Dynamic model formula, can be only to show a light target edit pattern in text edit area, user can control cursor arbitrarily to move Dynamic, and the operation such as carry out inputting, delete.Direction key could be for the button that cursor travel direction is controlled, each direction Button can be to there being the direction of oneself, such as forward direction(Alternatively referred to as left-hand, the corresponding forward part content pointing to text), backward (Alternatively referred to as dextrad, the corresponding rear partial content pointing to text), on to, lower to etc..The quantity of the corresponding direction key of cursor Can arbitrarily arrange according to demand(Can be one or more), the direction of cursor each direction key corresponding can also basis Demand is arbitrarily arranged, and optionally, can arrange each cursor and correspond to both direction button, and arrange the direction of both direction button Be respectively forward and backward, that is, the direction key in step 101 include before to button and backward button.
In force, user prepares in certain text(I.e. current text)In when carrying out contents selection or Edition Contains, permissible Click on, with finger, the position being ready in current text choosing or editing, at this moment triggering terminal can enter monochromatic light mark movement mould Formula, when entering single cursor movement mode, in position display first cursor of finger click, and can show that the first cursor is corresponding Direction key, to button and backward button before can including, the display location of direction key can arbitrarily be arranged according to demand.Example As may be displayed on light target neighbouring position, as shown in Figure 2 a, under normal conditions, direction key may be displayed under cursor End, as shown in Figure 2 b, when cursor be located at text editing window in the most descending when, direction key may be displayed on cursor upper end, As shown in Figure 2 c, when the Far Left that cursor is located in text editing window, forward direction button and backward button can show respectively Top and bottom on the right side of cursor, as shown in Figure 2 d, when the rightmost that cursor is located in text editing window, forward direction button Lower end and the upper end on the left of cursor can be respectively displayed on backward button.Again for example, it is possible to pre-set text editing window Certain internal or external fixed position is the display location of the corresponding direction key of the first cursor.
Alternatively, it is also possible to when entering text editing state, directly triggering enters list cursor movement mode it is not necessary to user Click on current text, for example, when user opens certain text, terminal shows current text in text editing window, working as The place foremost of front text shows the first cursor, and shows the corresponding direction key of the first cursor.
When optionally, single cursor movement mode being entered for above-mentioned click text, can be to display the first smooth target Position is configured, and corresponding process can be:When current text is detected and being clicked and enter single cursor movement mode, In the corresponding preset range of click location, if there is the target cursor between adjacent two words or after error character Position, then show the first cursor in target light mark.
Wherein, the corresponding preset range of click location, can be the model of the touched each point composition of touch-screen when clicking on The scope enclosed or obtain after the edge of this scope starts outwards to expand predetermined width, can also be with click location Center(The geometric center of gravity of as touched each point in touch-screen)Circular scope for the pre-set radius in the center of circle etc..
In force, the text near click location can be carried out with word segmentation processing, determine including each word, and know Error character not included in it(As wrongly written character, wrong punctuate etc.).Then, if in click location corresponding preset range internal memory In the light mark between adjacent two words, or, if in click location corresponding preset range internal memory positioned at erroneous words Light mark after symbol, then using corresponding light mark as target light mark, for showing the first cursor.If located in adjacent two Light mark between word and the light mark after being located at error character exist multiple, then can in this multiple smooth mark, Choose near click location center light mark as target light mark, for showing the first cursor.
In a step 102, when the corresponding direction key of the first cursor is detected and being clicked, enter text selection mode, And the direction according to clicked direction key, show the second cursor, the method for the present embodiment can be used in terminal.
Wherein, text selection mode, can be to show in text filed between two light are marked with to two cursors The pattern that content of text is chosen, text selection mode can be applied under text editing state or the non-editing mode of text, In a step 102, the first cursor and the second cursor are two cursors of text selection mode, in order to single cursor movement mode Distinguish, under text selection mode, light target display mode can be modified slightly, for example, aobvious using do not flash to cursor Show mode etc..
In force, in text selection mode, can be in two cursors(First cursor and the second cursor)Between literary composition Selection band is shown on this content, for indicating the content of text of current selection, selects band can adopt special display effect Really, as color background, striped background, colored font etc..
Optionally, the smooth target of display second is processed, and can include:Show the second cursor, and show that the second cursor is corresponding Direction key(To button and backward button before can including).The display of the corresponding direction key of the second cursor and the first cursor pair The display of the direction key answered is similar to, and is referred to foregoing, here is not repeated.
In a step 102, display the second smooth target processing mode can be varied, following present wherein several optional Processing mode(To button and backward button before wherein direction key includes):
Mode one
When detecting, the first cursor corresponding forward direction button is clicked(As shown in Figure 3 a)When, enter text selection mode, And at the adjacent smooth mark of forward direction of the first smooth target current cursor position, show the second cursor(As shown in Figure 3 b);When detecting When the corresponding backward button of first cursor is clicked, enter text selection mode, and behind the first smooth target current cursor position To at adjacent smooth mark, show the second cursor.
Wherein, often there is a light mark between two neighboring character, for example, in " making progress every day ", " my god " with " my god " Between have a smooth mark(It is denoted as light mark a), between " my god " and " to ", have a smooth mark(It is denoted as light mark b), " to " with " on " Between have a smooth mark(It is denoted as light mark c).The adjacent smooth mark of forward direction of current cursor position is current cursor position forward next Individual light mark(It is separated by a character with current cursor position), the adjacent backward smooth mark of current cursor position be current cursor position backward Next light mark(It is separated by a character with current cursor position), for example, the adjacent smooth mark of forward direction of light mark b is light mark The adjacent backward smooth mark of a, light mark b is light mark c.
In force, when entering text selection mode, the first smooth target position can keep constant, and according to above-mentioned side Formula in corresponding position display second cursor, meanwhile, as shown in Figure 3 b it is contemplated that display space limited, can be to the first light The display location of target direction key carries out certain adjustment, for example, in the way of in figure, in the first cursor and the second cursor In, the right side of cursor lower end will be arranged on after the light target on right side to button and forward direction button, and arrange up and down, by the light in left side It is arranged on the left side of cursor lower end before target to button and backward button, and arrange up and down.
Mode two
Double-clicked when the first cursor corresponding forward direction button is detected(As shown in fig. 4 a)When, enter text selection mode, And at the mark of light foremost of current text, show the second cursor(As shown in Figure 4 b);When detecting, the first cursor is corresponding When backward button is double-clicked, enter text selection mode, and at the least significant end light mark of current text, show the second cursor.
The processing procedure of mode two is similar with mode one, may be referred to the specific descriptions of mode one, and difference is a little The mode hit and the second smooth target display location.
In the embodiment of the present invention, enter text selection mode after, can control in several ways the first cursor and Second cursor moves, for example, it is possible to clicking on cursor and dragging, to control cursor to move, or, the corresponding side of cursor can be clicked on To button, to control cursor to move.Move light target mode for clicking on direction key, the process of terminal can be:Work as detection To the first cursor or the corresponding direction key of the second cursor clicked when, according to the direction of clicked direction key, to corresponding Cursor move.Optionally, if the target light mark that the cursor moving is moved is that another light target is current Light mark, then enter single cursor movement mode, remove one of cursor and its corresponding direction key.
In force, often click direction key can be set, then cursor moves a light mark to the direction of direction key, Length presses direction key, then cursor persistently moves to the direction of direction key.During cursor is mobile, if with another Individual cursor is overlapping, then can trigger pattern switching, enters single cursor movement mode, cancels one of cursor and it is corresponding The display of direction key.
Optionally, during controlling cursor mobile, the place of following manner can also be carried out according to the operation of user Reason:
For the first cursor, double-clicked when the corresponding direction key of the first cursor is detected(As shown in Figure 5 a)When, if The direction being double-clicked direction key is in opposite direction with respect to the first smooth target with the second cursor, then move to currently the first cursor At the light mark of the end points corresponding with the direction being double-clicked direction key in text(As shown in Figure 5 b)If being double-clicked direction The direction of button is identical with respect to the described first smooth target direction with the second cursor, then enter single cursor movement mode, removes the One cursor and its corresponding direction key.
In force, for above-mentioned by double-click direction key direction with the second cursor with respect to the first smooth target direction phase Anti- situation, if the direction being double-clicked direction key is front to the first cursor moves to the cursor foremost of text At position, if the direction being double-clicked direction key is backward, at the light mark of the rearmost end the first cursor being moved to text.
For the second cursor, when the corresponding direction key of the second cursor is detected and being double-clicked, if pressed by double-clicking direction The direction of key is in opposite direction with respect to the described second smooth target with the first cursor, then by the second cursor move in current text with At the light mark of the corresponding end points in the direction of double-click direction key, if being double-clicked direction and first cursor of direction key Identical with respect to the second smooth target direction, then enter single cursor movement mode, remove the second cursor and its corresponding direction key.
Second smooth target is processed identical for the first smooth target process with above-mentioned, here is not repeated.
In the embodiment of the present invention, optionally, under single cursor movement mode or under text selection mode, can be by double-clicking The mode of text carries out text and entirely selects, that is, choose the full content of current text.
The embodiment of the present invention additionally provides under the non-editing mode of text, light target display mode, and corresponding process is permissible As follows:Under the non-editing mode of text, when entering text selection mode, display the 3rd cursor and the 4th cursor, and show the The corresponding direction key of three cursors and the corresponding direction key of the 4th cursor.
Wherein, the non-editing mode of text can be the target text of current operation(Or title current text)For editable text State, also referred to as text read-only status, for example, browse and during webpage, be in the non-editing mode of text.
In force, under the non-editing mode of text, user can grow by certain text(I.e. current text), this will trigger eventually End enters text selection mode, chooses the word of long opsition dependent in current text, i.e. the light mark difference in this word front and back Show the 3rd cursor and the 4th cursor, and show the corresponding direction key of the 3rd cursor and the corresponding direction key of the 4th cursor, Selection band can also be shown between the 3rd cursor and the 4th cursor.Can be multiple to the display mode of cursor and direction key Various, can be using the above-mentioned display mode under text editing state of the present embodiment.For some special circumstances it is also possible to Using the display mode different from text editing state, for example, as shown in fig. 6, working as the 3rd cursor and the 4th cursor positioned at adjacent During light mark(It is between them, to be only spaced a character), because being there is no single cursor movement mode under the non-editing mode of text , can remove in this case left side light target after to before the light target on button and right side to button.
Under the non-editing mode of text, the 3rd cursor and the 4th cursor can be controlled in several ways to move, for example, can To click on cursor and to drag, to control cursor to move, or, the corresponding direction key of cursor can be clicked on, to control cursor to move Dynamic.Move light target mode for clicking on direction key, the process of terminal can be:When the 3rd cursor or the 4th cursor is detected When corresponding direction key is clicked, according to the direction of clicked direction key, corresponding cursor is moved.
In force, under the non-editing mode of text control cursor movement process with the process of text editing state basic phase With.Difference is, because not having single cursor movement mode under the non-editing mode of text, will not relate to enter monochromatic light The process of mark Move Mode, so, when the target light mark that the cursor moving is moved is another current light of light target During mark, light target can be stoped to move using different processing modes, for example, or, skip target light mark, make cursor Move directly to next light mark, etc..Alternatively, it is also possible to adopt in manner just described, when the 3rd cursor and the 4th cursor are located at During adjacent smooth mark, remove left side light target after to before the light target on button and right side to button.
In the embodiment of the present disclosure, under text editing state, when entering single cursor movement mode, show the first cursor, And show the corresponding direction key of the first cursor, when the corresponding direction key of the first cursor is detected and being clicked, enter text Selection pattern, and the direction according to clicked direction key, show the second cursor, so, by less operating procedure, just Text selection mode can be switched to by single cursor movement mode, it is thus possible to improve single cursor movement mode to text selecting The efficiency of pattern switching.
Embodiment three
Based on identical technology design, the embodiment of the present disclosure additionally provides a kind of device entering text selection mode, such as Shown in Fig. 7, described device includes:
Display module 710, under text editing state, when entering single cursor movement mode, shows the first cursor, And show the corresponding direction key of described first cursor;
Handover module 720, for when the corresponding direction key of described first cursor is detected and being clicked, entering text choosing Select pattern, and the direction according to clicked direction key, show the second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described handover module 720, is used for:
When the corresponding forward direction button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent smooth mark of forward direction of the first smooth target current cursor position, show described second cursor;
When the corresponding backward button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent backward smooth mark of the first smooth target current cursor position, show described second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described handover module 720, is used for:
When the corresponding forward direction button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the mark of light foremost of text, show described second cursor;
When the corresponding backward button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the least significant end light mark of text, show described second cursor.
Preferably, described handover module 720, is used for:
Show described second cursor, and show the corresponding direction key of described second cursor;
Described device also includes mobile module, is used for:
When described first cursor is detected or the corresponding direction key of the second cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor, if the target light mark that the cursor moving is moved is another Light target current cursor position, then enter single cursor movement mode, remove one of cursor and its corresponding direction key.
Preferably, described mobile module, is used for:
When the corresponding direction key of described first cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described second cursor is in opposite direction with respect to the described first smooth target, then by described first cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the Two cursors are identical with respect to the described first smooth target direction, then enter single cursor movement mode, remove described first cursor and its Corresponding direction key;
When the corresponding direction key of described second cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described first cursor is in opposite direction with respect to the described second smooth target, then by described second cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the One cursor is identical with respect to the described second smooth target direction, then enter single cursor movement mode, remove described second cursor and its Corresponding direction key.
Preferably, described display module 710, is additionally operable to:
Under the non-editing mode of text, when entering text selection mode, show the 3rd cursor and the 4th cursor, and show The described corresponding direction key of 3rd cursor and the corresponding direction key of described 4th cursor.
Preferably, described device also includes mobile module, is used for:
When described 3rd cursor is detected or the corresponding direction key of the 4th cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor.
Preferably, described display module 710, is used for:
When current text is detected and being clicked and enter single cursor movement mode, in the corresponding preset range of click location Interior, if there is the target light mark between adjacent two words or after error character, then in described target light mark Show described first cursor.
In the embodiment of the present disclosure, under text editing state, when entering single cursor movement mode, show the first cursor, And show the corresponding direction key of the first cursor, when the corresponding direction key of the first cursor is detected and being clicked, enter text Selection pattern, and the direction according to clicked direction key, show the second cursor, so, by less operating procedure, just Text selection mode can be switched to by single cursor movement mode, it is thus possible to improve single cursor movement mode to text selecting The efficiency of pattern switching.
Example IV
Fig. 8 is terminal device structural representation in the embodiment of the present disclosure.Referring to Fig. 8, this terminal can be used for implementing above-mentioned The method providing in embodiment.Preferably:
Terminal device 800 can include communication unit 110, include one or more computer-readable recording mediums Memory 120, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WIFI(Wireless Fidelity, Wireless Fidelity)Module 170, the processor 180 including or more than one processing core and power supply 190 grade parts.It will be understood by those skilled in the art that the terminal device structure shown in figure does not constitute the limit to terminal device Fixed, ratio can be included and illustrate more or less of part, or combine some parts, or different part arrangements.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 Can be RF(Radio Frequency, radio frequency)Circuit, router, modem, etc. network communication equipment.Especially, when When communication unit 110 is RF circuit, after the downlink information of base station is received, transfer at one or more than one processor 180 Reason;In addition, up data is activation will be related to base station.Usually as communication unit RF circuit include but is not limited to antenna, At least one amplifier, tuner, one or more oscillator, subscriber identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, communication unit 110 can also be by wireless Communication is communicated with network and other equipment.Described radio communication can use arbitrary communication standard or agreement, including but not limited to GSM(Global System of Mobile communication, global system for mobile communications)、GPRS(General Packet Radio Service, general packet radio service)、CDMA(Code Division Multiple Access, code Divide multiple access)、WCDMA(Wideband Code Division Multiple Access, WCDMA)、LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service)Deng. Memory 120 can be used for storing software program and module, and processor 180 passes through to run the software journey being stored in memory 120 Sequence and module, thus execute various function application and data processing.Memory 120 can mainly include storing program area and deposit Storage data field, wherein, storing program area can application program needed for storage program area, at least one function(Such as sound is broadcast Playing function, image player function etc.)Deng;Storage data field can store according to terminal device 800 using the data being created(Than As voice data, phone directory etc.)Deng.Additionally, memory 120 can include high-speed random access memory, can also include non- Volatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Accordingly Ground, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory 120 Access.
Input block 130 can be used for numeral or the character information of receives input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Preferably, input block 130 may include tactile Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, can collect use Family is thereon or neighbouring touch operation(Such as user uses any suitable object such as finger, stylus or annex in touch-sensitive table Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.Optional , Touch sensitive surface 131 may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touch Receive touch information in detection means, and be converted into contact coordinate, then give processor 180, and can receiving processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Preferably, Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、 One or more of trace ball, mouse, action bars etc..
Display unit 140 can be used for showing by the information of user input or the information and the terminal device that are supplied to user 800 various graphical user interface, these graphical user interface can be come by figure, text, icon, video and its any combination Constitute.Display unit 140 may include display floater 141, optionally, can adopt LCD(Liquid Crystal Display, Liquid crystal display)、OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)To configure display etc. form Panel 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detect thereon or near Touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touch event Type provides corresponding visual output on display floater 141.Although in fig. 8, Touch sensitive surface 131 and display floater 141 are To realize input and input function as two independent parts, but in some embodiments it is possible to by Touch sensitive surface 131 with Display floater 141 integrated and realize input and output function.
Terminal device 800 may also include at least one sensor 150, such as optical sensor, motion sensor and other Sensor.Optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light The brightness to adjust display floater 141 for the light and shade, proximity transducer can cut out display when terminal device 800 moves in one's ear Panel 141 and/or backlight.As one kind of motion sensor, Gravity accelerometer can detect in all directions(Generally Three axles)The size of acceleration, can detect that size and the direction of gravity when static, can be used for identifying the application of mobile phone attitude(Than As horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely The other sensors such as the gyroscope that can also configure in terminal device 800, barometer, hygrometer, thermometer, infrared ray sensor, Will not be described here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal device 800. Electric signal after the voice data receiving conversion can be transferred to loudspeaker 161, is changed by loudspeaker 161 by voicefrequency circuit 160 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160 Voice data is converted to after receipts, then after voice data output processor 180 is processed, such as another to be sent to through RF circuit 110 One terminal device, or voice data is exported to memory 120 to process further.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 800.
In order to realize radio communication, this terminal device can be configured with wireless communication unit 170, this wireless communication unit 170 can be WIFI module.WIFI belongs to short range wireless transmission technology, and terminal device 800 can by wireless communication unit 170 To help user to send and receive e-mail, to browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although in figure shows wireless communication unit 170, but it is understood that, it is simultaneously not belonging to terminal device 800 Must be configured into, can omit in the scope not changing disclosed essence as needed completely.
Processor 180 is the control centre of terminal device 800, using various interfaces and connection whole mobile phone each Part, is stored in software program and/or module in memory 120 by running or executing, and calls and be stored in memory Data in 120, the various functions of execution terminal device 800 and processing data, thus carry out integral monitoring to mobile phone.Optional , processor 180 may include one or more processing cores;Preferably, processor 180 can integrated application processor and modulatedemodulate Adjust processor, wherein, application processor mainly processes operating system, user interface and application program etc., modem processor Main process radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Terminal device 800 also includes the power supply 190 powered to all parts(Such as battery)It is preferred that power supply can lead to Cross power-supply management system logically contiguous with processor 180, thus by power-supply management system realize management charge, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 800 can also include camera, bluetooth module etc., will not be described here.In this reality Apply in example, terminal device also includes memory, and one or more than one program, one of them or more than one Program storage in memory, and be configured to by one or more than one computing device one or more than one Program bag contains the instruction of the method for carrying out embodiment of the present disclosure offer:
Under text editing state, when entering single cursor movement mode, show the first cursor, and show described first light Mark corresponding direction key;
When the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and according to quilt The direction of the direction key clicked on, shows the second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described when the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and root According to the direction of clicked direction key, show the second cursor, including:
When the corresponding forward direction button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent smooth mark of forward direction of the first smooth target current cursor position, show described second cursor;
When the corresponding backward button of described first cursor is detected and being clicked, enter text selection mode, and described At the adjacent backward smooth mark of the first smooth target current cursor position, show described second cursor.
Preferably, described direction key, including:Forward direction button and backward button;
Described when the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and root According to the direction of clicked direction key, show the second cursor, including:
When the corresponding forward direction button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the mark of light foremost of text, show described second cursor;
When the corresponding backward button of described first cursor is detected and being double-clicked, enter text selection mode, and current At the least significant end light mark of text, show described second cursor.
Preferably, described display the second cursor, including:
Show described second cursor, and show the corresponding direction key of described second cursor;
After described entrance text selection mode, methods described also includes:
When described first cursor is detected or the corresponding direction key of the second cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor, if the target light mark that the cursor moving is moved is another Light target current cursor position, then enter single cursor movement mode, remove one of cursor and its corresponding direction key.
Preferably, described when described first cursor is detected or the corresponding direction key of the second cursor is clicked, according to The direction of clicked direction key, moves to corresponding cursor, if the target light that the cursor moving is moved Mark is another light target current cursor position, then enter single cursor movement mode, removes one of cursor and it corresponds to Direction key, including:
When the corresponding direction key of described first cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described second cursor is in opposite direction with respect to the described first smooth target, then by described first cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the Two cursors are identical with respect to the described first smooth target direction, then enter single cursor movement mode, remove described first cursor and its Corresponding direction key;
When the corresponding direction key of described second cursor is detected and being double-clicked, if double-clicked the direction of direction key with Described first cursor is in opposite direction with respect to the described second smooth target, then by described second cursor move in current text with institute State and double-clicked at the light mark of the corresponding end points in direction of direction key, if being double-clicked the direction of direction key and described the One cursor is identical with respect to the described second smooth target direction, then enter single cursor movement mode, remove described second cursor and its Corresponding direction key.
Preferably, methods described also includes:
Under the non-editing mode of text, when entering text selection mode, show the 3rd cursor and the 4th cursor, and show The described corresponding direction key of 3rd cursor and the corresponding direction key of described 4th cursor.
Preferably, methods described also includes:
When described 3rd cursor is detected or the corresponding direction key of the 4th cursor is clicked, according to clicked direction The direction of button, moves to corresponding cursor.
Preferably, during described single cursor movement mode when entrance, show the first cursor, including:
When current text is detected and being clicked and enter single cursor movement mode, in the corresponding preset range of click location Interior, if there is the target light mark between adjacent two words or after error character, then in described target light mark Show described first cursor.
In the embodiment of the present disclosure, under text editing state, when entering single cursor movement mode, show the first cursor, And show the corresponding direction key of the first cursor, when the corresponding direction key of the first cursor is detected and being clicked, enter text Selection pattern, and the direction according to clicked direction key, show the second cursor, so, by less operating procedure, just Text selection mode can be switched to by single cursor movement mode, it is thus possible to improve single cursor movement mode to text selecting The efficiency of pattern switching.
Additionally, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, individual number Word assistant(PDA)Deng the protection domain of the therefore disclosure should not limit as certain certain types of mobile terminal.
Additionally, be also implemented as the computer program being executed by CPU according to disclosed method.In this computer journey When sequence is executed by CPU, the above-mentioned functions of restriction in execution disclosed method.
Additionally, said method step and system unit can also utilize controller and make controller real for storage The computer readable storage devices of the computer program of existing above-mentioned steps or Elementary Function are realized.
In addition, it should be appreciated that computer readable storage devices as herein described(For example, memory)Can be volatile Property memory or nonvolatile memory, or volatile memory and nonvolatile memory can be included.As example Son and nonrestrictive, nonvolatile memory can include read-only storage(ROM), programming ROM(PROM), electrically programmable ROM(EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory can include arbitrary access Memory (RAM), this RAM can serve as external cache.Nonrestrictive as an example, RAM can be with many The form of kind obtains, such as synchronous random access memory(DRAM), dynamic ram(DRAM), synchronous dram(SDRAM), double data rate SDRAM (DDR SDRAM), strengthen SDRAM(ESDRAM), synchronization link DRAM(SLDRAM)And direct RambusRAM(DRRAM).Institute The storage device of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the various illustrative logical blocks described by disclosure herein, mould Block, circuit and algorithm steps may be implemented as electronic hardware, computer software or a combination of both.Hard in order to clearly demonstrate Part and this interchangeability of software, the function with regard to various exemplary components, square, module, circuit and step it is entered Go general description.This function is implemented as software and is also implemented as hardware depending on concrete application and applying Design constraint to whole system.Those skilled in the art can realize described in every way for every kind of concrete application Function, but this realize decision and should not be interpreted as causing a departure from the scope of the present disclosure.
Can be using being designed in conjunction with the various illustrative logical blocks described by disclosure herein, module and circuit Execute the following part of function described here to realize or to execute:General processor, digital signal processor(DSP), special collection Become circuit(ASIC), field programmable gate array(FPGA)Or other PLD, discrete gate or transistor logic, point Vertical nextport hardware component NextPort or any combinations of these parts.General processor can be microprocessor, but alternatively, processes Device can be any conventional processors, controller, microcontroller or state machine.Processor can also be implemented as computing device Combination, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combine DSP core or any Other this configurations.
Step in conjunction with the method described by disclosure herein or algorithm can be directly contained in hardware, by processor and holds In the software module of row or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storage Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art any its In the storage medium of its form.Exemplary storage medium is coupled to processor so that processor can be from this storage medium Middle reading information or to this storage medium write information.In an alternative, described storage medium can be with processor collection Become together.Processor and storage medium may reside within ASIC.ASIC may reside within user terminal.Replace at one In scheme, processor and storage medium can be resident in the user terminal as discrete assembly.
In one or more exemplary design, described function can be real in hardware, software, firmware or its any combination Existing.If realized in software, described function can be stored in computer-readable as one or more instructions or code Transmit on medium or by computer-readable medium.Computer-readable medium includes computer-readable storage medium and communication media, This communication media includes contributing to computer program is sent to any medium of another position from a position.Storage medium It can be any usable medium that can be accessed by a general purpose or special purpose computer.Nonrestrictive as an example, this computer Computer-readable recording medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic Property storage device, or can be used for carrying or required program code that storage form is instruction or data structure and can Any other medium being accessed by universal or special computer or universal or special processor.Additionally, any connection can It is properly termed as computer-readable medium.For example, if using coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL)Or the wireless technology of such as infrared ray, radio and microwave to send software from website, server or other remote source, Then above-mentioned coaxial cable, optical fiber cable, the wireless technology of twisted-pair feeder, the first, radio of DSL or such as infrared and microwave are included in The definition of medium.As used herein, disk and CD include compact disk(CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disk generally magnetically reproduce data, and CD utilizes laser optics ground reproduce data.On The combination stating content should also be as including in the range of computer-readable medium.
Although content disclosed above shows the exemplary embodiment of the disclosure, it should be noted that without departing substantially from power On the premise of profit requires the scope of the present disclosure limiting, may be many modifications and change.According to described herein open real Function, step and/or the action of applying the claim to a method of example are not required to execute with any particular order.Although additionally, the disclosure Element with the description of individual form or can require, it is also contemplated that multiple, unless explicitly limited for odd number.
Above-described specific embodiment, purpose of this disclosure, technical scheme and beneficial effect have been carried out further Describe in detail, be should be understood that the specific embodiment that the foregoing is only the disclosure, be not used to limit the disclosure Protection domain, within all spirit in the disclosure and principle, any modification, equivalent substitution and improvement done etc., all should comprise Within the protection domain of the disclosure.

Claims (12)

1. a kind of method entering text selection mode is it is characterised in that methods described includes:
Under text editing state, when entering single cursor movement mode, show the first cursor, and show described first cursor pair The direction key answered;
When the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and according to clicked Direction key direction, show the second cursor;
Wherein, described display the second cursor, including:Show described second cursor, and show the corresponding direction of described second cursor Button;
After described entrance text selection mode, methods described also includes:
When the corresponding direction key of described first cursor is detected and being double-clicked, if double-clicked the direction of direction key with described Second cursor is in opposite direction with respect to the described first smooth target, then by described first cursor move in current text with described quilt Double-click at the corresponding light mark of end points in direction of direction key, if being double-clicked the direction of direction key and described second light Mark is identical with respect to the described first smooth target direction, then enter single cursor movement mode, removes described first cursor and it corresponds to Direction key;
When the corresponding direction key of described second cursor is detected and being double-clicked, if double-clicked the direction of direction key with described First cursor is in opposite direction with respect to the described second smooth target, then by described second cursor move in current text with described quilt Double-click at the corresponding light mark of end points in direction of direction key, if being double-clicked the direction of direction key and described first light Mark is identical with respect to the described second smooth target direction, then enter single cursor movement mode, removes described second cursor and it corresponds to Direction key.
2. method according to claim 1 is it is characterised in that described direction key, including:Forward direction button and pressing backward Key;
Described when the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and according to quilt The direction of the direction key clicked on, shows the second cursor, including:
When the corresponding forward direction button of described first cursor is detected and being clicked, enter text selection mode, and described first At the adjacent smooth mark of forward direction of light target current cursor position, show described second cursor;
When the corresponding backward button of described first cursor is detected and being clicked, enter text selection mode, and described first At the adjacent backward smooth mark of light target current cursor position, show described second cursor.
3. method according to claim 1 is it is characterised in that described direction key, including:Forward direction button and pressing backward Key;
Described when the corresponding direction key of described first cursor is detected and being clicked, enter text selection mode, and according to quilt The direction of the direction key clicked on, shows the second cursor, including:
When the corresponding forward direction button of described first cursor is detected and being double-clicked, enter text selection mode, and in current text The mark of light foremost at, show described second cursor;
When the corresponding backward button of described first cursor is detected and being double-clicked, enter text selection mode, and in current text Least significant end light mark at, show described second cursor.
4. method according to claim 1 is it is characterised in that methods described also includes:
Under the non-editing mode of text, when entering text selection mode, show the 3rd cursor and the 4th cursor, and show described The corresponding direction key of 3rd cursor and the corresponding direction key of described 4th cursor.
5. method according to claim 4 is it is characterised in that methods described also includes:
When described 3rd cursor is detected or the corresponding direction key of the 4th cursor is clicked, according to clicked direction key Direction, corresponding cursor is moved.
6. method according to claim 1 it is characterised in that described when entering single cursor movement mode, show first Cursor, including:
When current text is detected and being clicked and enter single cursor movement mode, in the corresponding preset range of click location, If there is the target light mark between adjacent two words or after error character, then show in described target light mark Described first cursor.
7. a kind of device entering text selection mode is it is characterised in that described device includes:
Display module, under text editing state, when entering single cursor movement mode, shows the first cursor, and shows The corresponding direction key of described first cursor;
Handover module, for when the corresponding direction key of described first cursor is detected and being clicked, entering text selection mode, And the direction according to clicked direction key, show the second cursor;
Wherein, described handover module, is used for:
Show described second cursor, and show the corresponding direction key of described second cursor;
Described device also includes mobile module, is used for:
When the corresponding direction key of described first cursor is detected and being double-clicked, if double-clicked the direction of direction key with described Second cursor is in opposite direction with respect to the described first smooth target, then by described first cursor move in current text with described quilt Double-click at the corresponding light mark of end points in direction of direction key, if being double-clicked the direction of direction key and described second light Mark is identical with respect to the described first smooth target direction, then enter single cursor movement mode, removes described first cursor and it corresponds to Direction key;
When the corresponding direction key of described second cursor is detected and being double-clicked, if double-clicked the direction of direction key with described First cursor is in opposite direction with respect to the described second smooth target, then by described second cursor move in current text with described quilt Double-click at the corresponding light mark of end points in direction of direction key, if being double-clicked the direction of direction key and described first light Mark is identical with respect to the described second smooth target direction, then enter single cursor movement mode, removes described second cursor and it corresponds to Direction key.
8. device according to claim 7 is it is characterised in that described direction key, including:Forward direction button and pressing backward Key;
Described handover module, is used for:
When the corresponding forward direction button of described first cursor is detected and being clicked, enter text selection mode, and described first At the adjacent smooth mark of forward direction of light target current cursor position, show described second cursor;
When the corresponding backward button of described first cursor is detected and being clicked, enter text selection mode, and described first At the adjacent backward smooth mark of light target current cursor position, show described second cursor.
9. device according to claim 7 is it is characterised in that described direction key, including:Forward direction button and pressing backward Key;
Described handover module, is used for:
When the corresponding forward direction button of described first cursor is detected and being double-clicked, enter text selection mode, and in current text The mark of light foremost at, show described second cursor;
When the corresponding backward button of described first cursor is detected and being double-clicked, enter text selection mode, and in current text Least significant end light mark at, show described second cursor.
10. device according to claim 7, it is characterised in that described display module, is additionally operable to:
Under the non-editing mode of text, when entering text selection mode, show the 3rd cursor and the 4th cursor, and show described The corresponding direction key of 3rd cursor and the corresponding direction key of described 4th cursor.
11. devices according to claim 10, it is characterised in that described device also includes mobile module, are used for:
When described 3rd cursor is detected or the corresponding direction key of the 4th cursor is clicked, according to clicked direction key Direction, corresponding cursor is moved.
12. devices according to claim 7, it is characterised in that described display module, are used for:
When current text is detected and being clicked and enter single cursor movement mode, in the corresponding preset range of click location, If there is the target light mark between adjacent two words or after error character, then show in described target light mark Described first cursor.
CN201310629034.2A 2013-11-29 2013-11-29 Method and device for entering into text selection mode Active CN103699292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310629034.2A CN103699292B (en) 2013-11-29 2013-11-29 Method and device for entering into text selection mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310629034.2A CN103699292B (en) 2013-11-29 2013-11-29 Method and device for entering into text selection mode

Publications (2)

Publication Number Publication Date
CN103699292A CN103699292A (en) 2014-04-02
CN103699292B true CN103699292B (en) 2017-02-15

Family

ID=50360835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310629034.2A Active CN103699292B (en) 2013-11-29 2013-11-29 Method and device for entering into text selection mode

Country Status (1)

Country Link
CN (1) CN103699292B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6082458B2 (en) 2012-05-09 2017-02-15 アップル インコーポレイテッド Device, method, and graphical user interface for providing tactile feedback of actions performed within a user interface
CN105988698A (en) * 2015-02-02 2016-10-05 珠海金山办公软件有限公司 Method and device for adjusting content blocks on touch terminal screen
US10095396B2 (en) 2015-03-08 2018-10-09 Apple Inc. Devices, methods, and graphical user interfaces for interacting with a control object while dragging another object
US9632664B2 (en) 2015-03-08 2017-04-25 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US9639184B2 (en) 2015-03-19 2017-05-02 Apple Inc. Touch input cursor manipulation
US10019425B2 (en) * 2015-04-03 2018-07-10 Qualcomm Incorporated Enhancement to text selection controls
US9860451B2 (en) 2015-06-07 2018-01-02 Apple Inc. Devices and methods for capturing and interacting with enhanced digital images
US9880735B2 (en) 2015-08-10 2018-01-30 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN107407970A (en) * 2015-12-31 2017-11-28 深圳市柔宇科技有限公司 Input method and input unit
KR102463993B1 (en) * 2017-03-08 2022-11-07 삼성전자주식회사 Method for displaying handler and electronic device therefor
CN107404582A (en) * 2017-07-30 2017-11-28 安徽云帮邦网络技术有限公司 A kind of cell phone system text input program
CN108664196A (en) * 2018-05-21 2018-10-16 北京华大智宝电子***有限公司 A kind of method and device of control cursor movement
CN112860146A (en) * 2021-01-28 2021-05-28 维沃移动通信有限公司 Text selection method and device and electronic equipment
CN113377254B (en) * 2021-06-23 2023-07-11 西安诺瓦星云科技股份有限公司 Input text selection method and device
CN115238049B (en) * 2022-06-17 2023-08-04 北京优酷科技有限公司 Script labeling method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327322A (en) * 2005-08-15 2005-11-24 Just Syst Corp Input error recovery support device
CN102541421A (en) * 2010-12-31 2012-07-04 上海量明科技发展有限公司 Cursor moving method and system in input method
CN102880417A (en) * 2011-09-12 2013-01-16 微软公司 Dominant touch selection and the cursor is placed

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8661339B2 (en) * 2011-05-31 2014-02-25 Apple Inc. Devices, methods, and graphical user interfaces for document manipulation
CN103135901B (en) * 2013-02-04 2016-01-20 广东欧珀移动通信有限公司 Method and this mobile terminal of text is accurately selected in mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327322A (en) * 2005-08-15 2005-11-24 Just Syst Corp Input error recovery support device
CN102541421A (en) * 2010-12-31 2012-07-04 上海量明科技发展有限公司 Cursor moving method and system in input method
CN102880417A (en) * 2011-09-12 2013-01-16 微软公司 Dominant touch selection and the cursor is placed

Also Published As

Publication number Publication date
CN103699292A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103699292B (en) Method and device for entering into text selection mode
CN103309673B (en) A kind of conversation processing method based on gesture, device
CN107678631B (en) Side menu display method and device and terminal
CN103616981B (en) application processing method, device and mobile terminal
CN103530040B (en) Object element moving method, device and electronic equipment
CN103605471B (en) Single-hand control method, device and handheld device
CN103543913A (en) Terminal device operation method and device, and terminal device
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN103473004A (en) Method, device and terminal equipment for displaying message
CN104967910A (en) Multimedia play progress control method and apparatus
CN103281687A (en) Network flow management method and device of double-card terminal
CN103472998B (en) A kind of method of selected text, device and terminal unit
CN105363201A (en) Prompt information display method and prompt information display device
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN103678502B (en) Information collection method and device
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN104216915A (en) Webpage processing method, device and terminal equipment
CN103677564B (en) Slide response method, device and terminal device
CN104869465A (en) Video playing control method and device
CN104965642A (en) Method and apparatus for generating a drop-down list
CN104423840A (en) Progress bar implementing method and device
CN104199596A (en) Scene interface switching method and device
WO2017128986A1 (en) Selection method, device and storage medium for multimedia menu item
CN103823851B (en) Webpage display process and device
CN104090743B (en) Music localization method, device and mobile terminal for mobile 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
C14 Grant of patent or utility model
GR01 Patent grant