Hi, I'm trying to modify the context menu of the code editor through modification to SmalltalkEditor class >> smalltalkEditorMenuOn:
testing the modification with (PragmaMenuBuilder pragmaKeyword: 'smalltalkEditorMenu' model: nil) menu popUpInWorld succeeds, and shows the final shape of the menu that I want (photo attached), but the actual one used by the system is messed up! (photo attached) I tried also to execute TextEditor class >> initialize, but that did not help. Another thing I did was trying to find senders and references to the SmalltalkEditor class >> smalltalkEditorMenuOn, and find none! (So who is calling that with a 'aBuilder'?), and the only implementation of it is the one I'm trying to update (more confusion - pardon the puzzled newbie). Attached are the photos for the original menu, target menu and the messed up menu. I'm using Pharo 4.0 from the official download for Linux from Pharo.org. my system is the following: Linuxmint 17.1 Rebecca 3.13.0-37-generic #64-Ubuntu SMP What I'm doing wrong? and/or what I'm missing? Thanks in advance for the help. Regards, Ala'a