@@ -9589,36 +9589,36 @@ command revIDESuspendDevelopmentTools
95899589 -- Remove front and back scripts that pertain to the IDE
95909590 -- If the shift-key is down, we remove *all* 'rev' front and back scripts, including
95919591 -- the library scripts.
9592- local tScriptsList , tRemoveFrontList , tRemoveBackList
9592+ local tScriptsList , tRemoveFrontList , tRemoveBackList , tLine
95939593 select empty
95949594 if the shiftKey is down then
95959595 put the frontScripts into tScriptsList
9596- repeat for each line l in tScriptsList
9597- if char 1 to 3 of the short name of l is "rev" then
9598- put l & cr after tRemoveFrontList
9599- remove script of l from front
9596+ repeat for each line tLine in tScriptsList
9597+ if revIDEObjectIsOnIDEStack( tLine ) then
9598+ put tLine & cr after tRemoveFrontList
9599+ remove script of tLine from front
96009600 end if
96019601 end repeat
96029602 put the backScripts into tScriptsList
9603- repeat for each line l in tScriptsList
9604- if char 1 to 3 of the short name of l is "rev" then
9605- put l & cr after tRemoveBackList
9606- remove script of l from back
9603+ repeat for each line tLine in tScriptsList
9604+ if revIDEObjectIsOnIDEStack( tLine ) then
9605+ put tLine & cr after tRemoveBackList
9606+ remove script of tLine from back
96079607 end if
96089608 end repeat
96099609 else
96109610 put the frontScripts into tScriptsList
9611- repeat for each line l in tScriptsList
9612- if the short name of l is among the items of "revFrontScriptLibrary,revDebugger ,revShortCutsLibrary" then
9613- put l & cr after tRemoveFrontList
9614- remove script of l from front
9611+ repeat for each line tLine in tScriptsList
9612+ if the short name of tLine is among the items of "revFrontScriptLibrary,revDebuggerLibrary ,revShortCutsLibrary" then
9613+ put tLine & cr after tRemoveFrontList
9614+ remove script of tLine from front
96159615 end if
96169616 end repeat
96179617 put the backScripts into tScriptsList
9618- repeat for each line l in tScriptsList
9619- if the short name of l is "revBackScriptLibrary,revShortCutsLibrary" then
9620- put l & cr after tRemoveBackList
9621- remove script of l from back
9618+ repeat for each line tLine in tScriptsList
9619+ if the short name of tLine is "revBackScriptLibrary,revShortCutsLibrary" then
9620+ put tLine & cr after tRemoveBackList
9621+ remove script of tLine from back
96229622 end if
96239623 end repeat
96249624 end if
@@ -9630,7 +9630,7 @@ command revIDESuspendDevelopmentTools
96309630 put the openStacks into tList
96319631 lock messages
96329632 repeat for each line tStack in tList
9633- if char 1 to 3 of the short name of stack tStack is "rev" or the short name of stack tStack is among the items of "Message Box,Home,answer dialog,ask dialog" then
9633+ if revIDEStackNameIsIDEStack( tStack ) then
96349634 # OK-2008-05-23 : Compare the stack's mode to its style. If they are equal then we don't need to store the mode, as opening the
96359635 # stack will result in the default mode being that which matches its style.
96369636 local tModeName
0 commit comments