Xojo 2021r2.1
I have a TextArea with lots of lines, like 10,000 or more, and am trying to implement a simple search function:
Var Position As Integer =TextArea1.Text.IndexOf(SearchStart, searchText)
If position > -1 Then
Var LineNumber As Integer = TextArea1.LineNumber(Position)
With a MacOS target, it works fine.
With Windows as the target, it finds Position quickly enough, but completely chokes on LineNumber(Position) - just freezes, whether free-running or single-stepping.
Is there a workaround, or a better control?
1 post - 1 participant