codemirror's fixed size mode when resizing

We set the width of the codemirror editor to a fixed maximum size (3000px) when resizing in split view for fixing the performance issue.