Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done. So the only thing I can see would be to collect

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread RGH
On 12/06/2010 04:34 AM, Jean-Marc Lasgouttes wrote: Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done.

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 06/12/2010 14:01, RGH a écrit : So the existing situation is very close to this, except inverted: If we notice that the cache needs updating, then we run a special routine to update the cache (not a full buffer update), and then run the buffer update. So if we go this way, then we have no

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done. So the only thing I can see would be to collect

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread RGH
On 12/06/2010 04:34 AM, Jean-Marc Lasgouttes wrote: Le 04/12/2010 23:55, Richard Heck a écrit : How do we go back to the InsetCitation once we have already passed it? I mean, on that trip through? How do we know when all the bibliography information has been loaded? We can't until we are done.

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-06 Thread Jean-Marc Lasgouttes
Le 06/12/2010 14:01, RGH a écrit : So the existing situation is very close to this, except inverted: If we notice that the cache needs updating, then we run a special routine to update the cache (not a full buffer update), and then run the buffer update. So if we go this way, then we have no

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-05 Thread Richard Heck
On 12/04/2010 06:36 PM, Abdelrazak Younes wrote: On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-05 Thread Abdelrazak Younes
On 12/05/2010 08:53 PM, Richard Heck wrote: On 12/04/2010 06:36 PM, Abdelrazak Younes wrote: On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-05 Thread Richard Heck
On 12/04/2010 06:36 PM, Abdelrazak Younes wrote: On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-05 Thread Abdelrazak Younes
On 12/05/2010 08:53 PM, Richard Heck wrote: On 12/04/2010 06:36 PM, Abdelrazak Younes wrote: On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX information during the updateBuffer() traversal. The reason is simple: InsetCitation needs access

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-04 Thread Richard Heck
On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX information during the updateBuffer()

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX information during the updateBuffer() traversal. The reason is simple: InsetCitation needs access

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-04 Thread Richard Heck
On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX information during the updateBuffer()

Re: r36710 - in lyx-devel/trunk/src: . insets

2010-12-04 Thread Abdelrazak Younes
On 04/12/2010 23:55, Richard Heck wrote: On 12/04/2010 03:41 PM, Abdelrazak Younes wrote: On 04/12/2010 04:15, rgh...@lyx.org wrote: Author: rgheck Date: Sat Dec 4 04:15:53 2010 New Revision: 36710 URL: http://www.lyx.org/trac/changeset/36710 Log: Revert r36696: We can't collect BibTeX