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

Code editor prompts to save function despite no edits being made #260

Closed
cpcallen opened this issue Feb 8, 2019 · 4 comments
Closed

Code editor prompts to save function despite no edits being made #260

cpcallen opened this issue Feb 8, 2019 · 4 comments
Assignees
Labels
bug /code Client-side issues related to the /code IDE. core Things related to the "core" part of the database

Comments

@cpcallen
Copy link
Collaborator

cpcallen commented Feb 8, 2019

Quite often, when trying to navigate away from a function which I have browsed but not edited, I get prompted to save or discard changes.

In the most recent case, I see in the diff view that the editor has removed an apparently-spurious hyphen that had been present in the @-directives at the top:

screen shot 2019-02-08 at 14 40 14

AFAICT that hyphen should not have been there in the first place.

@cpcallen cpcallen added bug /code Client-side issues related to the /code IDE. core Things related to the "core" part of the database labels Feb 8, 2019
@cpcallen
Copy link
Collaborator Author

cpcallen commented Feb 8, 2019

I also note that the new timestamping arrangements would appear to be an additional cause of this issue:

screen shot 2019-02-08 at 14 54 06

@NeilFraser
Copy link
Member

It was actually not a hyphen, it was a space. The diff strikes through deletions, making i look like a hyphen. Fixed the rogue space.

The timestamp string is still a problem though.

@cpcallen
Copy link
Collaborator Author

cpcallen commented Feb 11, 2019

Ta for looking at this. Unfortunately this remains my no. 1 quality-of-life issue at the moment.

I'd prefer not recording timestamps to constantly needing to discard (irrelevant) changes.

@NeilFraser
Copy link
Member

I can no longer recreate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug /code Client-side issues related to the /code IDE. core Things related to the "core" part of the database
Projects
None yet
Development

No branches or pull requests

2 participants