when repeatdealy calling SCI_SEARCHPREV and pointing
to the end of the docuemnt, the fucntion returns the previous
occurance of the search text like this:

SearchPrev:  55099
SearchPrev:  54425
SearchPrev:  54412
SearchPrev:  37443
SearchPrev:  30821
SearchPrev:  12404
SearchPrev:  7255
SearchPrev:  3503
SearchPrev: -1

Which is normal, while when calling the SCI_SEARCHNEXT when pointing
to the start of the same document for the same search text, it returns the
position of the first occurance like that:

SearchNext:  3503
SearchNext:  3503
SearchNext:  3503
SearchNext:  3503
SearchNext:  3503
SearchNext:  3503

What I am doing wrong, I call SCI_SEARCHANCHOR before any call for both
functions

Thanks

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to