Multiple starting outlining nodes on same line

SyntaxEditor for WPF Forum

Posted 3 years ago by Xinen Lee
Version: 16.1.0633
Platform: .NET 4.5
Environment: Windows 10 (64-bit)
Avatar

Hi Actipro

I'm facing unexpected behavior when there are multiple starting outlining nodes on the same line.

public class a { public class b { public class c {
}
}
} 

I can see a - button in the outlining margin in the first line, and a closing node indicator for lines 2, 3, 4 for each closing }

1. When I hover over the - button in the outlining margin

Expected: The highlighted area ends at the outer most closing node indicator on line 4

Actual: The highlighted area ends at the closing node indicator on line 2 

2. Clicking on the - button collapses lines 1 to 4 (expected)

Basically it's confusing that the highlighted area on hovering on - button is different from the actual area that's collapsed.

3. Click on the + button

Expected: Only the outer most outlining node should be expanded. Inner nodes should still be collapsed and + button should stay as + so that inner nodes can be subsequently expanded. (See Visual Studio for their behavior)

Actual: All lines 1 to 4 are expanded - so effectively the inner nodes are rendered useless and cannot be manipulated

 



Comments (1)

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

Hi Xinen,

Thanks for mentioning these things.  We will adjust the logic for the upcoming maintenance release.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.