Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

[zeditor] ZScript shouldn't prompt to save changes when no changes were made

0 replies · 421 views · Started 22 February 2024

Steps to recreate:

[LIST=1]
[*]File->New
[*]ZScript->Compile ZScript...; 9-button "Compile ZScript" window appears
[*]Click 'Edit'; white 'Edit ZScript' window appears with #include "std.zh"
[*]Press ESC
[*]Observe "Save changes to buffer?" Yes/No msgbox appears
[/LIST]

This msgbox could cause novice scripters to become paranoid that they accidentally modified their script when that isn't the case.

Similarly, we can probably skip the "Confirm Overwrite" msgbox when clicking 'Load' in that 9-button window when '#include "std.zh"' is the only thing in the buffer.