I'm working on a notebook + server extension that keeps a detailed history 
of notebook edits. I would like to track changes that occur when users edit 
a cell, but don't execute it. I'm looking for an event that gets triggered 
(or a function that gets called) after a user navigates away from a cell so 
that I can check if the cell's input has changed.

My current method is to patch `Cell.prototype.unselect` with tracking code, 
but this function is called as a part of other actions, like copy-paste, 
that I am tracking in other ways. I have also tried 
`Notebook.prototype.select` and listening for the event `select.Cell` but 
these also get called more frequently than I would like. I've also tried 
listening to the cell's on change events but these get fired for every 
character that is typed. I'd like to look for changes only once users 
navigate away from the cell.

Is there a more targeted way to track these cell edits?

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/3fe3bfbf-9a69-4f72-a884-be49ec2ce221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to