Hello Wil,

I have take a look to your code and I have found this.

There is a function called FileCountersChanged at EditorView.vw. This function test 15 of 20 counters, one of the missed counters is Counters.iReplaceMoveStatement.

At line 631 of EditorView.vw I have the file modified, but, as FileCountersChanged returns false, it goes to the "Else" (// If no changes were made; move the file back its original place), which is wrong.

I have added a case for Counters.iReplaceMoveStatement in FileCountersChanged at it worked fine.

Regards.