Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jul 10, 2017

  • Check for pos < this.root.charCount() is unnecessary, because we just checked if (pos >= this.root.charCount()) { pos = this.root.charCount() - 1; ... }.
  • checkEdits was broken -- this.getText isn't changed by this method, a new lineIndex is created instead.

@ghost ghost requested a review from sheetalkamat July 10, 2017 15:02
@ghost ghost merged commit e29b210 into master Jul 10, 2017
@ghost ghost deleted the edit branch July 10, 2017 22:09
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
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.

2 participants