示例#1
0
        public object APICallPlugin(string Command, params object[] Arguments)
        {
            switch (Command)
            {
            //todo: add vim-style commands together with VBScript like ones
            case "i":                     //i - insert (edit) mode
                RTV.SetFocus();
                break;

            case "codepage":
                ChangeCodepage(Convert.ToInt32(Arguments[1]));
                break;

            case "findreplace": break;

            case "cut": break;

            case "copy": break;

            case "paste": break;

            case "select": break;

            case "print": break;

            case "pagesetup": break;

            default: Xwt.MessageDialog.ShowWarning("Unknown command:", Command); break;
            }
            return(null);
        }