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();