Notepad++
https://en.wikipedia.org/wiki/Notepad%2B%2B
I am not sure about working on Window 2000: "Notepad++ v6.6.9 is the last version that can work on Windows 2000". Not to mention Windows 95.
HomeSite was the thing then. It is not a general text editor, but an HTML editor. Still not WYSIWYG and full control of the code.
And there was Arachnophilia written in Java (right, requiring Java 2 runtime environment).