Java script editor implemented based on GDI+ (graphics device interface plus) in combination with C# class library

An editor and scripting technology, applied in the direction of instruments, memory systems, program control design, etc., can solve the problems of lack of code intelligent completion, etc., and achieve the effect of increasing readability

Inactive Publication Date: 2015-06-10
XLY SALVATIONDATA TECHNOLOGY INC
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Aiming at the deficiencies of the prior art, the present invention provides a JavaScript script editor combined with a C# class library based on GDI+ to solve the problem that the prior art lacks functions such as code intelligent completion

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
  • Java script editor implemented based on GDI+ (graphics device interface plus) in combination with C# class library
  • Java script editor implemented based on GDI+ (graphics device interface plus) in combination with C# class library
  • Java script editor implemented based on GDI+ (graphics device interface plus) in combination with C# class library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below with reference to the accompanying drawings and examples.

[0052] Such as figure 1 As shown, the schematic diagram of the technical architecture of the script editor, the specific content is as follows;

[0053] 101- Adopt .NET Framework 4.0 framework (Windows components, many programs based on this framework need its support to run), through C# programming; it can also be .net 3.5 or .net 4.5 and other versions.

[0054] 102-Rendering of all texts (typesetting layout of input text, coloring processing, etc.), realized through GDI+ interface;

[0055] 103- Use Noesis.JavaScript open source components (JavaScript engine) to execute JavaScript scripts in .net, and JavaScript scripts can also call C# methods.

[0056] 104-Script editor, the interface includes a code editing area, a debugging result display area ...

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 Java script editor implemented based on a GDI+ (graphics device interface plus) in combination with a C# class library and belongs to the field of computer software. The editor comprises an intelligent code completion unit, a Java script unit and a preview unit; the intelligent code completion unit is used for supporting Java script keywords and intelligent alerting for C# methods; the Java script unit is used for supporting calling of the C# methods; the preview unit is used for previewing a result set in a popup box form. The editor has the advantages that implementation is based on the GDI+, intelligent code completion is supported, automatic completion is achieved for calling of the C# methods, graphical preview of a complex result set is supported, and compiling scripts into a DLL (dynamical link library) is supported.

Description

technical field [0001] The invention belongs to the field of computer software, and in particular relates to a JavaScript script editor implemented based on GDI+ and combined with a C# class library. Background technique [0002] At present, there are many JavaScript script editors on the market, and they all have their own characteristics, but they all have the following limitations: [0003] 1. Lack of intelligent code completion function, and does not support the function of customizing and extending C# methods ("method" is a code block containing a series of statements); [0004] 2. The code preview function is partially supported, but the graphical preview of complex result sets cannot be achieved; [0005] 3. Calling C# methods in JavaScript scripts is not supported; [0006] 4. The script cannot be compiled into a dynamic link library (DLL, Dynamic Link Library). [0007] Glossary: [0008] GDI+ is a subsystem in Windows XP. It is mainly responsible for...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
Inventor 梁效宁
Owner XLY SALVATIONDATA TECHNOLOGY INC
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