Menu

tooltip/autocomplete bug...?

2002-09-03
2012-09-26
  • Nobody/Anonymous

    Hi,

    I don't know if this is a bug that occurs only on my windows xp box or if it is a general one...anyway here goes.

    When put multiple class definitions in one .h file (rather unorthodox...but it happens) I get an error when the tool-tip is to "pop-up" or when I try to use auto-complete (ctrl+space). Dev-C++ throws a "List index out of bounds (<NUM>)" error.

    Here is an example when it goes wrong:
    (all below in one file)
    //-------------------
    class A
    {
    public:
      A();
      ~A();
    private:
      virtual goGet();
    };

    class B
    {
    public:
      B();
      ~B();   
    private:
      virtual goGet();
    };

    class C
    {
    public:
      C();
      ~C();       
    private:
      virtual goGet();
    };
    //---------------------

    When I move the mouse pointer over B() in class B it works as normal as does auto-complete, but when I do the same over C() or try auto-complete in class C the error pops up.
    I played around with it a little, adding more classes and changing number of rows between the classes and so on and I found that only the last class is affected and changing number of rows helps until you save the file. E.g. make two more empty rows between the classes above and it works ok, then save and the error is back.

    Anyway, I would be grateful if anyone can reproduce this so I know that it is an actual bug and I wont have to start the whole reinstall process.

    Thanks,
    Gabriel

     
    • Nobody/Anonymous

      Forgot to say...I'm using DEV-C++ ver. 4.9.5.0

       
    • Nobody/Anonymous

      I also get this.
      List index out of bounds (##)

      It happens on ALL my function prototypes in my .h files.
      I've been using C though, so I can't say what makes it cause that error in classes.

      This is on W2K Pro.

      I've also noticed that DevC++ attempts to autocomplete in comments. This is very annoying.

       
    • Nobody/Anonymous

      Nevermind- seems to be fixed with 4.9.5.2

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.