Color Texto |
Recopilado por Germán S. Arduino |
De: "Diego Gomez Deck"
Fecha: Sáb May 11, 2002 6:21 pm
Asunto: Re: [objetos] [Q] [Squeak] Colores de prettyPrintWithColor
Hola...
Tenes que tocar el metodo DialectStream class>>initializeST80ColorTable (y
despues correr DialectStream initialize).
Saludos,
Diego Gomez Deck
PD: Te atacho el mio.
initializeST80ColorTable
"Initiialize the colors that characterize the ST80 dialect"
ST80ColorTable _ IdentityDictionary new.
#(#(#temporaryVariable #magenta #bold)
#(#methodArgument #magenta #italic)
#(#methodSelector #black #bold)
#(#blockArgument #magenta #italic)
#(#comment #red #bold)
#(#variable #blue #bold)
#(#literal #brown #normal)
#(#keyword #blue #bold)
#(#prefixKeyword #blue #bold)
#(#setOrReturn #black #bold) ) do:
[:aTriplet |
ST80ColorTable at: aTriplet first put: aTriplet allButFirst
"DialectStream initialize"]
Holas! Perdon por la pregunta off-topic, pero mis ojos estan sufriendo y apreciaria ayuda. Quisiera saber donde se pueden cambiar los colores por defecto cuando se tiene #browseWithPrettyPrint y #colorWhenPrettyPrinting en true. Personalmente me gusta prettyPrint porque ayuda a leer el codigo (y mantenerte despierto!!) pero ese fuscia chillon y el marroncito claro apagado, exigen demasiado de mis ojos. Saludos, Martin Altobello