Hello,
I have a GTK+ widget which has a text view in it. I want to redirect all Transcript output to this widget. I implemented #nextPutAll: for this widget and did:
Transcript message: myWidget -> #nextPutAll:.
But whenever an error happens, it still displays the first few words of the error on the console and the rest of the error on the widget. For example when I evaluate:
6 blabla
the console displays:
Object: 6
and the rest of the error is displayed on my widget's text view:
error: did not understand #blabla
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
SmallInteger(Object)>>doesNotUnderstand: #blabla (SysExcept.st:1407)
optimized [] in UndefinedObject>>Doit (a String:2)
UndefinedObject>>Doit (a String:1)
[] in Behavior class(Behavior)>>evalString:to: (Behavior.st:428)
Anyone has an idea what the problem might be? I might try to create a sample code if you have no idea...
Canol Gökel