[EMAIL PROTECTED] wrote:
On Mon, 23 Oct 2006, Abdelrazak Younes wrote:
That's OK. Maybe you could add that the last window closed close the
application.
Ok.
The function 'window-close' closes the current LyX window.
Closing the last window also closes LyX.
See 'window-new' for more details.
And by the way, this last behaviour could be changed if somebody is
interested in a resident LyX server that will open a new window on
demand :-)
Ok. So should I make the description:
The function 'window-close' closes the current LyX window. Closing
the last window also closes LyX (unless a special LyX was started
with a special server option). See 'window-new' for more details.
This special mode is not yet available and it don't know if it will be
available within the 1.5.x time frame. So no, please stay with the first
definition for now.
Btw, maybe the LFUN should be able to take an argument specifying what
window to close? That could be done in the future of course.
Yes, I believe the LFUN should be extended with the window ID. But for
now, the LFUN always applies to the "active" window. That is the window
with current focus or the window that had the focus last.
Abdel.