sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

jupyter - highlight some input and press backspace should focus, then delete #2666

Closed williamstein closed 3 months ago

williamstein commented 6 years ago

This is fallout from using fake static codemirror for nonfocused cells. I don't know if it can be fixed. But anyways.

What happens:

  1. Put something in an input cell.
  2. Defocus input cell.
  3. Highlight some of the text in the input cell.
  4. Press backspace.
  5. Nothing happens

What should happen in the last step is the text is deleted...

williamstein commented 3 months ago

This is fixed now. I think we no longer use "fake static codemirror for nonfocused cells", instead opting for react-virtuoso virtualization for scalability to HUGE notebooks, which works much better.