Skip to content

Cursor position not maintained after undo #8

@bear24rw

Description

@bear24rw

To replicate:

  1. shift+v to visually select a line
  2. ,cf to run clang format (cursor is in correct position)
  3. u to undo (cursor is now at top of file)

Is there a way to have the cursor remain in the original position after the undo?

clang-format version 3.4

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions