mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Revert "Fix bug #8782."
This caused slowness on undo and redo that was reported at
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202292.html
This reverts commit 02847641a8
.
This commit is contained in:
parent
2e934fc5f8
commit
a7677bfbec
@ -1372,16 +1372,6 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
else
|
||||
dr.screenUpdate(Update::Force | Update::FitCursor);
|
||||
dr.forceBufferUpdate();
|
||||
// we only need to do this if we have deleted or restored a
|
||||
// BiBTeX inset. but there is no other place to do it. one
|
||||
// obvious idea is to try to do it in a copy constructor for
|
||||
// InsetBibTeX, but when that is invoked, the buffer_ member
|
||||
// is not yet set. another idea is to look at the InsetLists
|
||||
// of the various paragraphs. but we'd have to recurse through
|
||||
// the contained insets to make that work. it doesn't seem to
|
||||
// be worth it, as this will not happen that often.
|
||||
buffer().invalidateBibfileCache();
|
||||
buffer().removeBiblioTempFiles();
|
||||
break;
|
||||
|
||||
case LFUN_REDO:
|
||||
@ -1392,9 +1382,6 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
else
|
||||
dr.screenUpdate(Update::Force | Update::FitCursor);
|
||||
dr.forceBufferUpdate();
|
||||
// see above
|
||||
buffer().invalidateBibfileCache();
|
||||
buffer().removeBiblioTempFiles();
|
||||
break;
|
||||
|
||||
case LFUN_FONT_STATE:
|
||||
|
Loading…
Reference in New Issue
Block a user