Menu

#3942 Changes to mode files are not detected when ~/.jedit/modes is a symlink

minor bug
closed-fixed
None
5
2015-12-13
2015-12-02
No

I have a lot of customized mode files which I tweak often, so I moved the ~/.jedit/modes directory into my Dropbox folder and replaced it by a symlink. But now when I edit one of the mode files, the syntax highlighting does not change in the corresponding source files that I have open in jEdit. I need to restart jEdit in order to see the new syntax highlighting that I just added.

I'm guessing this is a pretty simple bug involving the (non-)use of realpath when detecting if the mode file has changed.

Discussion

  • Dale Anson

    Dale Anson - 2015-12-10

    Does using Utilities - Troubleshooting - Reload Edit Modes reload your mode files?

     
  • Daniel DeLorme

    Daniel DeLorme - 2015-12-11

    Yes, it does.

     
  • Dale Anson

    Dale Anson - 2015-12-11
    • assigned_to: Dale Anson
     
  • Dale Anson

    Dale Anson - 2015-12-11

    Fixed in revision #24222.

     
  • Daniel DeLorme

    Daniel DeLorme - 2015-12-12

    Thanks for the quick fix!

     
  • Dale Anson

    Dale Anson - 2015-12-13
    • status: open --> closed-fixed
     

Log in to post a comment.