yes, microsoft does hold a trademark for notepad. As litigious as MS is I'm pleasantly surprised they've left notepad++ alone.
Unfortunately anthropic is actively eroding community goodwill in regards to potential IP conflicts:
https://abnormal.ai/blog/abnormal-response-to-anthropic-laws...
https://x.com/steipete/status/2016068265391354181