# HG changeset patch
# User Jan Vrany <jan.vrany@fit.cvut.cz>
# Date 1513295468 0
# Thu Dec 14 23:51:08 2017 +0000
# Node ID 3e56a34918b6158a9f00e0681103eb0d03e63399
# Parent d3919703de3cf73c934901a40fbf78ba827a3cb7
Issue #186: do not delegate event if it has been delegated already
...since it causes an endless recursion.
https://swing.fit.cvut.cz/projects/stx-jv/ticket/186
diff -r d3919703de3c -r 3e56a34918b6 SmallSense__CompletionView.st
a
|
b
|
|
1 | | "{ Encoding: utf8 }" |
2 | | |
3 | 1 | " |
4 | 2 | stx:goodies/smallsense - A productivity plugin for Smalltalk/X IDE |
5 | 3 | Copyright (C) 2013-2015 Jan Vrany |
… |
… |
|
127 | 125 | !CompletionView methodsFor:'event handling'! |
128 | 126 | |
129 | 127 | keyPress:key x:x y:y |
| 128 | x isNil ifTrue:[ |
| 129 | "/ Already re-delegated |
| 130 | ^ self |
| 131 | ]. |
130 | 132 | ^ listView keyPress:key x:x y:y |
131 | 133 | |
132 | 134 | "Created: / 27-09-2013 / 14:05:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
133 | 135 | "Modified: / 31-03-2014 / 22:53:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
| 136 | "Modified: / 14-12-2017 / 23:17:22 / jv" |
134 | 137 | ! ! |
135 | 138 | |
136 | 139 | !CompletionView methodsFor:'initialization & release'! |