IP Library Granted Patent US 9,146,914
Granted Patent B1
US 9,146,914 · App. 13/399,064 · Granted Sep 29, 2015

System and method for providing a context sensitive undo function

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,146,914
App. No.
13/399,064
Granted
Sep 29, 2015
Kind
B1
Abstract

A context sensitive undo feature undoes a first change in a document without affecting other changes made by other contexts. A first change is applied within a document. A context of the first change is determined. First data related to the first change is stored in a first stack in response to determining that the first change is associated with a first context. A second change is applied within the document, the second change occurring after the first change. A context of the second change is determined. Second data relating to the second change, associated with a second context, is stored in a second stack. An instruction to undo the first change is received, and an undo function to undo the first change based on the first data is performed without affecting the second change in response to determining that the undo instruction is associated with the first context.

Claims (64)

1. A method comprising:

applying a first change within a document;

determining a context of the first change within the document;

storing first data related to the first change in a first stack corresponding to a first context in response to determining that the first change is associated with the first context;

applying a second change within the document, the second change occurring after the first change;

determining a context of the second change within the document, wherein the context of the second change is a different type of context than the context of the first change;

storing second data relating to the second change in a second stack corresponding to a second context that is different than the first context in response to determining that the second change is associated with the second context;

determining a current context type based on a hierarchy of criteria, wherein the hierarchy of criteria comprises a first priority criterion being an active selection of the current context and a second priority criterion being an insertion point of the current context;

receiving an instruction to undo a change associated with the current context type;

determining that the instruction to undo is associated with the first context; and

performing an undo function to undo the first change based on the first data without affecting the second change in response to determining that the undo instruction is associated with the first context.

2. The method of claim 1 wherein performing an undo function to undo the first change based on the first data without affecting the second change is in response to receiving a selection of data contained within the first context.

3. The method of claim 1 further comprising:

displaying, on a webpage, the first context and the second context.

4. The method of claim 1 further comprising:

applying a redo command to restore the first change to the first context.

5. The method of claim 1 further comprising:

receiving a second instruction to undo the second change; and

performing an undo function to undo the second change based on the second data without affecting the first context.

6. The method of claim 1 further comprising:

applying a third change within the document;

determining a context of the third change within the document;

storing third data related to the third change in a third stack in response to determining that the third change is associated with a third context; and

combining the first stack and the second stack to generate a universal stack.

7. The method of claim 6 wherein the third context is different than the first context.

8. The method of claim 6 wherein the third context is different than the second context.

9. A non-transitory computer readable medium having program instructions stored thereon, the instructions capable of execution by a processor and defining the steps of:

applying a first change within a document;

determining a context of the first change within the document;

storing first data related to the first change in a first stack corresponding to a first context in response to determining that the first change is associated with the first context;

applying a second change within the document, the second change occurring after the first change;

determining a context of the second change within the document, wherein the context of the second change is a different type of context than the context of the first change;

storing second data relating to the second change in a second stack corresponding to a second context that is different than the first context in response to determining that the second change is associated with the second context;

determining a current context type based on a hierarchy of criteria, wherein the hierarchy of criteria comprises a first priority criterion being an active selection of the current context and a second priority criterion being an insertion point of the current context;

receiving an instruction to undo a change associated with the current context type;

determining that the instruction to undo is associated with the first context; and

performing an undo function to undo the first change based on the first data without affecting the second change in response to determining that the undo instruction is associated with the first context.

10. The non-transitory computer readable medium of claim 9 , wherein performing an undo function to undo the first change based on the first data without affecting the second change is in response to receiving a selection of data contained within the first context.

11. The non-transitory computer readable medium of claim 9 further comprising instructions defining the step of:

displaying, on a webpage, the first context and the second context.

12. The non-transitory computer readable medium of claim 10 further comprising instructions defining the step of:

applying a redo command to restore the first change to the first context.

13. The non-transitory computer readable medium of claim 9 further comprising instructions defining the steps of:

receiving a second instruction to undo the second change; and

performing an undo function to undo the second change based on the second data without affecting the first context.

14. The non-transitory computer readable medium of claim 9 further comprising instructions defining the steps of:

applying a third change within the document;

determining a context of the third change within the document;

storing third data related to the third change in a third stack in response to determining that the third change is associated with a third context; and combining the first stack and the second stack to generate a universal stack.

15. The non-transitory computer readable medium of claim 14 , wherein the third context is different than the first context.

16. The non-transitory computer readable medium of claim 14 , wherein the third context is different than the second context.

17. An apparatus comprising:

a processor; and

a memory to store computer program instructions, the computer program instructions when executed on the processor cause the processor to perform operations comprising:

applying a first change within a document;

determining a context of the first change within the document;

storing first data related to the first change in a first stack corresponding to a first context in response to determining that the first change is associated with the first context;

applying a second change within the document, the second change occurring after the first change;

determining a context of the second change within the document, wherein the context of the second change is a different type of context than the context of the first change;

storing second data relating to the second change in a second stack corresponding to a second context that is different than the first context in response to determining that the second change is associated with the second context;

determining a current context type based on a hierarchy of criteria, wherein the hierarchy of criteria comprises a first priority criterion being an active selection of the current context and a second priority criterion being an insertion point of the current context;

receiving an instruction to undo a change associated with the current context type;

determining that the instruction to undo is associated with the first context; and

performing an undo function to undo the first change based on the first data without affecting the second change in response to determining that the undo instruction is associated with the first context.

Assignments (2)
CHANGE OF NAME Recorded Oct 2, 2017
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 044334/0466 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 17, 2012
From: DHAUNDIYAL, RAHUL
To: GOOGLE INC.
Reel/Frame 027722/0719 →