strange hunk in buffer.slate patch

Brian Rice water at
Sun Mar 13 17:49:40 PST 2005

I just committed this fix. The original logic was bad. The correct 
logic is as the hunk makes it: the new size has to fit the existing 
elements and the same gap size.

On Mar 13, 2005, at 5:48 PM, Paul Dufresne wrote:

> In the following:
> hunk ./src/lib/buffer.slate 79
> -  n > b gapSize ifTrue: [error: 'The contents will not fit.'].
> +  n <= (b gapSize + b size) ifTrue: [error: 'The contents will not 
> fit.'].
> }
> I was asking myself if it was not supposed to be ifFalse: rathen than 
> ifTrue: .
> But I am not sure at all.
Brian T. Rice
LOGOS Research and Development

More information about the Slate mailing list