C# Class Nexus.UI.Controls.XmlFormattingStrategy

Handles the smart indenting of XML.
Inheritance: ICSharpCode.TextEditor.Document.DefaultFormattingStrategy
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes protégées

Méthode 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 méthode

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.
Résultat int