"Bo Peng" <[EMAIL PROTECTED]> writes: | > "load_last_session"? | > "fileplaces", "filepositions"? | > "lastsession"? | | It is quite easy to change these names. I guess I can trust you to do | some global find/replaces to the patch before you apply the patch (if | you will ever apply).
I don't want to decide the name per se, I want us to find a good name. One that "covers" the contents. One that we can get consensus on. | > I think it should be written (yup, here it comes) so that we don't | > have to store everything in memory while lyx is running. | | lastfiles and lastfilepos will be added one by one. lastopenedfiles | will be changed before exit. One thing I can do is to release | lastopened after it is used. It is not easy to write lastfiles and | lastfilepos incrementally to files. IMHO that push the argument towards separate files. | I am still trying to see where the file is scrolled back to top, I have no idea on that one. | and | please tell me where Alt-F4 is handled. How is Alt-F4 differnt from the "X" in the corner? XForms: XFormsView.C l.97: fl_set_form_atclose(form_, C_XFormsView_atCloseMainFormCB, 0); Qt2: QtView.C l.158: QuitLyX(false); Qt4: QtView.C l.176: QuitLyX(false); Gtk: GView.C l.120: QuitLyX(false); AFAIK. -- Lgb