[Pharo-project] Styling in Inspector
I added the following method to inspector and styling turned on: shoutAboutToStyle: aPluggableShoutMorphOrView ^ true Should we add it? Also, I've tryed to remove the styling from the PreDebugger window on warning messages by setting it a NullTextStyler and it doesn't work :). I'll continue hacking.
I added the following method to inspector and styling turned on:
shoutAboutToStyle: aPluggableShoutMorphOrView    ^ true
Should we add it?
Maybe you also want to set the class context so that it doesn't highlight variable references as errors? Lukas -- Lukas Renggli www.lukas-renggli.ch
Hmm, true :) :P. shoutAboutToStyle: aPluggableShoutMorphOrView aPluggableShoutMorphOrView getText = self contents ifTrue: [ ^false ]. aPluggableShoutMorphOrView classOrMetaClass: self object class. ^ true shoutAboutToStyle: aPluggableShoutMorphOrView aPluggableShoutMorphOrView getTextSelector == #trash ifFalse: [ ^false ]. aPluggableShoutMorphOrView classOrMetaClass: self object class. ^ true Here I've two solutions but no one pleases me... Maybe shoutAboutToStyle: aPluggableShoutMorphOrView aPluggableShoutMorphOrView getTextSelector == *self trashSelector*ifFalse: [ ^false ]. aPluggableShoutMorphOrView classOrMetaClass: self object class. ^ true And then use #trashSelector on UIManager? On Fri, Jan 13, 2012 at 7:01 PM, Lukas Renggli <renggli@gmail.com> wrote:
I added the following method to inspector and styling turned on:
shoutAboutToStyle: aPluggableShoutMorphOrView ^ true
Should we add it?
Maybe you also want to set the class context so that it doesn't highlight variable references as errors?
Lukas
-- Lukas Renggli www.lukas-renggli.ch
participants (2)
-
Guillermo Polito -
Lukas Renggli