>> Maybe you use the wrong browser? AFAIK, only OB implements it. > > Ahh, thank you Lukas. It seems like a bug in Keymapping. What do you think, > Guillermo?
Keymapping? I don't think that would work with OB that has its own keymapping. The problem you observe is a long standing bug: if you don't have a text selection key presses are handled by Pharo not by OB. This means, if you select the method and press Cmd+n it should work. Lukas > > The situation: > In 1.2.2, I get anOBSendersBrowser. > > However in 1.3 rc, from a method definition in OB: > - if I choose "Senders" from the menu I get anOBSendersBrowser > - but if I hit Cmd-n, I get a FlatMessageListBrowser. > > The call stack: > - without key mapping: > > >> OBTextMorph>>keyStroke: >> OBTextMorph(TextMorph)>>handleKeystroke: >> KeyboardEvent>>sentTo: >> OBTextMorph(Morph)>>handleEvent: >> OBTextMorph(Morph)>>handleFocusEvent: >> [ActiveHand := self. >> ActiveEvent := anEvent. >> result := focusHolder >> handleFocusEvent: (anEvent >> transformedBy: (focusHolder >> transformedFrom: self))] in >> HandMorph>>sendFocusEvent:to:clear: >> > > - with Keymapping: > > >> SmalltalkEditor>>sendersOfIt >> SmalltalkEditor>>sendersOfIt: >> [editor sendersOfIt: event] in [:editor :morph :event | morph >> handleKeymappingInteraction: [editor sendersOfIt: event] >> fromKeyboardEvent: event] in KMEditorsDefaultSettings >> class>>buildSmalltalkEditorKeymappingsOn: >> SmalltalkEditor(TextEditor)>>handleKeystrokeAction: >> SmalltalkEditor(TextEditor)>>handleEditionAction:fromKeyboardEvent: >> [self editor handleEditionAction: aBlockInteraction fromKeyboardEvent: >> anEvent] in >> OBTextMorph(TextMorph)>>handleKeymappingInteraction:fromKeyboardEvent: >> OBTextMorph(TextMorph)>>handleInteraction: >> OBTextMorph(TextMorphForEditView)>>handleInteraction: >> OBTextMorph(TextMorph)>>handleKeymappingInteraction:fromKeyboardEvent: >> [:editor :morph :event | morph >> handleKeymappingInteraction: [editor sendersOfIt: event] >> fromKeyboardEvent: event] in KMEditorsDefaultSettings >> class>>buildSmalltalkEditorKeymappingsOn: >> > > -- > View this message in context: > http://forum.world.st/Chasing-Browsers-tp4102608p4157598.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > -- Lukas Renggli www.lukas-renggli.ch