When you press the Edall button, FMSLogo checks to see
if the editor is already open. If it is, then FMSLogo
just gives focus to that window.
The bug is that FMSLogo searches for the editor by
looking for any window with the caption "editor", which
is not necessarily FMSLogo's editor. As a result, if
you happen to have a window with the caption "editor",
the "Edall" button won't open an editor.
It should be straight-forward to store the editor
window in a private data stucture, so that FMSLogo
always has a handle on its own editor and doesn't have
to search for it.
How Reproducible: Every Time
Steps to Reproduce:
1) Start a command console.
2) Execute "title editor". This gives the command
console the title of "editor".
3) Start FMSLogo
4) Press Edall
What Happens:
The command console is brought to the foreground. The
FMSLogo editor is not opened.
Expected Result:
The FMSLogo editor is opened.
Logged In: YES
user_id=109252
Originator: YES
I have submitted a fix for this. It will be available in FMSLogo 6.14.0.
This bug is more significant than I had originally thought. Several times during my Logo workshop, I saw people have multiple instances of FMSLogo and get very confused by this bug. Essentially, this bug caused them to modify the code of the wrong program.