jupyterlab-contrib / search-replace

Search and replace accross files
BSD 3-Clause "New" or "Revised" License
23 stars 5 forks source link

Undoing replacement in a text file is broken #96

Closed fcollonval closed 1 year ago

fcollonval commented 1 year ago

Description

Seen in https://github.com/jupyterlab-contrib/search-replace/pull/89, undoing replacement in a text file is broken.

Reproduce

  1. Search for a term
  2. Replace one or all occurrences of the term in a text file
  3. Undo the changes
  4. The changes are not undoable

Expected behavior

The changes are undoable

Context

JupyterLab 3.6

fcollonval commented 1 year ago

Fixed in #105