Nothing Special   »   [go: up one dir, main page]

CN104375980B - Content of text selection method and device - Google Patents

Content of text selection method and device Download PDF

Info

Publication number
CN104375980B
CN104375980B CN201410658362.XA CN201410658362A CN104375980B CN 104375980 B CN104375980 B CN 104375980B CN 201410658362 A CN201410658362 A CN 201410658362A CN 104375980 B CN104375980 B CN 104375980B
Authority
CN
China
Prior art keywords
text
content
selection
label
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410658362.XA
Other languages
Chinese (zh)
Other versions
CN104375980A (en
Inventor
高毅
王洪强
龙海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410658362.XA priority Critical patent/CN104375980B/en
Publication of CN104375980A publication Critical patent/CN104375980A/en
Application granted granted Critical
Publication of CN104375980B publication Critical patent/CN104375980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure is directed to content of text selection method and devices, for that when needing to select multiple discontinuity zones, can complete the selection operation to multiple discontinuity zones simultaneously, reduce operating procedure, improve operating efficiency.The method includes:Detect and select operation;When detecting selection operation, selection region is determined according to the selection operation in the text;It is marked in the selection region using label and chooses content of text;Wherein, the selection region determined according to the different selection operations is discontinuous.The disclosure can mark multiple discontinuity zones simultaneously in the text, reduce operating procedure, improve operating efficiency;It is convenient content of text to be chosen to browse to what is had been selected and to content of text is chosen to be marked.

Description

Content of text selection method and device
Technical field
This disclosure relates to electronic technology field more particularly to content of text selection method and device.
Background technology
In the related art, when user's using terminal equipment browse text, usually there are the needs of content in operation text, For example, selecting content of text, the content of selection is replicated, is sheared.The text that user is browsed can be webpage, electronics Book, using text, short message text of displaying etc..In the relevant technologies, it can only be directed to one continuum of text selecting every time And operation is performed, once multiple continuums can not be selected.For example, when user needs to select multiple continuum Chinese When this content is replicated, need to select each continuum respectively, often selection is primary, by the content of text of selection into Row replicates.It is in this way so that cumbersome.
Invention content
To overcome the problems in correlation technique, the embodiment of the present disclosure provides content of text selection method and device, uses In when needing to select multiple discontinuity zones, the selection operation to multiple discontinuity zones can be completed simultaneously, is subtracted Few operating procedure, improves operating efficiency.
According to the embodiment of the present disclosure in a first aspect, provide a kind of content of text selection method, including:
Detect and select operation;
When detecting selection operation, selection region is determined according to the selection operation in the text;
It is marked in the selection region using label and chooses content of text;
Wherein, the selection region determined according to the different selection operations is discontinuous.
In one embodiment, the method may also include:
When detecting selection operation, the function choosing-item for carrying out edit operation is shown.
In one embodiment, the function choosing-item includes label option;It is described to be marked in the selection region using label Choose content of text, it may include:When detecting the operation that the label option is selected, the selection is marked using label Content of text is chosen in region.
In one embodiment, described marked in the selection region using label chooses content of text, it may include:
It chooses content of text is selected to be sequentially generated serial number according to described, uses selection described in the sequence labelled notation Content of text is chosen in region.
In one embodiment, the function choosing-item may include replicating option and/or shear option;
The method may also include:
When detecting the operation that the duplication option is selected, chosen described during content of text copies to Clipboard; When detecting the operation that the shearing option is selected, content of text is chosen to clip in clipbook by described;
Show clipboard chooses the selected sequence of content of text by each, and segmentation display is each in clipbook chooses Content of text and described choose the corresponding label of content of text.
In one embodiment, the method may also include:
When detect the label in clipbook is dragged into the operation in text to be edited when, the label of dragging is corresponding Choose content of text be inserted into the position that drags to or
It, will when the operation that the Paste for detecting display is selected when the function choosing-item includes Paste Content is inserted into cursor position in text to be edited in clipbook.
According to the second aspect of the embodiment of the present disclosure, a kind of content of text selection device is provided, including:
Detection module, for detecting and selecting operation;
Determining module, for when detecting selection operation, selection region to be determined in the text according to the selection operation;
Mark module chooses content of text for being marked in the selection region using label;
Wherein, the selection region determined according to the different selection operations is discontinuous.
In one embodiment, described device may also include:
First display module, for when detecting selection operation, showing the function choosing-item for carrying out edit operation.
In one embodiment, the function choosing-item may include marking option;
The mark module, it may include:
First label submodule, for when detecting the operation that the label option is selected, institute to be marked using label It states in selection region and chooses content of text.
In one embodiment, the mark module, it may include:
Second label submodule, for choosing content of text is selected to be sequentially generated serial number according to, uses institute It states in selection region described in sequence labelled notation and chooses content of text.
In one embodiment, the function choosing-item may include replicating option and/or shear option;
Described device may also include:
Editor module, for when detecting the operation that the duplication option is selected, content of text being chosen to answer by described It makes in clipbook;When detecting the operation that the shearing option is selected, content of text is chosen to clip to clip and paste by described In plate;
Second display module for show clipboard, chooses the selected sequence of content of text, in clipbook by each Segmentation display is each to be chosen content of text and described chooses the corresponding label of content of text.
In one embodiment, described device may also include:
First stickup module, for when detect the label in clipbook is dragged into the operation in text to be edited when, By the label of dragging it is corresponding choose content of text be inserted into the position that drags to or
Second stickup module, for the function choosing-item include Paste when, when the Paste for detecting display During selected operation, content in clipbook is inserted into cursor position in text to be edited.
According to the third aspect of the embodiment of the present disclosure, a kind of content of text selection device is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Detect and select operation;
When detecting selection operation, selection region is determined according to the selection operation in the text;
It is marked in the selection region using label and chooses content of text;
Wherein, the selection region determined according to the different selection operations is discontinuous.
The technical scheme provided by this disclosed embodiment can include the following benefits:Detect and select operation;Work as detection During to selection operation, selection region is determined according to selection operation in the text;It is marked in selection region using label and chooses text This content;It so, it is possible simultaneous selection in the text and mark multiple discontinuity zones, reduce operating procedure, improve Operating efficiency;It is convenient content of text to be chosen to browse to what is had been selected and to content of text is chosen to be marked.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart according to the content of text selection method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the content of text selection method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to the content of text selection method shown in an exemplary embodiment.
Fig. 4 A are the flow charts according to the content of text selection method shown in an exemplary embodiment one.
Fig. 4 B are the schematic diagrames according to the selection content of text shown in an exemplary embodiment one.
Fig. 4 C are the schematic diagrames for changing selection region according to the dragging cursor shown in an exemplary embodiment one.
Fig. 4 D are the schematic diagrames that content of text is chosen according to the label shown in an exemplary embodiment one.
Fig. 4 E are the schematic diagrames that content of text is chosen according to the label shown in an exemplary embodiment one.
Fig. 4 F are to choose the schematic diagram of content of text according to being shown in clipbook shown in an exemplary embodiment one.
Fig. 5 is the block diagram according to a kind of content of text selection device shown in an exemplary embodiment.
Fig. 6 is the block diagram according to another content of text selection device shown in an exemplary embodiment.
Fig. 7 is the block diagram according to another content of text selection device shown in an exemplary embodiment.
Fig. 8 is according to a kind of block diagram suitable for content of text selection device shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, 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 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 device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the flow chart according to a kind of content of text selection method shown in an exemplary embodiment.As shown in Figure 1, Text content selecting method is used in terminal device such as mobile phone, tablet computer or personal computer, includes the following steps S101- S103:
In step S101, operation is detected and selected.
In step s 102, when detecting selection operation, selection region is determined according to selection operation in the text.
For example, when detecting selection operation, selection region, change selection are determined according to selection operation in the text The background color in region.When detecting the touch operation in the text that touch screen is shown, in the selected region of touch operation Front and rear sides show the first cursor and the second cursor respectively.Region between first cursor and the second cursor is determined as to select area Domain.
When detecting the touch operation in the text that touch screen is shown, two before and after the selected region of touch operation Side shows the first cursor and the second cursor respectively.The first cursor is dragged into the second cursor position in the text when detecting During the first operation of position before, the first cursor is moved to the position of the first operation stopping.In the text will when detecting When second cursor drags to the second operation of the position after the first cursor position, the second cursor is moved to the second operation The position of stopping.Region between first cursor and the second cursor is determined as selection region.By the first cursor and the second cursor it Between region be determined as selection region.
In step s 103, it is marked in selection region using label and chooses content of text.
In one embodiment, above-mentioned steps S103 may include:According to choosing, content of text is selected to be sequentially generated sequence Number, choose content of text using in sequence labelled notation selection region.
For example, it has been selected and is marked two and choose content of text, serial number is respectively 1 and 2, this is selected Select the determining serial number for choosing content of text of operation and be determined as 3, using serial number 3 to this select choose content of text into Line flag.
In the present embodiment, using serial number to content of text is chosen to be marked, further it is convenient for having been selected Content of text is chosen to be browsed, it is convenient to provide reference to be subsequently selected.
The technical scheme provided by this disclosed embodiment can include the following benefits:Detect and select operation;Work as detection During to selection operation, selection region is determined according to selection operation in the text;It is marked in selection region using label and chooses text This content;It so, it is possible in the text while mark multiple discontinuity zones, reduce operating procedure, improve operation effect Rate;It is convenient content of text to be chosen to browse to what is had been selected and to content of text is chosen to be marked.
Fig. 2 is the flow chart according to a kind of content of text selection method shown in an exemplary embodiment.As shown in Fig. 2, Text content selecting method is used in terminal device such as mobile phone, tablet computer or personal computer, is included the following steps:
In step s 201, operation is detected and selected.
In step S202, when detecting selection operation, selection region is determined, and show according to selection operation in the text Show the function choosing-item for carrying out edit operation.
Function choosing-item may include marking option.
In step S203, when detecting the operation that label option is selected, marked in selection region using label Choose content of text.
For example, when detecting the operation that label option is clicked, according to choosing the selected sequence of content of text Genesis sequence number chooses content of text using in sequence labelled notation selection region.
In technical solution provided in this embodiment, operation is marked by function choosing-item, user can be facilitated to carry out Operation.
In one embodiment, function choosing-item includes cancelling option, and method further includes:Cancel what option was selected when detecting During operation, the label that content of text is chosen in text is cancelled.
For example, when the cancellation option for detecting display is clicked, by the mark for choosing content of text each in text Keep in mind and disappear.
In the present embodiment, it is possible to which multiple labels for choosing content of text are disposably cancelled, it is conveniently operated, improves behaviour Make efficiency.
Fig. 3 is the flow chart according to a kind of content of text selection method shown in an exemplary embodiment.As shown in figure 3, Text content selecting method is used for terminal device, in mobile phone, tablet computer or personal computer, includes the following steps:
In step S301, operation is detected and selected.
In step s 302, when detecting selection operation, selection region is determined, and show according to selection operation in the text Show the function choosing-item for carrying out edit operation.
Function choosing-item may include replicating option and shear option.
In step S303, marked in selection region using label and choose content of text.
In step s 304, when detecting the operation that duplication option is selected, content of text will be chosen to copy to and cliped and pasted In plate.
In step S305, when detecting the operation that shearing option is selected, content of text will be chosen to clip to and cliped and pasted In plate.
In step S306, show clipboard is chosen the selected sequence of content of text by each, is segmented in clipbook It shows and each chooses content of text label corresponding with content of text is chosen.
In technical solution provided in this embodiment, can multiple discontinuity zones be marked simultaneously in the text, will selected Multiple discontinuity zones replicate or clip in clipbook, reduce operating procedure, improve operating efficiency;And to choosing Content of text is marked, and the label for choosing content of text is shown in clipbook, convenient to be chosen in text to what is had been selected Appearance is browsed.
In one embodiment, after step S306, method may also include in the disclosure:It will be in clipbook when detecting When label drags to the operation in text to be edited, content of text is chosen to be inserted into the position dragged to by the label of dragging is corresponding It puts.Alternatively, after step S306, method may also include in the disclosure:When function choosing-item includes Paste, when detecting During the operation that the Paste of display is selected, content in clipbook is inserted into cursor position in text to be edited.
The edit operation for choosing content of text is not limited to replicate and be sheared, can also include deleting and sending, function choosing Item includes deleting option and delivery option.For example, when detecting that deleting option is selected, content of text will be chosen to delete It removes;When detecting that delivery option is selected, content of text will be chosen to be combined into a new text, sent comprising the new text Message, such as short message or the message of instant messaging application.
In the present embodiment, content of text can be chosen into edlin to multiple so that edit operation is more convenient, improves The efficiency of edit operation.
Fig. 4 A are the flow charts according to the content of text selection method shown in an exemplary embodiment one.Shown in embodiment one Method is applied in following scene:Display function option, function choosing-item include in the text of mobile phone:Replicate option, shearing option, Paste and label option.The many places of mobile phone Chinese sheet are selected.As shown in Figure 4 A, method includes the following steps:
In step S401, when detecting the touch operation in the text that touch screen is shown, selected by touch operation The front and rear sides in region show the first cursor and the second cursor respectively, change the background in region between the first cursor and the second cursor Color.
As shown in Figure 4 B, the background colour in the region before the first cursor 51 and the second cursor 52 is changed to grey.
In step S402, when detecting the position before the first cursor to be dragged to the second cursor position in the text During the first operation put, the first cursor is moved to the position of the first operation stopping.
In step 403, when detecting position after the second cursor is dragged to the first cursor position in the text During the second operation put, the second cursor is moved to the position of the second operation stopping.
In step s 404, region between the first cursor and the second cursor is determined as selection region, changes selection region Background color.
As shown in Figure 4 C, region between the first cursor and the second cursor is expanded, it is selection region to determine the region.
In step S405, when detecting the operation that label option is clicked, content in selection region is determined as selecting Middle content of text, content of text is selected to be sequentially generated serial number " 1. " by choosing, using serial number " 1. " to choosing text Content is marked.
As shown in Figure 4 D, using serial number " 1. " to content of text is chosen to be marked.
In step S406, repeat the above steps S401-S404, determines selection region, changes the background of selection region Color.
In step S 407, when detecting the operation that label option is clicked, content in selection region is determined as selecting Middle content of text, content of text is selected to be sequentially generated serial number " 2. " by choosing, using serial number " 2. " to choosing text Content is marked.
As shown in Figure 4 E, selected in text at two it is mutually discontinuous choose content of text, 1. and 2. be respectively labeled as, Background colour is grey.
In step S408, when detecting the operation that duplication option is clicked, content of text will be chosen to copy to and cliped and pasted In plate.
In step S409, show clipboard is chosen the selected sequence of content of text by two, is segmented in clipbook Content of text serial number corresponding with content of text is chosen is chosen in display two.
As illustrated in figure 4f, the show clipboard in screen shows in clipbook and chooses content of text and choose in text Hold corresponding serial number.
In step S410, when detect the serial number in clipbook is dragged into the operation in text to be edited when, will The serial number of dragging is corresponding to choose content of text to be inserted into the position dragged to.
The technical scheme provided by this disclosed embodiment can include the following benefits:Detect and select operation;Work as detection During to selection operation, selection region is determined according to selection operation in the text;It is marked in selection region using label and chooses text This content;It so, it is possible in the text while mark multiple discontinuity zones, reduce operating procedure, improve operation effect Rate;It is convenient content of text to be chosen to browse to what is had been selected and to content of text is chosen to be marked.
Fig. 5 is the block diagram according to a kind of content of text selection device shown in an exemplary embodiment.It as shown in figure 5, should Content of text selection device is used in terminal device such as mobile phone, tablet computer or personal computer, including:
Detection module 51 is configured as detecting and selecting operation;
When determining module 52 is configured as detecting selection operation, selection area is determined in the text according to selection operation Domain;
Mark module 53 is configured with choosing content of text in label label selection region;
Wherein, the selection region determined according to different selection operations is discontinuous.
In one embodiment, as shown in fig. 6, device further includes:
First display module 61 when being configured as detecting selection operation, shows the function for carrying out edit operation Option.
In one embodiment, function choosing-item may include marking option;
Mark module 53 may include:
First label submodule, when being configured as detecting the operation that option is marked to be selected, uses label mark Content of text is chosen in note selection region.
In one embodiment, mark module may include:
Second label submodule, is configured as according to choosing content of text is selected to be sequentially generated serial number, using suitable Content of text is chosen in serial number label selection region.
In one embodiment, as shown in fig. 7, function choosing-item may include replicating option and/or shear option;
Device may also include:
Editor module 71 is configured as detecting when replicating operation that option is selected, content of text will be chosen to replicate Into clipbook;When detecting the operation that shearing option is selected, content of text will be chosen to clip in clipbook;
Second display module 72, is configured as show clipboard, chooses the selected sequence of content of text by each, is cutting Segmentation display is each in pasting board chooses content of text label corresponding with content of text is chosen.
In one embodiment, device further includes:
First stickup module is configured as detecting the operation dragged to the label in clipbook in text to be edited When, by the label of dragging it is corresponding choose content of text be inserted into the position that drags to or
Second stickup module is configured as when function choosing-item includes Paste, when the Paste for detecting display During selected operation, content in clipbook is inserted into cursor position in text to be edited.
About 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.
The technical scheme provided by this disclosed embodiment can include the following benefits:In the technical solution of the disclosure In, selection region is determined according to selection operation in the text, when the marking instruction is received, content in selection region is determined as Content of text is chosen, and to content of text is chosen to be marked, at the end of the selection not to content of text, chosen for each The label of content of text can be retained;It so, it is possible in the text while mark multiple discontinuity zones, reduce operation Step improves operating efficiency;And to content of text is chosen to be marked, it is convenient to have been selected choose content of text into Row browsing.
Fig. 8 is according to a kind of block diagram for content of text selection device 1200 shown in an exemplary embodiment, the dress It puts suitable for terminal device.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting sets It is standby, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 8, device 1200 can include following one or more components:Processing component 1202, memory 1204, electricity Source component 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing element 1202 can be performed including one or more processors 1220 Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 can include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example is included for the instruction of any application program or method that is operated on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 can include power management System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 1200.
Multimedia component 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch and passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or slide dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, it is more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loud speaker, for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detect opening/closed state of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Put 1200 temperature change.Sensor module 1214 can include proximity sensor, be configured in no any physics It is detected the presence of nearby objects during contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by putting 1200,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application application-specific integrated circuit (ASIC), number Signal 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 1204 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of content of text selection device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Detect and select operation;
When detecting selection operation, selection region is determined according to the selection operation in the text;
It is marked in the selection region using label and chooses content of text;
Wherein, the selection region determined according to the different selection operations is discontinuous.
The processor is additionally configured to:When detecting selection operation, the function choosing-item for carrying out edit operation is shown.
The processor is additionally configured to:Function choosing-item include label option when, when detect it is described label option be chosen In operation when, marked in the selection region using label and choose content of text.
The processor can be configured as:It chooses content of text is selected to be sequentially generated serial number according to described, uses institute It states in selection region described in sequence labelled notation and chooses content of text.
The processor can be configured as:It is described when detecting when function choosing-item includes replicating option and/or shearing option When replicating the operation that option is selected, chosen described during content of text copies to Clipboard;When detecting the shearing option During selected operation, content of text is chosen to clip in clipbook by described;Show clipboard chooses content of text by each Selected sequence, segmentation display is each in clipbook chooses content of text and described chooses the corresponding label of content of text.
The processor is additionally configured to:When detecting the operation that drags to the label in clipbook in text to be edited When, by the label of dragging it is corresponding choose content of text be inserted into the position that drags to or
It, will when the operation that the Paste for detecting display is selected when the function choosing-item includes Paste Content is inserted into cursor position in text to be edited in clipbook.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device performs so that mobile terminal is able to carry out a kind of content of text selection method, the method includes:
Detect and select operation;
When detecting selection operation, selection region is determined according to the selection operation in the text;
It is marked in the selection region using label and chooses content of text;
Wherein, the selection region determined according to the different selection operations is discontinuous.
The method may also include:When detecting selection operation, the function choosing-item for carrying out edit operation is shown.
Described marked in the selection region using label chooses content of text, it may include:In the function choosing-item packet When including label option, when detecting the operation that the label option is selected, marked in the selection region using label Choose content of text.
Described marked in the selection region using label chooses content of text, it may include:Text is chosen according to described Content is selected to be sequentially generated serial number, and content of text is chosen using in selection region described in the sequence labelled notation.
The method may also include:When the function choosing-item may include replicating option and/or shearing option, when detecting It is described when replicating the operation that option is selected, it is chosen described during content of text copies to Clipboard;When detecting the shearing During the operation that option is selected, content of text is chosen to clip in clipbook by described;Show clipboard chooses text by each The selected sequence of content, segmentation display is each in clipbook chooses content of text and described chooses the corresponding mark of content of text Label.
The method may also include:When detect the label in clipbook is dragged into the operation in text to be edited when, By the label of dragging it is corresponding choose content of text be inserted into the position that drags to or
It, will when the operation that the Paste for detecting display is selected when the function choosing-item includes Paste Content is inserted into cursor position in text to be edited in clipbook.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure 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 illustratively, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood 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 (10)

1. a kind of content of text selection method, which is characterized in that including:
Detect and select operation;
When detecting selection operation, selection region is determined according to the selection operation in the text;
It is marked in the selection region using label and chooses content of text;
Wherein, the selection region determined according to the different selection operations is discontinuous;
It is described that selection region is determined according to the selection operation in the text when detecting selection operation, including:
When detecting the touch operation in the text that touch screen is shown, two before and after the selected region of the touch operation Side shows the first cursor and the second cursor respectively;
Region between first cursor and second cursor is determined as the selection region;
Described marked in the selection region using label chooses content of text, including:
It chooses content of text is selected to be sequentially generated serial number according to described, uses selection region described in the sequence labelled notation In choose content of text;
The method further includes:
When detecting selection operation, the function choosing-item for carrying out edit operation is shown;
The function choosing-item includes at least shearing option;
The method further includes:
When detecting the operation that the shearing option is selected, content of text is chosen to clip in clipbook by described;
Show clipboard chooses the selected sequence of content of text by each, and segmentation display is each in clipbook chooses text Content and described choose the corresponding label of content of text.
2. the method as described in claim 1, which is characterized in that the function choosing-item further includes label option;
Described marked in the selection region using label chooses content of text, including:When detect it is described label option quilt During the operation chosen, marked in the selection region using label and choose content of text.
3. the method as described in claim 1, which is characterized in that the function choosing-item further includes duplication option;
The method further includes:
When detecting the operation that the duplication option is selected, chosen described during content of text copies to Clipboard.
4. method as claimed in claim 3, which is characterized in that the method further includes:
When detect the label in clipbook is dragged into the operation in text to be edited when, choose the label of dragging is corresponding Content of text be inserted into the position that drags to or
When the function choosing-item includes Paste, when the operation that the Paste for detecting display is selected, will clip and paste Content is inserted into cursor position in text to be edited in plate.
5. a kind of content of text selection device, which is characterized in that including:
Detection module, for detecting and selecting operation;
Determining module, for when detecting selection operation, selection region to be determined in the text according to the selection operation;
Mark module chooses content of text for being marked in the selection region using label;
Wherein, the selection region determined according to the different selection operations is discontinuous;
The determining module is additionally operable to:
When detecting the touch operation in the text that touch screen is shown, two before and after the selected region of the touch operation Side shows the first cursor and the second cursor respectively;
Region between first cursor and second cursor is determined as the selection region;
The mark module, including:
Second label submodule, for choosing content of text is selected to be sequentially generated serial number according to, using described suitable Serial number marks in the selection region and chooses content of text;
Described device further includes:
First display module, for when detecting selection operation, showing the function choosing-item for carrying out edit operation;
The function choosing-item includes at least shearing option;
Described device further includes:
Editor module, for when detecting the operation that the shearing option is selected, content of text being chosen to clip to by described In clipbook;
Second display module for show clipboard, is chosen the selected sequence of content of text by each, is segmented in clipbook It shows and each choose content of text and described choose the corresponding label of content of text.
6. device as claimed in claim 5, which is characterized in that the function choosing-item further includes label option;
The mark module, including:
First label submodule, for when detecting the operation that the label option is selected, the choosing to be marked using label It selects in region and chooses content of text.
7. device as claimed in claim 5, which is characterized in that the function choosing-item further includes duplication option;
Editor module is additionally operable to, when detecting the operation that the duplication option is selected, content of text be chosen to replicate by described Into clipbook.
8. device as claimed in claim 7, which is characterized in that described device further includes:
First stickup module, for when detect the label in clipbook is dragged into the operation in text to be edited when, will drag Dynamic label is corresponding choose content of text be inserted into the position that drags to or
Second stickup module, for the function choosing-item include Paste when, when the Paste for detecting display is chosen In operation when, content in clipbook is inserted into cursor position in text to be edited.
9. a kind of content of text selection device, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Detect and select operation;
When detecting selection operation, selection region is determined according to the selection operation in the text;
It is marked in the selection region using label and chooses content of text;
Wherein, the selection region determined according to the different selection operations is discontinuous;
It is described that selection region is determined according to the selection operation in the text when detecting selection operation, including:
When detecting the touch operation in the text that touch screen is shown, two before and after the selected region of the touch operation Side shows the first cursor and the second cursor respectively;
Region between first cursor and second cursor is determined as the selection region;
Described marked in the selection region using label chooses content of text, including:
It chooses content of text is selected to be sequentially generated serial number according to described, uses selection region described in the sequence labelled notation In choose content of text;
The processor is configured to:
When detecting selection operation, the function choosing-item for carrying out edit operation is shown;
The function choosing-item includes at least shearing option;
The processor is configured to:
When detecting the operation that the shearing option is selected, content of text is chosen to clip in clipbook by described;
Show clipboard chooses the selected sequence of content of text by each, and segmentation display is each in clipbook chooses text Content and described choose the corresponding label of content of text.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that described instruction is handled The step of any one of claims 1 to 4 the method is realized when device performs.
CN201410658362.XA 2014-11-18 2014-11-18 Content of text selection method and device Active CN104375980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410658362.XA CN104375980B (en) 2014-11-18 2014-11-18 Content of text selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410658362.XA CN104375980B (en) 2014-11-18 2014-11-18 Content of text selection method and device

Publications (2)

Publication Number Publication Date
CN104375980A CN104375980A (en) 2015-02-25
CN104375980B true CN104375980B (en) 2018-06-12

Family

ID=52554903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410658362.XA Active CN104375980B (en) 2014-11-18 2014-11-18 Content of text selection method and device

Country Status (1)

Country Link
CN (1) CN104375980B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630481A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Data processing method, data processing device and terminal
CN104951193B (en) * 2015-05-19 2018-07-10 腾讯科技(深圳)有限公司 menu display method and device
CN105653179A (en) * 2015-07-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Character processing method and apparatus
CN105468234A (en) * 2015-11-18 2016-04-06 中科创达软件股份有限公司 Information processing method and mobile terminal
KR20170082392A (en) * 2016-01-06 2017-07-14 삼성전자주식회사 Device for providing user interface using pressure sensor and method for configuring screen of the same
CN105808144B (en) * 2016-03-10 2019-06-07 Oppo广东移动通信有限公司 Information duplicating method, device and terminal device
CN105867763A (en) * 2016-03-23 2016-08-17 努比亚技术有限公司 Information processing method and terminal
CN109154878A (en) * 2016-06-03 2019-01-04 株式会社半导体能源研究所 Data processing equipment and its display methods
CN106095243B (en) * 2016-06-15 2019-02-15 维沃移动通信有限公司 A kind of method and mobile terminal of duplication stickup
CN106126052A (en) 2016-06-23 2016-11-16 北京小米移动软件有限公司 Text selection method and device
CN106383847B (en) * 2016-08-30 2019-03-22 宇龙计算机通信科技(深圳)有限公司 A kind of page content processing method and device
CN108509103A (en) * 2017-02-27 2018-09-07 华为技术有限公司 Text clone method and touch-screen equipment
CN107247698A (en) * 2017-05-15 2017-10-13 捷开通讯(深圳)有限公司 A kind of method of text editing, mobile terminal and the device with store function
CN107229403B (en) * 2017-05-27 2020-09-15 北京小米移动软件有限公司 Information content selection method and device
CN107291564B (en) * 2017-06-08 2020-06-26 北京金山安全软件有限公司 Information copying and pasting method and device and electronic equipment
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal
CN107967093B (en) 2017-12-21 2020-01-31 维沃移动通信有限公司 multi-segment text copying method and mobile terminal
CN110968990B (en) * 2018-09-30 2024-02-13 北京国双科技有限公司 Table analysis method and apparatus
CN111026559B (en) * 2018-10-09 2023-10-03 奇酷互联网络科技(深圳)有限公司 Terminal, method for copying and pasting data of terminal and device with storage function
CN112560403A (en) * 2019-09-26 2021-03-26 北京国双科技有限公司 Text processing method and device and electronic equipment
CN110929484B (en) * 2019-11-12 2023-09-26 北京小米移动软件有限公司 Text processing method, device and storage medium
CN112947826B (en) * 2021-01-28 2024-05-10 维沃移动通信有限公司 Information acquisition method and device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240430B1 (en) * 1996-12-13 2001-05-29 International Business Machines Corporation Method of multiple text selection and manipulation
CN102436395A (en) * 2011-11-22 2012-05-02 宇龙计算机通信科技(深圳)有限公司 Content selection copying method and mobile terminal
CN103294657B (en) * 2012-03-02 2017-10-27 富泰华工业(深圳)有限公司 Method for editing text and system
CN102768614B (en) * 2012-06-14 2015-07-15 广东步步高电子工业有限公司 Text processing method applied to touch screen mobile handheld device
CN103135901B (en) * 2013-02-04 2016-01-20 广东欧珀移动通信有限公司 Method and this mobile terminal of text is accurately selected in mobile terminal
CN103324440B (en) * 2013-07-05 2016-06-08 广东欧珀移动通信有限公司 A kind of method utilizing multi-point touch to select word content

Also Published As

Publication number Publication date
CN104375980A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104375980B (en) Content of text selection method and device
EP3301559B1 (en) Content sharing method and device
CN106489129A (en) The method and device that a kind of content is shared
KR101952177B1 (en) Mobile terminal and control method thereof
CN105141742A (en) Mobile terminal and control method for the mobile terminal
CN106527883B (en) Content sharing method and device and terminal
CN105045504B (en) Picture material extracting method and device
CN104536935B (en) Calculate display methods, calculate edit methods and device
EP3855299A1 (en) Method for generating multimedia material, apparatus, and computer storage medium
KR20130127303A (en) Mobile terminal and control method thereof
KR20140062886A (en) Mobile terminal and control method thereof
CN105159661A (en) Corner mark display method and apparatus for icon
CN104991752B (en) Control the method and device of screen rotation
CN106527882A (en) Content sharing method, device and terminal
CN107066172A (en) The document transmission method and device of mobile terminal
CN107506246A (en) Information displaying method, device and computer-readable recording medium
CN106775202A (en) A kind of method and device of information transfer
CN104298424A (en) File operation method and device
CN105224174A (en) The display packing of Paste and device
CN109725806A (en) Website edit methods and device
CN105205093B (en) The method and device that picture is handled in picture library
CN105468281A (en) Setup interface display method and device
CN105187671A (en) Recording method and device
CN107423378A (en) Image display method and device
KR20130038753A (en) Mobile terminal and method for providing user interface thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant