<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 10/21/19 12:43 PM, Jean-Marc
Lasgouttes wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e7a57ee7-d16d-27f5-3887-879d01e6800b@lyx.org">Le
21/10/2019 à 18:13, Richard Kimberly Heck a écrit :
<br>
<blockquote type="cite">
<blockquote type="cite"> To this end, a new method
develMode() is added to the Painter class.
<br>
With this commit, it is easy to see that macro
template do not have a
<br>
proper buffer set!
<br>
</blockquote>
<br>
I was thinking to try adding inset().setBuffer() to the
beginning of
<br>
updateBuffer() in master, as we discussed before, and see what
happens.
<br>
And if that goes well, then to start removing manual setBuffer()
calls
<br>
in various places, and see how that goes. Thoughts?
<br>
</blockquote>
<br>
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?
<br>
</blockquote>
<p>Only one way to find out...</p>
<p>More seriously, I think we <i>shoudn't</i> be doing anything
that accesses buffer() before then, though there are some cases
where we do. I think there is such a case in the cut and paste
code, though I'm not sure.<br>
</p>
<p>Riki</p>
<br>
</body>
</html>