Method and device for highlighting target text in input box

A technology for target text and highlighting, applied in the field of highlighting target text in an input box, computer-readable storage media and computer program products, can solve problems such as pending further development, lack of functions, inability to achieve highlighting, etc. System computation, improved speed and accuracy, effect of improved accuracy and timeliness

Pending Publication Date: 2021-06-29
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As for the input box of the browser, the function of highlighting the target text in a certain style during the text input process cannot be realized yet, and this function n

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for highlighting target text in input box
  • Method and device for highlighting target text in input box
  • Method and device for highlighting target text in input box

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0029] The exemplary embodiments of the present disclosure will be described below, including various details of the embodiments of the present disclosure to facilitate understanding, and they should be considered simply exemplary. Accordingly, it will be appreciated by those skilled in the art that various modifications and modifications can be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, a description of the well-known functions and structures is omitted in order to clear and concise, the following description is omitted.

[0030] In the present disclosure, unless otherwise stated, the term "first", "second" or the like will be used to describe the positional relationship, timing relationship or important relationship of these elements, which is used for the relationship between the various elements. A component is separated from the other element. In some examples, the first element and the second element can po...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for highlighting a target text in an input box, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of text processing, in particular to the technical field of text input. According to the implementation scheme, the method includes: based on editable attributes of a rich text container of an input box, setting the rich text container to be editable; obtaining a current character to be displayed in the input box; determining a current analysis unit, wherein the current analysis unit comprises the current character; extracting a to-be-matched text comprising the current character from the current analysis unit; and displaying a rich text style of the target text in the input box in response to a target text matched with the to-be-matched text in a preset target text lexicon, so as to highlight the target text in the input box. According to the technical scheme, the accuracy and response speed of highlighting the target text in the input box can be improved.

Description

technical field [0001] The present disclosure relates to the technical field of text processing, in particular to the technical field of text input, and in particular to a method, device, electronic device, computer-readable storage medium and computer program product for highlighting target text in an input box. Background technique [0002] Some browsers in related technologies can support highlighting target text when displaying web pages. For the input box of the browser, the function of highlighting the target text in a certain style during the text input process cannot be realized yet, and this function needs to be further developed. In addition, for some other application software with text input function, there is a similar lack of function when inputting text in the input box. [0003] How to accurately and timely highlight the target text in the input box is a technical problem to be solved urgently at present. [0004] The approaches described in this section ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/023G06F9/451
CPCG06F3/0233G06F9/451
Inventor 曲达
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products