SI-6555 Scaladoc's class filter shouldn't drop the last character

The event handler have to wait "keyup", not "keydown".
Merge pull request #1872 from kzys/jira-6555-2.10.x

SI-6555 Scaladoc's class filter shouldn't drop the last character (2.10.x)