Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Toolset/libraries/revidelibrary.8.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -2249,6 +2249,15 @@ function revIDEStacksInUse
return tData
end revIDEStacksInUse

function revIDEStackIsIDEWindow pStackName
if pStackName begins with revIDEScriptEditorPrefix() or pStackName is "revDictionary" \
or pStackName is "revResourceCenter" or pStackName is "revOnline" then
return true
end if

return false
end revIDEStackIsIDEWindow

function revIDEAPIFilters
end revIDEAPIFilters

Expand Down Expand Up @@ -9816,7 +9825,7 @@ User stacks, script editors, the dictionary and resource center are considered w
from the point of view of the menubar
*/
function revIDEStackIsWindow pStackName
if pStackName begins with revIDEScriptEditorPrefix() or pStackName is "revDictionary" or pStackName is "revResourceCenter" then
if revIDEStackIsIDEWindow(pStackName) then
return true
end if

Expand Down
2 changes: 1 addition & 1 deletion Toolset/palettes/menubar/revmenubar.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private on setupWindowMenu
repeat for each line tStack in tWindows
if there is not a stack tStack then next repeat
put the short name of tStack into tStackName
if tStackName begins with "revNewScriptEditor" or tStackName is "revDictionary" or tStackName is "revResourceCenter" then
if revIDEStackIsIDEWindow(tStackName) then
put the title of tStack into tStackName
end if

Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-21174.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Ensure "Sample Stacks" window does show up in menu "Windows"