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
--- a/SmallSense__CompletionView.st Mon Nov 13 22:41:57 2017 -0300
+++ b/SmallSense__CompletionView.st Thu Dec 14 23:51:08 2017 +0000
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
stx:goodies/smallsense - A productivity plugin for Smalltalk/X IDE
Copyright (C) 2013-2015 Jan Vrany
@@ -127,10 +125,15 @@
!CompletionView methodsFor:'event handling'!
keyPress:key x:x y:y
+ x isNil ifTrue:[
+ "/ Already re-delegated
+ ^ self
+ ].
^ listView keyPress:key x:x y:y
"Created: / 27-09-2013 / 14:05:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 31-03-2014 / 22:53:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 14-12-2017 / 23:17:22 / jv"
! !
!CompletionView methodsFor:'initialization & release'!