Добавил экранирование '*' в имени функции для поиска.

This commit is contained in:
svk
2026-02-12 11:53:37 +03:00
parent afa368c519
commit 3d0ae84dc2

View File

@@ -132,8 +132,10 @@ namespace eval Tree {
$nbEditor select $nbItem
set txt $nbItem.frmText.t
set findString [dict get $lexers [dict get $editors $txt fileType] procFindString]
DebugPuts "Tree::PressItem: $findString\n values: $values"
regsub -all {\*} $values {\\*} values
regsub -all {PROCNAME} $findString $values str
DebugPuts "Tree::PressItem: $str"
Editor::FindFunction $txt "$str"
}
}