Author Topic: B3: Odd function name completion issue  (Read 1667 times)

jc44

  • Senior Community Member
  • Posts: 329
  • Hero Points: 22
B3: Odd function name completion issue
« on: September 06, 2018, 05:01:02 PM »
I have a small function:

static void hw_mmal_pic_set_subpic(picture_t * pic, picture_t * subpic, int x, int y, int alpha)
{
    pic_ctx_subpic_t * const sub = &((pic_ctx_mmal_t *)pic->context)->sub;
    sub->subpic = picture_Hold(subpic);
    sub->x = x;
    sub->y = y;
    sub->alpha = alpha;
}

When typing this I got to the "sub->subpic = picture_" bit.  I got a number of suggestions in a pop up (as expected) but when I typed the 'H' all the choices vanished and I was left with an empty box.  I then went back and typed an 'h' instead and I got "picture_Hold()" as the (expected) suggestion.  Whilst I like the case-insensitive match, I do feel that I should still get the suggestion if I get the case right!

[addendum: whilst this 'feature' was repeatable (3 times) when I wrote this, it now all works as expected so I suspect it may be tricky to reproduce]
« Last Edit: September 06, 2018, 05:09:54 PM by jc44 »