CN109189303A - Method for editing text and mobile terminal - Google Patents

Method for editing text and mobile terminal Download PDF

Info

Publication number
CN109189303A
CN109189303A CN201811006143.8A CN201811006143A CN109189303A CN 109189303 A CN109189303 A CN 109189303A CN 201811006143 A CN201811006143 A CN 201811006143A CN 109189303 A CN109189303 A CN 109189303A
Authority
CN
China
Prior art keywords
text
content
operating area
mobile terminal
choice box
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.)
Granted
Application number
CN201811006143.8A
Other languages
Chinese (zh)
Other versions
CN109189303B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811006143.8A priority Critical patent/CN109189303B/en
Publication of CN109189303A publication Critical patent/CN109189303A/en
Priority to PCT/CN2019/096501 priority patent/WO2020042815A1/en
Application granted granted Critical
Publication of CN109189303B publication Critical patent/CN109189303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method for editing text and mobile terminals, belong to field of terminal, to solve the problem of that text editing operations time-consuming is more to reduce the efficiency of text editing.If text edit methods include: to detect duplication operation, determine that the duplication operates corresponding operating area;Content of text in the operating area is displayed in full screen;If detecting the edit operation to the content of text, according to the edit operation, target text to be pasted is obtained.Scheme provided in an embodiment of the present invention can reduce the time-consuming of text editing operations, improve the efficiency of text editing.

Description

