Issue 5331 in pharo: use the glamour style for pretty print

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5331 in pharo: use the glamour style for pretty print

pharo
Status: Accepted
Owner: [hidden email]
Labels: Milestone-1.4

New issue 5331 by [hidden email]: use the glamour style for pretty  
print
http://code.google.com/p/pharo/issues/detail?id=5331

Please doru let us know





_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo
Updates:
        Labels: Type-Feature

Comment #1 on issue 5331 by [hidden email]: use the glamour style  
for pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo
Updates:
        Cc: [hidden email]

Comment #2 on issue 5331 by [hidden email]: use the glamour style  
for pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo

Comment #3 on issue 5331 by [hidden email]: use the glamour style  
for pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

The code can be found in GLMUITheme>>setPreferredShoutColors:

Gofer new
        squeaksource: 'glamour';
        package: 'Glamour-Morphic-Theme';
        load.
Smalltalk at: #GLMUITheme setPreferredShoutColors.

I attach here a file out of the method.

The style is based on the some simple guidelines:
- do not use bold or italic is because the width of the characters are not  
the same when using these (and because of this, you get the annoying  
feature of the cursor jumping around).
- use gray for comments because comments should be secondary.
- use a common scheme for all regular variables (blue), and a similar one  
for all special ones (self, super, thisContext).


Attachments:
        GLMUITheme class-setPreferredShoutColors.st  4.3 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo
Updates:
        Status: Workneeded

Comment #4 on issue 5331 by [hidden email]: use the glamour style  
for pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

Next step: put the code in that place where in Pharo the colors are set.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo
Updates:
        Cc: [hidden email]

Comment #5 on issue 5331 by [hidden email]: use the glamour style  
for pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

Hmm, I must admit I do not know where that is. But, I added Alain in CC :)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo

Comment #6 on issue 5331 by [hidden email]: use the glamour style for  
pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

I guess it can be used to initialize the shout default style table.
see SHTextStylerST80 class >> defaultStyleTable
It has to be changed with the glamour preferences
I will do it


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo
Updates:
        Status: FixToInclude

Comment #7 on issue 5331 by [hidden email]: use the glamour style for  
pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

In inbox:
SLICE-Issue-5331-use-the-glamour-style-for-pretty-print-AlainPlantec.1

postcript needed:

SHTextStylerST80 initialize


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5331 in pharo: use the glamour style for pretty print

pharo
Updates:
        Status: Integrated

Comment #8 on issue 5331 by [hidden email]: use the glamour style  
for pretty print
http://code.google.com/p/pharo/issues/detail?id=5331

in 14369


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker