#13 Parameterized completion tooltip not hidden

closed-fixed
5
2011-02-23
2010-09-16
No

ParameterizedCompletionDescriptionToolTip is not hidden when the cursor is moved to the right of the right bracket (using arrow key).

To reproduce run the AutoComplete demo. Type "abs", press Ctrl+Space, go to the right using arrow key. The parameter completion tooltip remains.
It will remain even if you type something to the right of the right bracket. It will go away if you navigate to the left of the left bracket.

I think the fix is to replace line 657 in ParameterizedCompletionDescriptionToolTip:
if (dot<minPos || dot>maxPos.getOffset()) {
with
if (dot<minPos || dot>=maxPos.getOffset()) {
i.e. ">=" instead of ">"

Discussion

  • Robert Futrell

    Robert Futrell - 2010-09-17
    • assigned_to: nobody --> robert_futrell
     
  • Robert Futrell

    Robert Futrell - 2010-09-17

    Good catch, and thanks for the fix! I'll take a look. A fix should be in SVN quickly.

     
  • Robert Futrell

    Robert Futrell - 2010-10-11
    • status: open --> pending
     
  • Robert Futrell

    Robert Futrell - 2010-10-11

    Pushed to SVN, revision 229. Will be in the next release.

     
  • Robert Futrell

    Robert Futrell - 2011-02-23

    Fixed in 1.5.0.

     
  • Robert Futrell

    Robert Futrell - 2011-02-23
    • status: pending --> closed-fixed