Method for editing text and mobile terminal
Technical field
The present invention relates to field of terminal more particularly to a kind of method for editing text and mobile terminal.
Background technique
With popularizing for mobile terminal (such as mobile phone, intelligent wearable device etc.), more and more users get used to utilizing Mobile terminal browses webpage or message, and user can usually encounter the interested content of user in this navigation process, at this moment, uses Wish to replicate interested content and be saved into mobile terminal or be sent to other users in family.
In some scenes, user wish to be saved in again after modifying to the content of text of duplication in mobile terminal or It is sent to other users.But it only just can be carried out after the content of text of duplication is pasted onto information input frame by user at present Modification.Due to information input frame is longer and narrower and input frame in shown content it is limited, when the more content of text of number of words is viscous After being attached to information input frame, if necessary to a part of text in modification, first a line a line is needed to translate into the ground for needing to modify Side again modifies to text, will lead to that text editing operations time-consuming is more in this way, to reduce the efficiency of text editing.
Summary of the invention
The embodiment of the present invention provides a kind of method for editing text and mobile terminal, with solve text editing operations time-consuming compared with It is more, thus the problem of reducing the efficiency of text editing.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, providing a kind of method for editing text, it is applied to mobile terminal, comprising:
If detecting duplication operation, determine that the duplication operates corresponding operating area;
Content of text in the operating area is displayed in full screen;
If detecting the edit operation to the content of text, according to the edit operation, target text to be pasted is obtained This.
Second aspect provides a kind of mobile terminal, comprising:
Determining module determines that the duplication operates corresponding operating area if detecting duplication operation;
Content of text in the operating area is displayed in full screen by display module;
Module is obtained, according to the edit operation, to obtain to be pasted if detecting the edit operation to the content of text Target text.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, if detecting duplication operation, determine that the duplication operates corresponding operating area;By institute The content of text stated in operating area is displayed in full screen;If the edit operation to the content of text is detected, according to described Edit operation obtains target text to be pasted.In this way, the operating area by first determining duplication operation, and then by operating space Content of text in domain, which carries out full screen display, can be conducive to edit operation, so as to reduce the time-consuming of text editing operations, Improve the efficiency of text editing.
Detailed description of the invention
Fig. 1 is the flow chart of the method for editing text of first embodiment of the invention.
Fig. 2A is that the duplication of the embodiment of the present invention operates the schematic diagram of corresponding operating area.
Fig. 2 B is the effect diagram after being displayed in full screen the content of text in operating area of the embodiment of the present invention.
Fig. 3 is the flow chart of the method for editing text of second embodiment of the invention.
Fig. 4 is the signal provided in an embodiment of the present invention by showing the content of text of choice box institute's frame choosing in operating area Figure.
Fig. 5 is the flow chart of the method for editing text of third embodiment of the invention.
Fig. 6 is that the position in clicking operation of the embodiment of the present invention generates the effect diagram of editor's mark.
Fig. 7 shows the structure chart of mobile terminal according to an embodiment of the invention.
Fig. 8 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
Method for editing text provided in an embodiment of the present invention can be by mobile terminal execution.
In the present embodiment, above-mentioned mobile terminal can be any equipment with storaging medium, such as computer (Computer), mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (Personal Digital Assistant, PDA), mobile Internet access electronic equipment (Mobile Internet Device, MID), wearable device (Wearable Device) etc..
Fig. 1 is the flow chart of the method for editing text of the first embodiment of the present invention.As shown in Figure 1, the embodiment of the present invention The method for editing text of offer includes:
Step S110 determines that duplication operates corresponding operating area if detecting duplication operation.
In step s 110, when mobile terminal detects duplication operation, mobile terminal can determine the duplication operation Corresponding operating area.For example, operating area 210 as shown in Figure 2 A.Fig. 2A can be a kind of chat software (for example, wechat) Interface schematic diagram.The chat conversations between user are shown in interface, when user carries out a dialog box in interface Such as when long press operation, multiple option of operation can be shown, such as replicate, be sent to the options such as friend, collection, deletion.With When family has selected duplication option, it can the region (for example, region 210) that this dialog box is defined is determined as operating space Domain.It wherein, may include the content of text for being replicated and being edited in operating area.Also, content of text can be packet The text for including multiple sentences, be also possible to include multirow text, that is, content of text may include the more text of number of words.
In addition, above-mentioned duplication operation can be what user was inputted by touch screen, such as user is defeated by double-clicking touch screen Enter or user's long-pressing touch screen up to preset time (such as 2 seconds) and input.Also, above-mentioned duplication operation is also possible to use Family is inputted by means of input equipment (such as stylus, keyboard or mouse etc.), and user carries out double click operation by input equipment It is input or that user is inputted by input equipment progress long press operation up to preset time (such as 2 seconds).
Content of text in operating area is displayed in full screen by step S120.
In the step s 120, mobile terminal can amplify operating area, and the content of text in operating area is carried out Full screen display, as shown in Figure 2 B.Certainly, in embodiments of the present invention, the content of text in operating area can also be obtained, then Content of text is displayed in full screen, without amplifying operation to operating area.It in the present embodiment, can will be in text All texts held all with full screen display, allow user in the case where all texts can be clearly seen, to content of text Text edited.So, it is possible to reduce troublesome operation of user during determining the text that needs are modified is promoted and used The efficiency of text is edited at family, improves the flexibility and convenience of user experience, edit operation.
Step S130, according to edit operation, obtains target text to be pasted if detecting the edit operation to content of text This.
In step s 130, when mobile terminal detects the editor behaviour to whole texts or segment word in content of text When making, mobile terminal can obtain target text to be pasted according to the edit operation.
In the present embodiment, above-mentioned edit operation may include increasing text operation, changing text operation, delete text behaviour Make etc..Wherein, above-mentioned edit operation can be what user was inputted by touch screen, be also possible to user by means of input equipment (such as stylus, keyboard or mouse etc.) input.
In embodiments of the present invention, target text to be pasted can be the full text in operating area, or Part text in operating area.That is, can using the full text in operating area as target text to be pasted, Can also a part of text in selection operation region as target text to be pasted.
Method for editing text according to an embodiment of the present invention determines that duplication operation is corresponding if detecting duplication operation Operating area;Content of text in operating area is displayed in full screen;If detecting the edit operation to content of text, according to Edit operation obtains target text to be pasted, can be realized the troublesome operation for reducing user during modification replicates text, The efficiency that user edits duplication text is promoted, and then improves flexibility and convenience that user replicates experience, uses.
Fig. 3 is the flow chart of the method for editing text of the second embodiment of the present invention.As shown in figure 3, the present embodiment provides Method for editing text can include:
Step S310 determines that duplication operates corresponding operating area if detecting duplication operation.
In step s310, when mobile terminal detects duplication operation, mobile terminal can determine the duplication operation Corresponding operating area, such as operating area 210 as shown in Figure 2 A.It wherein, may include being answered in operating area The content of text of system and editor.Also, content of text can be the text including multiple sentences, be also possible to include multirow text This, that is, content of text may include the more text of number of words.
In addition, above-mentioned duplication operation can be what user was inputted by touch screen, such as user is defeated by double-clicking touch screen Enter or user's long-pressing touch screen up to preset time (such as 2 seconds) and input.Also, above-mentioned duplication operation is also possible to use Family is inputted by means of input equipment (such as stylus, keyboard or mouse etc.), and user carries out double click operation by input equipment It is input or that user is inputted by input equipment progress long press operation up to preset time (such as 2 seconds).
Content of text in operating area is displayed in full screen by step S320, and content of text is made to be in editable shape State.
In step s 320, mobile terminal can amplify operating area, and the content of text in operating area is carried out It is displayed in full screen and content of text is made to be in editable state, as shown in Figure 2 B.In the present embodiment, by putting operating area Greatly, it can will be displayed in full screen in the operating area of all texts of content of text all after amplification and be in content of text Editable state, in the case where allowing user to see all texts in operating area, directly to the text of content of text It is edited.Certainly, in embodiments of the present invention, the content of text in operating area can also be first obtained, it then will be in text Appearance is displayed in full screen, and content of text is made to be in editable state, without executing amplifying operation to operating area.
So, it is possible to reduce troublesome operation of user during determining the text that needs are modified promotes user and edit The efficiency of text improves the flexibility and convenience of user experience, edit operation.
Step S330 shows choice box in operating area, obtains content of text corresponding to choice box.
In step S330, mobile terminal can show choice box 410 in operating area, as shown in figure 4, making user The text edited required for being selected by choice box 410 come frame, to carry out subsequent edit operation and duplication operation.
Wherein, the content for the text that content of text corresponding to choice box can select for choice box institute's frame.
When choice box initial block choosing text be not user it is expected obtain text when, user can further by adjusting The size of choice box 410, such as the size of choice box 410 is adjusted by way of dragging, it selects and is needed to text so as to frame The range that the text of content is adjusted, such as frame select the whole texts or segment word of content of text, to carry out subsequent Edit operation and duplication operation.Wherein, the operation of the size of the adjustment choice box can be what user was inputted by touch screen, It is also possible to what user was inputted by means of input equipment (such as stylus, keyboard or mouse etc.).Mobile terminal is receiving pair After the adjustment operation of choice box, the size of choice box described in operation adjustment can be adjusted according to what is received, and obtain adjustment The corresponding content of text of choice box afterwards.
Step S340 edits the corresponding content of text of choice box, obtains target to be pasted according to edit operation Text.
In step S340, when mobile terminal detects the edit operation to the text in the corresponding content of text of choice box When, mobile terminal can edit selected content of text according to the edit operation, obtain target text to be pasted This.
In the present embodiment, above-mentioned edit operation may include increasing text operation, changing text operation, delete text behaviour Make etc..Wherein, above-mentioned edit operation can be what user was inputted by touch screen, be also possible to user by means of input equipment (such as stylus, keyboard or mouse etc.) input.
In embodiments of the present invention, the text that target text to be pasted can select for institute's frame in choice box, or Full text in operating area.That is, can using the full text in operating area as target text to be pasted, Can also a part of text in selection operation region, the text that institute's frame selects specially in choice box, as mesh to be pasted Mark text.Regardless of the content in target text to be pasted is by the modified content of edit operation under which kind of situation. For example, if the corresponding content of text of choice box is " going home to have a meal into complete ", edit operation is, for example, that choice box is corresponding Content of text " going home to have a meal into complete " be revised as " tonight goes home to have a meal ", then target text to be pasted be edit operation modification Text corresponding to choice box " tonight goes home to have a meal " afterwards, rather than text corresponding to choice box before edit operation modification " into It is complete to go home to have a meal ".
Method for editing text according to an embodiment of the present invention determines that duplication operation is corresponding if detecting duplication operation Operating area;Content of text in operating area is displayed in full screen and content of text is made to be in editable state;It is operating Choice box is shown in region, obtains content of text corresponding to choice box;According to the edit operation, in selected text Appearance is edited, and target text to be pasted is obtained, and can be realized the cumbersome behaviour for reducing user during modification replicates text Make, promote the efficiency that user edits duplication text, and then improves flexibility and convenience that user replicates experience, uses.
Fig. 5 is the flow chart of the method for editing text of the third embodiment of the present invention.As shown in figure 5, method for editing text Can include:
Step S510 determines that duplication operates corresponding operating area if detecting duplication operation.
In step S510, when mobile terminal detects duplication operation, mobile terminal can determine the duplication operation Corresponding operating area, such as operating area 210 as shown in Figure 2 A.It wherein, may include being answered in operating area The content of text of system and editor.Also, content of text can be the text including multiple sentences, be also possible to include multirow text This, that is, text information may include the more text of number of words.
In addition, above-mentioned duplication operation can be what user was inputted by touch screen, such as user is defeated by double-clicking touch screen It is entering or with the head of a household press touch screen up to preset time (such as 2 seconds) and input.Also, above-mentioned duplication operation is also possible to use Family is inputted by means of input equipment (such as stylus, keyboard or mouse etc.), and user carries out double click operation by input equipment Input or user carries out long press by input equipment and operates up to preset time (such as 2 seconds) input.
Content of text in operating area is displayed in full screen by step S520.
In step S520, mobile terminal can amplify operating area, and the content of text in operating area is carried out It is displayed in full screen and content of text is made to be in editable state, as shown in Figure 2 B.In the present embodiment, by putting operating area Greatly, it can will be displayed in full screen in the operating area of all texts of content of text all after amplification and be in content of text Editable state, in the case where allowing user to see all texts in operating area, to the text in content of text into Edlin.Certainly, in embodiments of the present invention, the content of text in operating area can also be first obtained, then by content of text It is displayed in full screen, and content of text is made to be in editable state, without executing amplifying operation to operating area.
So, it is possible to reduce troublesome operation of user during determining the text that needs are modified promotes user and edit The efficiency of text improves the flexibility and convenience of user experience, edit operation.
Step S530 generates editor's mark if detecting the clicking operation to operating area at the position of clicking operation.
In step S530, when mobile terminal detects the clicking operation to operating area, indicate that user needs to point The text hit at position is edited, and mobile terminal can generate editor's mark 610 at the position of clicking operation, such as Fig. 6 institute Show, to facilitate the edit operation and duplication operation of subsequent progress.Wherein, editor's mark 610 can be in flashing mode It is existing, it can also be presented in highlighted or colored form, the effects of to play informing, prompt or guidance, user be understood Ground, which is known, to edit which of content of text place.Also, the clicking operation is not limited on operating area A certain specific position, user can carry out clicking operation in the different location of operating area, and mobile terminal can be in corresponding position Generation editor mark 610 is set, allows user to be based on editor's mark 610, the corresponding text of content of text is edited Operation.Wherein, the clicking operation can be what user was inputted by touch screen, be also possible to user by means of input equipment (such as stylus, keyboard or mouse etc.) input.
According to edit operation, content of text is edited, is obtained to be pasted at editor's mark in step S540 Target text.
In step S540, when mobile terminal detects the edit operation at editor's mark to the text in content of text When, mobile terminal can edit the content of text at editor's mark, obtain mesh to be pasted according to the edit operation Mark text.
In the present embodiment, above-mentioned edit operation may include increasing text operation, changing text operation, delete text behaviour Make etc..Wherein, above-mentioned edit operation can be what user was inputted by touch screen, be also possible to user by means of input equipment (such as stylus, keyboard or mouse etc.) input.
In embodiments of the present invention, target text to be pasted can be to identify selected text based on editor, can also Think the full text in operating area.That is, can be using the full text in operating area as target to be pasted Text, can also a part of text in selection operation region, selected text is specially identified based on editor, as to The target text of stickup.Regardless of the content in target text to be pasted is to modify by edit operation under which kind of situation Content afterwards.
For example, if identifying selected content of text based on editor is " going home to have a meal into complete ", edit operation example The corresponding content of text of choice box " going home to have a meal into complete " is for example revised as " tonight goes home to have a meal ", then target to be pasted text This identifies selected text " tonight goes home to have a meal " to be based on editor after edit operation modification, rather than before edit operation is modified Selected text " going home to have a meal into complete " is identified based on editor.
The difference of the present embodiment and second embodiment is that the embodiment of the present invention is to detect the click to operating area After operation, content of text is in editable state, and editor's mark is generated at the position of clicking operation, and second embodiment is Content of text is in editable state while being displayed in full screen the content of text in operating area.Although this implementation Example has above-mentioned difference with second embodiment, but the embodiment of the present invention and second embodiment can reach identical technical effect.
Method for editing text according to an embodiment of the present invention determines that duplication operation is corresponding if detecting duplication operation Operating area;Content of text in operating area is displayed in full screen;If detecting the clicking operation to operating area, in point It hits on the position of operation and generates editor's mark;At editor's mark, according to edit operation, content of text is edited, is obtained Target text to be pasted can be realized the troublesome operation for reducing user during modification replicates text, promotes user and edits The efficiency of text is replicated, and then improves flexibility and convenience that user replicates experience, uses.
Method for editing text according to an embodiment of the present invention is described in detail in figure 1 above, Fig. 3, Fig. 5, below in conjunction with Fig. 7 Mobile terminal according to an embodiment of the present invention is described in detail.
Fig. 7 shows the structure chart of mobile terminal according to an embodiment of the invention.As shown in fig. 7, mobile terminal 700 wraps It includes:
Determining module 710 determines that duplication operates corresponding operating area if detecting duplication operation;
Content of text in operating area is displayed in full screen by display module 720;
It obtains module 730 and, according to edit operation, obtains mesh to be pasted if detecting the edit operation to content of text Mark text.
Optionally, as one embodiment, the display module 720 is specifically used for:
Content of text in operating area is displayed in full screen, and content of text is made to be in editable state.
Optionally, as one embodiment, the acquisition module 730 is specifically used for:
Choice box is shown in the operating area, obtains the corresponding content of text of the choice box;
According to the edit operation, the corresponding content of text of the choice box is edited, target to be pasted is obtained Text.
Optionally, as one embodiment, the acquisition module 730 is specifically used for:
According to the size of choice box described in the adjustment operation adjustment received, and obtain the corresponding text of choice box adjusted This content.
Optionally, as one embodiment, the acquisition module 730 is specifically used for:
If detecting the clicking operation to operating area, editor's mark is generated at the position of clicking operation;
At editor's mark, according to edit operation, content of text is edited, obtains target text to be pasted.
Mobile terminal provided in an embodiment of the present invention can be realized realized in the embodiment of the method for Fig. 1, Fig. 3, Fig. 5 it is each Process, to avoid repeating, which is not described herein again.
Fig. 8 is the hardware structural diagram for realizing a kind of mobile terminal of each embodiment of the present invention.
The mobile terminal 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, defeated Enter unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor The components such as 810 and power supply 811.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 8 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 810 determine that duplication operates corresponding operating area for detecting duplication operation;By operating space Content of text in domain is displayed in full screen;If detecting the edit operation to content of text, according to edit operation, obtain to viscous The target text of patch.
Mobile terminal according to an embodiment of the present invention determines that duplication operates corresponding operation if detecting duplication operation Region;Content of text in operating area is displayed in full screen;If the edit operation to content of text is detected, according to editor Operation, obtains target text to be pasted.In this way, the operating area by first determining duplication operation, and then will be in operating area Content of text carry out full screen display can be conducive to edit operation, so as to reduce the time-consuming of text editing operations, improve The efficiency of text editing.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 800 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 capture mould in video The image data of the static images or video that are obtained in formula or image capture mode by image capture apparatus (such as camera) carries out Processing.Treated, and picture frame may be displayed on display unit 806.It can be with through treated the picture frame of graphics processor 8041 It is stored in memory 809 (or other storage mediums) or is sent via radio frequency unit 801 or network module 802.Wheat Gram wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be with The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Mobile terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when mobile terminal 800 is moved in one's ear Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can Including display panel 8061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071 Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (for example press by volume control Key, switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display Panel 8061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with mobile terminal 800.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more components that the input received is transferred in mobile terminal 800 or it can be used in mobile terminal 800 Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage Data in device 809 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Mobile terminal 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 800 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 810, and memory 809 is stored in On memory 809 and the computer program that can run on the processor 810, the computer program are executed by processor 810 Each process of the above-mentioned method for editing text embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned method for editing text embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (RandomAccess Memory, abbreviation RAM), disk or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of method for editing text is applied to mobile terminal characterized by comprising
If detecting duplication operation, determine that the duplication operates corresponding operating area;
Content of text in the operating area is displayed in full screen;
If detecting the edit operation to the content of text, according to the edit operation, target text to be pasted is obtained.
2. method for editing text as described in claim 1, which is characterized in that the content of text by the operating area The step of being displayed in full screen, comprising:
Content of text in the operating area is displayed in full screen, and the content of text is made to be in editable state.
3. method for editing text as claimed in claim 2, which is characterized in that it is described according to the edit operation, it obtains to viscous The step of target text of patch, comprising:
Choice box is shown in the operating area, obtains the corresponding content of text of the choice box;
According to the edit operation, the corresponding content of text of the choice box is edited, target text to be pasted is obtained.
4. method for editing text as claimed in claim 3, which is characterized in that described to obtain in the corresponding text of the choice box The step of appearance, comprising:
According to the size of choice box described in the adjustment operation adjustment received, and obtain in the corresponding text of choice box adjusted Hold.
5. method for editing text as described in claim 1, which is characterized in that if the volume detected to the content of text Volume operation, according to the edit operation, the step of obtaining target text to be pasted, comprising:
If detecting the clicking operation to the operating area, editor's mark is generated at the position of the clicking operation;
At editor's mark, according to the edit operation, the content of text is edited, is obtained described to be pasted Target text.
6. a kind of mobile terminal characterized by comprising
Determining module determines that the duplication operates corresponding operating area if detecting duplication operation;
Content of text in the operating area is displayed in full screen by display module;
It obtains module and, according to the edit operation, obtains mesh to be pasted if detecting the edit operation to the content of text Mark text.
7. mobile terminal as claimed in claim 6, which is characterized in that the display module is specifically used for:
Content of text in the operating area is displayed in full screen, and the content of text is made to be in editable state.
8. mobile terminal as claimed in claim 7, which is characterized in that the acquisition module is specifically used for:
Choice box is shown in the operating area, obtains the corresponding content of text of the choice box;
According to the edit operation, the corresponding content of text of the choice box is edited, target text to be pasted is obtained.
9. mobile terminal as claimed in claim 8, which is characterized in that the acquisition module is specifically used for:
According to the size of choice box described in the adjustment operation adjustment received, and obtain in the corresponding text of choice box adjusted Hold.
10. mobile terminal as claimed in claim 6, which is characterized in that the acquisition module is specifically used for:
If detecting the clicking operation to the operating area, editor's mark is generated at the position of the clicking operation;
At editor's mark, according to the edit operation, the content of text is edited, is obtained described to be pasted Target text.
11. a kind of mobile terminal characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in method for editing text the step of.
12. a kind of computer-readable medium, which is characterized in that computer program is stored on the computer-readable medium, it is described It is realized when computer program is executed by processor as described in any one of claims 1 to 5 the step of method for editing text.
CN201811006143.8A 2018-08-30 2018-08-30 Text editing method and mobile terminal Active CN109189303B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811006143.8A CN109189303B (en) 2018-08-30 2018-08-30 Text editing method and mobile terminal
PCT/CN2019/096501 WO2020042815A1 (en) 2018-08-30 2019-07-18 Text editing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811006143.8A CN109189303B (en) 2018-08-30 2018-08-30 Text editing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109189303A true CN109189303A (en) 2019-01-11
CN109189303B CN109189303B (en) 2021-02-09

