How to distinguish en-dash from hyphen in Notepad+

2019-07-16 02:38发布

问题:

Using Notepad++, I'm not able to distinguish an en-dash () from the standard hyphen (-).

Surprisingly, both are represented with the latter.

Is there a way to:

  • visually distinguish them, or even better
  • automatically replacing every en-dash with an hyphen when opening, or saving, the text file ?

Using a RegEx to manually search and replace is not an option because I could forget to do it.

I've installed Notepad++'s TextFX plugin that I know is good at handling this things, but I'm stuck.