CN105955629A - Method and device for selecting rich text - Google Patents

Method and device for selecting rich text Download PDF

Info

Publication number
CN105955629A
CN105955629A CN201610289755.7A CN201610289755A CN105955629A CN 105955629 A CN105955629 A CN 105955629A CN 201610289755 A CN201610289755 A CN 201610289755A CN 105955629 A CN105955629 A CN 105955629A
Authority
CN
China
Prior art keywords
cursor
picture
character string
address path
path character
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.)
Pending
Application number
CN201610289755.7A
Other languages
Chinese (zh)
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.)
Lemobile Information Technology (Beijing) Co Ltd
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610289755.7A priority Critical patent/CN105955629A/en
Publication of CN105955629A publication Critical patent/CN105955629A/en
Priority to PCT/CN2016/100271 priority patent/WO2017190465A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and device for selecting a rich text. The method comprises the steps of displaying a head cursor and a tail cursor at a location that long-press operation is sensed according to the long-press operation of a user; obtaining the locations of the head cursor and the tail cursor after dragging according to dragging operation of the user; judging whether the locations of the head cursor and the tail cursor after dragging are located in an address path character string corresponding to a picture or not; and moving the cursor in the address path character string corresponding to the picture out of the address path character string corresponding to the picture. Therefore, one part of the address path character string corresponding to the picture can be prevented from being selected.

Description

