View Single Post
Old 12-16-2020, 11:53 AM   #22
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,873
Karma: 6120478
Join Date: Nov 2009
Device: many
Based on the images and discussion above ... something like an AutoReplace tool or plugin that allows you to load and save a text file. The text file would be pipe delimited one entry per line with what to find first then a "|" character then the replacement text followed by a new line (or cr/lf for Windows).

No wild cards or placeholders would be allowed in the list. (are placeholders and wildcard allowed in Atlantis?) The find text and replacements would be *whole* word only.

All text files would be utf-8 encoded.

The interface once you selected and loaded a file would show you the loaded information in two columns, allowing a user to edit/tweak either column before doing the replacement.

Then there would be a "Do It" button, that when pushed would automatically do all of the replacements but only in the text not in tags across selected xhtml files (or all xhtml files).

It would report the total number of replacements per file.

That sounds very very doable, although it may be better as a plugin..

Please correct or adapt the above (anyone who is familiar with tools like this) as needed to refine exactly what is being suggested.

Thanks!

Last edited by KevinH; 12-16-2020 at 12:04 PM.
KevinH is offline   Reply With Quote