Hi

A new package Settings-Shout in the Pharo Inbox for issue 1611

SLICE-Issue-1611-ShoutSettings-simon_denier.1

You can now set how (for example), instance variables, selector patterns, class 
references appears in the Shout pane.
One point is that Shout comes with a list of hundred token types which can be 
individually customized, some of which I have no idea what they represent 
(externalCallTypePointerIndicator?). To keep things manageable, I defined some 
groups of logically related token types (like the gorup 'selector patterns' for 
token types patternKeyword, patternBinary, patternUnary).

"Class SHGroupStyle manages settings for the Shout syntax highlighting. Token 
types are organized in logical groups which will share the same style. 
Currently, only color and emphasis can be edited through Shout settings. Text 
font and size are managed through the more general appearance setting. Changing 
a style setting on a SHGroupStyle automatically applies the style.

Groups are defined in the class-side method initializeGroups. Alternatively, 
one can set its own style table using Shout tokens by calling #customStyleTable 
(see SHTextStylerST80 class>>defaultStyleTable for the format)."


Help needed:
1) code review
2) review group definition, because I made some groups based partly on my 
intuition, partly on styling difference in the current difference: there may be 
a better partition of token types.
3) review description for group, setting organization...


Thanks to Alain for helping with settings and especially polymorph widgets.

--
 Simon



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

Reply via email to