>Perhaps the ATLINE() definition of *End of line* is different than you expected.
>What are you using as a definition of *End of line* ? The visual end of the line ? Is ATLINE using chr(13) the end of the line, regardless of where it is visually ?
It shouldn't matter. You should get a pointer to the line that the
searched expression starts on. If it spans more than one line, well
it should still return the first line as the found line. It also
fails with trailing spaces, which is definitely a bug...