textview is my first application written in Genie, a python-like language which is converted into C and then compiled as a normal C program. The language is cross-platform also, and I have compiled textview on Windows just to prove it!
Although I think there’s more than enough text editors available for Linux, I was unable to find a really lightweight text viewer that could also perform basic editing functions. Previously I used leafpad or gedit for this purpose, but even that is overkill, since most of the time I just view Readme files etc. which don’t need syntax highlighting, vast arrays of menu options or dialogs popping up asking me if I want to save etc.
Be warned that textview does not have any undo or backup features, and probably never will. It’s primarily for use as a viewer, not an editor. To enter edit mode, press escape, to return to view-only mode press escape again. To save any changes, press “w” in view-only mode.
You will also need to download GTK for windows to run this.