This patch adds a Message window for displaying the
runtime messages generated by nedit's action
procedures, macro routines, etc.
The message window is only created after an nedit
session is successfully started (or at least that what
I think it is). Until that is done, the messages are
printed to the terminal as before. So, if you run nedit
this way, you will see "hello!" printed on the terminal:
% nedit -do 't_print("hello!")'
The Message window will be automatically displayed (or
raised) if error messages are printed. That's to say,
t_print() will remain quiet.
You can bring up the Message window using
Windows->Message menu, and you can clear the messages
recorded with the "Clear" button on the window.
The Message window may be disabled using X-resource:
Note to hackers:
To integrade with this patch, just replace your
fprintf() calls with NPrintf(), and include
Log in to post a comment.