Pretty print + shout colors in the same time ?
Andrew Tween
amtween at hotmail.com
Mon Jul 25 09:18:45 UTC 2005
The attached file will do what you want.
File it in, and then select 'prettyprint' in a RefactoringBrowser .
This only affects the RefactoringBrowser, but is easily applied to other
browsers.
Just look for implementors of #shoutAboutToStyle: , and change the line
that says...
self showingSource ifFalse: [^false].
into...
(self showingSource or: [self showingPrettyPrint]) ifFalse: [^false].
Cheers,
Andy
----- Original Message -----
From: "Damien Cassou" <cassou at iam.unibe.ch>
To: "The general-purpose Squeak developers list"
<squeak-dev at lists.squeakfoundation.org>
Sent: Monday, July 25, 2005 9:13 AM
Subject: Pretty print + shout colors in the same time ?
> Hi,
>
> I'm wondering if it is possible to have syntax highlighting with Shout
> + pretty print (at least indention) with the refactoring browser.
>
> What I can have now, is colors if I use 'source' in the menu of RB, or
> pretty print without colors if I choose 'prettyprint'.
>
> I want the two of it. Is it possible ?
>
> Thanks
>
> --
> Damien Cassou
> for Software Composition Group in Berne
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RefactoringBrowser-shoutAboutToStyle.st.gz
Type: application/x-gzip
Size: 474 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050725/d05cb742/RefactoringBrowser-shoutAboutToStyle.st.bin
More information about the Squeak-dev
mailing list
|