EditTextViewCompletionSupport.st
changeset 5891 584219e0a322
parent 5788 3043bff6248c
child 5939 c22f1eec3ffd
equal deleted inserted replaced
5890:5dc30fda9ebf 5891:584219e0a322
    61 editViewLostFocus
    61 editViewLostFocus
    62     "this is a hack for Windows:
    62     "this is a hack for Windows:
    63      on windows, an activate:false event is first sent to my textView,
    63      on windows, an activate:false event is first sent to my textView,
    64      then an activate is sent to the completion popup.
    64      then an activate is sent to the completion popup.
    65      this is done BEFORE the buttonPress event is delivered.
    65      this is done BEFORE the buttonPress event is delivered.
    66      therefore, allow for the activate of the completionMenu and it's button event to be processed.
    66      therefore, allow for the activate of the completionMenu and its button event to be processed.
    67      before forcing it to be closed..."
    67      before forcing it to be closed..."
    68 
    68 
    69     completionView notNil ifTrue:[
    69     completionView notNil ifTrue:[
    70         editView graphicsDevice anyButtonPressed ifTrue:[
    70         editView graphicsDevice anyButtonPressed ifTrue:[
    71             editView sensor pushUserEvent:#editViewLostFocus for:self.
    71             editView sensor pushUserEvent:#editViewLostFocus for:self.