CN107967097A - Method for editing text and device - Google Patents

Method for editing text and device Download PDF

Info

Publication number
CN107967097A
CN107967097A CN201711268335.1A CN201711268335A CN107967097A CN 107967097 A CN107967097 A CN 107967097A CN 201711268335 A CN201711268335 A CN 201711268335A CN 107967097 A CN107967097 A CN 107967097A
Authority
CN
China
Prior art keywords
cursor
edit
editor
editing
editing interface
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
CN201711268335.1A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711268335.1A priority Critical patent/CN107967097A/en
Publication of CN107967097A publication Critical patent/CN107967097A/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
    • 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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The disclosure is directed to a kind of method for editing text and device, including:Under more cursor edit patterns, multiple editor positions that user selects in editing interface are detected, in each editor position difference display highlighting, according to the edit operation detected, position display content of text corresponding with the edit operation at the same time is edited each.The disclosure is by the way that under more cursor edit patterns, display highlighting is distinguished in the multiple editor positions selected according to user.And according to the edit operation detected, content of text corresponding with the edit operation is shown at the same time in each editor position.Thus, it is possible to improve user in mobile terminal editorial efficiency, and then user experience is lifted, enhancing user's viscosity.

Description

Method for editing text and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of method for editing text and device.
Background technology
Office software refers to that word processing, table-form making, lantern slide manufacturing, graph and image processing, simple number can be carried out The software of processing according to storehouse etc. work.With the development of computer technology, office software is towards simple operation, work(at present The directions such as energy refinement are developed.
In the application of all kinds of office softwares, generally existing needs to repeat the situation of editor.In correlation technique, user repeats Operation is multiple, and editor's text is less efficient, reduces the efficiency of user's operation.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method for editing text and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for editing text, including:
Under more cursor edit patterns, multiple editor positions that user selects in editing interface are detected;
In each editor position difference display highlighting;
According to the edit operation detected, shown at the same time in text corresponding with the edit operation in each editor position Hold.
For the above method, in a kind of possible implementation, further include:
Editting function interface of the display with multiple editting function options in editing interface;
In the case where detecting the more cursor editting function options of selection, the edit pattern of editing interface is compiled from monochromatic light mark It is more cursor edit patterns to collect pattern switching.
For the above method, in a kind of possible implementation, further include:
In the case where detecting that more cursor editting function options are exited in selection, by the edit pattern of editing interface from light more Mark edit pattern is switched to monochromatic light mark edit pattern.
For the above method, in a kind of possible implementation, further include:
Under more cursor edit patterns, if detecting revocation cursor operations, it is inserted into editing interface according to cursor Backward revocation cursor.
For the above method, in a kind of possible implementation, further include:
Under more cursor edit patterns, if detecting revocation text editing operations, each editor in editing interface Position cancels corresponding edit operation at the same time.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of text editing apparatus, including:
Detection module, for multiple edit bits that under more cursor edit patterns, detection user selects in editing interface Put;
Display module, in each editor position difference display highlighting;
Editor module, for according to the edit operation detected, being shown and the edit operation at the same time in each editor position Corresponding content of text.
For above device, in a kind of possible implementation, further include:
Selecting module, for editting function interface of the display with multiple editting function options in editing interface;
Into module, in the case where detecting the more cursor editting function options of selection, by the editor of editing interface Pattern is switched to more cursor edit patterns from monochromatic light mark edit pattern.
For above device, in a kind of possible implementation, further include:
Module is exited, in the case where detecting that more cursor editting function options are exited in selection, by editing interface Edit pattern is switched to monochromatic light mark edit pattern from more cursor edit patterns.
For above device, in a kind of possible implementation, further include:
First revocation module, under more cursor edit patterns, if revocation cursor operations are detected, in editor circle In face cursor is cancelled according to the backward of cursor insertion.
For above device, in a kind of possible implementation, further include:
Second revocation module, under more cursor edit patterns, if detecting revocation text editing operations, compiling Each editor position in editing interface cancels corresponding edit operation at the same time.
According to the third aspect of the disclosure, there is provided a kind of text editing apparatus, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Perform the above method.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, is stored thereon with calculating Machine program, the computer program realize the above method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:The disclosure in more cursors by compiling Under the pattern of collecting, display highlighting is distinguished in the multiple editor positions selected according to user.And according to the edit operation detected, in each volume Collect position and show content of text corresponding with the edit operation at the same time.Thus, it is possible to improve user in mobile terminal editorial efficiency, And then user experience is lifted, enhancing user's viscosity.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of method for editing text according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the method for editing text shown according to another exemplary embodiment.
Fig. 3 is a kind of flow chart of the method for editing text shown according to another exemplary embodiment.
Fig. 4 a be it is a kind of using in example under monochromatic light mark edit pattern editting function interface schematic diagram.
Fig. 4 b be it is a kind of using in example under more cursor edit patterns editting function interface schematic diagram.
Fig. 4 c are a kind of states using cursor in monochromatic light mark edit pattern in example.
Fig. 4 d are a kind of states using cursor in more cursor edit patterns in example.
Fig. 4 e are a kind of using the schematic diagram that operation is inputted in more cursor edit patterns in example.
Fig. 5 is a kind of block diagram of text editing apparatus according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the text editing apparatus shown according to another exemplary embodiment.
Fig. 7 is a kind of block diagram of text editing apparatus according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of method for editing text according to an exemplary embodiment.This method can be applied Have the function of in smart mobile phone, tablet computer, laptop, desktop computer etc. in the equipment of text editing, do not limit herein It is fixed.As shown in Figure 1, the method comprising the steps of 100 to step 102.
In step 100, under more cursor edit patterns, multiple edit bits that user selects in editing interface are detected Put.
In a step 101, in each editor position difference display highlighting.
In a step 102, according to the edit operation detected, shown and the edit operation pair at the same time in each editor position The content of text answered.
As an example of the present embodiment, under more cursor edit patterns, if detecting user in editing interface Clicking operation (for example, double-click or click), the corresponding position of operation can be will click on as editor position.If detect Multiple clicking operation, it may be determined that multiple editor positions.
As an example of the present embodiment, under more cursor edit patterns, if detecting that user presses " Ctrl " and presses Key simultaneously detects clicking operation of the user in editing interface, can will click on the corresponding position of operation as editor position. If detect that user presses " Ctrl " button and carried out multiple clicking operation, it may be determined that multiple editor positions.
It should be noted that those skilled in the art can also select other buttons, (such as space button, shift perform Button or alt shift keys) coordinate with clicking operation to select editor position, do not limit herein.
In a step 102, edit operation includes but not limited to following at least one:Shearing manipulation, replicate operation, paste behaviour Make, input operation, insertion operation and selection operation.
For example, if edit operation is pastes character " hello ", respectively character is pasted in editor position at the same time in editing interface " hello ".And for example, if edit operation is by a backspace button, respectively a cursor left side is deleted in editor position at the same time in editing interface One character on side.
The disclosure is by the way that under more cursor edit patterns, display highlighting is distinguished in the multiple editor positions selected according to user. And according to the edit operation detected, content of text corresponding with the edit operation is shown at the same time in each editor position.Thus User can be improved in mobile terminal editorial efficiency, and then lift user experience, enhancing user's viscosity.
Fig. 2 is a kind of flow chart of the method for editing text shown according to another exemplary embodiment.As shown in Fig. 2, should Method further includes step 200 and step 201.
In step 200, editting function interface of the display with multiple editting function options in editing interface.
In step 201, in the case where detecting the more cursor editting function options of selection, by editor's mould of editing interface Formula is switched to more cursor edit patterns from monochromatic light mark edit pattern.
It is monochromatic light mark editor's mould in the edit pattern of editing interface as shown in fig. 4 a as an example of the present embodiment Under formula, if detecting the operation at user's calling editting function interface, Display Editing Functions interface in the editing interface.Editor Function interface includes more cursor editting function options.Detecting the situation of the more cursor editting function options of user's click selection Under, the edit pattern of editing interface is switched to more cursor edit patterns from monochromatic light mark edit pattern.
In a kind of possible implementation, it can use shortcut that monochromatic light mark edit pattern is switched to more cursors and compile The pattern of collecting.For example, the double click operation in editing interface, directly switches the edit pattern of editing interface from monochromatic light mark edit pattern For more cursor edit patterns.
It should be noted that those skilled in the art can select as needed suitable mode of operation (for example, click, Double click operation or gesture operation etc.) alternatively more cursor editting functions operation.Do not limit herein.
The monochromatic light mark edit pattern of editing interface can be switched to more cursor editor moulds by this example according to the selection of user Formula, can more flexible progress it is more/monochromatic light mark pattern switching, meet a variety of editor's demands of user, further improve user experience.
Fig. 3 is a kind of flow chart of the method for editing text shown according to another exemplary embodiment.As shown in figure 3, Fig. 3 Difference between Fig. 2 is that Fig. 3 further includes step 300.
In step 300, in the case where detecting that more cursor editting function options are exited in selection, by the volume of editing interface The pattern of collecting is switched to monochromatic light mark edit pattern from more cursor edit patterns.
It is more cursor editor moulds in the edit pattern of editing interface as shown in Figure 4 b as an example of the present embodiment Under formula, if detecting the operation at user's calling editting function interface, Display Editing Functions interface in editing interface.Edit work( Energy interface, which includes, exits more cursor editting function options.Detecting that user clicks on the situation of more cursor editting function options of exiting Under, the edit pattern of editing interface is switched to monochromatic light mark edit pattern from more cursor edit patterns.
In a kind of possible implementation, it can use shortcut that more cursor edit patterns are switched to monochromatic light mark and compile The pattern of collecting.For example, the double click operation in editing interface, directly switches the edit pattern of editing interface from more cursor edit patterns For monochromatic light mark edit pattern.
It should be noted that those skilled in the art can select as needed suitable mode of operation (for example, click, Double click operation or gesture operation etc.) alternatively exit the operations of more cursor editting functions.Do not limit herein.
The monochromatic light mark edit pattern of editing interface can be switched to more cursor editor moulds by this example according to the selection of user Formula, can more flexible progress it is more/monochromatic light mark pattern switching, meet a variety of editor's demands of user, further improve user experience.
In a kind of possible implementation, this method further includes:Under more cursor edit patterns, if detecting revocation Cursor operations, then cancel cursor in editing interface according to the backward of cursor insertion.
For example, under more cursor edit patterns, if being successively inserted into cursor in the left side of character " a " and the left side of character " b ", Cursor operations are once then cancelled if detected, the cursor in the left side of revocation character " b ".
The cursor that the disclosure can flexibly help user's revocation to be mistakenly inserted by cancelling cursor operations.
In a kind of possible implementation, this method further includes:Under more cursor edit patterns, if detecting revocation Text editing operations, then each editor position in editing interface cancel corresponding edit operation at the same time.
For example, under more cursor edit patterns, if at the same time in the left side of character " a " and the left side of character " b " insertion character " c ", then once cancel text editing operations if detected, deletes the left side of character " a " and the left side of character " b " at the same time Character " c ".
The text editing that operation of the disclosure by cancelling text editing can help user efficiently to cancel erroneous input.
A kind of using application apparatus as in the application example of mobile phone.
First, user enters the office software editing interface in mobile phone, wherein, which is defaulted as illustrated in fig. 4 c Monochromatic light mark edit pattern.Detect user's long-press editing interface, then the editor's work(of editing interface pop-up as shown in fig. 4 a Energy interface, wherein, the editting function interface is in addition to the function choosing-items such as traditional duplication, stickup, also comprising more cursor editors' Function choosing-item.
Then, user selects the function choosing-item of more cursor editors, and the edit pattern of editing interface is from monochromatic light mark edit pattern It is switched to more cursor edit patterns as shown in figure 4d.User clicks on the place (editing position) for needing to add cursor, such as: As shown in figure 4d, user have selected the left side of character " Li Ming ", " Wang Hong ", " Zhang Fei " and " Liu Huan ".It is then corresponding, character " Li Ming ", " Wang Hong ", the equal display highlighting in the left side of " Zhang Fei " and " Liu Huan ".
Then, user's input content " I is 2011 grades ", completes editor.Then as shown in fig 4e, character " Li Ming ", " king It is red ", the left side of " Zhang Fei " and " Liu Huan " show character " I is 2011 grades " at the same time.
Meanwhile this method further includes maloperation optimization.Under more cursor edit patterns, such as:The head of a household is used if detected By editing interface, then ejecting includes " revocation cursor " function and " revocation editor " function in editting function panel.When detecting use In the case of family selection " revocation cursor " function, upper cursor state more than one is returned.When detecting user's selection " revocation editor " In the case of function, each editor position in editing interface cancels corresponding edit operation at the same time.
Finally, user can exit more cursor editing modes by double-clicking editing interface.
The disclosure is by the way that under more cursor edit patterns, display highlighting is distinguished in the multiple editor positions selected according to user. And according to the edit operation detected, content of text corresponding with the edit operation is shown at the same time in each editor position.Thus User can be improved in mobile terminal editorial efficiency, and then lift user experience, enhancing user's viscosity.
Fig. 5 is a kind of block diagram of text editing apparatus according to an exemplary embodiment.With reference to Fig. 5, the device bag Include:
Detection module 41, for multiple editors that under more cursor edit patterns, detection user selects in editing interface Position.
Display module 42, in each editor position difference display highlighting.
Editor module 43, for according to the edit operation detected, showing in each editor position and being grasped with the editor at the same time Make corresponding content of text.
The disclosure is by the way that under more cursor edit patterns, display highlighting is distinguished in the multiple editor positions selected according to user. And according to the edit operation detected, content of text corresponding with the edit operation is shown at the same time in each editor position.Thus User can be improved in mobile terminal editorial efficiency, and then lift user experience, enhancing user's viscosity.
Fig. 6 is a kind of block diagram of the text editing apparatus shown according to another exemplary embodiment.For convenience of description, exist Part related to the present embodiment is only illustrated in Fig. 6.The label component identical with Fig. 5 has the function of identical in Fig. 6, is For the sake of concise, the detailed description to these components is omitted.As shown in fig. 6,
For above device, in a kind of possible implementation, further include:
Selecting module 44, for editting function interface of the display with multiple editting function options in editing interface.
Into module 45, in the case where detecting the more cursor editting function options of selection, by the volume of editing interface The pattern of collecting is switched to more cursor edit patterns from monochromatic light mark edit pattern.
For above device, in a kind of possible implementation, further include:
Module 46 is exited, in the case where detecting that more cursor editting function options are exited in selection, by editing interface Edit pattern be switched to monochromatic light mark edit pattern from more cursor edit patterns.
For above device, in a kind of possible implementation, further include:
First revocation module 47, under more cursor edit patterns, if detecting revocation cursor operations, editing In interface cursor is cancelled according to the backward of cursor insertion.
For above device, in a kind of possible implementation, further include:
Second revocation module 48, under more cursor edit patterns, if detecting revocation text editing operations, Each editor position in editing interface cancels corresponding edit operation at the same time.
The disclosure is by the way that under more cursor edit patterns, display highlighting is distinguished in the multiple editor positions selected according to user. And according to the edit operation detected, content of text corresponding with the edit operation is shown at the same time in each editor position.Thus User can be improved in mobile terminal editorial efficiency, and then lift user experience, enhancing user's viscosity.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is a kind of block diagram of text editing apparatus according to an exemplary embodiment.For example, device 800 can be with It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
With reference to Fig. 7, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor component 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio component 810 further includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor component 814 can detect opening/closed mode of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor component 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor component 814 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. method for editing text, it is characterised in that including:
    Under more cursor edit patterns, multiple editor positions that user selects in editing interface are detected;
    In each editor position difference display highlighting;
    According to the edit operation detected, content of text corresponding with the edit operation is shown at the same time in each editor position.
  2. 2. according to the method described in claim 1, it is characterized in that, further include:
    Editting function interface of the display with multiple editting function options in editing interface;
    In the case where detecting the more cursor editting function options of selection, by the edit pattern of editing interface from monochromatic light mark editor's mould Formula is switched to more cursor edit patterns.
  3. 3. according to the method described in claim 2, it is characterized in that, further include:
    In the case where detecting that more cursor editting function options are exited in selection, the edit pattern of editing interface is compiled from more cursors It is monochromatic light mark edit pattern to collect pattern switching.
  4. 4. according to the method in any one of claims 1 to 3, it is characterised in that further include:
    Under more cursor edit patterns, if detecting revocation cursor operations, according to the inverse of cursor insertion in editing interface Sequence cancels cursor.
  5. 5. according to the method in any one of claims 1 to 3, it is characterised in that further include:
    Under more cursor edit patterns, if detecting revocation text editing operations, each editor position in editing interface Cancel corresponding edit operation at the same time.
  6. A kind of 6. text editing apparatus, it is characterised in that including:
    Detection module, for multiple editor positions that under more cursor edit patterns, detection user selects in editing interface;
    Display module, in each editor position difference display highlighting;
    Editor module, for according to the edit operation detected, being shown at the same time in each editor position corresponding with the edit operation Content of text.
  7. 7. device according to claim 6, it is characterised in that further include:
    Selecting module, for editting function interface of the display with multiple editting function options in editing interface;
    Into module, in the case where detecting the more cursor editting function options of selection, by the edit pattern of editing interface More cursor edit patterns are switched to from monochromatic light mark edit pattern.
  8. 8. device according to claim 7, it is characterised in that further include:
    Module is exited, in the case where detecting that more cursor editting function options are exited in selection, by the editor of editing interface Pattern is switched to monochromatic light mark edit pattern from more cursor edit patterns.
  9. 9. the device according to any one of claim 6 to 8, it is characterised in that further include:
    First revocation module, under more cursor edit patterns, if revocation cursor operations are detected, in editing interface Backward according to cursor insertion cancels cursor.
  10. 10. the device according to any one of claim 6 to 8, it is characterised in that further include:
    Second revocation module, under more cursor edit patterns, if revocation text editing operations are detected, in editor circle Each editor position in face cancels corresponding edit operation at the same time.
  11. A kind of 11. text editing apparatus, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:In perform claim requirement 1 to 5 the step of any one the method.
  12. 12. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is performed by processor, makes Processor is able to carry out according in claim 1 to 5 the step of any one the method.
CN201711268335.1A 2017-12-05 2017-12-05 Method for editing text and device Pending CN107967097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711268335.1A CN107967097A (en) 2017-12-05 2017-12-05 Method for editing text and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711268335.1A CN107967097A (en) 2017-12-05 2017-12-05 Method for editing text and device

Publications (1)

Publication Number Publication Date
CN107967097A true CN107967097A (en) 2018-04-27

Family

ID=61999458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711268335.1A Pending CN107967097A (en) 2017-12-05 2017-12-05 Method for editing text and device

Country Status (1)

Country Link
CN (1) CN107967097A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110929484A (en) * 2019-11-12 2020-03-27 北京小米移动软件有限公司 Text processing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130298016A1 (en) * 2004-06-02 2013-11-07 Nuance Communications, Inc. Multi-cursor transcription editing
CN103995659A (en) * 2014-06-26 2014-08-20 苏州天鸣信息科技有限公司 Method and device for controlling copy and paste of text segments through voice
CN104932771A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Method and mobile terminal for text editing and correction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130298016A1 (en) * 2004-06-02 2013-11-07 Nuance Communications, Inc. Multi-cursor transcription editing
CN104932771A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Method and mobile terminal for text editing and correction
CN103995659A (en) * 2014-06-26 2014-08-20 苏州天鸣信息科技有限公司 Method and device for controlling copy and paste of text segments through voice

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MICROSOFT: "<<Visual Studio Code1.10.2>>", 8 March 2017 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110929484A (en) * 2019-11-12 2020-03-27 北京小米移动软件有限公司 Text processing method, device and storage medium
CN110929484B (en) * 2019-11-12 2023-09-26 北京小米移动软件有限公司 Text processing method, device and storage medium

Similar Documents

Publication Publication Date Title
CN105094577A (en) Method and apparatus for application switching
CN105549849A (en) Method and device for processing misoperation instruction
CN105183286A (en) Desktop icon control method and apparatus and terminal
CN104461304A (en) Application control method and device
CN104679599A (en) Application program duplicating method and device
CN105487749A (en) Application icon organizing method and device
CN107102772A (en) Touch control method and device
CN104834559A (en) Notification message display method and device
CN105045504A (en) Image content extraction method and apparatus
CN104503690A (en) Arrangement method and device for application icons
CN105487805A (en) Object operating method and device
CN106843592A (en) Touch control method and device and mobile terminal
CN107241495A (en) The split screen treating method and apparatus of terminal device
CN104602275B (en) Client identification module SIM card switching method and device
CN107229411A (en) Control the method and device of split screen state
CN104898889A (en) Character determining method and device
CN104636170A (en) Application acquiring method and device and electronic device
CN104267881A (en) Toolbar operating method and device
CN107885418A (en) Terminal, multi-screen display method and device
CN104216973A (en) Data search method and data search device
CN104298424A (en) File operation method and device
CN105511777A (en) Session display method and device of touch display screen
CN107239351A (en) Method of attaching and device
CN105187671A (en) Recording method and device
CN105468281A (en) Setup interface display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180427