【发布时间】:2013-10-18 06:03:14
【问题描述】:
我目前正在开发一个 IDE,并且正在研究代码折叠代码。 我正在考虑使用 TreeView,因为它具有折叠和展开属性,但我不知道/不确定如何在 RichTextBox 上实现它。
即使是显示 RichTextBox 和 TreeView 之间交互的初始代码也将不胜感激。
like:
{
}
then RichTextBox will have a line indicating till where to collapse .
提前非常感谢!
【问题讨论】:
标签: c# winforms treeview code-folding