AndyDentFree / rbstuff

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

rbKarel crash when save new doc #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run karel
2. enter a new script
3. cmd-S to Save

What is the expected output? What do you see instead?
Prompt for filename expected.
Crash with Nil Object Exception as SimpleKarelRunner._FileSave_Action it goes 
into SimpleKarelRunner.SaveDoc without checking if the current document is nil.

As of r60 or earlier

Original issue reported on code.google.com by dentaroo@gmail.com on 4 May 2009 at 4:42

GoogleCodeExporter commented 9 years ago
Fixed in r62 and r63 so switches into Save As mode if saving new doc, also 
added File new and fixed unnoticed 
bug in Save As

Original comment by dentaroo@gmail.com on 4 May 2009 at 6:35