Le 28/11/2011 14:26, Jean-Pierre Chrétien a écrit :
Jean-Marc Lasgouttes<lasgouttes<at>  lyx.org>  writes:


It would be nice to have a short recipe to reproduce it.

Try this:
  - create a short file with plain text into it;
  - open lyx-2.0.2;
  - open a new file
  - perform Insert>File>Plain text...
You should get it...

BTW, it was already present with 2.0.0. Should I file a ticket ?

I see it indeed. Please file a bug. This is related to the dispatch refactoring. There is no undo group open in GuiView::dispatch, and yet it operates on a buffer.

What is wrong is that this is handled in GuiView, for the dubious reason that it requires a file dialog. Why not aquire the file name and then call Buffer[View]::dispatch?

I do not like to have functions moved around just for technical reasons.

JMarc

Reply via email to