Thinking about this further, `centerOnCursor` is a pretty generic editor function. Talking about "find" is quite specific, and even talking about "direction" in this context is pretty specific. Perhaps a better way to name this is to have an option to "ignore the top boundary" or "ignore the bottom boundary". I can't think of any other flags we may need to add to customize the centering behavior further, otherwise I'd suggest going with an options object.

By changing the flag to mean "ignore this boundary" the actual logic of when it makes sense to ignore that boundary is left to the client (find, in this case).