File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -893,6 +893,18 @@ Function searchReset()
893893 killGlobalStr ( "search" )
894894End
895895
896+ Function DeletePKGfolder ()
897+ Wave /T decl = getDeclWave ()
898+ Wave /I line = getLineWave ()
899+
900+ KillWaves / Z decl, line
901+ KillDataFolder / Z $ pkgFolder
902+
903+ if ( ! CountObjects ( "root:Packages" ,4 ))
904+ KillDataFolder root: Packages
905+ endif
906+ End
907+
896908// Shows the line/function for the function/macro with the given index into decl
897909// With no index just the procedure file is shown
898910Function showCode ( procedure,[ index] )
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ Function preparePanelClose()
8585
8686 // reset global gui variables
8787 searchReset ()
88+
89+ // clean Package DataFolder
90+ DeletePKGfolder ()
8891End
8992
9093Function panelHook ( s)
You can’t perform that action at this time.
0 commit comments