The Trunk: Morphic-kb.331.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-kb.331.mcz

commits-2
Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kb.331.mcz

==================== Summary ====================

Name: Morphic-kb.331
Author: kb
Time: 9 February 2010, 10:14:18.611 am
UUID: cada91cc-8612-48f5-9353-2f18709a5e62
Ancestors: Morphic-nice.330

 - fix: Pressing shift-escape in a TextEditor throws a must be boolean error. Fix this by ensuring that TextEditor >> offerMenuFromEsc: always returns true

=============== Diff against Morphic-nice.330 ===============

Item was changed:
  ----- Method: TextEditor>>offerMenuFromEsc: (in category 'menu commands') -----
  offerMenuFromEsc: characterStream
  "The escape key was hit while the receiver has the keyboard focus; take action"
 
+ ActiveEvent shiftPressed ifFalse: [
+ self raiseContextMenu: characterStream ].
+ ^true!
- ^ ActiveEvent shiftPressed
- ifFalse:
- [self raiseContextMenu: characterStream]!