public ScriptEditor(string path)
 {
     this.path  = path;
     Title      = Path.GetFileName(path);
     textEditor = new ColorTextEdit();
     textEditor.SetMode(ColorTextEditMode.Lua);
     textEditor.SetText(File.ReadAllText(path));
 }