This project is read-only.

What is the difference between the addtext and the appendtext predicate?

Topics: Developer Forum
Dec 9, 2014 at 9:20 AM
Hi,
What is the difference between the addtext and the appendtext predicate?
When should I use addtext and when appendtext?
What are their side side-effects?

Regards
 Frank
May 18, 2015 at 1:52 AM
AddText will add text to the end of the document and move the caret to the end of the added text.
AppendText will add text to the end of the document but will NOT change the caret position or current selection.

You'll find that v3.x of ScintillaNET has much better API documentation. If you haven't upgraded yet you should go to the new GitHub repo and get latest:
https://github.com/jacobslusser/ScintillaNET


Jacob