1

Reverting changes to getSentece() behavior

New line is now again ignored when looking for the end of the sentence.


Former-commit-id: a47014c3dfeb6cfb0d251dc448814bacdaec98db
This commit is contained in:
felixvd 2015-02-12 13:44:29 +09:00
parent 5226adca67
commit fed32e4de9

View File

@ -70,7 +70,7 @@ def findSentence(content, position):
if c in terminators: if c in terminators:
end = i + 1 end = i + 1
break break
elif (c in quotesBwd or c == '\n'): elif c in quotesBwd:
end = i end = i
break break