Wpf- How does a text box in visual studio break down regions and how can I implement this in my text editor?

I need someone to point me in the right direction.

What do I need to do to collapse an area of ​​text in a text box?

I don’t need to know how to allow the user to define regions, how to collapse a region when you have an index and the length of this region. I also want, like the visual studio, to leave a visual reminder of the collapsed areas that you can click to expand them.

+3
source share
1 answer

Visual Studio , WPF, TextBox. Visual Studio , , Visual Studio.

WPF , . AvalonEdit , , , , , , .

, , , , , addtion, "outline start", " " " ", ". , , / / , , . , , , .., WPF.

+1

Source: https://habr.com/ru/post/1760633/


All Articles