Family

ID=64916864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811006143.8A Active CN109189303B (en) 2018-08-30 2018-08-30 Text editing method and mobile terminal

Country Status (2)

Country Link
CN (1) CN109189303B (en)
WO (1) WO2020042815A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471598A (en) * 2019-07-26 2019-11-19 天脉聚源(杭州)传媒科技有限公司 A kind of chat bubble display methods, system, device and storage medium
WO2020042815A1 (en) * 2018-08-30 2020-03-05 维沃移动通信有限公司 Text editing method and mobile terminal
CN111857495A (en) * 2020-06-30 2020-10-30 海尔优家智能科技(北京)有限公司 Information display method, information display device, storage medium, and electronic device
CN112434494A (en) * 2020-11-26 2021-03-02 北京沃东天骏信息技术有限公司 Text editing method, device, terminal and storage medium
CN115188013A (en) * 2022-09-14 2022-10-14 泰豪信息技术有限公司 Risk prevention and control method, system, storage medium and equipment for decision book

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419526A (en) * 2007-10-26 2009-04-29 捷讯研究有限公司 Text selection using a touch sensitive screen of a handheld mobile communication device
CN101925894A (en) * 2008-01-24 2010-12-22 索尼爱立信移动通讯有限公司 Method, computer program product and device for text editing
US20130042199A1 (en) * 2011-08-10 2013-02-14 Microsoft Corporation Automatic zooming for text selection/cursor placement
CN103777866A (en) * 2014-02-24 2014-05-07 苏州浩辰软件股份有限公司 Data editing method and device for magnifying glass
CN104156164A (en) * 2013-05-14 2014-11-19 三星显示有限公司 Terminal
CN104885050A (en) * 2012-12-29 2015-09-02 苹果公司 Device, method, and graphical user interface for determining whether to scroll or select contents
US20150378601A1 (en) * 2011-11-09 2015-12-31 Blackberry Limited Touch-Sensitive Display Method and Apparatus
CN105706038A (en) * 2013-11-08 2016-06-22 微软技术许可有限责任公司 Two step content selection with auto content categorization
CN105723314A (en) * 2013-11-08 2016-06-29 微软技术许可有限责任公司 Two step content selection
CN106896981A (en) * 2017-02-07 2017-06-27 惠州Tcl移动通信有限公司 One kind replicates implementation method and realizes system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189303B (en) * 2018-08-30 2021-02-09 维沃移动通信有限公司 Text editing method and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419526A (en) * 2007-10-26 2009-04-29 捷讯研究有限公司 Text selection using a touch sensitive screen of a handheld mobile communication device
CN101925894A (en) * 2008-01-24 2010-12-22 索尼爱立信移动通讯有限公司 Method, computer program product and device for text editing
US20130042199A1 (en) * 2011-08-10 2013-02-14 Microsoft Corporation Automatic zooming for text selection/cursor placement
CN103733172A (en) * 2011-08-10 2014-04-16 微软公司 Automatic zooming for text selection/cursor placement
US20150378601A1 (en) * 2011-11-09 2015-12-31 Blackberry Limited Touch-Sensitive Display Method and Apparatus
CN104885050A (en) * 2012-12-29 2015-09-02 苹果公司 Device, method, and graphical user interface for determining whether to scroll or select contents
CN104156164A (en) * 2013-05-14 2014-11-19 三星显示有限公司 Terminal
CN105706038A (en) * 2013-11-08 2016-06-22 微软技术许可有限责任公司 Two step content selection with auto content categorization
CN105723314A (en) * 2013-11-08 2016-06-29 微软技术许可有限责任公司 Two step content selection
CN103777866A (en) * 2014-02-24 2014-05-07 苏州浩辰软件股份有限公司 Data editing method and device for magnifying glass
CN106896981A (en) * 2017-02-07 2017-06-27 惠州Tcl移动通信有限公司 One kind replicates implementation method and realizes system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
历趣: "微信怎么选择性复制聊天文本 选择性复制聊天文本方法", 《HTTPS://WWW.LIQUCN.COM/ARTICLE/936646.SHTML》 *
安福双的自留地: "如何在微信聊天记录中选中局部部分文字?", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/FDFFD1F86BC77BF3E88CA149.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020042815A1 (en) * 2018-08-30 2020-03-05 维沃移动通信有限公司 Text editing method and mobile terminal
CN110471598A (en) * 2019-07-26 2019-11-19 天脉聚源(杭州)传媒科技有限公司 A kind of chat bubble display methods, system, device and storage medium
CN111857495A (en) * 2020-06-30 2020-10-30 海尔优家智能科技(北京)有限公司 Information display method, information display device, storage medium, and electronic device
CN112434494A (en) * 2020-11-26 2021-03-02 北京沃东天骏信息技术有限公司 Text editing method, device, terminal and storage medium
CN115188013A (en) * 2022-09-14 2022-10-14 泰豪信息技术有限公司 Risk prevention and control method, system, storage medium and equipment for decision book

