I was working in a package body around 5000 lines long when suddenly every instance of "then" disappeared. This caused all my if statements to break.
The last thing I did was copy/cut a function and move it to another place in the file. I compiled, and then started getting errors for all my control statements. It also removed the "Then" keywords from switches.
Any idea what could have happened? I don't see any beautifier settings that would remove "then"s. Would seem silly for that to even exist if it breaks the code.
Also, I was compiling fine all day without this happening. It suddenly happened and I didn't change any settings.