mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed -0x80000000'00000000 constant issue
This commit is contained in:
parent
d13d3ed3f8
commit
355fd34c0b
3 changed files with 9 additions and 10 deletions
|
@ -296,6 +296,8 @@ namespace IDE.ui
|
|||
{
|
||||
if (mCurFindIdx == -1)
|
||||
return;
|
||||
if (!mFoundMatches)
|
||||
return;
|
||||
String findText = scope String();
|
||||
mFindEditWidget.GetText(findText);
|
||||
if (findText.Length == 0)
|
||||
|
@ -384,8 +386,6 @@ namespace IDE.ui
|
|||
String findTextUpper = scope String(findText);
|
||||
findTextUpper.ToUpper();
|
||||
|
||||
Debug.WriteLine("Before: mCurFindIdx:{} mCurFindStart:{} mCurFindCount:{}", mCurFindIdx, mCurFindStart, mCurFindCount);
|
||||
|
||||
if ((mCurFindIdx == -1) && (mSelectionStart != null))
|
||||
{
|
||||
mCurFindIdx = mSelectionStart.mIndex - 1;
|
||||
|
@ -460,11 +460,6 @@ namespace IDE.ui
|
|||
mCurFindStart = mCurFindIdx;
|
||||
}
|
||||
|
||||
defer
|
||||
{
|
||||
Debug.WriteLine("After: mCurFindIdx:{} mCurFindStart:{} mCurFindCount:{}", mCurFindIdx, mCurFindStart, mCurFindCount);
|
||||
}
|
||||
|
||||
if (dir < 0)
|
||||
{
|
||||
int32 checkOfs = (mCurFindCount == 0) ? 1 : 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue