Prevent DockingBar menu item labels from being edited, by default. This hides three possible defects in current item label editing behavior: the editor appears with its position slightly off, it only allows one keypress before automatically accepting the input, and if a menubar icon is shift-clicked then it is erased and replaced by text input by the user. Note that the menubar can be easily restored to its default contents by clicking Extras->Rebuild Menus, or evaluating: TheWorldMainDockingBar updateInstances
Copy a method from MVC's ParagraphEditor to Morphic's TextEditor. #printerSetup is sent by StringHolder's shifted yellow button menu and so can be sent to both ParagraphEditor (in MVC) and TextEditor (in Morphic).
=============== Diff against Morphic-ul.1481 ===============
Item was changed:
----- Method: DockingBarItemMorph>>wantsKeyboardFocusOnShiftClick (in category 'events') -----
"set this preference to false to prevent user editing of docking bar menu items"
+ ^Preferences valueOfPreference: #allowMenubarItemEditing ifAbsent: [false]!
- ^Preferences valueOfPreference: #allowMenubarItemEditing ifAbsent: [true]!
Item was added:
+ ----- Method: TextEditor>>printerSetup (in category 'menu messages') -----
+ "copied from ParagraphEditor"
+ TextPrinter defaultTextPrinter inspect