pub fn execute_motion_only_reporting(
registry: &CommandRegistry,
buffer: &Buffer,
buffer_id: BufferId,
cursor: Position,
invocation: CommandInvocation,
cancel: &CancellationToken,
env: GrammarEnv<'_>,
) -> GrammarResult<(Position, Option<MotionNotice>)>Expand description
VM.3d-2: execute_motion_only, also reporting the motion’s notice.
A wrapping n says “search hit BOTTOM, continuing at TOP” in a document,
because execute_with_env turns the notice into an Effect::Echo. The
read-only path returned a bare Position, so the notice was dropped and
the same keystroke in :help or the dashboard wrapped in silence. Callers
that do not care keep using execute_motion_only.