+ switch (cmd.action()) {
+ // we handle these
+ case LFUN_INSET_MODIFY:
+ if (cmd.getArg(0) == "vspace") {
+ VSpace vspace;
+ InsetVSpace::string2params(to_utf8(cmd.argument()), vspace);
+ status.setOnOff(vspace == space_);
+ }
+ status.setEnabled(true);
+ return true;
+
+ default:
+ return Inset::getStatus(cur, cmd, status);
+ }
+}
+
+
+void InsetVSpace::read(Lexer & lex)
+{
+ LASSERT(lex.isOK(), /**/);