【问题标题】:Indentation and smart indent in ScintillaNETScintillaNET 中的缩进和智能缩进
【发布时间】:2012-07-07 10:28:02
【问题描述】:

有人可以描述我如何在 Scintilla.net 中进行缩进吗?

this.scintilla1.Indentation.SmartIndentType = ScintillaNet.SmartIndent.Simple;

我不知道需要做什么才能让它发挥作用。谁能描述需要实现哪些事件处理程序才能使缩进工作?

【问题讨论】:

    标签: c# .net indentation scintilla


    【解决方案1】:

    诀窍是将Indentation.IndentWidth 设置为8,如果Indentation.TabWidth 也设置为8

    当然Indentation.SmartIndentType 仍必须设置为Simple

    【讨论】:

      【解决方案2】:

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2012-03-07
        • 2010-11-22
        • 2021-07-11
        • 2013-08-21
        • 2019-11-12
        • 2011-12-13
        • 1970-01-01
        相关资源
        最近更新 更多