The method and apparatus choosing rich text
Technical field
The present invention relates to computer technical field of mobile terminals, be specifically related to a kind of side choosing rich text Method and device.
Background technology
In the mobile Internet epoch, the application in people live of the mobile terminals such as mobile phone is more and more extensive. People also get used to carrying out on mobile terminals text editing.At present, increasing application all can be adopted Picture and text mixing editor, such as instant messaging application and note application etc. is realized by editor. For instant messaging is applied, dialog box uses picture and text mixing editor, and user can be made to carry out net Network is more lively when chatting; For note is applied, the figure sector-meeting inserting shooting in note makes Recording of note is more convenient and concrete.Picture is typically to be inserted into the form of address path character string In rich text, such as with<img src=”Picture address”>Form, editor calls out this Picture on address path, such that it is able to demonstrate picture in editor.
User is when carrying out RichText Edition, it may be desirable to choose part rich text, with perform duplication, The operations such as stickup, for the mobile terminal with touch screen, user can grow by touching on rich text Touch screen, then drag stem cursor and afterbody cursor with finger, thus choose stem cursor and afterbody light Rich text between mark.For the rich text with picture, due to contacting of finger and touch screen Area is relatively big, in the case of word segment is close to picture, as shown in FIG. 1A and 1B, when with When family is intended merely to choose word, stem cursor or afterbody cursor may be dragged in picture, are reflected in In editor, cursor is physically located in the address path character string corresponding to picture, at this In the case of Zhong, if user performs duplication, the operation pasted, it is possible to paste text out except User needs to choose outside word, also with such as " <img src=" XXXX " such character string, use These unnecessary character strings must not no longer be deleted by family.And when user wishes also to choose picture, such as figure Shown in 1C and Fig. 1 D, cursor can not choose picture the most completely, is performing duplication, the behaviour pasted After work, paste word and partial address path string that text out is the most simply chosen, due to ground Location path string is incomplete, and editor also cannot call out picture and show, to user Bring bad experience.
Summary of the invention
The technical problem to be solved in the present invention is that existing scheme can choose picture institute when choosing rich text Corresponding a part of address path string.
To this end, embodiments provide a kind of method choosing rich text, including: according to user Length by operation, sensing described length by the position display stem cursor and afterbody cursor of operation; According to the drag operation of user, obtain the stem cursor after dragging and afterbody light target position;Judge institute State the stem cursor after dragging and/or whether afterbody light target position is in the address path corresponding to picture In character string;The cursor being in the address path character string corresponding to described picture is moved to described Outside address path character string corresponding to picture.
Preferably, described the cursor being in the address path character string corresponding to described picture is moved Step outside the address path character string corresponding to described picture includes: judge to be in described picture institute The corresponding cursor in address path character string is stem cursor or afterbody cursor;When being stem cursor Time, described stem cursor is moved backward to the address path character string rear corresponding to described picture.
Preferably, described the cursor being in the address path character string corresponding to described picture is moved Step outside the address path character string corresponding to described picture also includes: when being afterbody light timestamp, Described afterbody cursor is moved forward to the address path character string front corresponding to described picture.
Preferably, described the cursor being in the address path character string corresponding to described picture is moved Step outside the address path character string corresponding to described picture includes: judge to be in described picture institute The corresponding cursor in address path character string is in the address path character string corresponding to described picture Front portion or rear portion;When being in front portion, the described cursor being in front portion is moved forward to described figure Address path character string front corresponding to sheet.
Preferably, described the cursor being in the address path character string corresponding to described picture is moved Step outside the address path character string corresponding to described picture also includes: when being in rear portion, will The described cursor being in rear portion moves backward to the address path character string rear corresponding to described picture.
Correspondingly, another embodiment of the present invention discloses a kind of device choosing rich text, including: aobvious Show unit, for the length according to user by operation, show by the position of operation sensing described length Stem cursor and afterbody cursor;Acquiring unit, for the drag operation according to user, obtains after dragging Stem cursor and afterbody light target position;Judging unit, the stem light after judging described dragging Whether mark and/or afterbody light target position are in the address path character string corresponding to picture;Mobile single Unit, for the stem cursor after described judging unit judges described dragging and/or afterbody light target position When being in the address path character string corresponding to described picture, the ground corresponding to described picture will be in Cursor in the path string of location moves to outside the address path character string corresponding to described picture.
Preferably, described mobile unit includes: the first judgment sub-unit, is in described figure for judgement The cursor in address path character string corresponding to sheet is stem cursor or afterbody cursor;First moves Subelement, for judging it is stem light timestamp in described first judgment sub-unit, by described stem cursor Move backward to the address path character string rear corresponding to described picture.
Preferably, described mobile unit also includes: the second mover unit, for sentencing described first Disconnected subelement judges it is afterbody light timestamp, is moved forward to corresponding to described picture by described afterbody cursor Address path character string front.
Preferably, described mobile unit includes: the second judgment sub-unit, is in described figure for judgement The cursor in address path character string corresponding to sheet is in the address path character corresponding to described picture The front portion of string or rear portion;3rd mover unit, at described second judgment sub-unit judgement When front portion, the described cursor being in front portion is moved forward to the address path corresponding to described picture Character string front.
Preferably, described mobile unit also includes: the 4th mover unit, for sentencing described second When disconnected subelement judges to be in rear portion, the described cursor being in rear portion is moved backward to described picture institute Corresponding address path character string rear.
The method and apparatus that what the embodiment of the present invention was provided choose rich text, mobile terminal is detecting Stem cursor and/or afterbody light target position after dragging are in the address path character string corresponding to picture Time interior, the cursor being in the address path character string corresponding to picture is moved to corresponding to this picture Address path character string outside, such that it is able to avoid a part of address path word chosen corresponding to picture Symbol string.
Accompanying drawing explanation
By being more clearly understood from the features and advantages of the present invention with reference to accompanying drawing, accompanying drawing is schematic And should not be construed as the present invention is carried out any restriction, in the accompanying drawings:
Figure 1A to Fig. 1 D shows the schematic diagram that when choosing rich text, cursor is dragged in picture.
Fig. 2 shows the flow chart of the method choosing rich text according to embodiments of the present invention;
Fig. 3 shows a specific embodiment party of the method choosing rich text according to embodiments of the present invention The flow chart of formula;
Fig. 4 shows that another of the method choosing rich text according to embodiments of the present invention is embodied as The flow chart of mode;
Fig. 5 shows the schematic diagram of the device choosing rich text according to embodiments of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, embodiments of the present invention is described in detail.
Embodiments provide a kind of method choosing rich text, it is adaptable to mobile phone, panel computer Deng mobile terminal, as in figure 2 it is shown, the method comprises the steps:
S100. operation is pressed according to the length of user, long by the position display stem cursor of operation sensing With afterbody cursor.For the mobile terminal such as mobile phone, panel computer, this is long by operation typically use Finger completes, naturally it is also possible to be touching pen etc..When certain foreign language word is grown on time by user, Stem cursor and afterbody cursor may be located at the two ends of this foreign language word to choose this foreign language word, when with Certain Chinese character is grown on time by family, stem cursor and afterbody cursor may be located at the two ends of this Chinese character with Choose this Chinese character, before and after this Chinese character exist with this Chinese character composition word Chinese character time, stem cursor and Afterbody cursor may be located at formed word two ends to choose this word.
S200. according to the drag operation of user, the stem cursor after dragging and afterbody light target position are obtained Put.User can drag stem cursor and afterbody cursor with finger or touching pen etc., required to choose Rich text, after dragging terminates, mobile terminal can get the stem light after dragging easily Mark and afterbody light target position.
S300. judge whether the stem cursor after dragging and/or afterbody light target position are in picture institute right In the address path character string answered, if it is perform step S400, if it is not, then at explanation cursor In common language, user can be normally carried out the operations such as duplication, stickup.
S400. the cursor being in the address path character string corresponding to picture is moved to this picture institute Outside corresponding address path character string.
By said method step, mobile terminal stem cursor after dragging being detected and/or afterbody light When target position is in the address path character string corresponding to picture, the ground corresponding to picture will be in Cursor in the path string of location moves to outside the address path character string corresponding to this picture, thus can To avoid a part of address path string chosen corresponding to picture.
As a kind of preferred implementation, as it is shown on figure 3, above-mentioned steps S400 may include that
S401. judge be in the address path character string corresponding to picture cursor be stem cursor also It is afterbody cursor, when being that stem light timestamp performs step S402, when being afterbody light timestamp execution step S403。
S402. this stem cursor is moved backward to the address path character string rear corresponding to this picture. As shown in Figure 1A, when picture such as with<img src=”Picture address”>Form be inserted in rich text Time, cursor is moved on to posterior angle brackets ">" rear.
S403. this afterbody cursor is moved forward to the address path character string front corresponding to this picture. As shown in Figure 1B, when picture such as with<img src=”Picture address”>Form be inserted in rich text Time, cursor is moved on to preceding angle brackets "<" front.
Certainly, when stem cursor and afterbody cursor are all in the address path character string corresponding to picture Time, then step S402 and step S403 all can perform.By said method step, by stem cursor Move backward to the address path character string rear corresponding to this picture, afterbody cursor is moved forward to Address path character string front corresponding to this picture, thus do not choose picture, to avoid choosing picture Corresponding a part of address path string.If user also wants to choose picture, then user only needs Position executive chairman at picture i.e. can choose picture by operation.
But, use step S401-S403 cannot choose picture, user needs to copy picture also Need the position executive chairman at picture by operation to choose picture, the most complicated in user operation. Improving embodiment as one, as shown in Figure 4, above-mentioned steps S400 may include that
S404. judge that the cursor being in the address path character string corresponding to picture is in picture institute right The front portion of the address path character string answered or rear portion, when being in the address path character corresponding to picture String anterior time, perform step S405, when the rear portion of the address path character string being in corresponding to picture Time, perform step S406.
S405. this cursor is moved forward to the address path character string front corresponding to this picture.
As shown in Figure 1B, before being in the address path character string corresponding to picture due to afterbody cursor Portion, it can be determined that go out user and be actually not intended to choose this picture, therefore when picture is such as with <img Src=" picture address ">form when being inserted in rich text, cursor is moved on to preceding angle brackets "<" Front, to avoid choosing this picture
As shown in Figure 1 C, before being in the address path character string corresponding to picture due to stem cursor Portion, it can be determined that go out user and actually wish to choose this picture, therefore when picture is such as with <img Src=" picture address ">form when being inserted in rich text, cursor is moved on to preceding angle brackets "<" Front, to choose this picture.
S406. this cursor is moved backward to the address path character string rear corresponding to this picture.
As shown in Figure 1A, after being in the address path character string corresponding to picture due to stem cursor Portion, it can be determined that go out user and be actually not intended to choose this picture, therefore when picture is such as with <img Src=" picture address " > form when being inserted in rich text, cursor is moved on to posterior angle brackets " > " Rear, to avoid choosing this picture.
As shown in figure ip, after being in the address path character string corresponding to picture due to afterbody cursor Portion, it can be determined that go out user and actually wish to choose this picture, therefore when picture is such as with <img Src=" picture address " > form when being inserted in rich text, cursor is moved on to posterior angle brackets " > " Rear, to choose this picture.
By said method step, mobile terminal is according to the address path character string being in corresponding to picture Interior cursor is in the anterior of the address path character string corresponding to picture or rear portion is to judge that user is This picture is chosen in no hope, and then correspondingly chooses or avoid choosing picture, has both avoided and has chosen picture Corresponding a part of address path string, increases extra operation without user, carries to user Carry out good experience.
Correspondingly, another embodiment of the present invention provides a kind of device choosing rich text, it is adaptable to hands The mobile terminal such as machine, panel computer, as it is shown in figure 5, this device includes:
Display unit 100, for the length according to user by operation, is sensing the long position by operation Display stem cursor and afterbody cursor.For the mobile terminal such as mobile phone, panel computer, this length is pressed Operation typically completes with finger, naturally it is also possible to be touching pen etc..When user is to certain foreign language list Word carries out growing on time, and stem cursor and afterbody cursor may be located at the two ends of this foreign language word to choose this Foreign language word, when certain Chinese character is grown on time by user, stem cursor and afterbody cursor may be located at The two ends of this Chinese character, to choose this Chinese character, exist and the Chinese character of this Chinese character composition word before and after this Chinese character Time, stem cursor and afterbody cursor may be located at formed word two ends to choose this word.
Acquiring unit 200, for the drag operation according to user, obtains the stem cursor after dragging and tail Light target position, portion.User can drag stem cursor and afterbody cursor with finger or touching pen etc., with Choosing required rich text, after dragging terminates, mobile terminal can get dragging easily After stem cursor and afterbody light target position.
Whether judging unit 300, for judging the stem cursor after dragging and/or afterbody light target position It is in the address path character string corresponding to picture.Stem cursor after dragging and/or afterbody cursor Position when being not in the address path character string corresponding to picture, illustrate that cursor is in common language In, user can be normally carried out the operations such as duplication, stickup.
Mobile unit 400, for judging the stem cursor after dragging and/or afterbody at judging unit 300 When light target position is in the address path character string corresponding to picture, will be in corresponding to picture Cursor in address path character string moves to outside the address path character string corresponding to this picture.
By above-mentioned unit, mobile terminal stem cursor after dragging being detected and/or afterbody light When target position is in the address path character string corresponding to picture, the ground corresponding to picture will be in Cursor in the path string of location moves to outside the address path character string corresponding to this picture, thus can To avoid a part of address path string chosen corresponding to picture.
As a kind of preferred implementation, above-mentioned mobile unit 400 may include that
First judgment sub-unit, is in the light in the address path character string corresponding to picture for judgement Mark is stem cursor or afterbody cursor.
First mover unit, for judging to be in the address corresponding to picture in the first judgment sub-unit Cursor in path string is stem light timestamp, this stem cursor moves backward to this picture institute right The address path character string rear answered.As shown in Figure 1A, when picture such as with <img src=" picture ground Location " > form when being inserted in rich text, cursor is moved on to posterior angle brackets " > " rear.
Second mover unit, for judging to be in the address corresponding to picture in the first judgment sub-unit Cursor in path string is afterbody light timestamp, this afterbody cursor moves forward to this picture institute right The address path character string front answered.As shown in Figure 1B, when picture such as with <img src=" picture ground Location ">form when being inserted in rich text, cursor is moved on to preceding angle brackets "<" front.
Certainly, when stem cursor and afterbody cursor are all in the address path character string corresponding to picture Time, then the first mover unit and the second mover unit all can perform operation.By above-mentioned each height Unit, moves backward to the address path character string rear corresponding to this picture, by tail by stem cursor Portion's cursor moves forward to the address path character string front corresponding to this picture, thus does not choose picture, To avoid a part of address path string chosen corresponding to picture.If user also wants to choose figure Sheet, then user only i.e. need to can choose picture the position executive chairman of picture by operation.
Improving embodiment as one, above-mentioned mobile unit 400 may include that
Second judgment sub-unit, is in the light in the address path character string corresponding to picture for judgement Mark is in front portion or the rear portion of the address path character string corresponding to picture.
3rd mover unit, for judging to be in the address corresponding to picture in the second judgment sub-unit When cursor in path string is in the address path character string corresponding to picture anterior, by this light Mark moves forward to the address path character string front corresponding to this picture.In fig. ib, by afterbody light Mark moves forward to the address path character string front corresponding to this picture, to avoid choosing this picture; In fig. 1 c, stem cursor is moved forward to the address path character string front corresponding to this picture, To choose this picture.
4th mover unit, for judging to be in the address corresponding to picture in the second judgment sub-unit When cursor in path string is in the rear portion of the address path character string corresponding to picture, by this light Mark moves backward to the address path character string rear corresponding to this picture.In figure ia, by stem light Mark moves backward to the address path character string rear corresponding to this picture, to avoid choosing this picture; In Fig. 1 D, afterbody cursor is moved backward to the address path character string rear corresponding to this picture, To choose this picture.
By each subelement above-mentioned, mobile terminal is according to the address path character being in corresponding to picture Cursor in string is in the anterior of the address path character string corresponding to picture or rear portion is to judge user Whether this picture is chosen in hope, and then correspondingly chooses or avoid choosing picture, has both avoided and has chosen figure A part of address path string corresponding to sheet, increases extra operation without user, to user Bring good experience.
The embodiment of the present invention additionally provides a kind of mobile terminal, and it includes choosing as above rich text Device.Stem cursor and/or afterbody light target position after dragging being detected are in corresponding to picture Address path character string in time, the cursor that is in the address path character string corresponding to picture is moved Move outside the address path character string corresponding to this picture, such that it is able to avoid choosing corresponding to picture A part of address path string.
It should also be appreciated by one skilled in the art embodiments of the invention can be provided as method, system, Or computer program.Therefore, the present invention can use complete hardware embodiment, complete software to implement Example or the form of the embodiment in terms of combining software and hardware.And, the present invention can use at one Or multiple wherein include computer usable program code computer-usable storage medium (include but not It is limited to disk memory, CD-ROM, optical memory etc.) the upper computer program implemented Form.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention The flow chart of product and/or block diagram describe, it should be understood that can be realized stream by computer program instructions In each flow process in journey figure and/or block diagram and/or square frame and flow chart and/or block diagram Flow process and/or the combination of square frame.These computer program instructions can be provided to general purpose computer, specially With the processor of computer, Embedded Processor or other programmable data processing device to produce one Machine so that the instruction performed by the processor of computer or other programmable data processing device is produced Raw for realizing one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple side The device of the function specified in frame.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that equipment works in a specific way so that be stored in this computer-readable and deposit Instruction in reservoir produces the manufacture including command device, and this command device realizes flow chart one The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing device On so that on computer or other programmable devices, perform sequence of operations step to produce computer The process realized, thus the instruction performed on computer or other programmable devices provides and is used for realizing One flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame are specified The step of function.
Although being described in conjunction with the accompanying embodiments of the present invention, but those skilled in the art can be Without departing from the case of the spirit and scope of the present invention, various modification can be adapted and modification, such amendment and Within the scope of modification each falls within and is defined by the appended claims.

