extends ScrollMode to have a line-based cursor.
more complicated than one might think. three behaviors.
override search behavior to be cursor-based. this is a stupid implementation and should be made better. TODO: improve.
callbacks when the cursor is asked to go beyond the bottom
[Validate]