CN106126030A - RichText Edition method and apparatus - Google Patents
RichText Edition method and apparatus Download PDFInfo
- Publication number
- CN106126030A CN106126030A CN201610490897.XA CN201610490897A CN106126030A CN 106126030 A CN106126030 A CN 106126030A CN 201610490897 A CN201610490897 A CN 201610490897A CN 106126030 A CN106126030 A CN 106126030A
- Authority
- CN
- China
- Prior art keywords
- picture
- character string
- address path
- cursor
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Abstract
The invention discloses a kind of RichText Edition method and apparatus, the method comprise the steps that the clicking operation obtaining user;Judge that whether described clicking operation is for clicking;When described clicking operation is for clicking, move the cursor to the position that user clicks on;Judge whether cursor position is in the address path character string corresponding to picture;When in the address path character string that described cursor position is in corresponding to described picture, the position being marked in the address path character string corresponding to described picture according to described light, it is judged that whether the described cursor position correspondence direction of described picture has been close to another picture;When judging that next-door neighbour has another picture, described cursor is moved to the address path character string corresponding to described picture and between the address path character string corresponding to another picture described.Thus, text that user inputs between two pictures and picture is made normally to show in editor.
Description
Technical field
The present invention relates to computer technical field of mobile terminals, be specifically related to a kind of RichText Edition method and apparatus.
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 practise
It is used to carry out on mobile terminals text editing.At present, increasing application all can use editor to realize figure
Literary composition mixing editor, such as instant messaging application and note application etc..For instant messaging is applied, dialog box uses picture and text to mix
Scheduling is collected, and user can be made more lively when carrying out Internet chat;For note is applied, note inserts shooting
Figure sector-meeting makes recording of note more convenient and concrete.
When adding word before and after user wants at this picture, need to click on the touch screen of mobile terminal, so that light Mark is before or after picture, and inputs word, but often occurs all can not showing out in editor that user institute is defeated The situation of the word entered.Present inventor finds through research, and picture is typically to insert with the form of address path character string In rich text, such as with<img src=”Picture address”>Form, and user clicks on the touch screen of mobile terminal During, owing to finger is relatively big with the contact area of touch screen, greatly user's click cursor position may can not be made just Mobile before or after picture, but clicked in picture, it being reflected in editor, cursor is physically located figure In address path character string corresponding to sheet, the most no matter user inputs how many words, and editor can not show all the time Show.
Summary of the invention
The technical problem to be solved in the present invention is between the existing scheme two pictures in editor to add Picture address
Added word cannot be shown during word.
To this end, first aspect, embodiments provide a kind of RichText Edition method, including: obtain the point of user
Hit operation;Judge that whether described clicking operation is for clicking;When described clicking operation is for clicking, moves the cursor to user and click on
Position;Judge whether cursor position is in the address path character string corresponding to picture;When described cursor place
When position is in the address path character string corresponding to described picture, it is marked on the address corresponding to described picture according to described light
Position in path string, it is judged that whether the described cursor position correspondence direction of described picture has been close to another picture;
When judging that next-door neighbour has another picture, described cursor is moved to address path character string corresponding to described picture with described separately
Between address path character string corresponding to one picture.
Preferably, the described position being marked in the address path character string corresponding to described picture according to described light, it is judged that
Whether the described cursor position correspondence direction of described picture has been close to another picture, including: when described cursor position
When being in address path character string corresponding to described picture anterior, it is judged that whether the front of described picture has been close to another figure
Sheet;When described cursor position is in the rear portion of the address path character string corresponding to described picture, it is judged that described picture
Rear whether be close to another picture.
Preferably, described RichText Edition method also includes: when judging another picture that there is not next-door neighbour, by described light
Mark moves to outside the described correspondence direction of the address path character string corresponding to described picture.
Preferably, in the described correspondence of the described address path character string described cursor moved to corresponding to described picture
After step outside direction, described RichText Edition method also includes: increase a newline.
Preferably, the described address path character string described cursor moved to corresponding to described picture with described another
After the step between address path character string corresponding to picture, described RichText Edition method also includes: increases by two and changes
Row symbol.
Correspondingly, second aspect, the embodiment of the present invention additionally provides a kind of RichText Edition device, including: acquiring unit,
For obtaining the clicking operation of user;First judging unit, is used for judging that whether described clicking operation is for clicking;First moves list
Unit, for when described first judging unit judges described clicking operation as clicking, moves the cursor to the position that user clicks on
Place;Second judging unit, for judging whether cursor position is in the address path character string corresponding to picture;3rd
At described second judging unit, judging unit, for judging that described cursor position is in the address road corresponding to described picture
Time in the character string of footpath, the position being marked in the address path character string corresponding to described picture according to described light, it is judged that described figure
Whether the described cursor position correspondence direction of sheet has been close to another picture;Second mobile unit, for sentencing the described 3rd
When disconnected unit judges next-door neighbour has another picture, described cursor is moved to the address path character string corresponding to described picture and institute
State between the address path character string corresponding to another picture.
Preferably, described 3rd judging unit includes: the first judgment sub-unit, for when described cursor position is in
During the address path character string corresponding to described picture anterior, it is judged that whether the front of described picture has been close to another picture;
Second judgment sub-unit, for when described cursor position is in the rear portion of the address path character string corresponding to described picture
Time, it is judged that whether the rear of described picture has been close to another picture.
Preferably, described RichText Edition device also includes: the 3rd mobile unit, for sentencing at described 3rd judging unit
Disconnected there is not next-door neighbour another picture time, described cursor is moved to described in the address path character string corresponding to described picture
Outside correspondence direction.
Preferably, described RichText Edition device also includes: the first newline unit, in described 3rd mobile unit
After described cursor being moved to outside the described correspondence direction of the address path character string corresponding to described picture, increase by one and change
Row symbol.
Preferably, described RichText Edition device also includes: the second newline unit, in described second mobile unit
Described cursor is moved to the address path character string corresponding to described picture and the address path corresponding to another picture described
After between character string, increase by two newlines.
The third aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and it includes the place connected by system bus
Reason device, memorizer and input/output interface;Memorizer is used for storing computer executed instructions, and input/output interface is used for receiving
The clicking operation of user, when described running of mobile terminal, described processor performs the computer of described memorizer storage and performs
Instruction, so that described mobile terminal performs the RichText Edition method described in first aspect.
RichText Edition method, device and the mobile terminal that the embodiment of the present invention is provided, deposits in editor
At the picture of two next-door neighbours, user makes cursor position be in previous picture rear or the situation in a rear picture front by click
Under, mobile terminal can move the cursor between the address path character string corresponding to two pictures, so that user is at two
Between picture, text and the picture of input can normally show in editor.
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 manage
Solve as the present invention is carried out any restriction, in the accompanying drawings:
Fig. 1 shows the flow chart of RichText Edition method according to embodiments of the present invention;
Fig. 2 shows the schematic diagram of RichText Edition device according to embodiments of the present invention;
Fig. 3 shows the schematic diagram of mobile terminal 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 RichText Edition method, it is adaptable to the mobile terminal such as mobile phone, panel computer, as
Shown in Fig. 1, the method comprises the steps:
S11. the clicking operation of user is obtained.For the mobile terminal such as mobile phone, panel computer, clicking operation is typically
Complete with finger, naturally it is also possible to be touching pen etc..
S12. judge that described clicking operation, whether for clicking, when for clicking, performs step S13, when for double-clicking, perform
Other scheduled operations, such as, can be word or the sentence etc. of cursor position selecting cursor position.
S13. the position that user clicks on is moved the cursor to.
S14. judge whether cursor position is in the address path character string corresponding to picture, if it is perform
Step S15, if it is not, then explanation cursor is in plain text, user can normally input text or picture, it is not necessary to performs any
Operation.
S15. the position being marked in the address path character string corresponding to this picture according to light, it is judged that the cursor institute of this picture Whether being close to another picture at position correspondence direction, having performed step S16 when there is another picture, when there is not another picture Shi Zhihang step S17.When cursor position is in the address path character string corresponding to picture anterior, it is judged that this picture Whether front has been close to another picture; When cursor position is in the rear portion of the address path character string corresponding to picture, Judge whether this picture rear has been close to another picture.Such as, picture 1 with<img src=”Picture address 1”>Form insert In rich text, when the rear portion of the address path character string corresponding to cursor position is in picture 1, mobile terminal is in richness Text editor finds<img src=”Picture address 1”><img src=”Picture address 2”>Statement, then may determine that Another picture 2 is there is also after picture 1; The most such as, picture 3 with<img src=”Picture address 3”>Form be inserted into rich text In, when the address path character string corresponding to cursor position is in picture 3 anterior, mobile terminal is at RichText Edition Device finds<img src=”Picture address 4”><img src=”Picture address 3”>Statement, then before may determine that picture 3 Side there is also another picture 4.
S16. cursor position is moved to corresponding to the address path character string corresponding to this picture and this another picture
Between address path character string.Example the most above, when cursor position is in the address path word corresponding to picture 1
During the rear portion that symbol is gone here and there, cursor position is moved to, between two angle brackets, i.e. move between picture 1 and picture 2 by mobile terminal
Position;When the address path character string corresponding to cursor position is in picture 3 anterior, mobile terminal is by light mark
Put and move to, between two angle brackets, i.e. move to the position between picture 3 and picture 4.
S17. move the cursor to outside the described correspondence direction of the address path character string corresponding to picture.Such as, light is worked as
When mark position is in address path character string corresponding to picture 1 anterior, there is not the figure of next-door neighbour in the front of picture 1
Sheet, now mobile terminal moves the cursor to outside the front of the address path character string corresponding to picture;When cursor position
When being in the rear portion of address path character string corresponding to picture 1, there is not the picture of next-door neighbour in the rear of picture 1, this time shift
Dynamic terminal moves the cursor to outside the rear of the address path character string corresponding to picture.
By said method step, there is the picture of two next-door neighbours in editor, user makes light by click
In the case of cursor position is in previous picture rear or a rear picture front, mobile terminal can move the cursor to two pictures institutes
Between corresponding address path character string, so that the text that inputs between two pictures of user and picture can be normally in richnesses
Show on text editor.
It is further preferred that can also include after above-mentioned steps S16: increase by two newlines.
As described above, cursor is placed between picture 1 and picture 2 by mobile terminal, blocks yet with picture, and user is not
The position at cursor place can be clear that, by above-mentioned steps, increase by two newlines so that picture 1 is in a line, cursor
Display input position is positioned at the next line of picture 1, and picture 2 is then positioned at the next line of cursor input position, so can be further
Clearly picture is separated with plain text, to facilitate user to edit.
Similarly, can also include after above-mentioned steps S17: increase a newline.
Such as, when step S17 moves the cursor to the address path character string front corresponding to picture, by line feed
Picture is moved to next line by symbol, and user can be more clearly at lastrow input text or picture;When in step S17 by cursor
When moving to the address path character string rear corresponding to picture, by newline, cursor moved to next line, thus user can
With more clearly at next line input text or picture, convenient user edits.
Correspondingly, another embodiment of the present invention provides a kind of RichText Edition device, it is adaptable to mobile phone, panel computer etc.
Mobile terminal, as in figure 2 it is shown, this device includes:
Acquiring unit 21, for obtaining the clicking operation of user.For the mobile terminal such as mobile phone, panel computer, point
Hit what operation typically completed with finger, naturally it is also possible to be touching pen etc..
First judging unit 22, is used for judging that whether described clicking operation is for clicking.
First mobile unit 23, for when the first judging unit 22 judges described clicking operation as clicking, moves cursor
Move the position that user clicks on.When being judged as double-clicking, then can perform other scheduled operations, such as, can be to select cursor
The word of position or the sentence etc. of cursor position.
Second judging unit 24, for judging whether cursor position is in the address path character string corresponding to picture
In.
At the second judging unit 24,3rd judging unit 25, for judging that cursor position is in the ground corresponding to picture
Time in the path string of location, the position being marked in the address path character string corresponding to this picture according to light, it is judged that this picture
Whether cursor position correspondence direction has been close to another picture.Specifically, the 3rd judging unit 25 can include that first sentences
Disconnected subelement and the second judgment sub-unit, wherein the first judgment sub-unit is when cursor position is in the address corresponding to picture
During path string anterior, it is judged that whether this picture front has been close to another picture;Second judgment sub-unit is for working as cursor
When position is in the rear portion of the address path character string corresponding to picture, it is judged that whether this picture rear has been close to another figure
Sheet.If it is determined that cursor position is in outside the address path character string corresponding to picture, then explanation cursor is in common literary composition
In Ben, user can normally input text or picture, it is not necessary to performs any operation.
At the 3rd judging unit 25, second mobile unit 26, for judging that the cursor position correspondence direction of this picture is tight When neighbour has another picture, cursor position is moved to corresponding to the address path character string corresponding to this picture and this another picture Address path character string between.Such as, two pictures being close to mutually 1 and picture 2 with<img src=”Picture address 1”><
Img src=" picture address 2 ">Form be inserted in rich text, when cursor position is in the address corresponding to picture 1 During the rear portion of path string, mobile terminal moves the cursor to the position between picture 1 and picture 2.
3rd mobile unit 27, for judging the cursor position correspondence direction of this picture not at the 3rd judging unit 25
When there is another picture of next-door neighbour, cursor position is moved to the described counterparty of address path character string corresponding to this picture
Outwards.Such as, when the address path character string corresponding to cursor position is in picture 1 anterior, the front of picture 1 is also
There is not the picture of next-door neighbour, now mobile terminal moves the cursor to outside the front of the address path character string corresponding to picture.
By above-mentioned unit, there is the picture of two next-door neighbours in editor, user makes light by click
In the case of cursor position is in previous picture rear or a rear picture front, mobile terminal can move the cursor to two pictures institutes
Between corresponding address path character string, so that the text that inputs between two pictures of user and picture can be normally in richnesses
Show on text editor.
It is further preferred that above-mentioned RichText Edition device can also include: the first newline unit, for moving the 3rd
After cursor position is moved to outside the described correspondence direction of the address path character string corresponding to this picture by moving cell 27, increase
One newline.
Such as, when the 3rd mobile unit 27 moves the cursor to the address path character string front corresponding to picture, logical
Crossing newline and picture moves to next line, user can be more clearly at lastrow input text or picture;When the 3rd moves
When unit 27 moves the cursor to the address path character string rear corresponding to picture, by newline, cursor is moved to next
OK, thus user can be more clearly at next line input text or picture, and convenient user edits.
Similarly, above-mentioned RichText Edition device can also include: the second newline unit, in the second mobile unit
Cursor position is moved to the address path character string corresponding to this picture and this address path word corresponding to another picture by 26
After between symbol string, increase by two newlines.
As described above, cursor is placed between picture 1 and picture 2 by mobile terminal, blocks yet with picture, and user is not
The position at cursor place can be clear that, by above-mentioned steps, increase by two newlines so that picture 1 is in a line, cursor
Display input position is positioned at the next line of picture 1, and picture 2 is then positioned at the next line of cursor input position, so can be further
Clearly picture is separated with plain text, to facilitate user to edit.
The embodiment of the present invention additionally provides a kind of mobile terminal, and it includes RichText Edition device as above, in richness
There is the picture of two next-door neighbours in text editor, user makes cursor position be in previous picture rear or a rear figure by click
In the case of sheet front, mobile terminal can move the cursor between the address path character string corresponding to two pictures, thus
Text that user inputs between two pictures and picture is made normally to show in editor.
The embodiment of the present invention additionally provides a kind of mobile terminal, and as described in Figure 3, it includes being connected by system bus 32
Processor 30, memorizer 31 and input/output interface 33;Memorizer 31 is used for storing computer executed instructions, and input/output connects
Mouth 33 is for receiving the clicking operation of user, and when running of mobile terminal, processor 30 performs the computer of memorizer 31 storage
Perform instruction, so that the mobile control method performed as described in Figure 1.Concrete control method can be found in above-mentioned as shown in Figure 1
Associated description in embodiment, here is omitted.In the mobile terminal of the present embodiment, editor exists two
The picture of individual next-door neighbour, in the case of user makes cursor position be in previous picture rear or a rear picture front by click, moves
Dynamic terminal can move the cursor between the address path character string corresponding to two pictures so that user two pictures it
Between input text and picture can normally show in editor.
It should also be appreciated by one skilled in the art that embodiments of the invention can be provided as method, system or computer journey
Sequence product.Therefore, in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware
The form of embodiment.And, the present invention can use in one or more calculating wherein including computer usable program code
The upper computer program implemented of machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of product.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention
Figure and/or block diagram describe, it should be understood that can the most first-class by computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce
A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real
The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to
Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter
Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or
The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function specified in individual square frame or multiple square frame.
Although being described in conjunction with the accompanying embodiments of the present invention, but those skilled in the art can be without departing from this
In the case of bright spirit and scope, various modification can be adapted and modification, and such amendment and modification each fall within by claims
Within limited range.
Claims (10)
1. a RichText Edition method, it is characterised in that including:
Obtain the clicking operation of user;
Judge that whether described clicking operation is for clicking;
When described clicking operation is for clicking, move the cursor to the position that user clicks on;
Judge whether cursor position is in the address path character string corresponding to picture;
When in the address path character string that described cursor position is in corresponding to described picture, it is marked on institute according to described light
State the position in the address path character string corresponding to picture, it is judged that the described cursor position correspondence direction of described picture is
No next-door neighbour has another picture;
When judging that next-door neighbour has another picture, described cursor is moved to the address path character string corresponding to described picture and institute
State between the address path character string corresponding to another picture.
RichText Edition method the most according to claim 1, it is characterised in that described be marked on described picture according to described light
The corresponding position in address path character string, it is judged that whether the described cursor position correspondence direction of described picture is close to
There is another picture, including:
When described cursor position is in the address path character string corresponding to described picture anterior, it is judged that described picture
Front whether be close to another picture;
When described cursor position is in the rear portion of the address path character string corresponding to described picture, it is judged that described picture
Rear whether be close to another picture.
RichText Edition method the most according to claim 1 and 2, it is characterised in that also include: when judging to there is not next-door neighbour
Another picture time, described cursor is moved to outside the described correspondence direction of the address path character string corresponding to described picture.
RichText Edition method the most according to claim 3, it is characterised in that described described cursor moved to described
After step outside the described correspondence direction of the address path character string corresponding to picture, also include:
Increase a newline.
RichText Edition method the most according to claim 1 and 2, it is characterised in that described cursor is moved to described
Step between address path character string corresponding to described picture and the address path character string corresponding to another picture described
Afterwards, also include:
Increase by two newlines.
6. a RichText Edition device, it is characterised in that including:
Acquiring unit, for obtaining the clicking operation of user;
First judging unit, is used for judging that whether described clicking operation is for clicking;
First mobile unit, for when described first judging unit judges described clicking operation as clicking, moves the cursor to
The position that user clicks on;
Second judging unit, for judging whether cursor position is in the address path character string corresponding to picture;
At described second judging unit, 3rd judging unit, for judging that described cursor position is in corresponding to described picture
Address path character string in time, the position being marked in the address path character string corresponding to described picture according to described light, sentence
Whether the described cursor position correspondence direction of disconnected described picture has been close to another picture;
Second mobile unit, for when described 3rd judging unit judges that next-door neighbour has another picture, moves to described cursor
Between address path character string corresponding to described picture and the address path character string corresponding to another picture described.
RichText Edition device the most according to claim 6, it is characterised in that described 3rd judging unit includes:
First judgment sub-unit, for when described cursor position is in the address path character string corresponding to described picture
Time anterior, it is judged that whether the front of described picture has been close to another picture;
Second judgment sub-unit, for when described cursor position is in the address path character string corresponding to described picture
During rear portion, it is judged that whether the rear of described picture has been close to another picture.
8. according to the RichText Edition device described in claim 6 or 7, it is characterised in that also include:
3rd mobile unit, for when described 3rd judging unit judges another picture that there is not next-door neighbour, by described cursor
Move to outside the described correspondence direction of the address path character string corresponding to described picture.
RichText Edition device the most according to claim 8, it is characterised in that also include:
First newline unit, for moving to the address corresponding to described picture in described 3rd mobile unit by described cursor
After outside the described correspondence direction of path string, increase a newline.
10. according to the RichText Edition device described in claim 6 or 7, it is characterised in that also include:
Second newline unit, for moving to the address corresponding to described picture in described second mobile unit by described cursor
After between address path character string corresponding to path string and another picture described, increase by two newlines.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610490897.XA CN106126030A (en) | 2016-06-28 | 2016-06-28 | RichText Edition method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610490897.XA CN106126030A (en) | 2016-06-28 | 2016-06-28 | RichText Edition method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106126030A true CN106126030A (en) | 2016-11-16 |
Family
ID=57285133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610490897.XA Pending CN106126030A (en) | 2016-06-28 | 2016-06-28 | RichText Edition method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126030A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103389968A (en) * | 2013-07-10 | 2013-11-13 | 福州博远无线网络科技有限公司 | Method and system for realizing rich text display |
US8694904B2 (en) * | 2008-04-15 | 2014-04-08 | Microsoft Corporation | Cross-browser rich text editing via a hybrid client-side model |
CN104808926A (en) * | 2007-12-27 | 2015-07-29 | 苹果公司 | Insertion marker placement on touch sensitive display |
-
2016
- 2016-06-28 CN CN201610490897.XA patent/CN106126030A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104808926A (en) * | 2007-12-27 | 2015-07-29 | 苹果公司 | Insertion marker placement on touch sensitive display |
US8694904B2 (en) * | 2008-04-15 | 2014-04-08 | Microsoft Corporation | Cross-browser rich text editing via a hybrid client-side model |
CN103389968A (en) * | 2013-07-10 | 2013-11-13 | 福州博远无线网络科技有限公司 | Method and system for realizing rich text display |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5859508B2 (en) | Devices, methods, and graphical user interfaces with interactive pop-up views | |
CN104216600B (en) | A kind of method and intelligent touch screen terminal equipment of the function that application program is provided | |
KR101661772B1 (en) | Copying of animation effects from a source object to at least one target object | |
US20130027425A1 (en) | Superimposed annotation output | |
US8589874B2 (en) | Visual interface to represent scripted behaviors | |
US10698599B2 (en) | Connecting graphical shapes using gestures | |
WO2012065020A1 (en) | Device, method, and graphical user interface for navigating a list of identifiers | |
SG191849A1 (en) | User interface interaction behavior based on insertion point | |
KR20110084193A (en) | Painting user controls | |
KR20130018701A (en) | Multi-axis navigation | |
CA2963849A1 (en) | Systems and methods for creating and displaying multi-slide presentations | |
TW201525730A (en) | Annotation hint display | |
CN104281400A (en) | Electronic device and touch method | |
CN111045565B (en) | Multimedia page switching method and electronic equipment | |
CN106202014A (en) | RichText Edition method, device and mobile terminal | |
US20160182579A1 (en) | Method of establishing and managing messaging sessions based on user positions in a collaboration space and a collaboration system employing same | |
CN106170790A (en) | Service picture library user interface presents | |
CN104571811A (en) | Information processing method and electronic equipment | |
CN105677207A (en) | Intelligent mobile phone input information editing method and device | |
WO2023173631A1 (en) | Programming method and apparatus, and device, storage medium and computer program product | |
CN106126030A (en) | RichText Edition method and apparatus | |
CN105955629A (en) | Method and device for selecting rich text | |
US20140118223A1 (en) | Graphical view selection system, method, and apparatus | |
KR20080026000A (en) | Apparatus and method for simulation of user interface flow | |
CN107885452A (en) | 3D Touch analogy methods and device, computer installation and computer-readable recording medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |