This may also be related to an issue that I reported that has been confirmed by support. The code editors seen throughout Epicor aren’t the same. If you pay close attention, you notice that some support a higher compiler versions than others. This is particularly noticeable if you try to use interpolated strings. And each one has its own bugs and quirks. The suggestions for methods you can call and objects you can interact with all seem to be hand-coded, because there are a number of omissions and false inclusions.
I reported that the code editors for configurator events were mangling my code by inserting newlines after every line. I don’t understand the rationale for this, but the intended behavior is that it double-spaces your code on save, and then removes the extra newlines on load. The bug is that it sometimes doesn’t remove them on load, so then when you save again it ends up quadruple-spaced or more.