On Thu, 15 Sep 2005 07:16 pm, [EMAIL PROTECTED] wrote:
> Author: lfurini
> Date: Thu Sep 15 04:16:02 2005
> New Revision: 289203
great stuff - very helpful.
> + * Inline LMs need to know the text alignment because it affects
> the elements + * representing feasible breaks between syllables.
> + *
> * @param oldList the elements to replace
> * @param alignment the desired text alignment
> * @return the updated list of KnuthElements
Question: Wouldn't the text alignment information not be better placed
in the layout context instead of an extra parameter? As getNextKnuth...
is always called before getChangedKnuth... LMs which need to know this
can then extract it from the context and store it locally when
getNextKnuth... is invoked.