diff --git a/designer/utslcodeeditor.tsf b/designer/utslcodeeditor.tsf index 1fe9d16..5f09788 100644 --- a/designer/utslcodeeditor.tsf +++ b/designer/utslcodeeditor.tsf @@ -1000,6 +1000,7 @@ type TExecuteEditer=class(TCustomControl) //ִ s := replacetext(s,"$(CURRENT_DIRECTORY)",dir); s := replacetext(s,"$(SEARCH_PATH)",owner.getlibpathstr()); s := replacetext(s,"$(TSL_EXE)",gettslexe()); + len := length(s); return s; end function doSaveCurrentName(); diff --git a/designer/utslvclsyntaxparser.tsf b/designer/utslvclsyntaxparser.tsf index efda20c..344217a 100644 --- a/designer/utslvclsyntaxparser.tsf +++ b/designer/utslvclsyntaxparser.tsf @@ -39,7 +39,7 @@ type tslparser = class(tslparserbase) // end function tkopok(); begin - return FCurrentPos>0 and FCurrentPos=0 and FCurrentPos