Thanks for v6.3.0.1. It works better but the changes to {TSI:IGNORE ON/OFF} still need some work. It looks like if we can now use {TSI:IGNORE ON/OFF} on lines with code and not only when there is nothing else on the same line like it's written in the document "TsiLang Components Suite Developer’s Guide"
this
tag should be in separate line and there should be no any other text in this line.
Also, with some tests I performed I notice that when these tags are written on a line with code, it works only for the given line and everything after {TSI:IGNORE ON} is ignored on the same line even if the {TSI:IGNORE OFF} is present.
By example, with this code only the "AAA" string will be found:
Code: Select all
Caption := 'AAA' + GetStr1() + {TSI:IGNORE ON}'BBB'{TSI:IGNORE OFF} + GetStr2() + 'CCC';
Also if tags {TSI:IGNORE ON/OFF} are on different lines, only the first line will be treated like in this code and "CCC" will be found:
Code: Select all
Caption := 'AAA' + GetStr1() + {TSI:IGNORE ON}'BBB'+
GetStr2() + 'CCC'{TSI:IGNORE OFF} + 'DDD';
These cases are important because with the following steps these problems should appear. In the case of a line of code where many strings are present (2 by example), we scan the code, delete the row of the last string to not change it at all and mark to ignore the first string. {TSI:IGNORE ON/OFF} will enclose the first string => OK. But if we scan the code again the last string is no more found!
Regards