[Seaside] Method formatting no longer works properly

Fritz Schenk intrader.intrader at gmail.com
Tue Feb 15 05:57:42 UTC 2011


After loading latests configuration.
The comment format(r) is strangely converting
<prior to format>
renderContentOn: html
    html anchor
	callback: [ self addContact ];
	with: 'Add contact'.	
    "bad dessign to refer to MyContact class directly; better to add model 
instance variable"
    html unorderedList: [ 
	MyContact contacts do: [ :contact | 
	html listItem: [ self renderContact: contact on: html ] ] ]
</prior to format>
<after format>
renderContentOn: html
	(html anchor)
		callback: [ self addContact ];
		with: 'Add contact'.	"bad design to refer to MyContact class
 directly; better to add model instance variable"
html unorderedList: [ MyContact contacts do: [ :contact | html listItem:
 [ self renderContact: contact on: html ] ] ]
</after format>
I don't understand:
1. the parenthesis use around (html anchor).
2. the comment position
3. the one one starting with html unorderedList is not formatted at all.

My current version is
Pharo 1.1.1
Latest update #11414

Thanks for any help.


 




More information about the seaside mailing list