summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorHeather Miller <heather.miller@epfl.ch>2013-05-12 15:50:34 +0200
committerHeather Miller <heather.miller@epfl.ch>2013-05-12 15:50:34 +0200
commit963c4a7a87fa4f1aa4dba3e24cd36a58df58c4d4 (patch)
tree3f42bbb43b93394c45ee8ef6158ecdc567e23fb5 /src/library
parent76b872475f0e8b847ccda1000db8f815c69deacb (diff)
downloadscala-963c4a7a87fa4f1aa4dba3e24cd36a58df58c4d4.tar.gz
scala-963c4a7a87fa4f1aa4dba3e24cd36a58df58c4d4.tar.bz2
scala-963c4a7a87fa4f1aa4dba3e24cd36a58df58c4d4.zip
Actual SI-6555 fix, Scaladoc filter works WITH keyboard shortcuts too
Commit daefab18b8b0c170c372991022357413ec69b2af attempted to fix a bug related to Scaladoc filtering, meanwhile breaking Scaladoc keyboard shortcuts. Before commit daefab18b8b0c170c372991022357413ec69b2af, Scaladoc's filter wouldn't consider the last character of a search term entered into the (left) Scaladoc filter pane, but toggling with the `tab` key between filter panes did work. After daefab18b8b0c170c372991022357413ec69b2af, Scaladoc's left pane filter correctly searches for the full search term, but pressing the `tab` key causes the "focus" of the input bar to be stuck on the filter panel in the right Scaladoc filter pane, rendering it useless. End result: annoying Scaladoc interface bug present in 2.10.1, but which wasn't present in 2.10.0. This pull request fixes this, enabling both behaviors. The `tab` key toggle needed to be triggered on a `keydown` event (currently it's not), while everything else is fine to be triggered on a `keyup` event. This pull request enables the correct behavior by binding both a `keydown` and a `keyup` event rather than lumping everything all together in a `keyup` event (as was the case before).
Diffstat (limited to 'src/library')
0 files changed, 0 insertions, 0 deletions