How to force AutoOutlining if previously off

SyntaxEditor for Windows Forms Forum

Posted 5 years ago by Mike Dempsey - Sr. Developer, Teradata Corp
Version: 14.1.0321
Avatar

I allow the user to switch Automatic outlining on/off.

Switching it off is no problem. I set the mode to None and it goes away.

Switching it back on however does not cause the outlining to reappear.

I had expected it would re-perform the automatic outlining when I set the mode to Automatic.

I tried adding the line yntaxEditor.RefreshOutlining but that had no effect either.

Finally, adding Document.Reparse worked, but that seems like overkill to reparse the entire document just to apply the outlining.

Am I missing something here?

Comments (1)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mike,

Thanks for letting us know about this.  It appears to be due to a somewhat recent code change elsewhere that triggered this bug.  We found the problem and fixed it for the next maintenance release.  Now the outlining will refresh as soon as you put Auto mode back on.  No other calls will be necessary.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.