A line of code like this will crash the code page in the Customization Editor in 22R2, after it is saved and reloaded:
ApplyDocuments.SetCaption($"Apply Prepayment of ${amountOfPrepayments}");
I believe the issue is the ${} within the interpolated string.