Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,118
    • Issues 2,118
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #39745
Closed
Open
Issue created May 11, 2022 by Don Siders@dsidersDeveloper

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 May 11, 2022 by Don Siders
Assignee
Assign to
Time tracking