Menu

Tab caption issue

2007-12-28
2012-11-13
  • Nobody/Anonymous

    I'm currently using version 4.6 of Notepad++, and I've just noticed a small issue with the tabs. If you have a filename that contains an ampersand (&), Notepad++ interprets this as an accelerator and subsequently places an underscore where the ampersand should be.

    Not sure if it's supposed to work like this, but I thought it might be worth bringing up.

    Keep up the good work!

     
    • Nobody/Anonymous

      Windows controls are supposed to work this way... Perhaps N++ should work around this. This has been reported before, I believe.

       
      • Nobody/Anonymous

        Yes because I have used accelerate allocations plenty of times myself.

        To get rid of the problem the caption of the tab needs parsing to that a single '&' is replaced with '&&' in which case the ampersand will be displayed instead of it being interpretted as an accelerator key.

        However I wasn't sure if the accelerator functionality had been left intentionally or not.