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

yuhangwang/cocotron,plasq/cocotron,cjwl/cocotron,JackLian/cocotron,cjwl/cocotron,JackLian/cocotron,cyclaero/cocotron,ruppmatt/cocotron,cneira/cocotron,cjwl/cocotron,crystax/android-vendor-cocotron,plasq/cocotron,gemu2015/cocotron-sierra,yuhangwang/cocotron,yuhangwang/cocotron,cneira/cocotron,guestOS/guestOS,ruppmatt/cocotron,cyclaero/cocotron,Suninus/cocotron,JackLian/cocotron,crystax/android-vendor-cocotron,JackLian/cocotron,Suninus/cocotron,cyclaero/cocotron,crystax/android-vendor-cocotron,gemu2015/cocotron-sierra,Suninus/cocotron,guestOS/guestOS,gemu2015/cocotron-sierra,cjwl/cocotron,plasq/cocotron,ruppmatt/cocotron,cneira/cocotron,cneira/cocotron,yuhangwang/cocotron,ruppmatt/cocotron,Suninus/cocotron,gemu2015/cocotron-sierra,guestOS/guestOS,crystax/android-vendor-cocotron,cyclaero/cocotron,plasq/cocotron,guestOS/guestOS