I was looking at
https://pharo.fogbugz.com/f/cases/edit/15237/Spec-TextModel-for-plain-text
and it seems that we have (at least ) three different menus.

TextEditor class>>yellowButtonMenu (TextModel for editing text)

​
​SmalltalkEditor class>>yellowButtonMenu (default TextModel, for code)

​
RubSmalltalkCodeMode class>>menuOn: (Playground)

​
Since we have already disabled code completion in TextModel some time ago I
would propose to set TextEditor's menu by default, and have the Code one
only explicitly (through #beForCode which would also enable the default
codeCompletion).

Shortcuts interestingly work even without the menu, so it shouldn't break
people's workflow (e.g. you could still inspect things and so forth).

Anyone has any objections?

Peter

Reply via email to