Claims (10)

1. the method choosing rich text, it is characterised in that including:
Length according to user, by operation, is sensing described length by the position display stem cursor of operation With afterbody cursor;
According to the drag operation of user, obtain the stem cursor after dragging and afterbody light target position;
Judge whether the stem cursor after described dragging and/or afterbody light target position are in corresponding to picture Address path character string in;
The cursor being in the address path character string corresponding to described picture is moved to described picture institute Outside corresponding address path character string.
The method choosing rich text the most according to claim 1, it is characterised in that at described general Cursor in the address path character string corresponding to described picture moves to the ground corresponding to described picture Step outside the path string of location includes:
Judge be in the address path character string corresponding to described picture cursor be stem cursor or Afterbody cursor;
When being stem light timestamp, described stem cursor is moved backward to the address corresponding to described picture Path string rear.
The method choosing rich text the most according to claim 2, it is characterised in that at described general Cursor in the address path character string corresponding to described picture moves to the ground corresponding to described picture Step outside the path string of location also includes:
When being afterbody light timestamp, described afterbody cursor is moved forward to the address corresponding to described picture Path string front.
The method choosing rich text the most according to claim 1, it is characterised in that at described general Cursor in the address path character string corresponding to described picture moves to the ground corresponding to described picture Step outside the path string of location includes:
Judge that the cursor being in the address path character string corresponding to described picture is in described picture institute The front portion of corresponding address path character string or rear portion;
When being in front portion, the described cursor being in front portion is moved forward to corresponding to described picture Address path character string front.
The method choosing rich text the most according to claim 4, it is characterised in that at described general Cursor in the address path character string corresponding to described picture moves to the ground corresponding to described picture Step outside the path string of location also includes:
When being in rear portion, the described cursor being in rear portion is moved backward to corresponding to described picture Address path character string rear.
6. the device choosing rich text, it is characterised in that including:
Display unit, for the length according to user by operation, is sensing the described length position by operation Place's display stem cursor and afterbody cursor;
Acquiring unit, for the drag operation according to user, obtains the stem cursor after dragging and afterbody Light target position;
Judging unit, for judging whether are the stem cursor after described dragging and/or afterbody light target position It is in the address path character string corresponding to picture;
Mobile unit, for the stem cursor after described judging unit judges described dragging and/or afterbody When light target position is in the address path character string corresponding to described picture, described picture will be in The corresponding cursor in address path character string moves to the address path character corresponding to described picture Outside string.
The device choosing rich text the most according to claim 6, it is characterised in that described movement Unit includes:
First judgment sub-unit, is in the address path character string corresponding to described picture for judgement Cursor be stem cursor or afterbody cursor;
First mover unit, for judging it is stem light timestamp in described first judgment sub-unit, will Described stem cursor moves backward to the address path character string rear corresponding to described picture.
The device choosing rich text the most according to claim 7, it is characterised in that described movement Unit also includes:
Second mover unit, for judging it is afterbody light timestamp in described first judgment sub-unit, will Described afterbody cursor moves forward to the address path character string front corresponding to described picture.
The device choosing rich text the most according to claim 6, it is characterised in that described movement Unit includes:
Second judgment sub-unit, is in the address path character string corresponding to described picture for judgement Cursor be in front portion or the rear portion of address path character string corresponding to described picture;
3rd mover unit, for when described second judgment sub-unit judges to be in front portion, by institute State be in front portion cursor move forward to the address path character string front corresponding to described picture.
The device choosing rich text the most according to claim 9, it is characterised in that described movement Unit also includes:
4th mover unit, for when described second judgment sub-unit judges to be in rear portion, by institute State and be in the cursor at rear portion and move backward to the address path character string rear corresponding to described picture.
CN201610289755.7A 2016-05-04 2016-05-04 Method and device for selecting rich text Pending CN105955629A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610289755.7A CN105955629A (en) 2016-05-04 2016-05-04 Method and device for selecting rich text
PCT/CN2016/100271 WO2017190465A1 (en) 2016-05-04 2016-09-27 Rich text selecting method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610289755.7A CN105955629A (en) 2016-05-04 2016-05-04 Method and device for selecting rich text

