Unlock instant, AI-driven research and patent intelligence for your innovation.

Editing control method and device, equipment and storage medium

A control method and editing technology, applied in the field of artificial intelligence, can solve the problems that teachers cannot arrange programming homework and programming teaching is inconvenient

Pending Publication Date: 2021-06-08
亿度慧达教育科技(北京)有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, only all read-only or all modifications are allowed in the editing control method of the existing code editor
This editing control method makes it impossible for teachers to arrange programming assignments according to the actual needs of teaching, which brings great inconvenience to programming teaching

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
  • Editing control method and device, equipment and storage medium
  • Editing control method and device, equipment and storage medium
  • Editing control method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0109] Matching example 1: Use the regular expression "runoo+b" to match runoob, runooob, or runoooooob, etc. Among them, the character "+" means that the previous character must appear at least once. For another example, the feature described by the regular expression "ab+" is "one 'a' and any number of 'b', then ab, abb, and abbbbbbbbbb all meet this feature.

example 2

[0110] Matching example 2: Use the regular expression "runoo*b" to match runob, runoob, or runoooooob, etc. Among them, the character "*" means that the previous character may not appear, or may appear one or more times. For example, the preceding character can appear 0, 1 or more times.

example 3

[0111] Matching example 3: Use the regular expression "colou?r" to match color or colour. Among them, the character "?" means that the previous character can only appear once at most. That is to say, the previous character can appear 0 or 1 time.

[0112] See the example above, a regular expression is a text pattern that can consist of ordinary characters as well as special characters. Special characters are also known as "metacharacters". For example, the characters "+", "*" and "?" in the above example are all "metacharacters". Ordinary characters may include all printable and non-printable characters not explicitly designated as metacharacters, such as the characters a through z. Normal characters can include all uppercase and lowercase letters, all numbers, all punctuation marks, or some other symbol. Ordinary characters in regular expressions can be used to match the same character when matching a string. In a regular expression, the pattern description is carrie...

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 an editing control method and device, electronic equipment and a storage medium. The method comprises the steps of scanning a to-be-edited code, and obtaining a control label in the to-be-edited code; determining a control range of a marked content area in the to-be-edited code according to the control label; and for the to-be-edited codes in the control range, executing a control function corresponding to the control tag. According to the embodiment of the invention, functions such as display or editing of the to-be-edited code can be controlled within a specified range, so that a user can arrange the control label in the to-be-edited code according to actual needs, and the editing mode of the to-be-edited code can be conveniently limited through the control label, thereby achieving a predetermined control purpose.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular to an editing control method, device, equipment and storage medium. Background technique [0002] With the development of computer technology, programming is gradually considered as a compulsory basic skill. Some provinces and cities in my country have made programming courses a compulsory course for primary and secondary schools. The existing online programming teaching system can solve the requirement of online compiling and running code. However, existing code editors cannot control code editing flexibly and conveniently. [0003] For example, in the process of teaching programming, some teaching plan codes provide fixed methods or logic. The teacher requires students to write code according to the method or logical structure provided. When teachers assign programming assignments, they need to control the key codes. For example, it is necessary ...

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): G06F8/33
CPCG06F8/33
Inventor 李朕刘子波朱丽娟
Owner 亿度慧达教育科技(北京)有限公司