SearchText autoscroll

General TRichView support forum. Please post your questions here
Post Reply
overload
Posts: 1
Joined: Fri Apr 27, 2007 1:23 pm

SearchText autoscroll

Post 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!
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply