MetaEditor build 2124 style tool broken

 

Running the style tool on single line class methods in MT4 corrupts the code:

class CDemo
  {
private:
   int               x;

public:
                     CDemo(){}

   int               X(void) const { return(x); }
  };

becomes:

class CDemo
  {
private:
   int               x;

public:
                     CDemo() {}

   int               X(void) const
     { r             eturn(x); }
  };
 
Current MetaEditor beta is 2133 and I can reproduce this issue.
Reason: