Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#35 Calltips Patch

development
closed-accepted
Nathan Gray
Program (79)
5
2002-08-13
2001-12-20
Nathan Gray
No

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.

Discussion

1 2 > >> (Page 1 of 2)
  • Nathan Gray
    Nathan Gray
    2001-12-20

    Version 0.2 of the calltips patch for NEdit 5.2

     
  • Nathan Gray
    Nathan Gray
    2001-12-20

    • summary: Calltip Macros --> Calltip Patch
     
  • Nathan Gray
    Nathan Gray
    2002-02-06

    Patch against NEdit 5.2 to add calltips.

     
  • Nathan Gray
    Nathan Gray
    2002-02-06

    Logged In: YES
    user_id=121553

    Updated to handle embedded newlines correctly. Hopefully should fix
    bug where Cygwin displayed entire tip as one line.

     
  • Thorsten Haude
    Thorsten Haude
    2002-02-18

    Logged In: YES
    user_id=119143

    There is a C++ comment in the patch, TextDShowCalltip().

     
  • Nathan Gray
    Nathan Gray
    2002-02-22

    Logged In: YES
    user_id=121553

    I removed the C++ comment for v0.4. There are no other changes.

     
  • Nathan Gray
    Nathan Gray
    2002-03-26

    • summary: Calltip Patch --> Calltips Patch
     
  • Nathan Gray
    Nathan Gray
    2002-03-26

    Logged In: YES
    user_id=121553

    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
    bindings!

    Enjoy!

     
  • Nathan Gray
    Nathan Gray
    2002-03-26

    Version 1.0 of the calltips patch for NEdit CVS

     
  • Nathan Gray
    Nathan Gray
    2002-03-27

    Logged In: YES
    user_id=121553

    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.
    **********************************************************

     
  • Nathan Gray
    Nathan Gray
    2002-03-27

    A snapshot of calltips in action!

     
    Attachments
  • Nathan Gray
    Nathan Gray
    2002-03-27

    Logged In: YES
    user_id=121553

    Uploaded a new version that fixed a nasty problem:

    Version 1.1
    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
    NEdit_Macro.tips.

     
  • Nathan Gray
    Nathan Gray
    2002-03-27

    Version 1.1 of the calltips patch for NEdit CVS

     
  • Nathan Gray
    Nathan Gray
    2002-04-02

     
  • Nathan Gray
    Nathan Gray
    2002-04-02

    Logged In: YES
    user_id=121553

    Not an April Fool's Joke! :-)

    Version 1.2:

    Fixed another bug with preferences conversion and added macros for
    automatically using the word under the cursor as a key for looking up
    calltips.

     
  • Nathan Gray
    Nathan Gray
    2002-04-03

    Logged In: YES
    user_id=121553

    Oops! The last patch was created without context info. 1.2.1 corrects
    this. No other changes.

     
  • Nathan Gray
    Nathan Gray
    2002-04-03

    Version 1.2.1 of the calltips patch for NEdit CVS

     
  • Nathan Gray
    Nathan Gray
    2002-06-12

    Logged In: YES
    user_id=121553

    Added Version 2.1, which brings the patch up to date with
    post-5.3 CVS. This will hopefully be the version that gets
    merged in.

    Also added the $calltip_displayed global variable.

     
  • Nathan Gray
    Nathan Gray
    2002-06-12

    Version 2.1 of the calltips patch for post-5.3 NEdit CVS

     
  • Nathan Gray
    Nathan Gray
    2002-06-13

    Logged In: YES
    user_id=121553

    Added version 2.2, which fixes various bogosities like
    unusued/uninitialized variables and a missing declaration from a
    .h file.

     
  • Nathan Gray
    Nathan Gray
    2002-06-13

     
  • Thorsten Haude
    Thorsten Haude
    2002-06-14

    Logged In: YES
    user_id=119143

    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.

     
  • Nathan Gray
    Nathan Gray
    2002-06-14

    Logged In: YES
    user_id=121553

    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.

     
  • Nathan Gray
    Nathan Gray
    2002-06-14

    Version 2.2 repost, actually gzipped this time

     
1 2 > >> (Page 1 of 2)