replaceWith_shiftFrom_rotate.patch

Brian T. Rice water at tunes.org
Wed Jun 15 12:10:44 PDT 2005


Waldemar Kornewald <wkornew at gmx.net> said:

> Hi,
> this patch adds replaceWith:from:to:, shiftFrom:by:count:, and replaces
> both, rotate and rotated (I decided to rewrite that one, too) with more
> efficient versions.

Thanks! These look fine; I've now incorporated them into the main repository.

One thing: I mentioned a replaceWith: idiom as an eventual possibility, not as a concrete immediate 
suggestion. I rolled your replaceWith: idiom into our existing equivalent replaceFrom: methods. I'll 
refactor them all at once when/if the time comes, but I wanted to avoid protocol duplication so they're 
gone for now.




More information about the Slate mailing list