joaonetto added a comment.
Yes, it should. I had some oversights that I hope are fixed now. Added two new tests to test them, one with endsWith('\n') too see if I'm in the last char and yours. REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D19123 To: joaonetto, #okular, aacid Cc: davidhurka, yurchor, aacid, ngraham, okular-devel, joaonetto, tfella, darcyshen