Publications (1)

Publication Number Publication Date
CN105955629A true CN105955629A (en) 2016-09-21

Family

ID=56913938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610289755.7A Pending CN105955629A (en) 2016-05-04 2016-05-04 Method and device for selecting rich text

Country Status (2)

Country Link
CN (1) CN105955629A (en)
WO (1) WO2017190465A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017190465A1 (en) * 2016-05-04 2017-11-09 乐视控股(北京)有限公司 Rich text selecting method and apparatus, and electronic device
CN107943391A (en) * 2017-11-15 2018-04-20 宁波麦博韦尔移动电话有限公司 A kind of long-press quick calculation method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005414A1 (en) * 2004-02-27 2010-01-07 Hitachi,Ltd Display method and display device
CN102929524A (en) * 2012-09-20 2013-02-13 东莞宇龙通信科技有限公司 Page content selecting method and device
CN104516621A (en) * 2013-09-27 2015-04-15 北京新媒传信科技有限公司 Cursor display method and device
CN105511784A (en) * 2015-12-02 2016-04-20 北京新美互通科技有限公司 Information input method, device and mobile terminal based on pressure detection

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100562868C (en) * 2007-12-12 2009-11-25 腾讯科技(深圳)有限公司 Rainbow text implementation method and device
CN103135901B (en) * 2013-02-04 2016-01-20 广东欧珀移动通信有限公司 Method and this mobile terminal of text is accurately selected in mobile terminal
CN105955629A (en) * 2016-05-04 2016-09-21 乐视控股(北京)有限公司 Method and device for selecting rich text

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005414A1 (en) * 2004-02-27 2010-01-07 Hitachi,Ltd Display method and display device
CN102929524A (en) * 2012-09-20 2013-02-13 东莞宇龙通信科技有限公司 Page content selecting method and device
CN104516621A (en) * 2013-09-27 2015-04-15 北京新媒传信科技有限公司 Cursor display method and device
CN105511784A (en) * 2015-12-02 2016-04-20 北京新美互通科技有限公司 Information input method, device and mobile terminal based on pressure detection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017190465A1 (en) * 2016-05-04 2017-11-09 乐视控股(北京)有限公司 Rich text selecting method and apparatus, and electronic device
CN107943391A (en) * 2017-11-15 2018-04-20 宁波麦博韦尔移动电话有限公司 A kind of long-press quick calculation method and system

