>> of course we shouldn't remove it. but the point is to do it in a way
>> that both tab completion and tab navigation works. i think its possible,
>> but not through completer_->popupVisible() && ev->key() == Qt::Key_Tab.
>
>I fully agree, but until this is fixed, the TAB behaviour of LyX 1.5 needs to 
>be restored and the
>completion feature be fixed.
>

> So lets wait what Stefan and Vincent say.
 
(Sorry Uwe, the previous mail wasn't yours, but "Why decides outlook web access 
to send the mail when I press Ctrl-V ?")
 
> as i said, its not either or; we will make both working. its just stupid
> to introduce 'fixes' which break another things.

This is true, it is not that difficult to make things working for both purposes.
 
We should only determine the correct modifiers for the if-statement. I propose:
 
 if ((completer_->inlineVisible() || completer_->popupVisible()) 
{ 
     eat the tab key before anyone else can do something with it;
}

Vincent

Reply via email to