2
有人可以描述我如何在Scintilla.net中进行缩进工作吗?ScintillaNET中的缩进和智能缩进
this.scintilla1.Indentation.SmartIndentType = ScintillaNet.SmartIndent.Simple;
我很困惑需要做些什么才能使其工作。有人可以描述什么事件处理程序需要实施才能使缩进工作?
有人可以描述我如何在Scintilla.net中进行缩进工作吗?ScintillaNET中的缩进和智能缩进
this.scintilla1.Indentation.SmartIndentType = ScintillaNet.SmartIndent.Simple;
我很困惑需要做些什么才能使其工作。有人可以描述什么事件处理程序需要实施才能使缩进工作?
诀窍是将Indentation.IndentWidth
设置为8
,如果Indentation.TabWidth
也设置为8
。
来源Indentation.SmartIndentType
必须仍然设置为Simple
。