Text box display method and terminal
A display method and display terminal technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve problems affecting user experience, inconvenient user operation, etc., and achieve improved user experience and convenient operation Effect
- 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 , Embodiment 1 of the present invention is:
[0068] A method for displaying a text box, specifically comprising:
[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 display lines;
[0071] Among them, the preset number of display lines can be changed as required;
[0072] An input interface can be set through which the user can set the number of rows per page they want to display;
[0073] The height of the second text box changes as the content changes, and the width and line height of the second text box correspond to the width and line 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. Receive an operation on the first text box, and determine the number of pages where the cursor is lo...
Embodiment 2
[0090] A method for displaying a text box, which is different from Embodiment 1 in that:
[0091] The S3 also includes:
[0092] Judging whether there is a first temporary row, if so, deleting the first temporary row;
[0093] Subtracting the remainder of dividing the number of lines where the cursor is located by the number of preset display lines per page of the first text box from the number of preset display lines per page to obtain the number of second temporary lines;
[0094] adding a second temporary row of the number of rows at the end of the first text box;
[0095] For example, the preset number of display lines in the first text box is 5, and after the user operates the text box, the current actual effective content (the content after deleting the first temporary line) is calculated to be 16 lines in total, that is, 3 pages and 1 line, then you need Add 4 temporary lines at the end of the first text box to achieve the full-page display effect of the fourth full p...
Embodiment 3
[0097] A method for displaying a text box, which differs from Embodiment 1 or 2 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] Input operation:
[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 point, step S2 is specifically:
[0104] S2. Receive an input operation for the first text box, and determine the page number 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 is located in the first text box 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 position of the cursor in t...
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