> I know with some editors you can search and replace multiple files > at once but this feels like it would mess up any internal > organization with respect to bar numbers in the LilyPond file (in > the comments).
At least for this there is an easy solution: Use rehearsal marks instead of bar numbers. That is, don't write stuff like ``` bla bla | % 1 blubb blubb | % 2 foo bar baz | % 3 urgh | % 4 splish splash | % 5 ``` but rather ``` \mark \default % 1 bla bla | blubb blubb | foo bar baz | \mark \default % 2 urgh | splish splash | ``` If necessary it is straightforward to disable rehearsal marks in the output after you are done editing. Werner