Jan,
Today I found that you change parsing of namespace in TCL, nice:). It works OK
for simple form when you have fully-qualified procedure names. Please find
example:

namespace eval foo {    ;#namespace foo
    proc bar {} {        ;#proc inside namespace foo.
                         ;#code browser should show bar proc under  
    }                    ;#namespace foo in the tree               
                        
}
proc ::foo::doIt {} {
                         ;#code browser should show doIt proc under  
    }                    ;#namespace foo in the tree. Currently this is OK
    
namespace eval cell {    ;#example of nested namespaces.
    namespace eval row { ;# the tree could also show nested nodes
        proc size {v} {  
        
        }
    }
    namespace eval col {
        proc size {v} {
        
        }
    }
} 
proc ::cell::row::getSize {} {

}
proc ::cell::col::getSize {} {

}

The nested namespaces are not so important. More important is to have parser
which works with two conventions:
1. proc ::[color=#00ff00]foo[/color]::[color=#0000ff]bar[/color] {}
{}
2. namespace eval [color=#00ff00]foo[/color] {    
    proc [color=#0000ff]bar[/color] {} {        
    }                                
}

-- 
<http://forum.pspad.com/read.php?6,56138,56184>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem