UNDO/REDO ARCHITECTURE ACROSS MULTIPLE FILES
First Claim
Patent Images
1. A computer-implemented method for performing a plurality of editing operations on a plurality of files simultaneously, the method comprising:
- a computer opening the plurality of files, the plurality of files comprising at least a first file comprising a user interface file and a first element, and a second file comprising a Code-Behind file that is separate from but related to the first file and comprising a second element that is different than but related to the first element of the first file such that an editing operation performed on the first element of the first file requires an editing operation to be performed on the corresponding second element of the second file;
the computer receiving a notification that a first editing operation is to be performed on the first element of the first file, wherein performance of the first editing operation on the first element of the first file will result in a second editing operation being automatically performed on the corresponding second element of the second file;
upon receiving the notification, the computer determining whether the first editing operation is one that is capable of being reversed, and when the first editing operation is capable of being reversed, automatically capturing the pre-operation state of at least the second element in the second file within persistent storage and storing within an operation store an operation unit representative of the operation and state of the operation performed for the first element and the second element;
after the first editing operation has been performed on the first element of the first file and the second editing operation has been automatically performed on the corresponding second element of the second file, the computer receiving a command to reverse the first editing operation on the first element of the first file; and
in response to the command, the computer automatically retrieving the pre-operation state of the second element of the second file and the operation performed on the second element from the operation store and applying the retrieved state and operation of the second element to the second file to automatically reverse the second operation performed on the second element, wherein the reverse operation comprises reapplying the state and operation on the second element and storing the operation unit and operation state for the reverse operation in persistent storage.
1 Assignment
0 Petitions
Accused Products
Abstract
Editing operations are monitored for operations for which information must be stored in order to properly apply an undo or undo/redo sequence to plurality of files. A snapshot is taken and persisted before such an operation is performed. Upon the execution of an undo or redo command, the persisted snapshot is retrieved and applied to the newly generated editing element.
35 Citations
21 Claims
-
1. A computer-implemented method for performing a plurality of editing operations on a plurality of files simultaneously, the method comprising:
-
a computer opening the plurality of files, the plurality of files comprising at least a first file comprising a user interface file and a first element, and a second file comprising a Code-Behind file that is separate from but related to the first file and comprising a second element that is different than but related to the first element of the first file such that an editing operation performed on the first element of the first file requires an editing operation to be performed on the corresponding second element of the second file; the computer receiving a notification that a first editing operation is to be performed on the first element of the first file, wherein performance of the first editing operation on the first element of the first file will result in a second editing operation being automatically performed on the corresponding second element of the second file; upon receiving the notification, the computer determining whether the first editing operation is one that is capable of being reversed, and when the first editing operation is capable of being reversed, automatically capturing the pre-operation state of at least the second element in the second file within persistent storage and storing within an operation store an operation unit representative of the operation and state of the operation performed for the first element and the second element; after the first editing operation has been performed on the first element of the first file and the second editing operation has been automatically performed on the corresponding second element of the second file, the computer receiving a command to reverse the first editing operation on the first element of the first file; and in response to the command, the computer automatically retrieving the pre-operation state of the second element of the second file and the operation performed on the second element from the operation store and applying the retrieved state and operation of the second element to the second file to automatically reverse the second operation performed on the second element, wherein the reverse operation comprises reapplying the state and operation on the second element and storing the operation unit and operation state for the reverse operation in persistent storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-readable storage medium including computer-readable instructions for performing a plurality of editing operations on a plurality of files simultaneously, the instructions, when executed on a computer, causing the computer to:
-
open the plurality of files, the plurality of files comprising at least a first file comprising a user interface file and a first element, and a second file comprising a Code-Behind file that is separate from but related to the first file and comprising a second element that is different than but related to the first element of the first file such that an editing operation performed on the first element of the first file requires an editing operation to be performed on the corresponding second element of the second file; receive a notification that a first editing operation is to be performed on the first element of the first file, wherein performance of the first editing operation on the first element of the first file will result in a second editing operation being automatically performed on the corresponding second element of the second file; upon receiving the notification, determine whether the first editing operation is one that is capable of being reversed, and when the first editing operation is capable of being reversed, automatically capture the pre-operation state of at least the second element in the second file within persistent storage and storing within an operation store an operation unit representative of the operation and state of the operation performed for the first element and the second element; after the first editing operation has been performed on the first element of the first file and the second editing operation has been automatically performed on the corresponding second element of the second file, receive a command to reverse the first editing operation on the first element of the first file; and in response to the command, automatically retrieve the pre-operation state of the second element of the second file and the operation performed on the second element from the operation store and apply the retrieved state and operation of the second element to the second file to automatically reverse the second editing operation performed on the second element, wherein the reverse editing operation comprises reapplying the state and operation on the second element and storing the state and the operation unit for the reverse editing operation in persistent storage where an editing command produces changes that are not the same for the first file as they are for the second file. - View Dependent Claims (19)
-
-
20. A computing system comprising a processor and a computing memory having stored therein instructions that when executed by the processor cause the computing system to:
-
open the plurality of files, the plurality of files comprising at least a first file comprising a user interface file and a first element, and a second file comprising a Code Behind file that is separate from but related to the first file and comprising a second element that is different than but related to the first element of the first file such that an editing operation performed on the first element of the first file requires an editing operation to be performed on the corresponding second element of the second file; receive a notification that a first editing operation is to be performed on the first element of the first file, wherein performance of the first editing operation on the first element of the first file will result in a second editing operation being automatically performed on the corresponding second element of the second file; upon receiving the notification, determine whether the first editing operation is one that is capable of being reversed, and when the first editing operation is capable of being reversed, automatically capture the pre-operation state of at least the second element in the second file within persistent storage and storing within an operation store an operation unit representative of the operation and state of the operation performed for the first element and the second element; after the first editing operation has been performed on the first element of the first file and the second editing operation has been automatically performed on the corresponding second element of the second file, receive a command to reverse the first editing operation on the first element of the first file; and in response to the command, automatically retrieve the pre-operation state of the second element of the second file and the operation performed on the second element from the operation store and apply the retrieved state and operation of the second element to the second file to automatically reverse the second editing operation performed on the second element, wherein the reverse editing operation comprises reapplying the state and operation on the second element and storing the state and the operation unit for the reverse editing operation in persistent storage where an editing command produces changes that are not the same for the first file as they are for the second file. - View Dependent Claims (21)
-
Specification