AndyDentFree / rbstuff

Automatically exported from code.google.com/p/rbstuff
2 stars 0 forks source link

rbKarel needs File Open/Save logic #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As discussed with Jeff in IM.

Open and Save commands are context sensitive - they change their name to Open 
World, Save 
World, Open Script etc. depending on which tab is visible.

That way the user who chooses Open sees the content they chose appear

also needs "dirty document" logic to ensure they don't lose the last script 
entered without 
warning if they choose Open and haven't saved a script they edited

Another corollary is File - New World/Script which clears the tab and any 
association with the file

filename should appear on the tab along with Open/Save buttons to make it clear 
contents come 
from a file

Original issue reported on code.google.com by dentaroo@gmail.com on 28 Apr 2009 at 4:07

GoogleCodeExporter commented 9 years ago
Added feature in r56 complete with dirty checking so doesn't allow you to close 
window or quit without 
prompting to save

Original comment by dentaroo@gmail.com on 2 May 2009 at 4:47

GoogleCodeExporter commented 9 years ago
Open Save is working very well. Perhaps the tabs should say World/Script rather 
than World/Karel to match the 
Open/Load logic

Original comment by jeffreya...@gmail.com on 3 May 2009 at 1:43