Interactive Code Editing
First Claim
Patent Images
1. A method comprising:
- displaying a window for creating or editing a script;
receiving a first user input for editing the script; and
in response to the first user input, displaying, in the window and in place of unstructured text, one or more widgets, each widget having an appearance of the unstructured text and corresponding to a keyword, a control structure, a function name, a function parameter, or a comment of the script, each widget configured to perform actions comprising;
receiving a keystroke input and a pointer input for selecting the widget or selecting an item displayed in the widget; and
upon receiving the keystroke input or pointer input, displaying an editing interface for modifying the script,wherein the method is performed by one or more processors.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for interactive code editing are described. A system can provide for display a code editing environment that resembles a text editor. Upon detecting various user inputs, the system can display, in place of text, widgets in the code editing environment. The widgets can have the appearance of text, and have functions to interact with the user to provide various conveniences including, for example, line management, step completion, calculation completion, parameter management, and code folding.
-
Citations
29 Claims
-
1. A method comprising:
-
displaying a window for creating or editing a script; receiving a first user input for editing the script; and in response to the first user input, displaying, in the window and in place of unstructured text, one or more widgets, each widget having an appearance of the unstructured text and corresponding to a keyword, a control structure, a function name, a function parameter, or a comment of the script, each widget configured to perform actions comprising; receiving a keystroke input and a pointer input for selecting the widget or selecting an item displayed in the widget; and upon receiving the keystroke input or pointer input, displaying an editing interface for modifying the script, wherein the method is performed by one or more processors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method comprising:
-
receiving, by one or more processors and from a text editing environment that is in a state of accepting text input in a first language, text segments separated by a delimiter, the text segments being in the first language; determining that each text segment corresponds to a character in a second language and that a first character corresponds to a first text segment and a second character corresponds to a second text segment, the first character and the second character being indexed in a second language index associated with the text editing environment; and in response to the determining, replacing the text segments in the first language with the first character and the second character of the second language while the text editing environment remains in the state of accepting text input in the first language. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A method comprising:
-
detecting a block from computer code displayed on a display device for folding, including; detecting one or more lines of comments followed by one or more lines of instructions; and designating the one or more lines of comments and the one or more lines of instructions as the block, wherein folding the computer code including collapsing one or more lines of the computer code; providing for display a marker that is associated with the block, the marker being operable to receive an input to fold the block; receiving, through the marker, a request for folding the computer code; and in response to the request, folding the block, including hiding the one or more lines of instructions while continuing displaying the one or more of lines of comments. - View Dependent Claims (16, 17, 18)
-
-
19. A system comprising:
-
one or more processors; and a storage device storing computer instructions operable to cause the one or more processors to perform operations comprising; displaying a window for creating or editing a script; receiving a first user input for editing the script; and in response to the first user input, displaying, in the window and in place of unstructured text, one or more widgets, each widget having an appearance of the unstructured text and corresponding to a keyword, a control structure, a function name, a function parameter, or a comment of the script, each widget configured to perform actions comprising; receiving a keystroke input and a pointer input for selecting the widget or selecting an item displayed in the widget; and upon receiving the keystroke input or pointer input, displaying an editing interface for modifying the script. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A non-transitory storage device storing computer instructions operable to cause one or more processors to perform operations comprising:
-
receiving, by one or more processors and from a text editing environment that is in a state of accepting text input in a first language, text segments separated by a delimiter, the text segments being in the first language; determining that each text segment corresponds to a character in a second language and that a first character corresponds to a first text segment and a second character corresponds to a second text segment, the first character and the second character being indexed in a second language index associated with the text editing environment; and in response to the determining, replacing the text segments in the first language with the first character and the second character of the second language while the text editing environment remains in the state of accepting text input in the first language.
-
-
29. A non-transitory storage device storing computer instructions operable to cause one or more processors to perform operations comprising:
-
receiving, by one or more processors and from a text editing environment that is in a state of accepting text input in a first language, text segments separated by a delimiter, the text segments being in the first language; determining that each text segment corresponds to a character in a second language and that a first character corresponds to a first text segment and a second character corresponds to a second text segment, the first character and the second character being indexed in a second language index associated with the text editing environment; and in response to the determining, replacing the text segments in the first language with the first character and the second character of the second language while the text editing environment remains in the state of accepting text input in the first language.
-
Specification