I have a following behavior/question:
I wrote a script (layout) and it work almost properly.
pragma encoding, "UTF-8" XFLAGS_ &=~AutoDeclare_; pragma runLim, 0 Buffer oldVal = create; Buffer newVal = create; Buffer result = create; oldVal = obj."old_TEXT"; newVal = obj."new_TEXT"; diff(result,oldVal, newVal,false) displayRichWithColor stringOf ( result) delete(newVal) delete(oldVal) delete(result)
In 99% off all rows it worked as expected.
But they are some rows where the script shows nothing. The output is empty.
My suggestion is that if buffer of oldVal or newVal is to long then the function "diff" is not working.
So is it possible to make it work??? Or is there a workaround?? Or is there an error in my script?