Merge pull request #511 from github/no-trim-whitespace

Leave Markdown files alone when trimming whitespace
This commit is contained in:
Garen Torikian
2013-04-23 17:22:37 -07:00
3 changed files with 32 additions and 2 deletions

View File

@@ -587,7 +587,7 @@ class Buffer
# startIndex - The starting row {Number}
# endIndex - The ending row {Number}
#
# Returns an {Array} of {RegExp}s, representing the matches
# Returns an {Array} of {RegExp}s, representing the matches.
matchesInCharacterRange: (regex, startIndex, endIndex) ->
text = @getText()
matches = []