Menu

Read-only files not saved

2005-08-31
2012-12-07
  • Neven Boyanov

    Neven Boyanov - 2005-08-31

    I'm using 2.0.12, but the same applies for previous releases.

    I'm using CVS and when I checkout new files they are read-only. When I open such file with Dev-PHP I can modify it without any warnings, I can press Ctrl-S as well, to save it - no mssages again. Although, the data is not written on the hard drive, i.e. I am under the impression that I've saved my file and will eventualy loose my changes when I close it.

    I've reported this as a bug a while ago, but when it will be fixed?

    Thanks in advance,
    Neven.

     
    • Pierre Fauconnier

      Hi,

      i had the same #=%* problem with cvs :-)
      Version 2.0.13 fixed the problem with a dialog box in case saving is unsuccessful.
      However, a future fix will have to detect that the file is read-only, thus avoiding any modification in synEdit.

      Regards.

       
    • Pierre Fauconnier

      fix to manage read-only file attribute could be ok (subversion server updated)

      Regards.

       
    • Neven Boyanov

      Neven Boyanov - 2005-09-08

      Thank you very much.
      Do I need to checkout the latest SVN and compile it, or there is a binary/install package. I don't have Delphi, is there any alternatives?
      Thanks in advance for your support,
      Neven Boyanov.

       
      • Pierre Fauconnier

        If you don't have Delphi, i'm afraid you'll have to wait a little.

        Next version (once again), might allow downloading newer versions. Only the last known version of a product version will be concerned - but we'll have choice between Experimental and Stable versions (or both).

        Regards.

        Exp http://devphp.sourceforge.net/2.0/devphp2_0_13_212.exe

         
        • Pierre Fauconnier

           
        • Neven Boyanov

          Neven Boyanov - 2006-01-08

          Thanks again, it works good.

          Although, there is another problem related to the same issue. When I open a file that is with read-write permissions I can edit it, of course, but if for one reason or another it have become a read-only file, I can still edit it. Even more, when I press [Save] it will print a message "cannot create a file ..." worning me that the operation was not successful, but surprisingly it will clear the [modified] flag, i.e. I can close the file even if there are changes in the buffer.

          Thank again,
          Neven.

           
          • Pierre Fauconnier

            Hi Neven,

            « if a file has been edited and cannot be saved, then its 'modified-flag' must not be reset ! » Oh My God - quite obvious :-[

            That has been fixed for the 'Save' menu item. However another bug appears afterwards while checking the 'Close' menu item :(

            To be continued, sorry...

             
          • Pierre Fauconnier

            Well, could be fixed...
            Subversion server updated.
            New release 2.0.13.236 added to sf.net

            Regards,
            Pierre.

             
    • Neven Boyanov

      Neven Boyanov - 2006-01-25

      There is another issue with read-only files. The buttons in the HTML-Toolbar will modify the buffer even if it is read-only and you cannot change it from the keyboard. That's not a big problem, but anyway, I though you might want to know it.
      Regards,
      Neven.

       
      • Pierre Fauconnier

        Thanks for your report.
        You're right - accepted.
        Fixed for next version.

        Regards,
        Pierre.

         

Log in to post a comment.

MongoDB Logo MongoDB