Here's an updated version of the Calltips patch for
NEdit 5.2. A couple of bugs have been squashed and
some new conveniences added. Many of the dialogs
have been improved.
Version 0.2 of the calltips patch for NEdit 5.2
Patch against NEdit 5.2 to add calltips.
Logged In: YES
Updated to handle embedded newlines correctly. Hopefully should fix
bug where Cygwin displayed entire tip as one line.
Logged In: YES
There is a C++ comment in the patch, TextDShowCalltip().
I removed the C++ comment for v0.4. There are no other changes.
This version of the patch is a complete rewrite of the macro-based
calltips from previous versions. It is now written in C instead of NEdit
macro language, and it is now a patch against the current post-5.3
version of NEdit in CVS. The calltips database is now integrated with
the tags database and there are several new features:
* If a calltip can't be found that matches a key, that key is searched for
in the tags database. If it's found there, a calltip will be shown with a
few lines from the definition of the function.
* You can specify a default calltip file for each language mode. This file
is automatically loaded when NEdit enters the language mode and
automatically unloaded when the last file with this mode is closed.
(Actually, the file is loaded lazily when the first calltip is looked up, not
at startup time. Have no fear for your load times!)
* There are menu entries for loading/unloading/displaying calltips, and
default bindings for displaying/killing calltips. No more setting up macro
Version 1.0 of the calltips patch for NEdit CVS
TK Soh noticed that there isn't any description on this site of what
calltips are. Here's a description:
** What Are Calltips?
Calltips are little yellow boxes that pop up to remind you what the
arguments and return type of a function are. More generally they're a
UI mechanism to present a small amount of crucial information in a
prominent location. This implementation of calltips is fully scriptable. The
show_calltip( "tip string" ) and kill_calltip() macro subroutines can be
used to add calltips to your own scripts.
I have included files with calltips for the C standard library and the NEdit
macro language. I hope that people will contribute .tips files for their
favorite languages, since the .tips file format is extremely simple.
I have also included calltips-enabled auto-completion macros that have
several advantages over the standard auto-complete macros included
with NEdit. See complete_word_calltips.nm for installation instructions.
A snapshot of calltips in action!
Uploaded a new version that fixed a nasty problem:
Added forgotten ':'s to the ends of the default language
modes in preferences.c. This prevented any language
modes from being loaded on startup.
Renamed calltips-README.txt to README.
Added notification in README that people need to edit
Version 1.1 of the calltips patch for NEdit CVS
Not an April Fool's Joke! :-)
Fixed another bug with preferences conversion and added macros for
automatically using the word under the cursor as a key for looking up
Oops! The last patch was created without context info. 1.2.1 corrects
this. No other changes.
Version 1.2.1 of the calltips patch for NEdit CVS
Added Version 2.1, which brings the patch up to date with
post-5.3 CVS. This will hopefully be the version that gets
Also added the $calltip_displayed global variable.
Version 2.1 of the calltips patch for post-5.3 NEdit CVS
Added version 2.2, which fixes various bogosities like
unusued/uninitialized variables and a missing declaration from a
Is calltips-patch-2.2.tgz a tar.gz? Seems to be a simple tar
here, but that may be Mozilla's doing. Maybe .tar.gz would
be a better name.
Oops! You're right, 2.1 and 2.2 are both just tar files despite the
tgz suffix. I wondered why they were so much bigger... Silly me.
Version 2.2 repost, actually gzipped this time
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.