Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 needs to be further developed
In addition, for some other application software with text input function, when entering text in the input box, there is a similar lack of function

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

Embodiment Construction

[0029] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0030] In the present disclosure, unless otherwise stated, using the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, temporal relationship or importance relationship of these elements, and such terms are only used for Distinguishes one element from another. In some examples, the first element and the second ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products