earshinov/geany — comment on commit def1ec332eb3dfbaa67d716111205fa6853811ee
File:  line 0
By b4n:

Your function doesn't seem to be an exact replacement to the previous code to me. IIUC, the old code stripped *all* newlines at the end of the selection, not only the last one. Moreover, does your code support Windows' CRLF line endings?