Skip to content

Fix entering characters at end of line in Replace mode - #210

Merged
ulyssa merged 1 commit into
mainfrom
ulyssa/replace-eol
Sep 5, 2026
Merged

Fix entering characters at end of line in Replace mode#210
ulyssa merged 1 commit into
mainfrom
ulyssa/replace-eol

Conversation

@ulyssa

@ulyssa ulyssa commented Sep 3, 2026

Copy link
Copy Markdown
Owner

This resolves #206 by fixing several issues:

  • Inserting into EditRope at the end of the line should continue inserting into the line, and not replace continue replacing bytes like the newline, or be stopped by the final character at the end of the buffer.
  • Using backspace to restore characters should only pull text from the most recent history checkpoint once the cursor has moved back into the range of the replaced characters.
  • Changelist entries need to be inserted after cursor adjustments are made, so that they do not get adjutsed.

@ulyssa
ulyssa force-pushed the ulyssa/replace-eol branch from 597217e to f0ebd78 Compare September 5, 2026 03:04
@ulyssa
ulyssa marked this pull request as ready for review September 5, 2026 03:10
@ulyssa
ulyssa merged commit 1a69229 into main Sep 5, 2026
4 checks passed
@ulyssa
ulyssa deleted the ulyssa/replace-eol branch September 5, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typing after the last character in replace mode replaces the last char

1 participant