CollapseDescendants issue if first character

SyntaxEditor for Windows Forms Forum

Posted 15 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 15 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 (v21.1.0) was released 18 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.