,,SendMessageW(id(3 hDlg) EM_SETSEL txt.IndexToUtf16(charranges[0 0].cpMin) txt.IndexToUtf16(charranges[0 0].cpMax)) ;; IndexToUtf16 -> https://www.libreautomate.com/forum/showthread.php?tid=7782
,,f=txt.IndexToUtf16(charranges[0 0].cpMin)+1 ;; Need to do + 1 or else we keep stuck at the current search result->
,,SendDlgItemMessage hDlg 3 WM_VSCROLL SB_TOP 0
,,SendDlgItemMessage hDlg 3 WM_HSCROLL SB_LEFT 0
,,SendMessageW(id(3 hDlg) EM_SETSEL txt.IndexToUtf16(charranges[0 0].cpMin) txt.IndexToUtf16(charranges[0 0].cpMax)) ;; IndexToUtf16 -> https://www.libreautomate.com/forum/showthread.php?tid=7782
,,f=charranges[0 0].cpMin+1 ;; Need to do + 1 or else we keep stuck at the current search result