Actifsource

#6960 Inserting proposals within the content assist is sometimes not correct

Actifsource code generator for any programming language
In an earlier ticket, the search for proposals in the content assist was switched to asynchronous.
With many (hundreds of) entries in the content assist, the search can take a longer time during which the proposals found are gradually displayed in the content assist.

Until now, the first element was already selected in the Content assist during the search. This could lead to a new element being added at the same time as the suggestion is inserted (Enter) and this new element being added unintentionally.

Implementation:

  • The top proposal is only selected after the search.
  • If a proposal is explicitly selected with the mouse or the arrow key during the search, the selection remains on this element.