Note that there are some explanatory texts on larger screens.

plurals
  1. PODelphi 2010 - Source files randomly become read-only in editor?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI saw this before, and it was related to some errors: Something along the lines "if anything went wrong when trying to save, mark it Read Only to be on the safe side". Maybe it was a problem with your storage (ex: Anti Virus blocking the write at some point because AV software is notoriously dumb), maybe it was a problem with some plugin, maybe it was a problem with the core delphi stuff. I think the concept of making the buffer RO when confrunted with a error is smart, the trouble would be finding the root cause. And of course this is just speculation, I don't really know what's happening.
      singulars
    2. COAlso it might be related to 3rd party components (the list of installed packages is still irrelevant to the rest of us). Maybe you've got a 3rd party component that FAILS when it's supposed to stream itself to DFM, and that might be the root cause I'm talking about. If this might be the case look for fancy components doing something extraordinarily (requiring the component to register it's own methods for streaming to dfm) because all basic types are streamed by Delphi itself, so little chance of failure.
      singulars
    3. COAll of this is possible, but I'm still left with uncertainty. It marks the file as RO, but I can still save everything in the project, close down Delphi, and re-open everything as it was saved *after* the file showed as RO. I'm also reluctant to believe it's a probelem with components as it happens always when I am simply typing in code. The only thing which is constantly doing anything when that happens is Error Insight - now that I think about it, it may be a bug there. EI is so screwed anyway I may as well just disable it and see what happens.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload