Still working on extending the text tag functionality. Its quite interesting really as it requires more understanding of the really powerful Tcl command libraries to build lists etc. Today I've added some extra functionality which pretty well follows the same guidelines of the Tk text widget, i.e. tag names, raise and lower.
I'm still working on the robust parsing of tag options. One little tip for those out there, who like me, want spaces in names. Use the following to create tags:
$txt tag create [list {Heading 1}]
or,
$txt tag create {{Heading 1}}
If tags need to created proceedurally, then try:
$txt tag create [list [list $tagName]]
I'm still working on the robust parsing of tag options. One little tip for those out there, who like me, want spaces in names. Use the following to create tags:
$txt tag create [list {Heading 1}]
or,
$txt tag create {{Heading 1}}
If tags need to created proceedurally, then try:
$txt tag create [list [list $tagName]]
Comments