IDE truncates the project file when it is closed.
- Lazarus 2.3.0 (rev main-2_3-1255-gf1af59ba) FPC 3.3.1 x86_64-win64-win32/win64
- Operating System: Windows 8.1
- CPU / Bitness: 64-bit
What happens
.lpr file is truncated after it is viewed and then closed.
What did you expect
No changes to the project source.
Steps to reproduce
-
Create a new Project using Project > Application.
-
View the project source using Project > View Project Source
-
Press Ctrl+F4 to close the .lpr file.
-
Press F9 to compile the application.
An error occurs: Fatal: Syntax error, "BEGIN" expected but "end of file" found.
- Use Project > View Project Source again. The .lpr file is completely empty.
Edited by Don Siders