Hi all, I'm trying to speed up a loop that goes through a rich edit control that has a couple thousand lines of text and select/hilight the lines. The current way I have it set up, it takes almost 3 seconds to go through the list of 2000 lines. If I increase the amount of lines, it could take much longer, too. How could I make this faster? Here's a quick example: #include <GuiRichEdit.au3> #include <WindowsConstants.au3> #include <GUIConstants.au3> Dim $aLines[2000][2] D