A kind of cell phone system text input programTechnical field
The present invention relates to cell phone system field, specifically a kind of cell phone system text input program.
Background technology
Smart mobile phone has text input function, and such as short message inputs, and it is to generate text by text input main programInputting interface, word can be inputted in text input interface, if desired replicate word, shearing word, then long-press text input circleFace generation covering cursor and option button, the word that covering cursor covers can be replicated, sheared by click option buttonDeng operation.Smart mobile phone such as iPhone etc. at present, what it covered cursor covering is the word of whole text input interface, is only existedCover the upper left of cursor, bottom right endpoint location set can actuating button select word, because mobile phone screen size is limited, thereforeSelect word very inconvenient by driving style.
The content of the invention
It is an object of the invention to provide a kind of cell phone system text input program, to solve prior art smart mobile phone textThe problem of copy editor's inconvenience is selected during input.
In order to achieve the above object, the technical solution adopted in the present invention is:
A kind of cell phone system text input program, it is characterised in that:Including text input main program, cursor generator, touchShield signal detection program, wherein the generation of text input main program is for the text input interface of text input, touch screen signal detectionProgrammable detection text input interface optional position is with the presence or absence of pressing signal, the touch screen signal detection journey if it pressing signal be presentSequence sends the first feedback command to text input main program, after text input main program receives the first feedback command, controls cursorThe covering cursor of all words of Program Generating overlay text inputting interface is generated, while text input main program generates multiple optionsButton, one of option button are interruption button;
Then touch screen signal detection Programmable detection interrupts button position with the presence or absence of pressing signal, is touched if in the presence of signal is pressedTouch screen signal detection program and send the second feedback command to text input main program, text input main program receives the second feedback and referred toAfter order, control cursor generator generates a floating cursor point that can be dragged in text input interface;
Then the position after cursor generator detection floating cursor point is dragged, if floating cursor point position no longer changes,Cursor generator eliminates the covering cursor part between floating cursor point and original covering cursor right endpoint, with the cursor point that floatsNew covering cursor is generated as new right endpoint.
What is firstly generated in the present invention is the constant covering cursor of left and right end points, then generates the floating cursor that can be draggedPoint, can drag floating point makes floating cursor point be moved to the word segment that needs replicate, and loupe cursor generates program with the light that floatsPunctuate position regenerates covering cursor as new right endpoint, and covering needs the word segment replicated.
The present invention can intercept the word segment for needing to replicate in text input interface, have the advantages of easy to use.
Brief description of the drawings
Fig. 1 is principle schematic diagram of the present invention.
Embodiment
As shown in figure 1, a kind of cell phone system text input program, including text input main program, cursor generator, touchScreen signal detection program is touched, wherein the generation of text input main program is for the text input interface of text input, touch screen signal inspectionProgrammable detection text input interface optional position is surveyed with the presence or absence of pressing signal, touch screen signal detects if it pressing signal be presentProgram sends the first feedback command to text input main program, after text input main program receives the first feedback command, controls lightThe covering cursor of mark generation all words of Program Generating overlay text inputting interface, while text input main program generates multiple choosingsItem button, one of option button are interruption button;
Then touch screen signal detection Programmable detection interrupts button position with the presence or absence of pressing signal, is touched if in the presence of signal is pressedTouch screen signal detection program and send the second feedback command to text input main program, text input main program receives the second feedback and referred toAfter order, control cursor generator generates a floating cursor point that can be dragged in text input interface;
Then the position after cursor generator detection floating cursor point is dragged, if floating cursor point position no longer changes,Cursor generator eliminates the covering cursor part between floating cursor point and original covering cursor right endpoint, with the cursor point that floatsNew covering cursor is generated as new right endpoint.