Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate only current line when cursor is at the end of the line #649

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 28, 2024

  1. Duplicate only current line when cursor is at the end of the line

    This fixes issue linuxmint#643. When cursor is at the end of the line, old
    version would duplicate two lines: The line where the cursor is, and the
    line following it. This happened because the buffer that is being copied
    would include both lines and the newline separating them. This fix
    checks if there are multiple lines in the current buffer, and if so,
    moves buffers end iterator to the newline character, so that only the
    line where cursor is located is duplicated.
    Toni-Ordning committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    826cb99 View commit details
    Browse the repository at this point in the history