Dyalog / ride

Cross-platform IDE for Dyalog APL
https://dyalog.github.io/ride
MIT License
206 stars 32 forks source link

When attempting to fix a function from file that cannot be fixed, Ride generates two msgboxes, whereas the IDE generates one. #1251

Open dyaandys opened 4 months ago

dyaandys commented 4 months ago
   (⊂' res←foo arg' 'res←''foo'' arg')⎕NPUT'/tmp/foo.aplf' 1
   2 ⎕FIX 'file:///tmp/foo.aplf'
   )ed foo

Append a ";" to foo[0] Hit EP .. get a msgbox: "Can't fix" hit OK .. get a msgbox: "Cannot save changes"

But in IDE only get the "Can't fix" msgbox.

Ride log has 283555 recv ["OptionsDialog",{"token":1242,"type":4,"options":["OK"],"title":"182U64 8808 CLEAR WS:","text":"Can't Fix","questionkey":"Can't Fix"}] 291086 send ["ReplyOptionsDialog",{"index":0,"token":1242}] 291109 recv ["ReplySaveChanges",{"win":1,"err":1}]

This is also mantis 18407 .. although I think this is a problem in the Ride client.

IDE: Version: 4.4.3732 Electron: 13.6.9 Chrome: 91.0.4472.164 Node: 14.16.0 Platform: Win32 Date: 2022-10-11 16:52:29 +0100 Git commit: 491568f297958f1db18eef72f0f70c8a9cb69eaa Preferences:{ "kbdLocale":"en_GB", "keys":"{\"MA\":[\"Alt-Shift-Enter\"]}", "selectedExe":"C:\Program Files\Dyalog\Dyalog APL-64 18.2 Unicode\dyalog.exe" }

Interpreter: Version: 18.2.49395 Platform: Windows-64 Edition: Unicode/64 Date: May 19 2024 at 18:21:51