CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/04/25 11:58:56

Modified files:
        usr.bin/vi/vi  : v_sentence.c 

Log message:
Fix special case of ')' when the cursor is on white-space.

The forward sentence code has a special case to support moving to
the start of the next sentence when it is in the middle of a empty
line or whitespace between sentences.  However, the logic was
incorrect and applied when the curson was on _any_ white-space.
This change adds logic to look back and detect whether the cursor
is actually in between two sentences.

Based on a diff from Walter Alejandro.

Reply via email to