+ case LFUN_INSERT_CHARSTYLE: {
+ string s = cmd.getArg(0);
+ CharStyles::iterator found_cs = params.getLyXTextClass().charstyle(s);
+ return new InsetCharStyle(params, found_cs);
+ }
+
+ case LFUN_INSERT_NOTE: {
+ string arg = cmd.getArg(0);
+ if (arg.empty())
+ arg = "Note";
+ return new InsetNote(params, arg);
+ }
+
+ case LFUN_INSERT_BOX: {
+ string arg = cmd.getArg(0);
+ if (arg.empty())
+ arg = "Boxed";
+ return new InsetBox(params, arg);
+ }