Skip to content

Shift + Home/End moves cursor to the line where it was when pressing Shift #2720

Description

@Mingun

I frequently use the following trick when working with a text:

  • press End to move text cursor to the end of current line
  • hold Shift and press Up or Down to select line(s) above or below
  • still holding Shift press End to move cursor to the end or Home to move cursor to the beginning of the last selected line (which deselects it or selects the whole line depending of moving direction and key pressed)

That trick allows to select text blocks with the newline at the begin/end, usually for cut/copy. Unfortunately, in the SourceGit's commit message the cursor is moved to the line where it was at the moment of pressing of Shift button, which ruines that trick. Probably this is Avalonia bug, I don't know.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions