Changeset 8e1d5d3 in tol for tolbase/lib/toltk


Ignore:
Timestamp:
Jan 23, 2009, 4:49:37 PM (18 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
b96bc27
Parents:
a6e4c78
Message:

trimming parent nameblock withing tolinspector tree

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@462 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/toltk/tolinspe.tcl

    ra6e4c78 r8e1d5d3  
    120120  variable node_prefix
    121121
     122  variable gra_parent ""
    122123  # tree widget containing the TOL objects.
    123124  variable ht_tree   ;# is a ::blt::treeview
    … …  
    10741075  set grammar [lindex $args 0]
    10751076  if {$grammar eq "Set" || $grammar eq "NameBlock"} {
    1076     set name    [lindex $args 1]
     1077    if {![ regexp {(.+::)?(.+)} [ lindex $args 1 ] ==> p1 name ] } {
     1078      set name [ lindex $args 1 ]
     1079    }
    10771080    set content [lindex $args 2]
    10781081    set idx     [lindex $args 5]
Note: See TracChangeset for help on using the changeset viewer.