Исправлена установка фокуса на окно диалога GotoFunctionDialog и обратно на текст.

Переделан механизм чтения структуры файла и добавлены команды для sh (bash), go, tcl.
This commit is contained in:
svkalinin
2022-08-25 16:39:50 +03:00
parent f1b9903635
commit dacccf2fb9
5 changed files with 49 additions and 42 deletions

View File

@@ -98,7 +98,10 @@ namespace eval Tree {
set nbItem "$nbEditor.[string range $parentItem [expr [string last "::" $parentItem] + 2] end]"
$nbEditor select $nbItem
set txt $nbItem.frmText.t
Editor::FindFunction "[dict get $lexers [dict get $editors $txt fileType] procFindString]$values"
set findString [dict get $lexers [dict get $editors $txt fileType] procFindString]
regsub -all {PROCNAME} $findString $values str
Editor::FindFunction "$str"
}
}
}