Menu

Editor marked dirty on opening

Help
2005-01-27
2013-04-15
  • Ulrich Küster

    Ulrich Küster - 2005-01-27

    As soon as I open a tex file using Ecletex 0.4 that editor is marked dirty. I save the file, close that editor and open the file again and the editor is marked dirty again. I think that wasn't the case in 0.3.

    Is that a known issue/bug?

    Greetings,

    Uli

     
    • Ian Hartney

      Ian Hartney - 2005-01-27

      Are you using the 'new' word wrap? If so thats thats probably the problem as the word wrap actually changes the underlying document... hence making it dirty. This wordwrap has been scrapped for the up coming version 0.0.5, and has been replaced with a better one (i hope :) )

       
      • Ulrich Küster

        Ulrich Küster - 2005-01-27

        Yes I do, that's probably it. But shouldn't it make those changes once and don't make any changes when you open that same unchanged document again?

         
    • Ian Hartney

      Ian Hartney - 2005-01-27

      The changes are made on load, and when it is saved the changes are filtered out.  The word wrap is done with a custom line delimiter that is inserted and then filtered out.  So when the document is first loaded, its state is set, then the word wrap code kicks in and changes it, making the document dirty. This is a somewhat mute point as the affected code has been removed from the source base.

       

Log in to post a comment.

MongoDB Logo MongoDB