Supercharge Your Innovation With Domain-Expert AI Agents!

Reproducible and highlightable text control realization method

A text control and implementation method technology, applied in program control design, data processing input/output process, special data processing applications, etc., can solve the problem that ordinary text controls do not support copying, highlighting, etc. experience good results

Inactive Publication Date: 2018-03-23
GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, provide a copyable and highlightable text control implementation method, and solve the problem that ordinary text controls do not support copy and highlight functions

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
  • Reproducible and highlightable text control realization method
  • Reproducible and highlightable text control realization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] A copyable and highlightable text control implementation method, including a copy function part and a highlight function part;

[0036] The copy function part includes: a) positioning of the mouse; b) calculation of the area selected by the mouse; c) display of the effect of the mouse selection; d) realization of the right-click menu and shortcut keys for copying.

[0037] The highlighting function part includes: a) keyword positioning; b) text content splitting; c) keyword highlighting.

[0038] Such as figure 1 As shown in the flow chart of the copy function of this method, the whole process is divided into three parts: selecting the block with the mouse, presenting the selected effect, and copying the text of the selected block to the system clipboard:

[0039] The user starts to select a block by pressing the left mouse button, and records the position where the mouse is pressed relative to the text control when the left mouse button is pressed.

[0040] Calculate...

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 discloses a reproducible and highlightable text control realization method. The method comprises a reproduction function part and a highlighting function part, wherein the reproduction function part comprises the following steps of: a) mouse positioning, b) mouse selection area calculation, c) mouse selection effect display, and d) realization of reproduced right-key menu and shortcut key; and the highlighting function part comprises the following steps of: a) keyword positioning, b) text content splitting, and c) keyword highlighting. According to the method, rich-text controlsare not used for realizing reproduction and highlighting functions, so that the performance is better, one hundred thousand words can be randomly reproduced, and when millions of keywords are highlighted, lag is not felt visually.

Description

technical field [0001] The invention relates to the technical field of desktop application programs realized by WPF technology, in particular to a method for realizing copyable and highlightable text controls. Background technique [0002] With the continuous development of computer software technology, the display forms of computer desktop applications are becoming more and more abundant. Users have higher and higher requirements for convenient interaction of computer desktop applications. [0003] Currently, the WPF desktop application does not support copying and highlighting of text controls, and it is difficult to meet customer requirements. [0004] The existing method is to use the rich text control to implement the copy and highlight operation of the text control, but the implementation of the rich text control is slow in response and wastes memory, which affects software performance and user experience. Contents of the invention [0005] The purpose of the prese...

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): G06F17/21G06F3/0484G06F9/54
CPCG06F3/04842G06F9/543G06F40/117
Inventor 陈雄伟
Owner GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More