Add CodeEditor based on Scintilla.

Fix GCC4 build.