Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <you...@lyx.org> writes:Wrong, it's perfectly fine that the dialog do 'read' access to the buffer. The other way around is strictly forbidden. And it's good practice to avoid direct 'write' access to the buffer from the dialog; we should use an LFUN instead.So could the buffer() be const?
If we fix the two or three dialogs that still need non const access, yes. Abdel.