PreviousNextTracker indexSee it online !

(204/212) 532 - Returns for SearchAndReplace.replaceAll

Version 5.3


I'm trying to use "SearchAndReplace.replaceAll" method in a macro and I'd like to have back the total number of modifications done instead of a boolean. Maybe, since the method can operate on multiple files it can be useful to have a method to return modified files list and modifications number for a given file... so that I can elaborate the sum oo the "detailed list".

I also noticed that in the docstring it's said it should return "the number of modified files" but it's a boolean instead of a number type.

Thanks,
Andrea

Submitted sirfaber - 2017-03-12 12:36:04.395000 Assigned
Priority 5 Labels
Status open Group none
Resolution None

Comments