This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1146 from UziTech/patch-1
shift replace previous
- Loading branch information
9da0512
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sadick254 Shouldn't it be
e => e.shiftKey ? this.replacePrevious.bind(this) : this.replaceNext.bind(this)
Even if you don't need the bind, it should be
e => e.shiftKey ? this.replacePrevious : this.replaceNext
instead of
e => e.shiftKey ? this.replacePrevious() : this.replaceNext()
Edit: See #1155
Edit 2: See atom-community#1 and atom-community#3