This is what happens when you edit an expression in Visual Studio. To simplify things, pretend you started with a blank expression. Here’s what goes on behind the scenes:
We destroy the editor when we are done for performance reasons. This is why you see the font switch back and forth. The hostable editor font and keyboard shortcuts are controlled by Text Editor settings, just as in the big IDE, but the workflow designer settings are controlled by the Global environment font.