C# Class SIL.FieldWorks.FwCoreDlgs.RegexHelperMenu

Context menu to help build regular expressions. To be used in Find dialog boxes with regex support.
Inheritance: HelperMenu
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
RegexHelperMenu ( FwTextBox textbox, IHelpTopicProvider helpTopicProvider ) : System

Constructor for Regex Helper Context Menu, assumes it is for a search

RegexHelperMenu ( FwTextBox textbox, IHelpTopicProvider helpTopicProvider, bool isFind ) : System

Constructor for the Regex Helper Context Menu

Private Methods

Method Description
Init ( ) : void
backslash ( object sender, EventArgs e ) : void
boundary ( object sender, EventArgs e ) : void
caret ( object sender, EventArgs e ) : void
charClass ( object sender, EventArgs e ) : void
curlyBrackets ( object sender, EventArgs e ) : void

Curlies the brackets.

digit ( object sender, EventArgs e ) : void
dollarSign ( object sender, EventArgs e ) : void
dot ( object sender, EventArgs e ) : void
findCapture1 ( object sender, EventArgs e ) : void
findCapture2 ( object sender, EventArgs e ) : void
findCapture3 ( object sender, EventArgs e ) : void
findCapturen ( object sender, EventArgs e ) : void
groupRegexText ( string text ) : void
invCharClass ( object sender, EventArgs e ) : void
nonBoundary ( object sender, EventArgs e ) : void
nonDigit ( object sender, EventArgs e ) : void
nonSpace ( object sender, EventArgs e ) : void
nonWord ( object sender, EventArgs e ) : void
parens ( object sender, EventArgs e ) : void
pipe ( object sender, EventArgs e ) : void
plus ( object sender, EventArgs e ) : void
questionMark ( object sender, EventArgs e ) : void
replaceCapture1 ( object sender, EventArgs e ) : void
replaceCapture2 ( object sender, EventArgs e ) : void
replaceCapture3 ( object sender, EventArgs e ) : void
replaceCapturen ( object sender, EventArgs e ) : void
showHelp ( object sender, EventArgs e ) : void
space ( object sender, EventArgs e ) : void
star ( object sender, EventArgs e ) : void
word ( object sender, EventArgs e ) : void

Method Details

RegexHelperMenu() public method

Constructor for Regex Helper Context Menu, assumes it is for a search
public RegexHelperMenu ( FwTextBox textbox, IHelpTopicProvider helpTopicProvider ) : System
textbox SIL.FieldWorks.Common.Widgets.FwTextBox the textbox to insert regex characters into
helpTopicProvider IHelpTopicProvider usually IHelpTopicProvider.App
return System

RegexHelperMenu() public method

Constructor for the Regex Helper Context Menu
public RegexHelperMenu ( FwTextBox textbox, IHelpTopicProvider helpTopicProvider, bool isFind ) : System
textbox SIL.FieldWorks.Common.Widgets.FwTextBox the textbox to insert regex characters into
helpTopicProvider IHelpTopicProvider usually IHelpTopicProvider.App
isFind bool True if the menu is for searching, false if it is for replacing (shows the $n options)
return System