mirror of
https://github.com/textmate/textmate.git
synced 2026-01-21 04:38:13 -05:00
Fix CRLF issue #409.
This commit is contained in:
committed by
Allan Odgaard
parent
9d97fdfdb0
commit
443421be84
@@ -22,7 +22,7 @@ namespace scan
|
||||
{
|
||||
for(ssize_t i = 0; i < len; i++)
|
||||
{
|
||||
if(last_character == '\n' && first[i] == '\r')
|
||||
if(last_character == '\r' && first[i] == '\n')
|
||||
{
|
||||
bol_offsets.push_back(offset + i+1);
|
||||
last_character = '\0';
|
||||
|
||||
Reference in New Issue
Block a user