Сделана обработка шаблонов командной строки и запуск внешних инструментов.

This commit is contained in:
svk
2026-01-27 14:22:55 +03:00
parent bc2808c3e4
commit aaa027398a
3 changed files with 41 additions and 9 deletions

View File

@@ -99,6 +99,7 @@ namespace eval Tree {
proc PressItem {tree} {
global nbEditor lexers editors activeProject
set id [$tree selection]
if {[llength $id] > 1} {return}
$tree tag remove selected
$tree item $id -tags selected
SetActiveProject [GetItemID $tree [GetUpperItem $tree $id]]
@@ -160,5 +161,12 @@ namespace eval Tree {
GetUpperItem $tree $parent
}
}
proc GetSelectedItemValues {tree} {
set valuesList ""
foreach itemID [$tree selection] {
lappend valuesList [GetItemID $tree $itemID]
}
return $valuesList
}
}