What's the default if it's not passed? I guess treating it as if the cursor is at the end of the supplied text makes most sense. If that's right, should the default be -1 instead of 0 to make this clear?