added methods to scintilla