Alexandru schrieb am Dienstag, 24. Mai 2022 um 19:10:38 UTC+2:
Using the TreeCtrl package I just stumbled upon an error when doing something like:
$tree item id [list 0 descendants tag {test(1)^.inp}]
The error sounds:
Invalid boolean operator in tag search expression
If I either omit the parentheses or the ^, the error is gone.
The problem is that I add names of real files to the tree tags, so I cannot avoid this error.
Is there a fix for this?
Many thanks.
Best regards
Alexandru
Here is the very fast answer from Tim Baker:
Tag operators may be bypassed completely by setting the -columntagexpr and -itemtagexpr options. This can be useful if your application has column or item tags containing arbitrary text.
.t configure -itemtagexpr false
.t item delete "tag a&&b"
Hope this is helpfull to others having the same issue.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)