Merge remote-tracking branch 'origin/dev' into better-anchors

Conflicts:
	src/app/cursor.coffee
	src/app/editor.coffee
This commit is contained in:
Nathan Sobo
2013-01-30 12:59:04 -07:00
18 changed files with 470 additions and 91 deletions

View File

@@ -97,7 +97,10 @@ class Selection
@screenRangeChanged()
selectWord: ->
@setBufferRange(@cursor.getCurrentWordBufferRange())
options = {}
options.wordRegex = /[\t ]*/ if @cursor.isSurroundedByWhitespace()
@setBufferRange(@cursor.getCurrentWordBufferRange(options))
@wordwise = true
@initialScreenRange = @getScreenRange()