Добавил обновление информации в просмотрщике MD при сохранении открытого в редакторе файла.

This commit is contained in:
2026-04-08 18:17:24 +03:00
parent 82b94e5b4e
commit 4a967c6b6c
6 changed files with 79 additions and 52 deletions

View File

@@ -1511,6 +1511,15 @@ namespace eval Editor {
}
# puts [$w.panelTxt panes]
DebugPuts "$w $fileType $nb $fileFullPath"
# set fileType [string toupper [string trimleft [file extension $filePath] "."]]
# Execute the MD-file viewer
if {$fileType eq "MD" && $cfgVariables(runViewer) eq "true"} {
ShowMD $fileFullPath
return
}
if [winfo exists $w.frmText2] {
$w.panelTxt forget $w.frmText2
destroy $w.frmText2