Dynamic region based application operations
AssigneeCitrix Systems, Inc.
InventorsYajun Yao, Yuan Bai, Juanjuan Chen
Life of this patent
Estimating the term…
Abstract
Techniques are disclosed for a hybrid undo/redo for text editing, where non-linear undo and redo operations are performed across dynamic regions in a document and linear undo and redo operations are performed within the dynamic regions in the document. In an example, the hybrid undo/redo may be achieved by maintaining respective region offset values for the dynamic regions created in a document by the edits made to the document. In operation, the respective region offset values associated with the dynamic regions can be used to negate or otherwise counteract the effect of edits made in the dynamic regions.
Claims20
A method comprising:
- responsive to a modification of content within a region of a document:
- providing a data structure including one or more values that define the region within the document, the one or more values including an offset value to enable non-linear undo operations across the region and another region within the document;
- and
- recording the modification using the data structure provided for the region.
A method comprising:
- responsive to a redo operation within a region of a document:
- removing a record from a redo stack configured to receive elements representative of individual actions to be performed on content within the region of the document;
- performing a redo operation associated with the record removed from the redo stack, the redo operation causing a modification of content within the region;
- and
- recording the modification using a data structure including one or more values that define the region within the document, the one or more values including an offset value that enables non-linear undo operations across the region and another region within the document.
A method comprising:
- responsive to a modification of content within a region of a document:
- a data structure including one or more values that define the region within the document, the one or more values including an offset value to enable non-linear undo operations across the region and another region within the document;
- providing one or more stacks configured to receive elements representative of individual actions to be performed on content within the region of the document, the one or more stacks enabling linear undo operations within the region;
- and
- recording the modification using at least one of the data structure and the one or more stacks provided for the region.
Dependencies are inferred from the claim text.