The existing logic moves the origin by 1 in either direction. The new logic adjusts the origin by the appropriate amount, and moves the cursor to the beginning or end of the line.
Please let me know what you think or if you'd like me to make any changes.
The existing logic moves the origin by 1 in either direction. The new logic adjusts the origin by the appropriate amount, and moves the cursor to the beginning or end of the line.
Please let me know what you think or if you'd like me to make any changes.