I want to chear track cjhange indicators and I do as follow:
2. IsModified = false;
It works if the document is not modified. But if the document is not modified (saved state), the indicators won't be cleared, unless I set the modified flag to true before clearing the undo history.
Please adivise if there is a clean way to perform this task. Thanks.