CollapseDescendants issue if first character

SyntaxEditor for Windows Forms Forum

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

Add Comment

Please log in to a validated account to post comments.