CollapseDescendants issue if first character

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Marianne
Version: 4.0.0236
Avatar
After upgrading to 4.0 it appears that this code:
        protected override void OnDocumentAutomaticOutliningComplete(ActiproSoftware.SyntaxEditor.Document document, DocumentModificationEventArgs e)
        {
            if (e.IsProgrammaticTextReplacement)
            {
                document.Outlining.RootNode.CollapseDescendants("RegionBlock");
            }
        }
won't work if a region block definition starts at the first character of the document.

------------------------------- Marianne

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks, it's fixed for the next maintenance release.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.