Display method and terminal of a text box
A display method and technology of a display terminal, which are applied in the input/output process of data processing, instruments, calculations, etc., can solve problems such as affecting user experience and inconvenient user operation, and achieve the effect of improving user experience and facilitating operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] Please refer to figure 1 , the first embodiment of the present invention is:
[0068] A method for displaying a text box, which specifically includes:
[0069] S1, create a first text box and a hidden second text box corresponding to the first text box;
[0070] The scroll bar of the first text box is not displayed and each page has a preset number of displayed lines;
[0071] Among them, the preset number of display lines can be changed as needed;
[0072] An input interface can be set through which the user can set the number of lines per page that they want to display;
[0073] The height of the second text box changes with the change of the content, and the width and row height of the second text box have a corresponding relationship with the width and row height of the first text box;
[0074] Preferably, the width and row height of the second text box are the same as those of the first text box;
[0075] S2, receiving an operation for the first text box, and ...
Embodiment 2
[0090] A method for displaying a text box, which is different from Embodiment 1 in that:
[0091] The S3 also includes:
[0092] Determine whether there is a first temporary row, and if so, delete the first temporary row;
[0093] Subtract the number of lines displayed by default on each page by the remainder of dividing the number of lines where the cursor is located by the number of lines displayed by default on each page of the first text box to obtain the number of lines in the second temporary line;
[0094] adding a second temporary line of said number of lines at the end of said first text box;
[0095] For example, the preset number of displayed lines of the first text box is 5, after the user operates the text box, to calculate the current actual effective content (the content after deleting the first temporary line), a total of 16 lines, that is, 3 pages and 1 line, need to be Add 4 temporary lines at the end of the first text box to achieve the full-page display e...
Embodiment 3
[0097] A method for displaying a text box, which is different from the first or second embodiment in that:
[0098] The operations for the first text box include:
[0099] Input operation, add page operation, delete page operation or jump page operation;
[0100] specific:
[0101] Enter action:
[0102] The input operation includes inserting content in the middle of each page and inserting content at the end of the page;
[0103] At this time, step S2 is specifically:
[0104] S2, receiving an input operation for the first text box, and determining the number of pages where the cursor is located in the first text box through the second text box according to the input operation;
[0105] Wherein, determining the number of pages where the cursor in the first text box is located through the second text box according to the input operation is specifically:
[0106] Determine the position of the cursor in the first text box according to the input operation, that is, the posit...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com