Selaa lähdekoodia

Fix skipping when matching word is at EOF

Chernyavsky Andrey 1 kuukausi sitten
vanhempi
commit
8f9628e6af
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      IDE/src/ui/QuickFind.bf

+ 1 - 1
IDE/src/ui/QuickFind.bf

@@ -279,7 +279,7 @@ namespace IDE.ui
 
 			bool Matches(int32 idx)
 			{
-				if (idx + findText.Length >= ewc.mData.mTextLength)
+				if (idx + findText.Length > ewc.mData.mTextLength)
 					return false;
 
 				for (var i = 0; i < findText.Length; i++)