Re: Refocusing on line / column when reopening a file ?
"Gautier de Montmollin" <[email protected]> Thu, 13 Sep 2007 19:49:57 +0000
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Message-ID | <[email protected]> |
# On Thursday 13 September 2007 17:32:55 Gautier de Montmollin wrote: # > Another nice AdaGIDE goodie is that when you re-open a file, the focus goes # > back to where it was last time the file window was closed (or the whole IDE # > was closed). # > Is it in GPS, but unswitched ? # > If it is not yet there, I can give hints how to program it properly (added # > it to AdaGIDE and another IDE). # It already exists (at least in the development version of GPS, but I think it # was already there in the GPL version) as a plug-in called filepos.py. # I personnaly use it all the time # regards # Emmanuel Thanks, filepos.py is not within the default plug-ins of GPL 2007, but I'm happy it is "in the pipeline". Indeed, I was wrong in my statement: when you close the IDE or the project with a file window open, GPS GPL 2007 remembers the position when you re-open the IDE or the project, but when you close the file window and reopen it during a session, it lands on the (1,1) position. So, this filepos.py does the trick to remember that info, if I understand well ? Cheers Gautier _________________________________________________________________ Get a FREE small business Web site and more from Microsoft® Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ _______________________________________________ gps-users mailing list [email protected] http://lists.adacore.com/mailman/listinfo/gps-users