Fix lineRangeForRange when the range includes a end-of-line
Fix lineRangeForRange when the range includes a end-of-line

berkus/cocotron,liruqi/cocotron,berkus/cocotron,berkus/cocotron,berkus/cocotron,liruqi/cocotron,liruqi/cocotron,liruqi/cocotron