2
0
Эх сурвалжийг харах

Fix skipping when matching word is at EOF

Chernyavsky Andrey 1 сар өмнө
parent
commit
8f9628e6af

+ 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++)