You miss the difference between a class and its instances Ben On May 14, 2013, at 8:10 PM, Alain Busser <alain.busser@gmail.com> wrote:
Hi all,
Exploring the system browser (Pharo 2.0), I see that there exists a class called TextEditorDialogWindow; as this name sounds interesting to me, I want to test one, and I see that there is only one method in the category 'create': this method is called newTextEditorMorph. So, I send the message newTextEditorMorph to the class TextEditorDialogWindow, daring a:
TextEditorDialogWindow newTextEditorMorph
At the 'Do It', I get this error message: 'TextEditorDialogWindow class(Object) doesNotUnderstand: #newTextEditorMorph'
That's what I don't understand: If the class has a method called this way, why does it not understand the corresponding message? What did I miss?
Alain