I would like to decouple the Styler Object ( For example SHTextStyler) from the 
Shout packages.

Since Shout purpose it to add:  'Syntax Highlighting that updates after each 
key stroke so that the highlighting remains correct during the editing of a 
method'.

I think it would be beneficial to  style any piece of text, independently from 
the editing of a method.

For example, when working on the NewTextMorph  i do not need any functionality 
of the TextMorphForShout or TextMorphForShoutEditor classes, but only the 
Styler related classes. And in its current state, these two are coupled in the 
same package.

I propose Shout could be spitted into 2 packages, that better reflect the 
classes intentions.

1. Code Styler: which would include Shout-Parsing, and Shout-Styling.

2. TextMorphShout: Shout-TextSupport, Shout-Windows.

What do you think?

Fernando



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

Reply via email to