+2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
+ document menu has a nice checkbox
+
2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxlength.C (asLatexString): change PW to output as percent of
case LFUN_APPENDIX:
flag.setOnOff(TEXT(false)->cursor.par()->params().startOfAppendix());
break;
+ case LFUN_SWITCHBUFFER:
+ // toggle on the current buffer, but do not toggle off
+ // the other ones (is that a good idea?)
+ if (argument == buf->fileName())
+ flag.setOnOff(true);
+ break;
default:
break;
}