# HG changeset patch # User Stefan Vogel # Date 1050407850 -7200 # Node ID 121213b3d4c9e0a8b90777086a7f282fa7d4925c # Parent 3e0e31541f2e05f70f2e949a39179d4f30e95b72 Use SynchronousWindoeSensor if no windowGroup diff -r 3e0e31541f2e -r 121213b3d4c9 UIObjectView.st --- a/UIObjectView.st Tue Apr 15 09:51:10 2003 +0200 +++ b/UIObjectView.st Tue Apr 15 13:57:30 2003 +0200 @@ -526,15 +526,11 @@ key == #Paste ifTrue:[ ^ self pasteBuffer]. key == #Cmdu ifTrue:[ ^ self undoLast ]. "/ #Undo - ( #(CursorUp CursorDown CursorRight CursorLeft) - includes:key) ifTrue:[ - (sensor := self sensor) isNil ifTrue:[ - n := 1 - ] ifFalse:[ - n := 1 + (sensor compressKeyPressEventsWithKey:key). - sensor shiftDown ifTrue:[ - n := n * 10. - ]. + (#(CursorUp CursorDown CursorRight CursorLeft) includes:key) ifTrue:[ + sensor := self sensor. + n := 1 + (sensor compressKeyPressEventsWithKey:key). + sensor shiftDown ifTrue:[ + n := n * 10. ]. key == #CursorUp ifTrue:[