Unexpected behaviour: When the last script in the currently open folder gets deleted a new script in this folder is…
Unexpected behaviour: When the last script in the currently open folder gets deleted a new script in this folder is created.
Expected behaviour: Active folder should switch to the first non-empty folder in the hierarchy. Only on the top level a new script schould be created.
]]>
< ![CDATA[
Hum, yes, I see. In addition the editor should go to the parent directory as long as it is empty too, because empty directories are automatically deleted.
]]>
< ![CDATA[
Pierre Hébert
thats what I meant by “active folder”.
]]>
< 
Time to go to bed ?
]]>
< ![CDATA[
Yes, I am going to bed now. Have a good night.
]]>
< ![CDATA[
I can’t reproduce the bug, and looking at the code, it does exactly what it should. Could it be that you have a non script file in the directory? That’s the only reason I see (at the moment) why the directory wouldn’t be deleted, but a new script created because there is no valid script in it.
]]>
< ![CDATA[
Pierre Hébert
I deleted the script from another script, not the UI, could that be the problem?
]]>
< ![CDATA[
Yes, thanks
]]>