Skip to content

Maybe redo should keep cursor where modification happens (not respecting pure line change in redoing)? #3411

@Giessen

Description

@Giessen

Steps to reproduce:

  1. Change any content (say input balabala at line 10) and performe undo, the added balabala is erazed and the cursor changes to where it happens. (OK)
  2. Change cursor position to any other line (say line 5). Performe redo:
    expected: balabala reappears and cursor position stays after balabala (like Nano or Vim)
    actual: balabala reapears but cursor position redirects to line 5 (actully I cannot see what is redone because cursor not staying there after redo)

Any ideas? thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions