Skip to content

Remove kludge that adds history item when new input is set on an editor#35682

Merged
bpasero merged 1 commit intomicrosoft:masterfrom
beyang:master
Oct 10, 2017
Merged

Remove kludge that adds history item when new input is set on an editor#35682
bpasero merged 1 commit intomicrosoft:masterfrom
beyang:master

Conversation

@beyang
Copy link
Contributor

@beyang beyang commented Oct 6, 2017

This is not related to any issue, but I noticed this code that seemed kludge-y and perhaps no longer necessary. The code was originally added to fix #11727, but when I remove it, the behavior remains correct. The history item this adds appears now to be redundant, and could cause issues down the line, even though it doesn't appear to cause any user-visible issues now. This is also the only place that HistoryService.add is invoked outside of HistoryService itself.

@bpasero bpasero self-assigned this Oct 6, 2017
@bpasero bpasero added this to the October 2017 milestone Oct 6, 2017
@bpasero
Copy link
Member

bpasero commented Oct 10, 2017

Yeah looks like it because now we merge history locations more aggressively, I also think it can be removed. Thanks for noticing.

@bpasero bpasero merged commit 5a8042d into microsoft:master Oct 10, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Goto declaration should store current cursor in navigation history

2 participants