C# 클래스 GitUI.Editor.FileViewer

상속: GitExtensionsControl
파일 보기 프로젝트 열기: bleis-tift/gitextensions 1 사용 예제들

공개 메소드들

메소드 설명
EnableDiffContextMenu ( bool enable ) : void
EnableScrollBars ( bool enable ) : void
FileViewer ( ) : System
GetExtraDiffArguments ( ) : string
GetText ( ) : string
SaveCurrentScrollPos ( ) : void
SetSyntax ( string fileName ) : void
ViewCurrentChanges ( string fileName, bool staged ) : void
ViewFile ( string fileName ) : void
ViewGitItem ( string fileName, string guid ) : void
ViewGitItemRevision ( string fileName, string guid ) : void
ViewPatch ( Func loadPatchText ) : void
ViewPatch ( string text ) : void
ViewText ( string fileName, string text ) : void

보호된 메소드들

메소드 설명
OnRequestDiffView ( EventArgs args ) : void

비공개 메소드들

메소드 설명
ClearImage ( ) : void
CopyPatchToolStripMenuItemClick ( object sender, EventArgs e ) : void
CopyToolStripMenuItemClick ( object sender, EventArgs e ) : void
CreateCopy ( Stream stream ) : MemoryStream
CreateImage ( string fileName, Stream stream ) : Image
DecreaseNumberOfLinesClick ( object sender, EventArgs e ) : void
DescreaseNumberOfLinesToolStripMenuItemClick ( object sender, EventArgs e ) : void
FindToolStripMenuItemClick ( object sender, EventArgs e ) : void
GetFileText ( string fileName ) : string
GetImage ( string fileName ) : Image
GetImage ( string fileName, string guid ) : Image
IgnoreWhitespaceChangesToolStripMenuItemClick ( object sender, EventArgs e ) : void
IncreaseNumberOfLinesClick ( object sender, EventArgs e ) : void
IncreaseNumberOfLinesToolStripMenuItemClick ( object sender, EventArgs e ) : void
IsBinaryFile ( string fileName ) : bool
IsIcon ( string fileName ) : bool
IsImage ( string fileName ) : bool
NextChangeButtonClick ( object sender, EventArgs e ) : void
OnExtraDiffArgumentsChanged ( ) : void
PreviousChangeButtonClick ( object sender, EventArgs e ) : void
Reset ( bool diff, bool text ) : void
ResetForDiff ( ) : void
ResetForImage ( ) : void
ResetForText ( string fileName ) : void
RestoreCurrentScrollPos ( ) : void
ShowEntireFileButtonClick ( object sender, EventArgs e ) : void
ShowEntireFileToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowNonPrintCharsClick ( object sender, EventArgs e ) : void
ShowNonprintableCharactersToolStripMenuItemClick ( object sender, EventArgs e ) : void
TextAreaMouseLeave ( object sender, EventArgs e ) : void
TextAreaMouseMove ( object sender, MouseEventArgs e ) : void
TextEditor_TextChanged ( object sender, EventArgs e ) : void
TreatAllFilesAsTextToolStripMenuItemClick ( object sender, EventArgs e ) : void
ViewItem ( string fileName, Func getImage, Func getFileText ) : void
_internalFileViewer_ScrollPosChanged ( object sender, EventArgs e ) : void
_internalFileViewer_SelectedLineChanged ( object sender, int selectedLine ) : void
ignoreWhiteSpaces_Click ( object sender, EventArgs e ) : void

메소드 상세

EnableDiffContextMenu() 공개 메소드

public EnableDiffContextMenu ( bool enable ) : void
enable bool
리턴 void

EnableScrollBars() 공개 메소드

public EnableScrollBars ( bool enable ) : void
enable bool
리턴 void

FileViewer() 공개 메소드

public FileViewer ( ) : System
리턴 System

GetExtraDiffArguments() 공개 메소드

public GetExtraDiffArguments ( ) : string
리턴 string

GetText() 공개 메소드

public GetText ( ) : string
리턴 string

OnRequestDiffView() 보호된 메소드

protected OnRequestDiffView ( EventArgs args ) : void
args System.EventArgs
리턴 void

SaveCurrentScrollPos() 공개 메소드

public SaveCurrentScrollPos ( ) : void
리턴 void

SetSyntax() 공개 메소드

public SetSyntax ( string fileName ) : void
fileName string
리턴 void

ViewCurrentChanges() 공개 메소드

public ViewCurrentChanges ( string fileName, bool staged ) : void
fileName string
staged bool
리턴 void

ViewFile() 공개 메소드

public ViewFile ( string fileName ) : void
fileName string
리턴 void

ViewGitItem() 공개 메소드

public ViewGitItem ( string fileName, string guid ) : void
fileName string
guid string
리턴 void

ViewGitItemRevision() 공개 메소드

public ViewGitItemRevision ( string fileName, string guid ) : void
fileName string
guid string
리턴 void

ViewPatch() 공개 메소드

public ViewPatch ( Func loadPatchText ) : void
loadPatchText Func
리턴 void

ViewPatch() 공개 메소드

public ViewPatch ( string text ) : void
text string
리턴 void

ViewText() 공개 메소드

public ViewText ( string fileName, string text ) : void
fileName string
text string
리턴 void