If he were just squatting on a trademark this would be an open and shut case under US Trademark law.

The trademark is still in active use for Notepad++ though. That’s not squatting.