C# Class Nexus.UI.Controls.XmlFormattingStrategy

Handles the smart indenting of XML.
Inheritance: ICSharpCode.TextEditor.Document.DefaultFormattingStrategy
ファイルを表示 Open project: NexusMods/NexusModManager-4.5

Protected Methods

Method Description
AutoIndentLine ( TextArea p_txaTextArea, int p_intLineNumber ) : int

Indents the specified line based on the current depth of the XML hierarchy.

Method Details

AutoIndentLine() protected method

Indents the specified line based on the current depth of the XML hierarchy.
protected AutoIndentLine ( TextArea p_txaTextArea, int p_intLineNumber ) : int
p_txaTextArea ICSharpCode.TextEditor.TextArea The text area containing the line to indent.
p_intLineNumber int The line number of the line to indent.
return int