displaying function name

Michael Smith michael.smith at thalesatm.com
Mon Aug 30 08:35:32 CEST 2004


On  Sun, 29 Aug 2004 19:52:21 -0700 "Leon Brodskiy"
<leon_brodskiy at hotmail.com> wrote:

| Hi all,
| 
|   I'm new using NEdit editor and really like it. I'm just curios if
|   the following feature exists or it something that possible to add by
|   using macro.
| 
|   I'm talking about the editor's ability to display a function name
|   where a cursor currently is located.

I have written a macro to do this. It uses exhuberant ctags. Have a look
at the attached nedit macro file:

The function display_function() will do what you want. It will need to
have access to a fairly current version of ctags to work correctly. Some
other functions in that file may be of interest to you as well.

You should install this file in $HOME/.nedit/autoload.nm

Regards,
-- 
Michael Smith           | 61 394 257 560
Software Product Manager| 61 416 062 898
THALES ATM Pty Ltd      |  S  37 49 53.4
Melbourne, Australia    |  E 144 59 48.3


More information about the Discuss mailing list