Property | Type | Description | |
---|---|---|---|
m_sRemoveItem | string |
Property | Type | Description | |
---|---|---|---|
FindAffixExpression | Match | ||
FindSelectedMatch | Match | ||
GetExistingAffix | string | ||
GetSubstitutionForRow | SILUBS.PhraseTranslationHelper.Substitution | ||
GetSubstitutionForRow | SILUBS.PhraseTranslationHelper.Substitution | ||
IsRegEx | bool | ||
ReplaceSelectedTextInCurrentEditControl | void | ||
SelectExistingPrefixOrSuffix | void | ||
UpdateMaxMatchCountControl | void | ||
UpdatePreview | void | ||
UpdatePreview | void | ||
UpdateRegExHelperControls | void | ||
m_btnMatchSingleWord_Click | void | ||
m_dataGridView_CellValueChanged | void | ||
m_dataGridView_CurrentCellChanged | void | ||
m_dataGridView_EditingControlShowing | void | ||
m_dataGridView_RowEnter | void | ||
m_numTimesToMatch_ValueChanged | void | ||
txtControl_KeyDown | void | ||
txtControl_MouseClick | void |
Method | Description | |
---|---|---|
PhraseSubstitutionsDlg ( IEnumerable |
Initializes a new instance of the T:PhraseSubstitutionsDlg class.
|
Method | Description | |
---|---|---|
GetMatchGroups ( string matchExpression ) : string[] |
Gets a list of strings that can be used to describe the regular expression match groups found in the given expression.
|
|
SuffixOrPrefixChanged ( object sender, EventArgs e ) : void |
Handles the TextChanged event for the suffixes or prefix TextBox control.
|
|
UpdateMatchCount ( int numTimesToMatch ) : void |
Updates the match count expression currently selected (or near the selection) in the edit control for the data grid view cell currently being edited, or inserts a new match count expression if there isn't one already.
|
|
UpdateMatchGroup ( string sGroup ) : void |
Updates the match group substitution expression currently selected (or near the selection) in the edit control for the data grid view cell currently being edited, or inserts a new match group substitution expression if there isn't one already.
|
|
m_cboMatchGroup_SelectedIndexChanged ( object sender, EventArgs e ) : void |
Handles the SelectedIndexChanged event of the m_cboMatchGroup control.
|
|
txtControl_TextChanged ( object sender, EventArgs e ) : void |
Method | Description | |
---|---|---|
FindAffixExpression ( string format ) : Match |
Finds the prefix or suffix expression covered, partially covered, or immediately preceding the selected text in the edit control for the data grid view cell currently being edited.
|
|
FindSelectedMatch ( Regex matchPattern ) : Match |
Finds the expression covered, partially covered, or immediately preceding the selected text in the edit control for the data grid view cell currently being edited.
|
|
GetExistingAffix ( string format ) : string |
Gets an existing prefix or suffix (as determined by the format string) covered, partially covered, or immediately preceding the selected text in the edit control for the data grid view cell currently being edited.
|
|
GetSubstitutionForRow ( DataGridViewRow row ) : SILUBS.PhraseTranslationHelper.Substitution | ||
GetSubstitutionForRow ( string matchingPattern, string replacement, DataGridViewRow row ) : SILUBS.PhraseTranslationHelper.Substitution | ||
IsRegEx ( DataGridViewRow row ) : bool | ||
ReplaceSelectedTextInCurrentEditControl ( string textToInsert ) : void |
Replaces the currently selected text in the edit control for the data grid view cell currently being edited.
|
|
SelectExistingPrefixOrSuffix ( string format ) : void |
Looks for a prefix or suffix expression (as determined by the format parameter) covered, partially covered, or immediately preceding the selected text in the edit control for the data grid view cell currently being edited.Selects the existing prefix or suffix. If one is found, the selection in the text box edit control is set to cover the entire expression representing the prefix or suffix, i.e., including the regular expression marker.
|
|
UpdateMaxMatchCountControl ( ) : void |
Updates the max match count control.
|
|
UpdatePreview ( bool enabled, DataGridViewRow row ) : void | ||
UpdatePreview ( object sender, EventArgs e ) : void | ||
UpdateRegExHelperControls ( ) : void |
Updates the max match count control.
|
|
m_btnMatchSingleWord_Click ( object sender, EventArgs e ) : void |
Handles the Click event of the m_btnMatchSingleWord control.
|
|
m_dataGridView_CellValueChanged ( object sender, DataGridViewCellEventArgs e ) : void | ||
m_dataGridView_CurrentCellChanged ( object sender, EventArgs e ) : void |
Handles the CurrentCellChanged event of the m_dataGridView control.
|
|
m_dataGridView_EditingControlShowing ( object sender, DataGridViewEditingControlShowingEventArgs e ) : void | ||
m_dataGridView_RowEnter ( object sender, DataGridViewCellEventArgs e ) : void | ||
m_numTimesToMatch_ValueChanged ( object sender, EventArgs e ) : void |
Handles the ValueChanged event of the m_numTimesToMatch control.
|
|
txtControl_KeyDown ( object sender, KeyEventArgs e ) : void | ||
txtControl_MouseClick ( object sender, MouseEventArgs e ) : void |
protected GetMatchGroups ( string matchExpression ) : string[] | ||
matchExpression | string | |
return | string[] |
public PhraseSubstitutionsDlg ( IEnumerable |
||
phraseSubstitutions | IEnumerable |
|
previewTestPhrases | IEnumerable |
|
iDefaultTestPhrase | int | |
return | System |
protected SuffixOrPrefixChanged ( object sender, EventArgs e ) : void | ||
sender | object | The sender. |
e | EventArgs | The |
return | void |
protected UpdateMatchCount ( int numTimesToMatch ) : void | ||
numTimesToMatch | int | The num times to match. |
return | void |
protected UpdateMatchGroup ( string sGroup ) : void | ||
sGroup | string | The s group. |
return | void |
protected m_cboMatchGroup_SelectedIndexChanged ( object sender, EventArgs e ) : void | ||
sender | object | The source of the event. |
e | EventArgs | The |
return | void |
protected txtControl_TextChanged ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |