mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 05:14:10 +02:00
Trim whitespace in Find in Files
This commit is contained in:
parent
f43da38dbb
commit
7e28a71437
1 changed files with 3 additions and 1 deletions
|
@ -220,6 +220,8 @@ namespace IDE.ui
|
||||||
|
|
||||||
if (lineMatched)
|
if (lineMatched)
|
||||||
{
|
{
|
||||||
|
line.Trim();
|
||||||
|
|
||||||
linesMatched++;
|
linesMatched++;
|
||||||
hadMatch = true;
|
hadMatch = true;
|
||||||
if (mSearchOptions.mReplaceString != null)
|
if (mSearchOptions.mReplaceString != null)
|
||||||
|
@ -591,7 +593,7 @@ namespace IDE.ui
|
||||||
mLineSrcInfo[mCurLineNum] = lineSrcInfo;
|
mLineSrcInfo[mCurLineNum] = lineSrcInfo;
|
||||||
|
|
||||||
String outStr = scope String();
|
String outStr = scope String();
|
||||||
outStr.AppendF("{0}({1}):{2}", fileEditData.mFilePath, line + 1, lineStr);
|
outStr.AppendF("{0}({1}): {2}", fileEditData.mFilePath, line + 1, lineStr);
|
||||||
gApp.mFindResultsPanel.AddPendingLine(outStr);
|
gApp.mFindResultsPanel.AddPendingLine(outStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue