New Comment ;)

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
chouproute
Posts: 22
Joined: Tue Feb 03, 2004 9:13 pm
Location: Québec

New Comment ;)

Post by chouproute »

I found another place where you could improve TsiLang

In found string constant, Is there a way to exclude some string when we search string in the project? (Like Translation Editor)

Thanks

marco
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

To exclude some strings in sources from being found when scanning with Expert could be used "ignore" tags: {TSI:IGNORE}, {TSI:IGNORE ON}, and {TSI:IGNORE OFF} (for Delphi). To exclude found string just from Found Strings Form you can just delete it and it won't be replaced.
Is this what is needed?
chouproute
Posts: 22
Joined: Tue Feb 03, 2004 9:13 pm
Location: Québec

Post by chouproute »

It seems to work!
Héhé
Thanks for the tips.

Just for my mind: Is there a possibility to exclude directly from the list(From the popup menu)?

Thank you!

Marco
chouproute
Posts: 22
Joined: Tue Feb 03, 2004 9:13 pm
Location: Québec

Post by chouproute »

And...
If I have a block of 30 lines and I just Need One Line of them, Can I unlock just this line or I need to Turn ON and Turn OFF?



Procedure....
...
var
sdasd : string;
begin
{TSI:IGNORE ON}
...

{TSI:IGNORE UNLOCK} Caption := 'Test';
...
{TSI:IGNORE OFF}
end;


-->Something like that!?
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

To exclude directly from list should be used popup menu or Delete button on toolbar.
To include any line for scanning in sources which is inclosed in {TSI: IGNORE ON/OFF} block you should "turn OFF" before this line and "turn ON" after this line. This is the only way for this.
chouproute
Posts: 22
Joined: Tue Feb 03, 2004 9:13 pm
Location: Québec

Post by chouproute »

ok
Post Reply