This commit just pushes everything from EditorCtrl to this new control. Following commits will pull controls that don't belong to editor area back into EditorCtrl, and will move some code from EditorCtrl to the new control. End result would be separation of editor area and other EditorCtrl controls.
…or not. Also revert most of 6c17ac0 since same fix is now done in more generic way (and it's better to not force user to close a file if it's unavailable on disk) Fixes FS#458 and FS#460.
…ted area Fixes FS#414
1) remove OEM/Unicode environment hack. I know it used to fix things but now it just breaks them; not really sure if anything changed (like maybe cygwin got smarter?) or that hack was fixing some things while breaking other, and I just didn't spotted those things it used to fix. Anyway, removing that fixes #FS426. 2) feed IE widget utf-8, not ucs-16. Firstly, bundles assume utf-8 in their htmls so they set charset in meta tag accordingly. Secondly, we feed _ASCII_ string (<html>) before anything else so ucs-16 stream simply make no sense for IE. Together these two fixes should fix FS#157, FS#418, FS#426, maybe others?