Fixed for the new version - turns out that Ace now stores settings as actual numbers (instead of number-in-a-string) and Std.parseInt(4) is null. Overriding this in Project Properties works for a workaround.
Std.parseInt(4)
null