Also Published As

Publication number Publication date
WO2020042815A1 (en) 2020-03-05
CN109189303B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN109189303A (en) Method for editing text and mobile terminal
CN108108007A (en) A kind of processing method and mobile terminal for reducing power consumption
CN108549508A (en) A kind of application icon display methods and mobile terminal
CN109814968A (en) A kind of data inputting method, terminal device and computer readable storage medium
CN109840060A (en) A kind of display control method and terminal device
CN108920239A (en) A kind of long screenshotss method and mobile terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN108897473A (en) A kind of interface display method and terminal
CN108334272A (en) A kind of control method and mobile terminal
CN109710349A (en) A kind of screenshotss method and mobile terminal
CN110209313A (en) Icon moving method and terminal device
CN110209452A (en) The page display method and mobile terminal of mobile terminal
CN109739407A (en) Information processing method and terminal device
CN108898555A (en) A kind of image processing method and terminal device
CN109412932A (en) A kind of screenshotss method and terminal
CN110196668A (en) Information processing method and terminal device
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109618218A (en) A kind of method for processing video frequency and mobile terminal
CN109522524A (en) A kind of text browsing methods and terminal device
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN109271262A (en) A kind of display methods and terminal
CN108664288A (en) A kind of image interception method and mobile terminal
CN110231899A (en) Display methods and terminal device
CN109472825A (en) A kind of object search method and terminal device
CN109672845A (en) A kind of method, apparatus and mobile terminal of video calling

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
GR01 Patent grant
GR01 Patent grant