Page 1 of 1

SearchText autoscroll

Posted: Mon Jun 11, 2007 2:16 pm
by overload
Is there any way to avoid SearchText from autoscrolling? According to help: "Use this method for searching the substring in the document. When found, this method selects substring and scrolls to it."

I just want to find some text, select it, and then replace it for an emoticon, but without scroll so as to prevent user from noticing this change.

Thanks!

Posted: Mon Jun 11, 2007 6:27 pm
by Sergey Tkachenko
No, it always makes the selection visible. But you can block any redrawing in the editor. In the newest trichview version, you can use BeginUpdate and EndUpdate methods.