mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed 'Match whole word'
This commit is contained in:
parent
12247df512
commit
0c9374cfa2
2 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace IDE.ui
|
|||
AddDialogComponent(mMatchCaseCheckbox);
|
||||
|
||||
mMatchWholeWordCheckbox = new DarkCheckBox();
|
||||
mMatchWholeWordCheckbox.Label = "Match &whole case";
|
||||
mMatchWholeWordCheckbox.Label = "Match &whole word";
|
||||
AddDialogComponent(mMatchWholeWordCheckbox);
|
||||
|
||||
mAbortButton = new DarkButton();
|
||||
|
|
|
@ -188,6 +188,7 @@ namespace IDE.ui
|
|||
bool lineMatched;
|
||||
if (mSearchOptions.mMatchWholeWord)
|
||||
{
|
||||
line.EnsureNullTerminator();
|
||||
bool isNewStart = true;
|
||||
int lineIdx = 0;
|
||||
for (let c32 in line.DecodedChars)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue