Browse Source

Fixed Ted2 replaceall.

Mark Sibly 9 years ago
parent
commit
5f34207e80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ted2/findactions.monkey2

+ 1 - 1
src/ted2/findactions.monkey2

@@ -162,7 +162,7 @@ Class FindActions
 		Local i:=0,t:=0
 		Local i:=0,t:=0
 		Repeat
 		Repeat
 		
 		
-			Local i:=tvtext.Find( text,i )
+			i=tvtext.Find( text,i )
 			If i=-1 Exit
 			If i=-1 Exit
 			
 			
 			tv.SelectText( i+t,i+text.Length+t )
 			tv.SelectText( i+t,i+text.Length+t )