Panel: quick navigation with right arrow when search bar is used
FIXED: [ 386217 ] Pressing Arrow keys behaves incorrectly in quicksearch
BUG: 386217
Fixes a usability regression introduced in 210ca94.
Checking if cursor is in the end of the line
is needed for the case a mouse is used to position the cursor.