<div dir="ltr">Hello,<div><br></div><div>how to make RefactoringCallback and RefactoringTool play nicely together? </div><div>Each RefactoringCallback produces its own Replacements, but RefactoringTool wants FrontendActions that populate the Replacements returned by RefactoringTool::getReplacements(). </div><div><br></div><div>I could write an adapter that does this (consume many callbacks, at the end of each translation unit move from replacements and clear the old ones), but that seems pretty inelegant. Do we care about API stability for RefactoringCallback? It might be more elegant to change RefactoringCallback to contain a reference to a map<string, Replacements> and add directly to that. </div><div><br></div><div>Would you be willing to accept a patch that does this? </div><div><br></div><div>Regards,</div><div>Julian </div></div>