ajaxorg/ace — pull request #1976 by AMiniLegend (2014-05-18 18:01:03+00:00)
Title: Added three new functions for selections:

expandtoline - selects the entire line for each line in a selection (newline included)
joinSelection - joins selected lines into a single space-delimited line
invertSelection - inverts all selected lines