Would someone care to explain how I can make a text editor remember the last opened file.
Thanks!
Printable View
Would someone care to explain how I can make a text editor remember the last opened file.
Thanks!
You just need to persist a list of recently used files inside your app. It should probably revolve around some sort of stack like object that exhibits a last in first out behavior with checks to move things up the list. I don't know of any default object that will handle this for you but it shouldn't be hard to implement on your own.