#139 The Message Window

open
nobody
None
5
2005-06-06
2005-06-06
TK Soh
No

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:
nedit.printMsgToTerminal: true

Note to hackers:
---------------
To integrade with this patch, just replace your
fprintf() calls with NPrintf(), and include
"util/message.h".

Discussion

  • TK Soh

    TK Soh - 2005-06-06

    patch v1.0: original release

     
  • TK Soh

    TK Soh - 2005-06-06

    snapshot of messege window @ v1.0

     
  • TK Soh

    TK Soh - 2005-06-06

    Logged In: YES
    user_id=411637

    Just unloaded a shapshot of the message window.

     
  • TK Soh

    TK Soh - 2005-06-06

    Logged In: YES
    user_id=411637

    Oops! I meant "uploaded".

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks