C# 클래스 ICSharpCode.NRefactory.CSharp.FormattingChanges

The formatting changes are used to format a specific region inside a document and apply a minimal formatting changeset to a given document. This is useful for a text editor environment.
파일 보기 프로젝트 열기: 0xd4d/NRefactory 1 사용 예제들

공개 메소드들

메소드 설명
ApplyChanges ( ) : void

Applies the changes to the input document.

ApplyChanges ( Script script ) : void

Applies the changes to the given Script instance.

ApplyChanges ( int startOffset, int length ) : void
ApplyChanges ( int startOffset, int length, Action documentReplace, Func filter = null ) : void
ApplyChanges ( int startOffset, int length, Script script ) : void

비공개 메소드들

메소드 설명
AddChange ( int offset, int removedChars, string insertedText ) : ICSharpCode.NRefactory.CSharp.Refactoring.TextReplaceAction
FormattingChanges ( IDocument document ) : System

메소드 상세

ApplyChanges() 공개 메소드

Applies the changes to the input document.
public ApplyChanges ( ) : void
리턴 void

ApplyChanges() 공개 메소드

Applies the changes to the given Script instance.
public ApplyChanges ( Script script ) : void
script Script
리턴 void

ApplyChanges() 공개 메소드

public ApplyChanges ( int startOffset, int length ) : void
startOffset int
length int
리턴 void

ApplyChanges() 공개 메소드

public ApplyChanges ( int startOffset, int length, Action documentReplace, Func filter = null ) : void
startOffset int
length int
documentReplace Action
filter Func
리턴 void

ApplyChanges() 공개 메소드

public ApplyChanges ( int startOffset, int length, Script script ) : void
startOffset int
length int
script Script
리턴 void