"text tag delete tagName" does not delete the selection?!
18 views
Skip to first unread message
MartinLemburg@Siemens-PLM
unread,
Jul 1, 2016, 8:40:23 AM7/1/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I tried to delete the selection in a text widget this way:
$w tag delete sel
Sincerely, the selection is still present and not be deleted.
Now I have to go this way:
$w tag remove sel {*}[$w tag ranges sel]
Is this intention or a bug?
Cheers,
Martin
Rich
unread,
Jul 1, 2016, 8:58:06 AM7/1/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Intention:
man n text
THE SELECTION
...
The sel tag is automatically defined when a text widget is
created, and it may not be deleted with the "pathName tag
delete" widget command.
MartinLemburg@Siemens-PLM
unread,
Jul 1, 2016, 9:21:50 AM7/1/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Am Freitag, 1. Juli 2016 14:58:06 UTC+2 schrieb Rich: