Skip to content

In-file reminders don't properly track lines on files that weren't saved before closing #1

@gratefulundead

Description

@gratefulundead

Reminders have their lineNumbers changed as soon as there is a change in the file, but if the file isn't saved, the lineNumbers stay the same instead of reverting to last saved state.

Steps to reproduce:

  1. Open a file.
  2. Add an in-file reminder.
  3. Move the reminder around by adding/deleting lines above it.
  4. Close the file without saving.

Results:
The reminder points to where it was moved during the last editing session, while the contents of the file are what they were before it started.

What should happen:
The reminder should point to a line consistent with where it would be if the file was reverted to its last saved state.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions