C# 클래스 MGShaderEditor.SearchReplaceForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: procfxgen/MGShaderEditor

공개 메소드들

메소드 설명
FindNext ( string text, SearchFlags searchFlags ) : int

Finds the next occurnce of the text in the active Scintilla control

FindPrevious ( string text, SearchFlags searchFlags ) : int

Finds the previous occurence of the text in the active Scintilla control

SearchReplaceForm ( ) : ScintillaNET
SetFind ( Scintilla scintilla ) : void

Inits the 'Find' dialog for the specified Scintilla control

SetReplace ( Scintilla scintilla ) : void

/// Inits the 'Replace' dialog for the specified Scintilla control

SetTarget ( Scintilla scintilla ) : void

Changes focus of the actions to the specified Scintilla control

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

ProcessCmdKey ( Message &msg, Keys keyData ) : bool

비공개 메소드들

메소드 설명
EvtShown ( object sender, EventArgs e ) : void
EvtfindText_PreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
FindReplace_FormClosing ( object sender, FormClosingEventArgs e ) : void

Prevents the form from being destroyed

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ReplaceAll ( string findText, string replaceText ) : void

Replaces all occurences of text with text specified

ReplaceNext ( string findText, string replaceText ) : int

Replaces the text with text specified

SetFindSearchFlags ( ) : void

Set the Find search flags based on checked options

SetReplaceSearchFlags ( ) : void

Set the Replace search flags based on checked options

buttonFindNext_Click ( object sender, EventArgs e ) : void

Handles the 'Find Next' button

buttonFindPrev_Click ( object sender, EventArgs e ) : void

Handles the 'Find Previous' button

buttonReplaceAll_Click ( object sender, EventArgs e ) : void

Handles with Replace All button

buttonReplaceNext_Click ( object sender, EventArgs e ) : void

Handles the Replace Next button

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

FindNext() 공개 메소드

Finds the next occurnce of the text in the active Scintilla control
public FindNext ( string text, SearchFlags searchFlags ) : int
text string
searchFlags SearchFlags
리턴 int

FindPrevious() 공개 메소드

Finds the previous occurence of the text in the active Scintilla control
public FindPrevious ( string text, SearchFlags searchFlags ) : int
text string
searchFlags SearchFlags
리턴 int

ProcessCmdKey() 보호된 메소드

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
리턴 bool

SearchReplaceForm() 공개 메소드

public SearchReplaceForm ( ) : ScintillaNET
리턴 ScintillaNET

SetFind() 공개 메소드

Inits the 'Find' dialog for the specified Scintilla control
public SetFind ( Scintilla scintilla ) : void
scintilla ScintillaNET.Scintilla
리턴 void

SetReplace() 공개 메소드

/// Inits the 'Replace' dialog for the specified Scintilla control
public SetReplace ( Scintilla scintilla ) : void
scintilla ScintillaNET.Scintilla
리턴 void

SetTarget() 공개 메소드

Changes focus of the actions to the specified Scintilla control
public SetTarget ( Scintilla scintilla ) : void
scintilla ScintillaNET.Scintilla
리턴 void