Feature request: Search and Replace

49 views
Skip to first unread message

Mohammad

unread,
Feb 25, 2019, 2:23:09 PM2/25/19
to TiddlyWiki

With the advent of new string filters, it is time to add the search-and-replace filter too. Also see here

#3288

A proposal could be like below

`[searchreplace:filed:flag[<sVal>,<rVal>]`

This can be quite similar to current search filter operator.

* field: any filed, like text
* flag: words (for whole words), casesensitive,...
* sVal: search value
* rVal: replace value

This can also be used with diff widget to show the changes.



Cheers
Mohammad

@TiddlyTweeter

unread,
Feb 25, 2019, 2:40:51 PM2/25/19
to TiddlyWiki
Ciao M. and all,

IMO global search and replace needs Live Feedback to user to use safely. And Undo if at all possible. 

What Mohammad achieved in TC is amazing but lacks feedback to know what happened.

Wide live replace is dangerous if you not fully clear what you are doing.

I wonder if we could "back-up" that process so its reversible?

Josiah
Reply all
Reply to author
Forward
0 new messages