mkremins / flense

Edit trees, not text
MIT License
101 stars 3 forks source link

Search and replace #18

Open mkremins opened 10 years ago

mkremins commented 10 years ago

The same search mechanism used for search-based navigation (see #17) could be used for structural or semantic search-and-replace. Additionally, we can easily limit the scope of replacement to a particular form and its descendants – useful when (for instance) we want to rename a single let binding or function param without touching occurrences of the same symbol elsewhere in the document.