Jean-Marc Lasgouttes wrote: > Georg> I could only find one: The error list is not shown if the file > Georg> is corrupt. This could probably be fixed by handing the temp > Georg> buffer to InsertLyXFile: > > Is it really necessary to disconnect, or is it done when the buffer is > deleted?
It is probably not needed (I never used boost::signals so far and simply copied code around). > Here is my new update patch, where I removed the code in > buffer_funcs.*, since it was so short. > > Is it OK? It works perfectly. One minor note: Is the debug message lyxerr[Debug::DEBUG] << "#### pasteSelection " << sel_index << endl; in pasteSelection still needed? Georg