On 10/10/2012 09:41 AM, Benjamin Piwowarski wrote:
Hi,

I created a patch implementing the "bibtex-insert" function, please see

http://www.lyx.org/trac/ticket/8368

[snip]

The patch basically refactored the code that was used to parse a BibTeX file (in 
InsetBibtex.cpp), so it can be used to parse the managed file without updating any buffer 
cache, in order to update the BibTeX file. I also changed the information stored for each 
bibtex file in order to store the last update timestamp as well as the 
"managed" flag.

I'd suggest dividing the patch into pieces. The first one might simply refactor the code a bit, then the next one (or two, or however many) add additional pieces, one coherent unit at a time. This makes reading the patches easier, and also allows any introduced bugs to be localized.

Richard

Reply via email to