From 14e4839144c7170e223e65eb26d5c93d41e89e77 Mon Sep 17 00:00:00 2001 From: JianjunLiu Date: Wed, 26 Apr 2023 10:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正文件夹查找 --- designer/utslcodeeditor.tsf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/designer/utslcodeeditor.tsf b/designer/utslcodeeditor.tsf index e1d1e3b..eefe7f8 100644 --- a/designer/utslcodeeditor.tsf +++ b/designer/utslcodeeditor.tsf @@ -3860,7 +3860,7 @@ type TEditer=class(TCustomcontrol) // if not((wrp .& 2) >1) then ctl := ctl+"\\b"; end if cw then ctl2 += "i"; - linesi := array(1:1); + linesi := array(0:1); if (1 = readfile(rwraw(),"",f,0,filesize("",f),s)) and s then begin strcode := 0; @@ -3904,6 +3904,7 @@ type TEditer=class(TCustomcontrol) // end //////////////////////////////////////////////////////////////////////////////////// slen := length(s); + orid := -1; if 1= parseregexpr(ctl,s,ctl2,m,mp,mlen) then begin r := array();