> On Fri, 8 Jun 2001, Alejandro Fernandez wrote:
> 
> > �line one
> > line two
> > line three�
> >
> > Should I try with PageFormater? But the setting showFormater of a swiki
> > is supposed to be a LineFormatter, right?
> > Any suggestions?
> 
> That would be an "exception", see senders of addExceptionFrom:to:using:.
> Exceptions are processed before the single-line formatters, like, for
> example, "<html>...</html>". The problem is that no line-formatters are
> applied to the text within the exception range (I haven't checked in
> Swiki 1.0, though).

Correct. But, it is trivial to make the exception also pe processed by 
the line-formatter:

instance addExceptionFrom: '�' to: '�' using: [:text :request 
:response :shelf :book :page | '<em>', (instance format: text request: 
request response: response shelf: shelf book: book page: page), '</em>'].

Peace and Luck!

Je77

Reply via email to