Procházet zdrojové kódy

Fix skipping when matching word is at EOF

Chernyavsky Andrey před 3 měsíci
rodič
revize
8f9628e6af
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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++)