|Different behavior for right, left arrow keys when Quick Assist is invoked [message #534724]
||Thu, 20 May 2010 07:20
Registered: April 2010
I'm implementing Quick Assists for my editor and seeing different behavior when left, right arrow keys are pressed after opening the quick assist pop-up. |
Basically, my proposals are implementing ICompletionProposalExtension2. So, now if I press the left arrow key, then it re-computes the proposals and things work fine. But for right arrow key it tries to validate the existing proposals and does not re-compute, so there are no new proposals added.
My question is - Why is there a different way in computing the proposals for left key and right key? Also, for the right arrow key, if any of the proposal is not ICompletionProposalExtension2 or ICompletionProposalExtension, only then it re-computes every thing.
I think this is a wrong approach as no new proposals will be added if the existing proposals implements ICompletionProposalExtension2.
The method in question is - org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeFilteredProposals()
Can someone explain this discrepancy in behavior?
[Updated on: Thu, 20 May 2010 10:18]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03067 seconds