aplteam / Fire

GUI for Find and Replace operations in Dyalog APL
MIT License
3 stars 0 forks source link

Search as well as Replace fail under special circumstances #15

Closed aplteam closed 5 years ago

aplteam commented 5 years ago

When searching for, say ⎕Ed in ⎕SE Fire crashes when a demo script is running.

This might be caused partly due to the fact that the demo script is fixing part of itself or/and because it is assigning functions and global variables on the same line separated by a .

Replacing by NL in Fire.RemoveFnsAndOpr avoided the crash but the body, after masking all text, still contained a dfn when it shouldn't.

An attempt to break it down was tested with the new test functions Test_Replace_004 and Test_Replace_005 but both test cases pass. No more time at the moment to investigate further but there must be at least additional condition before the bug shows.

Also, avoiding the crash did net help when a "Replace" let to a WS FULL later on due to an endless loop.

aplteam commented 5 years ago

See #17: same problem but way simpler