adobe/brackets — pull request #2012 by njx (2012-10-31 23:32:36+00:00)
Title: Implement selectWordAt() in core code

Originally, we exposed CodeMirror v2's `selectWordAt()` in our fork of CodeMirror and used that to select the current word when a context menu is brought up. However, the heuristics for this have changed in v3, and eventually we think we might want to reimplement this anyway since it might need to be mode-/language-specific. So we're reimplementing this in Brackets directly instead.