If the author of "Notepad++ for Mac" doesn't happen to be French as well, is there anything (legally) preventing them from using this trademark?
Also it's really not a finder's-keeper's thing with trademarks and international borders. If someone trademarked Notepad++ in the US and released some janky port with the Notepad++ name, Don Ho could likely still win in US court. Most reasonably knowledgeable US consumers who are plausibly in the market for a Windows text editor are at least superficially familiar with "Notepad++" as the name of a well-regarded software product. I know we travel in certain circles, but there is a reason this guy wants to use "Notepad++" and not "MacnotePlus - A fork of Notepad++ for MacOS." It's a famous name.
In very, very broad US-centric* strokes: Using a mark in trade is enough to establish a defensible trademark.
Registering a trademark can be useful, but it is also optional. At very least, registration helps make the ownership of the mark easier to discover and this can help everyone start on the right foot.
(* I'm not familiar at all with the laws of France, but that's fine: The alleged violation happened in New York.)
Copyright protects the right of authors to decide how their work is used -- it applies to the content, e.g. the code.
Trademark protects the right of consumers to not be misled by fakes or frauds -- it applies to the names and identifiers that people apply to products and services, e.g the brand name.
Open source copyright licenses allow you to use the source code, but they typically do not grant any trademark rights.
It is Mozilla public license, not GPL, but the story is the same.
Or look at CentOS (before it was acquired by RedHat)