When you reopen a solution which has a file already open, Intelligence can do some very strange things to your file, depending on where the cursor location is.
For example, if the cursor is at the end of a line END IF, it add the text (.true.) to the end of the line.
If you do not notice that the file has been changed, this results in failed builds.
If (NaFgpL<0D0) Then
NaF = TAgpL * NaFTA
END if (.true.)
I think this has been reported previously, but has not been rectified yet.