C# Class SIL.FieldWorks.FwCoreDlgs.DummyFwFindReplaceDlg

Dummy find dialog
Inheritance: FwFindReplaceDlg
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
m_fInvalidRegExDisplayed bool
m_matchMsg string
m_matchNotFoundType MatchType

Méthodes publiques

Méthode Description
ApplyStyle ( FwTextBox fwTextBox, string sStyle ) : void

Exposes the ApplyStyle method

DummyFwFindReplaceDlg ( ) : System

PopulateStyleMenu ( ) : void

Expose the PopulateStyleMenu method

PopulateWritingSystemMenu ( ) : void

Expose the PopulateWritingSystemMenu method

SimulateFindButtonClick ( ) : void

SimulateFindPrevButtonClick ( ) : void

SimulateReplaceAllButtonClick ( ) : void

SimulateReplaceButtonClick ( ) : void

VerifySelection ( int iInstancePara, int iPara, int iInstanceString, int ichAnchor, int ichEnd ) : void

Verifies that the correct selection was made as the result of the find/replace operation.

Méthodes protégées

Méthode Description
DisplayInvalidRegExMessage ( string errorMessage ) : void

Displays a message box that the regular expression is invalid.

Private Methods

Méthode Description
OnMatchNotFound ( object sender, string defaultMsg, MatchType matchType ) : bool

Method Details

ApplyStyle() public méthode

Exposes the ApplyStyle method
public ApplyStyle ( FwTextBox fwTextBox, string sStyle ) : void
fwTextBox SIL.FieldWorks.Common.Widgets.FwTextBox The Tss edit control whose selection should have the /// specified style applied to it.
sStyle string The name of the style to apply
Résultat void

DisplayInvalidRegExMessage() protected méthode

Displays a message box that the regular expression is invalid.
protected DisplayInvalidRegExMessage ( string errorMessage ) : void
errorMessage string The error message.
Résultat void

DummyFwFindReplaceDlg() public méthode

public DummyFwFindReplaceDlg ( ) : System
Résultat System

PopulateStyleMenu() public méthode

Expose the PopulateStyleMenu method
public PopulateStyleMenu ( ) : void
Résultat void

PopulateWritingSystemMenu() public méthode

Expose the PopulateWritingSystemMenu method
public PopulateWritingSystemMenu ( ) : void
Résultat void

SimulateFindButtonClick() public méthode

public SimulateFindButtonClick ( ) : void
Résultat void

SimulateFindPrevButtonClick() public méthode

public SimulateFindPrevButtonClick ( ) : void
Résultat void

SimulateReplaceAllButtonClick() public méthode

public SimulateReplaceAllButtonClick ( ) : void
Résultat void

SimulateReplaceButtonClick() public méthode

public SimulateReplaceButtonClick ( ) : void
Résultat void

VerifySelection() public méthode

Verifies that the correct selection was made as the result of the find/replace operation.
public VerifySelection ( int iInstancePara, int iPara, int iInstanceString, int ichAnchor, int ichEnd ) : void
iInstancePara int The index of the instance of the paragraph property /// in whose contants the selection was expected.
iPara int The index of the para where the selection was expected.
iInstanceString int The index of the instance of the string property where /// the selection was expected.
ichAnchor int The character offset of the anchor.
ichEnd int The character offset of the end.
Résultat void

Property Details

m_fInvalidRegExDisplayed public_oe property

true if the "Invalid RegEx" message box was displayed
public bool m_fInvalidRegExDisplayed
Résultat bool

m_matchMsg public_oe property

public string m_matchMsg
Résultat string

m_matchNotFoundType public_oe property

public MatchType m_matchNotFoundType
Résultat MatchType