C# 클래스 Nexus.UI.Controls.XmlFoldingStrategy

Handles the folding of XML.
상속: IFoldingStrategy
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
GenerateFoldMarkers ( IDocument document, string fileName, object parseInformation ) : List

Generates the list of markers indicating where the XML should be folded.

보호된 메소드들

메소드 설명
AddFold ( IDocument p_docDocument, string p_strTagName, TextLocation p_tlcStart, TextLocation p_tlcEnd ) : void

Adds a fold for the specified tag spanning the specified lines.

This method is called by the XmlParser whenever a complete tag is found.

메소드 상세

AddFold() 보호된 메소드

Adds a fold for the specified tag spanning the specified lines.
This method is called by the XmlParser whenever a complete tag is found.
protected AddFold ( IDocument p_docDocument, string p_strTagName, TextLocation p_tlcStart, TextLocation p_tlcEnd ) : void
p_docDocument IDocument The document in which to make the fold.
p_strTagName string The name of the tag being folded.
p_tlcStart TextLocation The location of the start of the tag.
p_tlcEnd TextLocation The location of the closing tag.
리턴 void

GenerateFoldMarkers() 공개 메소드

Generates the list of markers indicating where the XML should be folded.
public GenerateFoldMarkers ( IDocument document, string fileName, object parseInformation ) : List
document IDocument The document to fold.
fileName string The file name of the document to fold.
parseInformation object User-supplied parse information.
리턴 List