Open Carreau opened 8 years ago
cc @gnestor
@Carreau Are they imagining something like this:
There is an demo of how to highlight the active line using CodeMirror: https://codemirror.net/demo/activeline.html
perhaps more simply, one could have a "diff" button that would launch the "nbdiff-web" utility from https://github.com/jupyter/nbdime as in this mock screenshot:
Requested at Jupyter Days Boston Education Panel:
Either a way to "Mark lines by clicking in the gutter, like when I select something, but I want to be able to keep using my mouse after".
Or after discussion, it might be possible to "hack" a codemirror diff-overlay mode and "freeze" a cell, so that any modification/addition appear in greenish-background.
ping @ellisonbg