A working solution
My plan is to build a simple application using the IDE and then develop
it further until either you (the reader) or I (the writer) run out of
steam.
Stage 1
The plan is to produce a simple "viewer" program which will read the
contents of a file and display then inside a window. It will be
possible to open the file either from the menu bar or via a toolbar
item.
Stage 2
I shall then look at ways in which we can extend this basic idea -
offering options like the ability to change the font in which the text
is displayed and the ability to display the complete contents of the
file when it overruns the text area designated for its display.
Stage 3
I shall then look at adding an option to view the file in hex mode and
to be able to vary the number of characters displayed on a line.
Stage 4
I shall then add the ability to edit the file, rather then simply
displaying its contents. We shall then have to provide the ability to
save the changes and to create a new (blank) "page".
Stage 5
I shall add some options to the menu items to enable short cuts (e.g.
Ctrl-S for Save) to be incorporated.
Now let's look at Stage 1.