Method | Description | |
---|---|---|
AddNew ( List |
Loads list of replacement entries into the find and replace data grid
|
|
AddNew ( |
Loads a single replacement entry into the find and replace data grid
|
|
AddNew ( |
Loads a single replacement entry into the find and replace data grid
|
|
Clear ( ) : void |
Clears the set replacements.
|
|
FindandReplace ( ) : System | ||
GetList ( ) : List |
Gets the find and replace settings.
|
|
HasProcessingReplacements ( bool after ) : bool |
Returns whether any of the enabled find & replace entries are specified to be run at before/after as input
|
|
MakeList ( ) : void |
Builds backup list of find and replace entries in case user later wants to restore them
|
|
MultipleFindAndReplace ( string articleText, string strTitle, bool beforeOrAfter, string &editSummary, bool &majorChangesMade ) : string |
Applies a series of defined find and replacements to the supplied article text.
|
|
PerformFindAndReplace ( |
Executes a single find & replace rule against the article text. First applies keywords to the find and replace portions of the rule, then executes the rule. Edit summary is generated from the first match of the rule that changes the article text on replacement. Count of changes is replacements affecting article, not total matches i.e. no-change replacements are not counted in the edit summary
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
ChangeChecked ( string col, bool value ) : void | ||
Decode ( string text ) : string |
Decode the specified text, replacing LF newline with \r\n text
|
|
Encode ( string text ) : string |
Encode the specified text, replacing \r\n text with actual CRLF newline
|
|
FindAndReplaceContextMenu_Opening ( object sender, System e ) : void | ||
FindandReplace_FormClosing ( object sender, |
||
FindandReplace_Shown ( object sender, |
||
FindandReplace_VisibleChanged ( object sender, |
||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
PrepareReplacePart ( string replace ) : string | ||
RowToReplacement ( System.Windows.Forms.DataGridViewRow dataGridRow ) : |
||
SelectRowAndFocusColumn ( int row ) : void |
After a user has just moved a row: selects the moved row and returns focus to the previously selected column
|
|
addRowToolStripMenuItem_Click ( object sender, |
||
allCaseSensitiveToolStripMenuItem_Click ( object sender, |
||
btnCancel_Click ( object sender, |
||
btnClear_Click ( object sender, |
||
btnDone_Click ( object sender, |
||
btnSearch_Click ( object sender, |
||
checkAllBeforeOrAfterToolStripMenuItem_Click ( object sender, |
||
checkAllMinorToolStripMenuItem_Click ( object sender, |
||
checkAllMultlineToolStripMenuItem_Click ( object sender, |
||
checkAllRegularExpressionsToolStripMenuItem_Click ( object sender, |
||
checkAllSinglelineToolStripMenuItem_Click ( object sender, |
||
chkIgnoreMore_CheckedChanged ( object sender, |
||
createRetfRuleToolStripMenuItem_Click ( object sender, |
||
dataGridView1_RowsAdded ( object sender, System.Windows.Forms.DataGridViewRowsAddedEventArgs e ) : void | ||
deleteRowToolStripMenuItem_Click ( object sender, |
||
disableAllToolStripMenuItem_Click ( object sender, |
||
enableAllToolStripMenuItem_Click ( object sender, |
||
lblMsdn_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void | ||
linkLabel2_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void | ||
moveDownToolStripMenuItem_Click ( object sender, |
||
moveToBottomToolStripMenuItem_Click ( object sender, |
||
moveToTopToolStripMenuItem_Click ( object sender, |
||
moveUpToolStripMenuItem_Click ( object sender, |
||
testRegexToolStripMenuItem_Click ( object sender, |
||
txtSearch_KeyPress ( object sender, |
||
txtSearch_TextChanged ( object sender, |
||
uncheckAllBeforeOrAfterToolStripMenuItem_Click ( object sender, |
||
uncheckAllCaseSensitiveToolStripMenuItem_Click ( object sender, |
||
uncheckAllMinorToolStripMenuItem_Click ( object sender, |
||
uncheckAllMultilineToolStripMenuItem_Click ( object sender, |
||
uncheckAllRegularExpressionsToolStripMenuItem_Click ( object sender, |
||
uncheckAllSinglelineToolStripMenuItem_Click ( object sender, |
public AddNew ( |
||
r | The red component. | |
decodeRequired | bool | Whether decoding of newlines in find and replace text required. Required when loading settings from XML. NOT required when restoring from backup after Cancel |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public HasProcessingReplacements ( bool after ) : bool | ||
after | bool | |
return | bool |
public MultipleFindAndReplace ( string articleText, string strTitle, bool beforeOrAfter, string &editSummary, bool &majorChangesMade ) : string | ||
articleText | string | The wiki text of the article. |
strTitle | string | |
beforeOrAfter | bool | False if "before", true if "after" |
editSummary | string | |
majorChangesMade | bool | |
return | string |
public PerformFindAndReplace ( |
||
rep | F&R rule to execute | |
articleText | string | The article text |
articleTitle | string | The article title |
changeMade | bool | Whether the F&R rule caused changes to the article text |
return | string |