11 references to WholeWord
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
1896if ((options & RichTextBoxFinds.WholeWord) == RichTextBoxFinds.WholeWord)
System.Windows.Forms.Tests (9)
System\Windows\Forms\RichTextBoxTests.cs (9)
7991yield return new object[] { "abc def", "ef", RichTextBoxFinds.WholeWord, -1 }; 7992yield return new object[] { "abc def", "def", RichTextBoxFinds.WholeWord, 4 }; 7993yield return new object[] { "abc def", " ", RichTextBoxFinds.WholeWord, -1 }; 8042yield return new object[] { "abc def", "ef", 0, RichTextBoxFinds.WholeWord, -1 }; 8043yield return new object[] { "abc def", "def", 0, RichTextBoxFinds.WholeWord, 4 }; 8044yield return new object[] { "abc def", " ", 0, RichTextBoxFinds.WholeWord, -1 }; 8102yield return new object[] { "abc def", "ef", 0, end, RichTextBoxFinds.WholeWord, -1 }; 8103yield return new object[] { "abc def", "def", 0, end, RichTextBoxFinds.WholeWord, 4 }; 8104yield return new object[] { "abc def", " ", 0, end, RichTextBoxFinds.WholeWord, -1 };