private void InitScintilla()
{
scintillaEditor.SetAsDialog();
scintillaEditor.AutoCompleteEnabled = true;
scintillaEditor.IgnoreLinesWithoutIndent = true;
scintillaEditor.AutoSpaceAfterComma = false;
scintillaEditor.CallTipsEnabled = true;
scintillaEditor.FixedTypeForThisKeyword = "Dialog";
scintillaEditor.SetFillupKeys(Constants.AUTOCOMPLETE_ACCEPT_KEYS);
//scintillaEditor.SetKeyWords(dialogKeyWords);
scintillaEditor.SetKeyWords(Constants.SCRIPT_KEY_WORDS);
scintillaEditor.SetClassNamesList(BuildCharacterKeywords());
scintillaEditor.SetAutoCompleteKeyWords(Constants.SCRIPT_KEY_WORDS);
scintillaEditor.SetAutoCompleteSource(_dialog);
scintillaEditor.SetText(_dialog.Script);
}