I'm glad that a solution has been found. Notepad++ is an excellent open source editor which I used extensively in years pas.
Purely out of curiosity, I would like to understand the original problem. You never answered the question @sterretje asked. Which version of Arduino IDE are you using?
Are you using one of the Arduino IDE 1.x versions like 1.8.19, which have a built-in printing capability? Or are you using one of the Arduino IDE 2.x versions like 2.3.6, which do not have a built-in printing capability (but to which such a capability can be added via an extension)?