[LyX/master] Mark insets with invalid buffer() in red in devel-mode.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Oct 21 16:43:17 UTC 2019


Le 21/10/2019 à 18:13, Richard Kimberly Heck a écrit :
>>      To this end, a new method develMode() is added to the Painter class.
>>      
>>      With this commit, it is easy to see that macro template do not have a
>>      proper buffer set!
> 
> I was thinking to try adding inset().setBuffer() to the beginning of
> updateBuffer() in master, as we discussed before, and see what happens.
> And if that goes well, then to start removing manual setBuffer() calls
> in various places, and see how that goes. Thoughts?

Sure, if we are sure that this propagates everywhere. But are we sure 
that we will never have to access buffer() before updateBuffer has been 
run on the whole document?

JMarc


More information about the lyx-devel mailing list