Also Published As

Publication number Publication date
WO2017190465A1 (en) 2017-11-09

Similar Documents

Publication Publication Date Title
CN105955617B (en) For selecting the gesture of text
JP6029767B2 (en) Icon arrangement method, apparatus, device, program, and recording medium
KR101548524B1 (en) Rendering teaching animations on a user-interface display
CN103135969B (en) Operation, generation, the method started and its device of application program
CN104169857B (en) For accessing the equipment of application program, method and graphic user interface in locked equipment
CN104246678B (en) Device, method and graphical user interface for sharing content objects in a document
CN105302784B (en) Method and system for copying/cutting and pasting data
CN109844711A (en) Equipment, method and the graphic user interface of the annotated unified annotation layer of content for being shown in equipment
CN107408010A (en) The voice command for dynamically inferring that software operates is manipulated by the user of electronic equipment
US10698599B2 (en) Connecting graphical shapes using gestures
KR20140045301A (en) User interface interaction behavior based on insertion point
WO2014106495A1 (en) Method for adding application icon, and method and apparatus for removing application icon
TW201525776A (en) Invocation control over keyboard user interface
JP2011517795A (en) Automatic recording of virtual device interface
CN103324674B (en) Web page contents choosing method and device
Frisch et al. Diagram editing on interactive displays using multi-touch and pen gestures
CN102789353A (en) Method and device for operating desktop objects on touch screen mobile devices
CN104516674A (en) Word processing method and device
CN104636506B (en) A kind of method and apparatus adding homepage in intelligent terminal
CN106302932A (en) The method and apparatus checking log in communication terminal
CN105955629A (en) Method and device for selecting rich text
CN105138253A (en) Method and device for batch processing of pictures
CN106202014A (en) RichText Edition method, device and mobile terminal
TWI624782B (en) Method and system for editing hyperlink in a three-dimensional scene
WO2022194077A1 (en) Application program icon management method and apparatus, and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160921

WD01 Invention patent application deemed withdrawn after publication